Last active
January 25, 2022 10:45
-
-
Save kennethjohnbalgos/de8f0da94bf64bca6d54be2c8cdac3fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Started GET "/quicksitch?set=44" for 127.0.0.1 at 2022-01-25 18:38:59 +0800 | |
Processing by QuicksController#quicksitch as HTML | |
Parameters: {"set"=>"44"} | |
[Shard: master] User Load (0.9ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 ORDER BY `users`.`id` ASC LIMIT 1 | |
[Shard: master] BlockedIp Load (0.8ms) SELECT `blocked_ips`.* FROM `blocked_ips` WHERE `blocked_ips`.`ip_address` = '127.0.0.1' LIMIT 1 | |
[Shard: master] Account Load (0.9ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`domain` = 'mainsedemo.storyls.test' LIMIT 1 | |
[Shard: master] Account Load (1.1ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'mainsedemo' LIMIT 1 | |
[Shard: master] AccountUser Exists (0.8ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
[Shard: master] AccountUser Load (0.9ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
[Shard: master] Account Load (1.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
[Shard: master] AccountSubscription Load (0.9ms) SELECT `account_subscriptions`.* FROM `account_subscriptions` WHERE `account_subscriptions`.`account_id` = 37 | |
[Shard: master] (0.8ms) SELECT DISTINCT COUNT(DISTINCT `webpages`.`id`) FROM `webpages` WHERE (webpages.account_id = 37 OR (webpages.account_id IN (37) AND webpages.hide_in_account_ids NOT LIKE '%37%')) AND `webpages`.`guide_page` = 1 AND `webpages`.`show_url` = '/quicksitch' | |
[Shard: master] (0.7ms) SELECT COUNT(*) FROM `plans` WHERE `plans`.`account_id` = 37 AND `plans`.`status` = 'test_mode' AND (plans.tester_emails LIKE '%[email protected]%') | |
[Shard: master] (0.7ms) SELECT COUNT(*) FROM `plans` WHERE `plans`.`account_id` = 37 AND ((`plans`.`obj_type` = '' OR `plans`.`obj_type` IS NULL)) AND ((`plans`.`obj_id` = 0 OR `plans`.`obj_id` IS NULL)) AND `plans`.`status` = 'active' AND (DATE(starts_at) <= DATE('2022-01-25') AND DATE(ends_at) >= DATE('2022-01-25')) | |
[Shard: master] AccountFeature Load (1.0ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteSet Load (1.0ms) SELECT `small_bite_sets`.* FROM `small_bite_sets` WHERE `small_bite_sets`.`account_id` = 37 AND `small_bite_sets`.`id` = 44 LIMIT 1 | |
[Shard: master] SmallBite Load (1.2ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 26862 ORDER BY `small_bites`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBite Load (0.8ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 26862 LIMIT 1 | |
[Shard: master] AccountMicroTool Load (1.2ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 ORDER BY `account_micro_tools`.`position` ASC | |
[Shard: master] MicroTool Load (1.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 6 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.9ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 5 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 22 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 8 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.8ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 9 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 10 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 11 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 14 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 21 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 7 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.9ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 23 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.8ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 28 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 32 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 33 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 34 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 35 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 36 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 37 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.6ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 38 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 39 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 40 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.8ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 41 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.9ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 42 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 43 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 44 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 45 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 46 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 47 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 48 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 49 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 50 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 51 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 52 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 53 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 54 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.8ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 55 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 56 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 57 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 58 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.7ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 59 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] (0.6ms) BEGIN | |
[Shard: master] SQL (2.4ms) INSERT INTO `small_bites` (`account_id`, `action_buttons`, `configuration`, `created_at`, `name`, `prototype_id`, `updated_at`, `user_id`) VALUES (37, '--- []\n', '--- {}\n', '2022-01-25 10:38:59', 'Sitch Template - SmallBiteSet#44', 26862, '2022-01-25 10:38:59', 5) | |
[Shard: master] GroupThink Load (1.4ms) SELECT `group_thinks`.* FROM `group_thinks` WHERE `group_thinks`.`resource_id` = 27791 AND `group_thinks`.`resource_type` = 'SmallBite' ORDER BY `group_thinks`.`id` ASC LIMIT 1 | |
[Shard: master] Account Load (1.1ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (1.2ms) INSERT INTO `group_thinks` (`account_id`, `created_at`, `resource_id`, `resource_type`, `updated_at`) VALUES (37, '2022-01-25 10:38:59', 27791, 'SmallBite', '2022-01-25 10:38:59') | |
[Shard: master] Discussion Load (1.1ms) SELECT `discussions`.* FROM `discussions` WHERE `discussions`.`resource_id` = 27791 AND `discussions`.`resource_type` = 'GroupThink' ORDER BY `discussions`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBite Load (1.3ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 ORDER BY `small_bites`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (7.2ms) INSERT INTO `discussions` (`account_id`, `created_at`, `resource_id`, `resource_type`, `status`, `topic`, `updated_at`, `user_id`) VALUES (37, '2022-01-25 10:38:59', 27791, 'GroupThink', 'published', 'Group Think: Sitch Template - SmallBiteSet#44', '2022-01-25 10:38:59', 5) | |
[Shard: master] GroupThink Load (0.9ms) SELECT `group_thinks`.* FROM `group_thinks` WHERE `group_thinks`.`id` = 27791 ORDER BY `group_thinks`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (0.9ms) UPDATE `discussions` SET `discussions`.`position` = 1 WHERE `discussions`.`id` = 175301 | |
[Shard: master] Discussion Load (0.9ms) SELECT `discussions`.* FROM `discussions` WHERE `discussions`.`id` = 175301 LIMIT 1 | |
[Shard: master] DiscussionPost Load (1.7ms) SELECT `discussion_posts`.* FROM `discussion_posts` WHERE `discussion_posts`.`discussion_id` = 175301 AND `discussion_posts`.`parent_id` = 0 ORDER BY `discussion_posts`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (2.0ms) INSERT INTO `discussion_posts` (`content`, `created_at`, `discussion_id`, `liked_by`, `notified_user_ids`, `status`, `updated_at`, `user_id`) VALUES ('<p>Hi Everyone,</p><p>This is an open discussion about the sitch. Please post your observations, ask questions, reply and help others, add files, links, photos and videos. Use the other actions in Analysis, Solutions and Impacts for more specific actions.</p>', '2022-01-25 10:38:59', 175301, '--- []\n', '--- []\n', 'active', '2022-01-25 10:38:59', 5) | |
[Shard: master] Discussion Load (1.2ms) SELECT `discussions`.* FROM `discussions` WHERE `discussions`.`id` = 175301 ORDER BY `discussions`.`id` ASC LIMIT 1 | |
[Shard: master] GroupThink Load (1.0ms) SELECT `group_thinks`.* FROM `group_thinks` WHERE `group_thinks`.`id` = 27791 ORDER BY `group_thinks`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (0.9ms) UPDATE `discussions` SET `discussions`.`updated_at` = '2022-01-25 10:38:59' WHERE `discussions`.`id` = 175301 | |
[Shard: master] Impact Exists (1.8ms) SELECT 1 AS one FROM `impacts` WHERE `impacts`.`account_id` = 37 AND `impacts`.`resource_id` = 27791 AND `impacts`.`resource_type` = 'SmallBite' LIMIT 1 | |
[Shard: master] Impact Load (0.7ms) SELECT `impacts`.* FROM `impacts` WHERE `impacts`.`account_id` = 37 AND `impacts`.`resource_type` = 'SmallBite' AND `impacts`.`resource_id` = 27791 ORDER BY `impacts`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (0.8ms) INSERT INTO `impacts` (`account_id`, `created_at`, `resource_id`, `resource_type`, `updated_at`) VALUES (37, '2022-01-25 10:38:59', 27791, 'SmallBite', '2022-01-25 10:38:59') | |
[Shard: master] ProblemSolution Exists (2.2ms) SELECT 1 AS one FROM `problem_solutions` WHERE `problem_solutions`.`account_id` = 37 AND `problem_solutions`.`resource_id` = 27791 AND `problem_solutions`.`resource_type` = 'SmallBite' LIMIT 1 | |
[Shard: master] ProblemSolution Load (0.9ms) SELECT `problem_solutions`.* FROM `problem_solutions` WHERE `problem_solutions`.`account_id` = 37 AND `problem_solutions`.`resource_type` = 'SmallBite' AND `problem_solutions`.`resource_id` = 27791 ORDER BY `problem_solutions`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (1.0ms) INSERT INTO `problem_solutions` (`account_id`, `created_at`, `resource_id`, `resource_type`, `updated_at`) VALUES (37, '2022-01-25 10:38:59', 27791, 'SmallBite', '2022-01-25 10:38:59') | |
[Shard: master] AccountFeature Load (1.1ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 | |
[Shard: master] Certificate Load (1.9ms) SELECT `certificates`.* FROM `certificates` WHERE `certificates`.`resource_id` = 27791 AND `certificates`.`resource_type` = 'SmallBite' ORDER BY `certificates`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteSetContent Load (1.2ms) SELECT `small_bite_set_contents`.* FROM `small_bite_set_contents` WHERE `small_bite_set_contents`.`small_bite_id` = 27791 ORDER BY `small_bite_set_contents`.`id` ASC LIMIT 1 | |
[Shard: master] User Load (1.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 ORDER BY `users`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBite Load (1.1ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 LIMIT 1 | |
[Shard: master] AccountUser Exists (1.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
[Shard: master] AccountUser Load (1.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 | |
[Shard: master] ExpertiseData Load (4.7ms) SELECT `expertise_data`.* FROM `expertise_data` WHERE `expertise_data`.`user_id` = 5 AND `expertise_data`.`resource_type` = 'SmallBite' AND `expertise_data`.`resource_id` = 27791 AND `expertise_data`.`activity_type` = 'SmallBite' AND `expertise_data`.`activity_id` = 27791 ORDER BY `expertise_data`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (1.2ms) INSERT INTO `expertise_data` (`activity_id`, `activity_type`, `created_at`, `resource_id`, `resource_type`, `updated_at`, `user_id`) VALUES (27791, 'SmallBite', '2022-01-25 10:39:00', 27791, 'SmallBite', '2022-01-25 10:39:00', 5) | |
[Shard: master] SQL (1.0ms) UPDATE `expertise_data` SET `points` = 10, `updated_at` = '2022-01-25 10:39:00' WHERE `expertise_data`.`id` = 56175 | |
[Shard: master] ExpertiseData Load (0.9ms) SELECT `expertise_data`.* FROM `expertise_data` WHERE `expertise_data`.`id` = 56175 LIMIT 1 | |
[Shard: master] SQL (0.7ms) UPDATE `expertise_data` SET `expertise_data`.`created_at` = '2022-01-25 10:38:59', `expertise_data`.`updated_at` = '2022-01-25 10:38:59' WHERE `expertise_data`.`id` = 56175 | |
[Shard: master] User Load (1.2ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 ORDER BY `users`.`id` ASC LIMIT 1 | |
[Shard: master] Account Load (1.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteProgress Load (3.4ms) SELECT `small_bite_progresses`.* FROM `small_bite_progresses` WHERE `small_bite_progresses`.`user_id` = 5 AND `small_bite_progresses`.`small_bite_id` = 27791 ORDER BY `small_bite_progresses`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (1.3ms) INSERT INTO `small_bite_progresses` (`created_at`, `progress`, `small_bite_id`, `updated_at`, `user_id`) VALUES ('2022-01-25 10:39:00', '--- []\n', 27791, '2022-01-25 10:39:00', 5) | |
[Shard: master] SmallBite Load (1.2ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 ORDER BY `small_bites`.`id` ASC LIMIT 1 | |
[Shard: master] Account Load (1.1ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] AccountFeature Load (1.0ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 | |
[Shard: master] Certificate Load (1.0ms) SELECT `certificates`.* FROM `certificates` WHERE `certificates`.`resource_id` = 27791 AND `certificates`.`resource_type` = 'SmallBite' ORDER BY `certificates`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (1.3ms) UPDATE `small_bite_progresses` SET `account_id` = 37, `updated_at` = '2022-01-25 10:39:00', `progress` = '--- []\n' WHERE `small_bite_progresses`.`id` = 45515 | |
[Shard: master] Activity Exists (11.3ms) SELECT 1 AS one FROM `activities` WHERE `activities`.`reference_id` = 27791 AND `activities`.`reference_type` = 'SmallBite' AND `activities`.`user_id` = 5 AND `activities`.`action` IN ('create_small_bite', 'view_sitch') LIMIT 1 | |
[Shard: master] SitchIdentification Load (1.8ms) SELECT `sitch_identifications`.* FROM `sitch_identifications` WHERE `sitch_identifications`.`small_bite_id` = 27791 ORDER BY `sitch_identifications`.`id` ASC LIMIT 1 | |
[Shard: master] AccountFeature Load (1.3ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (1.5ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (1.3ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] SQL (1.5ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (1.1ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] (1.3ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 | |
[Shard: master] SQL (1.4ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (1.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (0.9ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 22 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] Account Load (1.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] (3.9ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (0.9ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (0.9ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 51 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (1.3ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (0.8ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (0.9ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 14 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (0.9ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (0.8ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `activities` WHERE `activities`.`reference_id` = 27791 AND `activities`.`reference_type` = 'SmallBite' AND `activities`.`user_id` = 5 AND `activities`.`action` IN ('create_small_bite', 'view_sitch') LIMIT 1 [["reference_id", 27791], ["reference_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 22 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 22]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 51 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 51]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 14 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 14]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
[Shard: master] SQL (0.9ms) UPDATE `small_bite_progresses` SET `status` = 'active', `updated_at` = '2022-01-25 10:39:00', `progress` = '--- []\n' WHERE `small_bite_progresses`.`id` = 45515 | |
[Shard: master] SmallBiteProgress Load (0.7ms) SELECT `small_bite_progresses`.* FROM `small_bite_progresses` WHERE `small_bite_progresses`.`id` = 45515 LIMIT 1 | |
[Shard: master] AccountAsset Load (0.8ms) SELECT `account_assets`.* FROM `account_assets` WHERE `account_assets`.`obj_id` = 27791 AND `account_assets`.`obj_type` = 'SmallBite' ORDER BY `account_assets`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (1.3ms) INSERT INTO `account_assets` (`account_id`, `category`, `created_at`, `info`, `obj_id`, `obj_type`, `privacy`, `status`, `title`, `updated_at`) VALUES (37, 'Sitch', '2022-01-25 10:38:59', '--- {}\n', 27791, 'SmallBite', 'public', 'draft', 'Sitch Template - SmallBiteSet#44', '2022-01-25 10:38:59') | |
[Shard: master] Certificate Load (0.8ms) SELECT `certificates`.* FROM `certificates` WHERE `certificates`.`resource_id` = 27791 AND `certificates`.`resource_type` = 'SmallBite' ORDER BY `certificates`.`id` ASC LIMIT 1 | |
[Shard: master] (0.8ms) COMMIT | |
.[Shard: master] SmallBite Load (1.0ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 LIMIT 1 | |
[Shard: master] SmallBiteSetContent Load (0.8ms) SELECT `small_bite_set_contents`.* FROM `small_bite_set_contents` WHERE `small_bite_set_contents`.`small_bite_id` = 26862 ORDER BY `small_bite_set_contents`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteSetContent Load (0.7ms) SELECT `small_bite_set_contents`.* FROM `small_bite_set_contents` WHERE `small_bite_set_contents`.`small_bite_id` = 27791 ORDER BY `small_bite_set_contents`.`id` ASC LIMIT 1 | |
[Shard: master] (0.5ms) BEGIN | |
[Shard: master] SQL (0.7ms) INSERT INTO `small_bite_set_contents` (`created_at`, `recipient_status`, `show_in_home_page`, `small_bite_id`, `small_bite_set_id`, `updated_at`) VALUES ('2022-01-25 10:39:00', NULL, 0, 27791, 44, '2022-01-25 10:39:00') | |
[Shard: master] SmallBiteSet Load (0.9ms) SELECT `small_bite_sets`.* FROM `small_bite_sets` WHERE `small_bite_sets`.`id` = 44 ORDER BY `small_bite_sets`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (0.7ms) UPDATE `small_bite_sets` SET `small_bite_set_contents_count` = COALESCE(`small_bite_set_contents_count`, 0) + 1 WHERE `small_bite_sets`.`id` = 44 | |
[Shard: master] SmallBite Load (1.1ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 ORDER BY `small_bites`.`id` ASC LIMIT 1 | |
[Shard: master] Discussion Load (1.3ms) SELECT `discussions`.* FROM `discussions` WHERE `discussions`.`resource_id` = 27940 AND `discussions`.`resource_type` = 'SmallBiteSetContent' ORDER BY `discussions`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (0.8ms) INSERT INTO `discussions` (`account_id`, `created_at`, `resource_id`, `resource_type`, `status`, `topic`, `updated_at`, `user_id`) VALUES (37, '2022-01-25 10:39:00', 27940, 'SmallBiteSetContent', 'published', 'Small Bite Set Content - No Topic', '2022-01-25 10:39:00', 5) | |
[Shard: master] SQL (0.8ms) UPDATE `discussions` SET `discussions`.`position` = 1 WHERE `discussions`.`id` = 175302 | |
[Shard: master] SQL (0.7ms) UPDATE `discussions` SET `discussions`.`accept_guest_comments` = 1 WHERE `discussions`.`id` = 175302 | |
[Shard: master] Discussion Load (0.7ms) SELECT `discussions`.* FROM `discussions` WHERE `discussions`.`id` = 175302 LIMIT 1 | |
[Shard: master] DiscussionPost Load (0.8ms) SELECT `discussion_posts`.* FROM `discussion_posts` WHERE `discussion_posts`.`discussion_id` = 175302 AND `discussion_posts`.`parent_id` = 0 ORDER BY `discussion_posts`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (0.8ms) INSERT INTO `discussion_posts` (`content`, `created_at`, `discussion_id`, `liked_by`, `notified_user_ids`, `status`, `updated_at`, `user_id`) VALUES ('Small Bite Set Content - No Topic', '2022-01-25 10:39:00', 175302, '--- []\n', '--- []\n', 'active', '2022-01-25 10:39:00', 5) | |
[Shard: master] Discussion Load (0.8ms) SELECT `discussions`.* FROM `discussions` WHERE `discussions`.`id` = 175302 ORDER BY `discussions`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteSetContent Load (0.8ms) SELECT `small_bite_set_contents`.* FROM `small_bite_set_contents` WHERE `small_bite_set_contents`.`id` = 27940 ORDER BY `small_bite_set_contents`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (0.7ms) UPDATE `discussions` SET `discussions`.`updated_at` = '2022-01-25 10:39:00' WHERE `discussions`.`id` = 175302 | |
[Shard: master] SchedulerSection Load (0.8ms) SELECT `scheduler_sections`.* FROM `scheduler_sections` INNER JOIN `small_bite_sets` ON `scheduler_sections`.`id` = `small_bite_sets`.`resource_id` WHERE `small_bite_sets`.`id` = 44 AND `small_bite_sets`.`resource_type` = 'SchedulerSection' ORDER BY `scheduler_sections`.`position` ASC LIMIT 1 | |
[Shard: master] (0.6ms) COMMIT | |
.[Shard: master] SmallBiteSetContent Load (0.7ms) SELECT `small_bite_set_contents`.* FROM `small_bite_set_contents` WHERE `small_bite_set_contents`.`id` = 27940 LIMIT 1 | |
[Shard: master] SmallBite Load (0.7ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 LIMIT 1 | |
[Shard: master] AccountTag Load (0.7ms) SELECT `account_tags`.* FROM `account_tags` INNER JOIN `account_tag_resources` ON `account_tags`.`id` = `account_tag_resources`.`account_tag_id` WHERE `account_tag_resources`.`resource_id` = 26862 AND `account_tag_resources`.`resource_type` = 'SmallBite' | |
[Shard: master] SitchImpactScale Exists (1.0ms) SELECT 1 AS one FROM `sitch_impact_scales` WHERE `sitch_impact_scales`.`resource_id` = 26862 AND `sitch_impact_scales`.`resource_type` = 'SmallBite' LIMIT 1 | |
[Shard: master] SitchFeedbackScale Exists (1.0ms) SELECT 1 AS one FROM `sitch_feedback_scales` WHERE `sitch_feedback_scales`.`resource_id` = 26862 AND `sitch_feedback_scales`.`resource_type` = 'SmallBite' LIMIT 1 | |
[Shard: master] SitchConversation Exists (1.1ms) SELECT 1 AS one FROM `sitch_conversations` WHERE `sitch_conversations`.`small_bite_id` = 26862 LIMIT 1 | |
[Shard: master] SitchAction Load (2.6ms) SELECT `sitch_actions`.* FROM `sitch_actions` INNER JOIN `sitch_action_tools` ON `sitch_action_tools`.`sitch_action_id` = `sitch_actions`.`id` WHERE `sitch_actions`.`small_bite_id` = 26862 | |
[Shard: master] SitchIdentification Load (0.7ms) SELECT `sitch_identifications`.* FROM `sitch_identifications` WHERE `sitch_identifications`.`small_bite_id` = 26862 ORDER BY `sitch_identifications`.`id` ASC LIMIT 1 | |
[Shard: master] (0.5ms) BEGIN | |
[Shard: master] SQL (1.3ms) UPDATE `small_bites` SET `name` = 'Title of the new Sitch - Situation', `header_question` = 'Write the Situation here...', `updated_at` = '2022-01-25 10:39:00', `configuration` = '--- {}\n', `action_buttons` = '--- []\n' WHERE `small_bites`.`id` = 27791 | |
[Shard: master] User Load (0.8ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 ORDER BY `users`.`id` ASC LIMIT 1 | |
[Shard: master] Account Load (0.9ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBite Load (0.7ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 LIMIT 1 | |
[Shard: master] AccountUser Exists (0.8ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
[Shard: master] AccountUser Load (0.9ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 | |
[Shard: master] ExpertiseData Load (0.7ms) SELECT `expertise_data`.* FROM `expertise_data` WHERE `expertise_data`.`user_id` = 5 AND `expertise_data`.`resource_type` = 'SmallBite' AND `expertise_data`.`resource_id` = 27791 AND `expertise_data`.`activity_type` = 'SmallBite' AND `expertise_data`.`activity_id` = 27791 ORDER BY `expertise_data`.`id` ASC LIMIT 1 | |
[Shard: master] ExpertiseData Load (0.7ms) SELECT `expertise_data`.* FROM `expertise_data` WHERE `expertise_data`.`id` = 56175 LIMIT 1 | |
[Shard: master] SQL (0.6ms) UPDATE `expertise_data` SET `expertise_data`.`created_at` = '2022-01-25 10:38:59', `expertise_data`.`updated_at` = '2022-01-25 10:39:00' WHERE `expertise_data`.`id` = 56175 | |
[Shard: master] User Load (0.9ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 ORDER BY `users`.`id` ASC LIMIT 1 | |
[Shard: master] Account Load (1.1ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteProgress Load (0.9ms) SELECT `small_bite_progresses`.* FROM `small_bite_progresses` WHERE `small_bite_progresses`.`user_id` = 5 AND `small_bite_progresses`.`small_bite_id` = 27791 ORDER BY `small_bite_progresses`.`id` ASC LIMIT 1 | |
[Shard: master] Activity Exists (0.9ms) SELECT 1 AS one FROM `activities` WHERE `activities`.`reference_id` = 27791 AND `activities`.`reference_type` = 'SmallBite' AND `activities`.`user_id` = 5 AND `activities`.`action` IN ('create_small_bite', 'view_sitch') LIMIT 1 | |
[Shard: master] SitchIdentification Load (0.9ms) SELECT `sitch_identifications`.* FROM `sitch_identifications` WHERE `sitch_identifications`.`small_bite_id` = 27791 ORDER BY `sitch_identifications`.`id` ASC LIMIT 1 | |
[Shard: master] AccountFeature Load (1.4ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (1.3ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (0.9ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] SQL (1.3ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (0.9ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] (1.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 | |
[Shard: master] SQL (1.3ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (0.9ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (1.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 22 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (1.4ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (1.8ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (1.1ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 51 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (1.2ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (1.3ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (1.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 14 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (1.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (1.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `activities` WHERE `activities`.`reference_id` = 27791 AND `activities`.`reference_type` = 'SmallBite' AND `activities`.`user_id` = 5 AND `activities`.`action` IN ('create_small_bite', 'view_sitch') LIMIT 1 [["reference_id", 27791], ["reference_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 22 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 22]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 51 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 51]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 14 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 14]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
[Shard: master] SQL (0.8ms) UPDATE `small_bite_progresses` SET `updated_at` = '2022-01-25 10:39:00', `progress` = '--- []\n' WHERE `small_bite_progresses`.`id` = 45515 | |
[Shard: master] SmallBite Load (0.9ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 ORDER BY `small_bites`.`id` ASC LIMIT 1 | |
[Shard: master] Account Load (1.1ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] AccountFeature Load (0.9ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 | |
[Shard: master] Certificate Load (0.8ms) SELECT `certificates`.* FROM `certificates` WHERE `certificates`.`resource_id` = 27791 AND `certificates`.`resource_type` = 'SmallBite' ORDER BY `certificates`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteProgress Load (0.7ms) SELECT `small_bite_progresses`.* FROM `small_bite_progresses` WHERE `small_bite_progresses`.`id` = 45515 LIMIT 1 | |
[Shard: master] AccountAsset Load (0.9ms) SELECT `account_assets`.* FROM `account_assets` WHERE `account_assets`.`obj_id` = 27791 AND `account_assets`.`obj_type` = 'SmallBite' ORDER BY `account_assets`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (0.8ms) UPDATE `account_assets` SET `title` = 'Title of the new Sitch - Situation', `updated_at` = '2022-01-25 10:39:00', `info` = '--- {}\n' WHERE `account_assets`.`id` = 142643 | |
[Shard: master] Certificate Load (0.8ms) SELECT `certificates`.* FROM `certificates` WHERE `certificates`.`resource_id` = 27791 AND `certificates`.`resource_type` = 'SmallBite' ORDER BY `certificates`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (5.2ms) INSERT INTO `certificates` (`account_id`, `created_at`, `description`, `resource_id`, `resource_type`, `title`, `updated_at`) VALUES (37, '2022-01-25 10:39:00', 'Write the Situation here...', 27791, 'SmallBite', 'Title of the new Sitch - Situation', '2022-01-25 10:39:00') | |
[Shard: master] (0.7ms) COMMIT | |
[Shard: master] SmallBiteSetContent Load (0.8ms) SELECT `small_bite_set_contents`.* FROM `small_bite_set_contents` WHERE `small_bite_set_contents`.`small_bite_set_id` = 44 AND `small_bite_set_contents`.`small_bite_id` = 27791 ORDER BY `small_bite_set_contents`.`id` ASC LIMIT 1 | |
[Shard: master] (0.5ms) BEGIN | |
[Shard: master] SQL (0.7ms) UPDATE `small_bite_set_contents` SET `updated_at` = '2022-01-25 10:39:00', `recipient_status` = NULL WHERE `small_bite_set_contents`.`id` = 27940 | |
[Shard: master] SmallBite Load (1.0ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 ORDER BY `small_bites`.`id` ASC LIMIT 1 | |
[Shard: master] Discussion Load (0.8ms) SELECT `discussions`.* FROM `discussions` WHERE `discussions`.`resource_id` = 27940 AND `discussions`.`resource_type` = 'SmallBiteSetContent' ORDER BY `discussions`.`id` ASC LIMIT 1 | |
[Shard: master] DiscussionPost Load (0.8ms) SELECT `discussion_posts`.* FROM `discussion_posts` WHERE `discussion_posts`.`discussion_id` = 175302 AND `discussion_posts`.`parent_id` = 0 ORDER BY `discussion_posts`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteSet Load (0.7ms) SELECT `small_bite_sets`.* FROM `small_bite_sets` WHERE `small_bite_sets`.`id` = 44 ORDER BY `small_bite_sets`.`id` ASC LIMIT 1 | |
[Shard: master] SchedulerSection Load (0.8ms) SELECT `scheduler_sections`.* FROM `scheduler_sections` INNER JOIN `small_bite_sets` ON `scheduler_sections`.`id` = `small_bite_sets`.`resource_id` WHERE `small_bite_sets`.`id` = 44 AND `small_bite_sets`.`resource_type` = 'SchedulerSection' ORDER BY `scheduler_sections`.`position` ASC LIMIT 1 | |
[Shard: master] (0.8ms) COMMIT | |
[Shard: master] SmallBite Load (0.8ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 LIMIT 1 | |
[Shard: master] SmallBiteSetContent Load (0.7ms) SELECT `small_bite_set_contents`.* FROM `small_bite_set_contents` WHERE `small_bite_set_contents`.`small_bite_id` = 27791 ORDER BY `small_bite_set_contents`.`id` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `small_bite_sets`.* FROM `small_bite_sets` WHERE `small_bite_sets`.`id` = 44 ORDER BY `small_bite_sets`.`id` ASC LIMIT 1 [["id", 44]] | |
CACHE (0.0ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 LIMIT 1 [["id", 27791]] | |
CACHE (0.0ms) SELECT `small_bite_set_contents`.* FROM `small_bite_set_contents` WHERE `small_bite_set_contents`.`small_bite_id` = 27791 ORDER BY `small_bite_set_contents`.`id` ASC LIMIT 1 [["small_bite_id", 27791]] | |
CACHE (0.0ms) SELECT `small_bite_sets`.* FROM `small_bite_sets` WHERE `small_bite_sets`.`id` = 44 ORDER BY `small_bite_sets`.`id` ASC LIMIT 1 [["id", 44]] | |
CACHE (0.0ms) SELECT `scheduler_sections`.* FROM `scheduler_sections` INNER JOIN `small_bite_sets` ON `scheduler_sections`.`id` = `small_bite_sets`.`resource_id` WHERE `small_bite_sets`.`id` = 44 AND `small_bite_sets`.`resource_type` = 'SchedulerSection' ORDER BY `scheduler_sections`.`position` ASC LIMIT 1 [["id", 44]] | |
[Shard: master] SmallBite Load (0.8ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 26862 ORDER BY `small_bites`.`id` ASC LIMIT 1 | |
[Shard: master] SitchAction Load (0.7ms) SELECT `sitch_actions`.* FROM `sitch_actions` WHERE `sitch_actions`.`small_bite_id` = 26862 | |
CACHE (0.0ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 LIMIT 1 [["id", 27791]] | |
[Shard: master] (0.5ms) BEGIN | |
[Shard: master] SQL (0.8ms) UPDATE `small_bites` SET `updated_at` = '2022-01-25 10:39:00', `configuration` = '--- {}\n', `action_buttons` = '--- []\n' WHERE `small_bites`.`id` = 27791 | |
[Shard: master] User Load (0.9ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 ORDER BY `users`.`id` ASC LIMIT 1 | |
[Shard: master] Account Load (1.1ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBite Load (0.8ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 LIMIT 1 | |
[Shard: master] AccountUser Exists (0.8ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
[Shard: master] AccountUser Load (0.9ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 | |
[Shard: master] ExpertiseData Load (1.0ms) SELECT `expertise_data`.* FROM `expertise_data` WHERE `expertise_data`.`user_id` = 5 AND `expertise_data`.`resource_type` = 'SmallBite' AND `expertise_data`.`resource_id` = 27791 AND `expertise_data`.`activity_type` = 'SmallBite' AND `expertise_data`.`activity_id` = 27791 ORDER BY `expertise_data`.`id` ASC LIMIT 1 | |
[Shard: master] ExpertiseData Load (0.8ms) SELECT `expertise_data`.* FROM `expertise_data` WHERE `expertise_data`.`id` = 56175 LIMIT 1 | |
[Shard: master] SQL (0.7ms) UPDATE `expertise_data` SET `expertise_data`.`created_at` = '2022-01-25 10:38:59', `expertise_data`.`updated_at` = '2022-01-25 10:39:00' WHERE `expertise_data`.`id` = 56175 | |
[Shard: master] User Load (0.8ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 ORDER BY `users`.`id` ASC LIMIT 1 | |
[Shard: master] Account Load (1.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteProgress Load (0.9ms) SELECT `small_bite_progresses`.* FROM `small_bite_progresses` WHERE `small_bite_progresses`.`user_id` = 5 AND `small_bite_progresses`.`small_bite_id` = 27791 ORDER BY `small_bite_progresses`.`id` ASC LIMIT 1 | |
[Shard: master] Activity Exists (0.8ms) SELECT 1 AS one FROM `activities` WHERE `activities`.`reference_id` = 27791 AND `activities`.`reference_type` = 'SmallBite' AND `activities`.`user_id` = 5 AND `activities`.`action` IN ('create_small_bite', 'view_sitch') LIMIT 1 | |
[Shard: master] SitchIdentification Load (0.9ms) SELECT `sitch_identifications`.* FROM `sitch_identifications` WHERE `sitch_identifications`.`small_bite_id` = 27791 ORDER BY `sitch_identifications`.`id` ASC LIMIT 1 | |
[Shard: master] AccountFeature Load (1.0ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (1.2ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (1.2ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] SQL (1.2ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (1.2ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] (1.3ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 | |
[Shard: master] SQL (1.4ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (1.3ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (1.1ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 22 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (1.4ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (1.1ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (1.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 51 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (1.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (0.9ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (0.9ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 14 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (1.3ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (1.1ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `activities` WHERE `activities`.`reference_id` = 27791 AND `activities`.`reference_type` = 'SmallBite' AND `activities`.`user_id` = 5 AND `activities`.`action` IN ('create_small_bite', 'view_sitch') LIMIT 1 [["reference_id", 27791], ["reference_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 22 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 22]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 51 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 51]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 14 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 14]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
[Shard: master] SQL (1.1ms) UPDATE `small_bite_progresses` SET `updated_at` = '2022-01-25 10:39:01', `progress` = '--- []\n' WHERE `small_bite_progresses`.`id` = 45515 | |
[Shard: master] SmallBite Load (1.2ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 ORDER BY `small_bites`.`id` ASC LIMIT 1 | |
[Shard: master] Account Load (1.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] AccountFeature Load (1.2ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 | |
[Shard: master] Certificate Load (1.0ms) SELECT `certificates`.* FROM `certificates` WHERE `certificates`.`resource_id` = 27791 AND `certificates`.`resource_type` = 'SmallBite' ORDER BY `certificates`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteProgress Load (0.9ms) SELECT `small_bite_progresses`.* FROM `small_bite_progresses` WHERE `small_bite_progresses`.`id` = 45515 LIMIT 1 | |
[Shard: master] AccountAsset Load (0.9ms) SELECT `account_assets`.* FROM `account_assets` WHERE `account_assets`.`obj_id` = 27791 AND `account_assets`.`obj_type` = 'SmallBite' ORDER BY `account_assets`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (0.9ms) UPDATE `account_assets` SET `updated_at` = '2022-01-25 10:39:01', `info` = '--- {}\n' WHERE `account_assets`.`id` = 142643 | |
[Shard: master] Certificate Load (0.9ms) SELECT `certificates`.* FROM `certificates` WHERE `certificates`.`resource_id` = 27791 AND `certificates`.`resource_type` = 'SmallBite' ORDER BY `certificates`.`id` ASC LIMIT 1 | |
[Shard: master] (1.0ms) COMMIT | |
[Shard: master] SmallBiteSetContent Load (0.7ms) SELECT `small_bite_set_contents`.* FROM `small_bite_set_contents` WHERE `small_bite_set_contents`.`small_bite_id` = 27791 ORDER BY `small_bite_set_contents`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteSet Load (0.6ms) SELECT `small_bite_sets`.* FROM `small_bite_sets` WHERE `small_bite_sets`.`id` = 44 ORDER BY `small_bite_sets`.`id` ASC LIMIT 1 | |
[Shard: master] GroupSmallBiteSet Exists (0.7ms) SELECT 1 AS one FROM `group_small_bite_sets` WHERE `group_small_bite_sets`.`small_bite_set_id` = 44 LIMIT 1 | |
[Shard: master] SchedulerSection Load (0.7ms) SELECT `scheduler_sections`.* FROM `scheduler_sections` INNER JOIN `small_bite_sets` ON `scheduler_sections`.`id` = `small_bite_sets`.`resource_id` WHERE `small_bite_sets`.`id` = 44 AND `small_bite_sets`.`resource_type` = 'SchedulerSection' ORDER BY `scheduler_sections`.`position` ASC LIMIT 1 | |
Redirected to http://mainsedemo.storyls.test:8000/series/44/sitches/27791?em=0 | |
Completed 302 Found in 1794ms (ActiveRecord: 373.9ms) | |
Started GET "/series/44/sitches/27791?em=0" for 127.0.0.1 at 2022-01-25 18:39:01 +0800 | |
Processing by SmallBitesController#show as HTML | |
Parameters: {"em"=>"0", "small_bite_set_id"=>"44", "id"=>"27791"} | |
[Shard: master] User Load (0.8ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 ORDER BY `users`.`id` ASC LIMIT 1 | |
[Shard: master] BlockedIp Load (0.6ms) SELECT `blocked_ips`.* FROM `blocked_ips` WHERE `blocked_ips`.`ip_address` = '127.0.0.1' LIMIT 1 | |
[Shard: master] Account Load (0.8ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`domain` = 'mainsedemo.storyls.test' LIMIT 1 | |
[Shard: master] Account Load (1.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` = 'mainsedemo' LIMIT 1 | |
[Shard: master] AccountUser Exists (0.8ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
[Shard: master] AccountUser Load (1.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
[Shard: master] Account Load (1.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
[Shard: master] AccountSubscription Load (0.8ms) SELECT `account_subscriptions`.* FROM `account_subscriptions` WHERE `account_subscriptions`.`account_id` = 37 | |
[Shard: master] (0.7ms) SELECT DISTINCT COUNT(DISTINCT `webpages`.`id`) FROM `webpages` WHERE (webpages.account_id = 37 OR (webpages.account_id IN (37) AND webpages.hide_in_account_ids NOT LIKE '%37%')) AND `webpages`.`guide_page` = 1 AND `webpages`.`show_url` = '/series/44/sitches/27791' | |
[Shard: master] (0.7ms) SELECT COUNT(*) FROM `plans` WHERE `plans`.`account_id` = 37 AND `plans`.`status` = 'test_mode' AND (plans.tester_emails LIKE '%[email protected]%') | |
[Shard: master] (0.7ms) SELECT COUNT(*) FROM `plans` WHERE `plans`.`account_id` = 37 AND ((`plans`.`obj_type` = '' OR `plans`.`obj_type` IS NULL)) AND ((`plans`.`obj_id` = 0 OR `plans`.`obj_id` IS NULL)) AND `plans`.`status` = 'active' AND (DATE(starts_at) <= DATE('2022-01-25') AND DATE(ends_at) >= DATE('2022-01-25')) | |
[Shard: master] AccountFeature Load (0.8ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteSet Load (0.6ms) SELECT `small_bite_sets`.* FROM `small_bite_sets` WHERE `small_bite_sets`.`id` = 44 LIMIT 1 | |
[Shard: master] SmallBite Load (0.8ms) SELECT `small_bites`.* FROM `small_bites` INNER JOIN `small_bite_set_contents` ON `small_bites`.`id` = `small_bite_set_contents`.`small_bite_id` WHERE `small_bite_set_contents`.`small_bite_set_id` = 44 AND `small_bites`.`id` = 27791 LIMIT 1 | |
[Shard: master] SmallBiteSetContent Load (0.6ms) SELECT `small_bite_set_contents`.* FROM `small_bite_set_contents` WHERE `small_bite_set_contents`.`small_bite_id` = 27791 ORDER BY `small_bite_set_contents`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteSet Load (0.6ms) SELECT `small_bite_sets`.* FROM `small_bite_sets` WHERE `small_bite_sets`.`id` = 44 ORDER BY `small_bite_sets`.`id` ASC LIMIT 1 | |
[Shard: master] SitchAccess Load (1.1ms) SELECT `sitch_accesses`.* FROM `sitch_accesses` WHERE `sitch_accesses`.`small_bite_id` = 27791 AND `sitch_accesses`.`user_id` = 5 LIMIT 1 | |
[Shard: master] (0.9ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 | |
[Shard: master] Account Load (1.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] SitchIdentification Load (0.9ms) SELECT `sitch_identifications`.* FROM `sitch_identifications` WHERE `sitch_identifications`.`small_bite_id` = 27791 ORDER BY `sitch_identifications`.`id` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] SQL (1.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (0.7ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] SQL (0.9ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (0.7ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] (0.7ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 | |
[Shard: master] SQL (1.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (0.8ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (0.9ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 22 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (12.4ms) SELECT COUNT(*) FROM `user_fishbones` INNER JOIN `user_activity_records` ON `user_activity_records`.`record_id` = `user_fishbones`.`id` AND `user_activity_records`.`record_type` = 'UserFishbone' INNER JOIN `small_bites` ON `small_bites`.`id` = `user_fishbones`.`resource_id` AND `user_fishbones`.`resource_type` = 'SmallBite' INNER JOIN `small_bite_set_contents` ON `small_bite_set_contents`.`small_bite_id` = `small_bites`.`id` WHERE `user_fishbones`.`account_id` = 37 AND `user_fishbones`.`status` = 'published' AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`sub_resource_id` = 22 AND `small_bites`.`status` IN ('published', 'draft', 'unpublished') | |
[Shard: master] UserFishbone Load (1.1ms) SELECT `user_fishbones`.* FROM `user_fishbones` WHERE `user_fishbones`.`resource_id` = 27791 AND `user_fishbones`.`resource_type` = 'SmallBite' AND ((`user_fishbones`.`title` = '' OR `user_fishbones`.`title` IS NULL)) AND ((`user_fishbones`.`context` = '' OR `user_fishbones`.`context` IS NULL)) AND ((`user_fishbones`.`cause1` = '' OR `user_fishbones`.`cause1` IS NULL)) AND ((`user_fishbones`.`cause2` = '' OR `user_fishbones`.`cause2` IS NULL)) AND ((`user_fishbones`.`cause3` = '' OR `user_fishbones`.`cause3` IS NULL)) AND ((`user_fishbones`.`cause4` = '' OR `user_fishbones`.`cause4` IS NULL)) AND ((`user_fishbones`.`cause5` = '' OR `user_fishbones`.`cause5` IS NULL)) AND ((`user_fishbones`.`cause6` = '' OR `user_fishbones`.`cause6` IS NULL)) AND ((`user_fishbones`.`cause7` = '' OR `user_fishbones`.`cause7` IS NULL)) AND ((`user_fishbones`.`cause8` = '' OR `user_fishbones`.`cause8` IS NULL)) AND ((`user_fishbones`.`cause9` = '' OR `user_fishbones`.`cause9` IS NULL)) | |
[Shard: master] WhatIf Load (7.1ms) SELECT `what_ifs`.* FROM `what_ifs` WHERE `what_ifs`.`resource_id` = 27791 AND `what_ifs`.`resource_type` = 'SmallBite' AND ((`what_ifs`.`title` = '' OR `what_ifs`.`title` IS NULL)) AND ((`what_ifs`.`situation` = '' OR `what_ifs`.`situation` IS NULL)) AND ((`what_ifs`.`option1` = '' OR `what_ifs`.`option1` IS NULL)) AND ((`what_ifs`.`option2` = '' OR `what_ifs`.`option2` IS NULL)) AND ((`what_ifs`.`option3` = '' OR `what_ifs`.`option3` IS NULL)) AND ((`what_ifs`.`impact1` = '' OR `what_ifs`.`impact1` IS NULL)) AND ((`what_ifs`.`impact2` = '' OR `what_ifs`.`impact2` IS NULL)) AND ((`what_ifs`.`impact3` = '' OR `what_ifs`.`impact3` IS NULL)) | |
[Shard: master] Workaround Load (1.1ms) SELECT `workarounds`.* FROM `workarounds` WHERE `workarounds`.`resource_id` = 27791 AND `workarounds`.`resource_type` = 'SmallBite' AND ((`workarounds`.`title` = '' OR `workarounds`.`title` IS NULL)) AND ((`workarounds`.`start` = '' OR `workarounds`.`start` IS NULL)) AND ((`workarounds`.`obstacle1` = '' OR `workarounds`.`obstacle1` IS NULL)) AND ((`workarounds`.`obstacle2` = '' OR `workarounds`.`obstacle2` IS NULL)) AND ((`workarounds`.`obstacle3` = '' OR `workarounds`.`obstacle3` IS NULL)) AND ((`workarounds`.`workaround1` = '' OR `workarounds`.`workaround1` IS NULL)) AND ((`workarounds`.`workaround2` = '' OR `workarounds`.`workaround2` IS NULL)) AND ((`workarounds`.`workaround3` = '' OR `workarounds`.`workaround3` IS NULL)) AND ((`workarounds`.`goal` = '' OR `workarounds`.`goal` IS NULL)) | |
[Shard: master] SuccessStory Load (1.1ms) SELECT `success_stories`.* FROM `success_stories` WHERE `success_stories`.`resource_id` = 27791 AND `success_stories`.`resource_type` = 'SmallBite' AND ((`success_stories`.`title` = '' OR `success_stories`.`title` IS NULL)) AND ((`success_stories`.`setting` = '' OR `success_stories`.`setting` IS NULL)) AND ((`success_stories`.`conflict` = '' OR `success_stories`.`conflict` IS NULL)) AND ((`success_stories`.`consequence` = '' OR `success_stories`.`consequence` IS NULL)) AND ((`success_stories`.`climax` = '' OR `success_stories`.`climax` IS NULL)) AND ((`success_stories`.`option` = '' OR `success_stories`.`option` IS NULL)) AND ((`success_stories`.`resolution` = '' OR `success_stories`.`resolution` IS NULL)) AND ((`success_stories`.`learning` = '' OR `success_stories`.`learning` IS NULL)) | |
[Shard: master] Discussion Load (0.7ms) SELECT `discussions`.* FROM `discussions` WHERE `discussions`.`resource_id` = 27791 AND `discussions`.`resource_type` = 'SmallBite' ORDER BY `discussions`.`id` ASC LIMIT 1 | |
[Shard: master] (0.5ms) BEGIN | |
[Shard: master] SQL (0.7ms) INSERT INTO `discussions` (`account_id`, `created_at`, `resource_id`, `resource_type`, `status`, `topic`, `updated_at`, `user_id`) VALUES (37, '2022-01-25 10:39:01', 27791, 'SmallBite', 'published', 'Small Bite Discussion', '2022-01-25 10:39:01', 5) | |
[Shard: master] SQL (0.7ms) UPDATE `discussions` SET `discussions`.`position` = 1 WHERE `discussions`.`id` = 175303 | |
[Shard: master] (10.1ms) COMMIT | |
[Shard: master] Discussion Load (0.7ms) SELECT `discussions`.* FROM `discussions` WHERE `discussions`.`id` = 175303 LIMIT 1 | |
[Shard: master] DiscussionPost Load (0.7ms) SELECT `discussion_posts`.* FROM `discussion_posts` WHERE `discussion_posts`.`discussion_id` = 175303 AND `discussion_posts`.`parent_id` = 0 ORDER BY `discussion_posts`.`id` ASC LIMIT 1 | |
[Shard: master] (0.5ms) BEGIN | |
[Shard: master] SQL (0.7ms) INSERT INTO `discussion_posts` (`content`, `created_at`, `discussion_id`, `liked_by`, `notified_user_ids`, `status`, `updated_at`, `user_id`) VALUES ('Small Bite Discussion', '2022-01-25 10:39:01', 175303, '--- []\n', '--- []\n', 'active', '2022-01-25 10:39:01', 5) | |
[Shard: master] Discussion Load (0.7ms) SELECT `discussions`.* FROM `discussions` WHERE `discussions`.`id` = 175303 ORDER BY `discussions`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBite Load (0.8ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 ORDER BY `small_bites`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (0.7ms) UPDATE `discussions` SET `discussions`.`updated_at` = '2022-01-25 10:39:01' WHERE `discussions`.`id` = 175303 | |
[Shard: master] (1.0ms) COMMIT | |
[Shard: master] (0.6ms) BEGIN | |
[Shard: master] SQL (3.5ms) INSERT INTO `activities` (`account_id`, `action`, `created_at`, `reference_id`, `reference_type`, `trial`, `updated_at`, `user_id`) VALUES (37, 'view_sitch', '2022-01-25 10:39:01', 27791, 'SmallBite', 0, '2022-01-25 10:39:01', 5) | |
[Shard: master] (0.7ms) COMMIT | |
[Shard: master] SmallBite Load (0.8ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 LIMIT 1 | |
[Shard: master] SmallBiteProgress Load (0.9ms) SELECT `small_bite_progresses`.* FROM `small_bite_progresses` WHERE `small_bite_progresses`.`user_id` = 5 AND `small_bite_progresses`.`small_bite_id` = 27791 ORDER BY `small_bite_progresses`.`id` ASC LIMIT 1 | |
[Shard: master] Activity Exists (0.7ms) SELECT 1 AS one FROM `activities` WHERE `activities`.`reference_id` = 27791 AND `activities`.`reference_type` = 'SmallBite' AND `activities`.`user_id` = 5 AND `activities`.`action` IN ('create_small_bite', 'view_sitch') LIMIT 1 | |
[Shard: master] Account Load (1.1ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] SitchIdentification Load (0.8ms) SELECT `sitch_identifications`.* FROM `sitch_identifications` WHERE `sitch_identifications`.`small_bite_id` = 27791 ORDER BY `sitch_identifications`.`id` ASC LIMIT 1 | |
[Shard: master] AccountFeature Load (0.8ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 | |
[Shard: master] SQL (1.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (0.7ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] SQL (1.1ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (0.8ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] (0.8ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 | |
[Shard: master] SQL (0.9ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (0.7ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (0.9ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 22 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (0.8ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (0.9ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (1.2ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 51 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (1.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (0.9ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (1.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 14 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (0.9ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (0.9ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `activities` WHERE `activities`.`reference_id` = 27791 AND `activities`.`reference_type` = 'SmallBite' AND `activities`.`user_id` = 5 AND `activities`.`action` IN ('create_small_bite', 'view_sitch') LIMIT 1 [["reference_id", 27791], ["reference_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.1ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 22 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 22]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 51 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 51]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 14 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 14]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
[Shard: master] (0.6ms) BEGIN | |
[Shard: master] SQL (0.9ms) UPDATE `small_bite_progresses` SET `progress` = '---\n- the_sitch\n', `percentage` = 25, `updated_at` = '2022-01-25 10:39:02' WHERE `small_bite_progresses`.`id` = 45515 | |
[Shard: master] SmallBite Load (0.9ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 ORDER BY `small_bites`.`id` ASC LIMIT 1 | |
[Shard: master] Account Load (1.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 | |
[Shard: master] AccountFeature Load (1.0ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 | |
[Shard: master] Certificate Load (0.8ms) SELECT `certificates`.* FROM `certificates` WHERE `certificates`.`resource_id` = 27791 AND `certificates`.`resource_type` = 'SmallBite' ORDER BY `certificates`.`id` ASC LIMIT 1 | |
[Shard: master] (0.7ms) COMMIT | |
[Shard: master] SmallBiteProgress Load (0.6ms) SELECT `small_bite_progresses`.* FROM `small_bite_progresses` WHERE `small_bite_progresses`.`id` = 45515 LIMIT 1 | |
[Shard: master] SmallBiteWatcher Load (2.2ms) SELECT `small_bite_watchers`.* FROM `small_bite_watchers` WHERE `small_bite_watchers`.`user_id` = 5 AND `small_bite_watchers`.`small_bite_id` = 27791 LIMIT 1 | |
[Shard: master] SchedulerContent Exists (1.3ms) SELECT 1 AS one FROM `scheduler_contents` WHERE `scheduler_contents`.`resource_id` = 27791 AND `scheduler_contents`.`resource_type` = 'SmallBite' ORDER BY `scheduler_contents`.`position` ASC LIMIT 1 | |
[Shard: master] SmallBiteSetContent Load (0.7ms) SELECT `small_bite_set_contents`.* FROM `small_bite_set_contents` WHERE `small_bite_set_contents`.`small_bite_id` = 27791 ORDER BY `small_bite_set_contents`.`id` ASC LIMIT 1 | |
[Shard: master] SmallBiteSet Load (0.7ms) SELECT `small_bite_sets`.* FROM `small_bite_sets` WHERE `small_bite_sets`.`id` = 44 ORDER BY `small_bite_sets`.`id` ASC LIMIT 1 | |
[Shard: master] AccountTerm Load (1.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 | |
[Shard: master] SchedulerSection Load (1.0ms) SELECT `scheduler_sections`.* FROM `scheduler_sections` INNER JOIN `small_bite_sets` ON `scheduler_sections`.`id` = `small_bite_sets`.`resource_id` WHERE `small_bite_sets`.`id` = 44 AND `small_bite_sets`.`resource_type` = 'SchedulerSection' ORDER BY `scheduler_sections`.`position` ASC LIMIT 1 | |
[Shard: master] ModularSitchSmallBite Load (1.0ms) SELECT `modular_sitch_small_bites`.* FROM `modular_sitch_small_bites` WHERE `modular_sitch_small_bites`.`small_bite_id` = 27791 ORDER BY `modular_sitch_small_bites`.`id` ASC LIMIT 1 | |
[Shard: master] GroupSmallBiteSet Exists (0.9ms) SELECT 1 AS one FROM `group_small_bite_sets` WHERE `group_small_bite_sets`.`small_bite_set_id` = 44 LIMIT 1 | |
[Shard: master] SmallBiteSet Load (0.9ms) SELECT `small_bite_sets`.* FROM `small_bite_sets` WHERE `small_bite_sets`.`resource_id` = 37 AND `small_bite_sets`.`resource_type` = 'Account' AND `small_bite_sets`.`kind` = 'incidents' ORDER BY `small_bite_sets`.`id` ASC LIMIT 1 | |
[Shard: master] User Load (0.9ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 ORDER BY `users`.`id` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `group_small_bite_sets` WHERE `group_small_bite_sets`.`small_bite_set_id` = 44 LIMIT 1 [["small_bite_set_id", 44]] | |
[Shard: master] AccountTerm Load (0.9ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.situation' LIMIT 1 | |
[Shard: master] SitchMarketingAlert Load (1.1ms) SELECT `sitch_marketing_alerts`.* FROM `sitch_marketing_alerts` WHERE `sitch_marketing_alerts`.`small_bite_id` = 27791 ORDER BY `sitch_marketing_alerts`.`id` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `group_small_bite_sets` WHERE `group_small_bite_sets`.`small_bite_set_id` = 44 LIMIT 1 [["small_bite_set_id", 44]] | |
CACHE (0.0ms) SELECT `scheduler_sections`.* FROM `scheduler_sections` INNER JOIN `small_bite_sets` ON `scheduler_sections`.`id` = `small_bite_sets`.`resource_id` WHERE `small_bite_sets`.`id` = 44 AND `small_bite_sets`.`resource_type` = 'SchedulerSection' ORDER BY `scheduler_sections`.`position` ASC LIMIT 1 [["id", 44]] | |
Rendered small_bites/_instructions_button.html.haml (5.9ms) | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/_show_homepage_button.html.haml (4.0ms) | |
Rendered small_bites/_privacy_button.html.haml (4.3ms) | |
Rendered small_bites/_view_request_accesses_button.html.haml (0.9ms) | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
[Shard: master] AccountAsset Load (1.3ms) SELECT `account_assets`.* FROM `account_assets` WHERE `account_assets`.`obj_id` = 27791 AND `account_assets`.`obj_type` = 'SmallBite' ORDER BY `account_assets`.`id` ASC LIMIT 1 | |
[Shard: master] AccountTerm Load (1.1ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.paid_content' LIMIT 1 | |
[Shard: master] (1.2ms) SELECT COUNT(*) FROM `account_asset_purchases` WHERE `account_asset_purchases`.`account_asset_id` = 142643 AND `account_asset_purchases`.`status` = 'paid' | |
Rendered account_assets/_paid_content_button.html.haml (23.4ms) | |
Rendered small_bites/_subscribe_buttons.html.haml (1.2ms) | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/_other_links.html.haml (17.8ms) | |
Rendered small_bites/_more_menu_first_column.html.haml (206.0ms) | |
Rendered small_bites/_more_menu_second_column.html.haml (14.4ms) | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/_top_menu.html.haml (304.8ms) | |
Rendered small_bites/_all_top_menus.html.haml (307.4ms) | |
[Shard: master] Presentation Load (1.5ms) SELECT `presentations`.* FROM `presentations` WHERE `presentations`.`obj_id` = 27791 AND `presentations`.`obj_type` = 'SmallBite' ORDER BY `presentations`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/_header_buttons.html.haml (67.5ms) | |
CACHE (0.0ms) SELECT 1 AS one FROM `group_small_bite_sets` WHERE `group_small_bite_sets`.`small_bite_set_id` = 44 LIMIT 1 [["small_bite_set_id", 44]] | |
[Shard: master] HeroAward Load (1.0ms) SELECT `hero_awards`.* FROM `hero_awards` WHERE `hero_awards`.`account_id` = 37 ORDER BY `hero_awards`.`id` ASC LIMIT 1 | |
Rendered small_bites/sitch/_deep_smart_and_list_meu.html.haml (14.1ms) | |
[Shard: master] AccountUser Exists (0.9ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
[Shard: master] AccountUser Load (1.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
Rendered small_bites/sitch_steps/_the_sitch.html.haml (2.0ms) | |
[Shard: master] SQL (1.3ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (1.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] SQL (1.2ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (1.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] (1.2ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 | |
[Shard: master] SQL (1.1ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 | |
[Shard: master] AccountMicroTool Load (1.1ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 | |
[Shard: master] MicroTool Load (1.3ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 22 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (1.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (1.2ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] (4.1ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` IN ('solutions', 'analysis', 'results', 'customizable') AND (`micro_tools`.`code` != 'impacts') AND (`micro_tools`.`code` NOT IN ('sitch_notes', 'sitch_discoveries')) AND (`account_micro_tools`.`id` NOT IN (39322)) | |
[Shard: master] SQL (1.4ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` IN ('solutions', 'analysis', 'results', 'customizable') AND (`micro_tools`.`code` != 'impacts') AND (`micro_tools`.`code` NOT IN ('sitch_notes', 'sitch_discoveries')) AND (`account_micro_tools`.`id` NOT IN (39322)) ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC, account_micro_tools.id = 22 DESC, account_micro_tools.updated_at DESC | |
[Shard: master] SQL (1.6ms) SELECT `checklists`.`id` AS t0_r0, `checklists`.`account_id` AS t0_r1, `checklists`.`user_id` AS t0_r2, `checklists`.`resource_id` AS t0_r3, `checklists`.`resource_type` AS t0_r4, `checklists`.`prototype_id` AS t0_r5, `checklists`.`created_at` AS t0_r6, `checklists`.`updated_at` AS t0_r7, `checklists`.`title` AS t0_r8, `checklists`.`image_file_name` AS t0_r9, `checklists`.`image_content_type` AS t0_r10, `checklists`.`image_file_size` AS t0_r11, `checklists`.`image_updated_at` AS t0_r12, `checklist_items`.`id` AS t1_r0, `checklist_items`.`checklist_id` AS t1_r1, `checklist_items`.`prototype_id` AS t1_r2, `checklist_items`.`description` AS t1_r3, `checklist_items`.`position` AS t1_r4, `checklist_items`.`created_at` AS t1_r5, `checklist_items`.`updated_at` AS t1_r6, `checklist_items`.`status` AS t1_r7 FROM `checklists` INNER JOIN `checklist_items` ON `checklist_items`.`checklist_id` = `checklists`.`id` WHERE `checklists`.`resource_id` = 27791 AND `checklists`.`resource_type` = 'SmallBite' AND (checklist_items.id is NOT NULL) | |
[Shard: master] UserFishbone Load (0.9ms) SELECT `user_fishbones`.* FROM `user_fishbones` WHERE `user_fishbones`.`resource_id` = 27791 AND `user_fishbones`.`resource_type` = 'SmallBite' AND `user_fishbones`.`status` = 'published' | |
[Shard: master] Lesson Load (15.7ms) SELECT `lessons`.* FROM `lessons` WHERE `lessons`.`obj_id` = 27791 AND `lessons`.`obj_type` = 'SmallBite' AND `lessons`.`status` = 'published' AND (lessons.obj_type = 'SmallBite') | |
CACHE (0.0ms) SELECT `lessons`.* FROM `lessons` WHERE `lessons`.`obj_id` = 27791 AND `lessons`.`obj_type` = 'SmallBite' AND `lessons`.`status` = 'published' AND (lessons.obj_type = 'SmallBite') [["obj_id", 27791], ["obj_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `lessons`.* FROM `lessons` WHERE `lessons`.`obj_id` = 27791 AND `lessons`.`obj_type` = 'SmallBite' AND `lessons`.`status` = 'published' AND (lessons.obj_type = 'SmallBite') [["obj_id", 27791], ["obj_type", "SmallBite"]] | |
[Shard: master] SmallBite Load (1.1ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 0 | |
[Shard: master] ProblemSolution Load (1.1ms) SELECT `problem_solutions`.* FROM `problem_solutions` WHERE `problem_solutions`.`resource_id` = 27791 AND `problem_solutions`.`resource_type` = 'SmallBite' ORDER BY `problem_solutions`.`id` ASC LIMIT 1 | |
[Shard: master] UserProblemSolution Load (1.5ms) SELECT `user_problem_solutions`.* FROM `user_problem_solutions` WHERE `user_problem_solutions`.`problem_solution_id` = 27976 | |
[Shard: master] Sketch Load (1.4ms) SELECT `sketches`.* FROM `sketches` WHERE `sketches`.`resource_id` = 27791 AND `sketches`.`resource_type` = 'SmallBite' | |
[Shard: master] Frame Load (1.4ms) SELECT `frames`.* FROM `frames` WHERE `frames`.`resource_id` = 27791 AND `frames`.`resource_type` = 'SmallBite' | |
[Shard: master] GroupThink Load (1.1ms) SELECT `group_thinks`.* FROM `group_thinks` WHERE `group_thinks`.`resource_id` = 27791 AND `group_thinks`.`resource_type` = 'SmallBite' ORDER BY `group_thinks`.`id` ASC LIMIT 1 | |
[Shard: master] Discussion Load (1.0ms) SELECT `discussions`.* FROM `discussions` WHERE `discussions`.`resource_id` = 27791 AND `discussions`.`resource_type` = 'GroupThink' ORDER BY `discussions`.`id` ASC LIMIT 1 | |
[Shard: master] DiscussionPost Load (1.0ms) SELECT `discussion_posts`.* FROM `discussion_posts` WHERE `discussion_posts`.`discussion_id` = 175301 AND `discussion_posts`.`parent_id` = 0 ORDER BY `discussion_posts`.`id` ASC LIMIT 1 | |
[Shard: master] DiscussionPost Load (0.9ms) SELECT `discussion_posts`.* FROM `discussion_posts` WHERE `discussion_posts`.`discussion_id` = 175301 AND (discussion_posts.status = 'active' AND discussion_posts.parent_id <> '0') AND `discussion_posts`.`status` = 'active' AND `discussion_posts`.`parent_id` = 231483 | |
[Shard: master] ProsAndCon Load (1.5ms) SELECT `pros_and_cons`.* FROM `pros_and_cons` WHERE `pros_and_cons`.`resource_id` = 27791 AND `pros_and_cons`.`resource_type` = 'SmallBite' | |
[Shard: master] WhatIf Load (0.9ms) SELECT `what_ifs`.* FROM `what_ifs` WHERE `what_ifs`.`resource_id` = 27791 AND `what_ifs`.`resource_type` = 'SmallBite' AND `what_ifs`.`status` = 'published' | |
[Shard: master] Workaround Load (1.0ms) SELECT `workarounds`.* FROM `workarounds` WHERE `workarounds`.`resource_id` = 27791 AND `workarounds`.`resource_type` = 'SmallBite' AND `workarounds`.`status` = 'published' | |
[Shard: master] SuccessStory Load (0.9ms) SELECT `success_stories`.* FROM `success_stories` WHERE `success_stories`.`resource_id` = 27791 AND `success_stories`.`resource_type` = 'SmallBite' AND `success_stories`.`status` = 'published' | |
[Shard: master] MindMap Load (1.4ms) SELECT `mind_maps`.* FROM `mind_maps` WHERE `mind_maps`.`resource_id` = 27791 AND `mind_maps`.`resource_type` = 'SmallBite' | |
[Shard: master] Contribution Load (1.4ms) SELECT `contributions`.* FROM `contributions` WHERE `contributions`.`resource_id` = 27791 AND `contributions`.`resource_type` = 'SmallBite' | |
[Shard: master] NewThinking Load (1.5ms) SELECT `new_thinkings`.* FROM `new_thinkings` WHERE `new_thinkings`.`resource_id` = 27791 AND `new_thinkings`.`resource_type` = 'SmallBite' | |
[Shard: master] ImprovingWork Load (1.4ms) SELECT `improving_works`.* FROM `improving_works` WHERE `improving_works`.`resource_id` = 27791 AND `improving_works`.`resource_type` = 'SmallBite' | |
[Shard: master] Troubleshooting Load (1.5ms) SELECT `troubleshootings`.* FROM `troubleshootings` WHERE `troubleshootings`.`resource_id` = 27791 AND `troubleshootings`.`resource_type` = 'SmallBite' | |
[Shard: master] YesOrNo Load (1.5ms) SELECT `yes_or_nos`.* FROM `yes_or_nos` WHERE `yes_or_nos`.`resource_id` = 27791 AND `yes_or_nos`.`resource_type` = 'SmallBite' | |
[Shard: master] SQL (1.5ms) SELECT `procedures`.`id` AS t0_r0, `procedures`.`account_id` AS t0_r1, `procedures`.`user_id` AS t0_r2, `procedures`.`resource_id` AS t0_r3, `procedures`.`resource_type` AS t0_r4, `procedures`.`prototype_id` AS t0_r5, `procedures`.`title` AS t0_r6, `procedures`.`image_file_name` AS t0_r7, `procedures`.`image_content_type` AS t0_r8, `procedures`.`image_file_size` AS t0_r9, `procedures`.`image_updated_at` AS t0_r10, `procedures`.`created_at` AS t0_r11, `procedures`.`updated_at` AS t0_r12, `procedure_items`.`id` AS t1_r0, `procedure_items`.`procedure_id` AS t1_r1, `procedure_items`.`prototype_id` AS t1_r2, `procedure_items`.`description` AS t1_r3, `procedure_items`.`position` AS t1_r4, `procedure_items`.`status` AS t1_r5, `procedure_items`.`created_at` AS t1_r6, `procedure_items`.`updated_at` AS t1_r7 FROM `procedures` INNER JOIN `procedure_items` ON `procedure_items`.`procedure_id` = `procedures`.`id` WHERE `procedures`.`resource_id` = 27791 AND `procedures`.`resource_type` = 'SmallBite' AND (procedure_items.id is NOT NULL) | |
[Shard: master] SitchList Load (1.5ms) SELECT `sitch_lists`.* FROM `sitch_lists` WHERE `sitch_lists`.`resource_id` = 27791 AND `sitch_lists`.`resource_type` = 'SmallBite' | |
[Shard: master] SitchRisk Load (1.5ms) SELECT `sitch_risks`.* FROM `sitch_risks` WHERE `sitch_risks`.`resource_id` = 27791 AND `sitch_risks`.`resource_type` = 'SmallBite' | |
[Shard: master] SitchIdentificationEntry Load (3.0ms) SELECT `sitch_identification_entries`.* FROM `sitch_identification_entries` INNER JOIN `sitch_identifications` ON `sitch_identification_entries`.`sitch_identification_id` = `sitch_identifications`.`id` WHERE `sitch_identifications`.`small_bite_id` = 27791 | |
[Shard: master] SitchStoryboard Load (1.4ms) SELECT `sitch_storyboards`.* FROM `sitch_storyboards` WHERE `sitch_storyboards`.`small_bite_id` = 27791 ORDER BY `sitch_storyboards`.`id` ASC LIMIT 1 | |
[Shard: master] SitchStoryboardEntry Load (3.1ms) SELECT `sitch_storyboard_entries`.* FROM `sitch_storyboard_entries` WHERE `sitch_storyboard_entries`.`id` = 0 | |
[Shard: master] SitchProcessFlow Load (1.3ms) SELECT `sitch_process_flows`.* FROM `sitch_process_flows` WHERE `sitch_process_flows`.`small_bite_id` = 27791 | |
[Shard: master] ConsequenceThinking Load (1.4ms) SELECT `consequence_thinkings`.* FROM `consequence_thinkings` WHERE `consequence_thinkings`.`resource_id` = 27791 AND `consequence_thinkings`.`resource_type` = 'SmallBite' | |
[Shard: master] SitchMetric Load (1.1ms) SELECT `sitch_metrics`.* FROM `sitch_metrics` WHERE `sitch_metrics`.`small_bite_id` = 27791 | |
[Shard: master] SitchNetwork Load (1.4ms) SELECT `sitch_networks`.* FROM `sitch_networks` WHERE `sitch_networks`.`resource_id` = 27791 AND `sitch_networks`.`resource_type` = 'SmallBite' | |
[Shard: master] SitchTrialAndError Load (1.4ms) SELECT `sitch_trial_and_errors`.* FROM `sitch_trial_and_errors` WHERE `sitch_trial_and_errors`.`resource_id` = 27791 AND `sitch_trial_and_errors`.`resource_type` = 'SmallBite' | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/sitch_steps/_analysis.html.haml (456.5ms) | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (1.3ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 51 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (1.2ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (1.1ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] (1.2ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` IN ('solutions', 'analysis', 'results', 'customizable') AND (`micro_tools`.`code` != 'impacts') AND (`micro_tools`.`code` NOT IN ('sitch_notes', 'sitch_discoveries')) AND (`account_micro_tools`.`id` NOT IN (22)) | |
[Shard: master] SQL (1.3ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` IN ('solutions', 'analysis', 'results', 'customizable') AND (`micro_tools`.`code` != 'impacts') AND (`micro_tools`.`code` NOT IN ('sitch_notes', 'sitch_discoveries')) AND (`account_micro_tools`.`id` NOT IN (22)) ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC, account_micro_tools.id = 39322 DESC, account_micro_tools.updated_at DESC | |
CACHE (0.0ms) SELECT `checklists`.`id` AS t0_r0, `checklists`.`account_id` AS t0_r1, `checklists`.`user_id` AS t0_r2, `checklists`.`resource_id` AS t0_r3, `checklists`.`resource_type` AS t0_r4, `checklists`.`prototype_id` AS t0_r5, `checklists`.`created_at` AS t0_r6, `checklists`.`updated_at` AS t0_r7, `checklists`.`title` AS t0_r8, `checklists`.`image_file_name` AS t0_r9, `checklists`.`image_content_type` AS t0_r10, `checklists`.`image_file_size` AS t0_r11, `checklists`.`image_updated_at` AS t0_r12, `checklist_items`.`id` AS t1_r0, `checklist_items`.`checklist_id` AS t1_r1, `checklist_items`.`prototype_id` AS t1_r2, `checklist_items`.`description` AS t1_r3, `checklist_items`.`position` AS t1_r4, `checklist_items`.`created_at` AS t1_r5, `checklist_items`.`updated_at` AS t1_r6, `checklist_items`.`status` AS t1_r7 FROM `checklists` INNER JOIN `checklist_items` ON `checklist_items`.`checklist_id` = `checklists`.`id` WHERE `checklists`.`resource_id` = 27791 AND `checklists`.`resource_type` = 'SmallBite' AND (checklist_items.id is NOT NULL) [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `lessons`.* FROM `lessons` WHERE `lessons`.`obj_id` = 27791 AND `lessons`.`obj_type` = 'SmallBite' AND `lessons`.`status` = 'published' AND (lessons.obj_type = 'SmallBite') [["obj_id", 27791], ["obj_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `lessons`.* FROM `lessons` WHERE `lessons`.`obj_id` = 27791 AND `lessons`.`obj_type` = 'SmallBite' AND `lessons`.`status` = 'published' AND (lessons.obj_type = 'SmallBite') [["obj_id", 27791], ["obj_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `lessons`.* FROM `lessons` WHERE `lessons`.`obj_id` = 27791 AND `lessons`.`obj_type` = 'SmallBite' AND `lessons`.`status` = 'published' AND (lessons.obj_type = 'SmallBite') [["obj_id", 27791], ["obj_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 0 | |
CACHE (0.0ms) SELECT `discussion_posts`.* FROM `discussion_posts` WHERE `discussion_posts`.`discussion_id` = 175301 AND (discussion_posts.status = 'active' AND discussion_posts.parent_id <> '0') AND `discussion_posts`.`status` = 'active' AND `discussion_posts`.`parent_id` = 231483 [["discussion_id", 175301]] | |
CACHE (0.0ms) SELECT `what_ifs`.* FROM `what_ifs` WHERE `what_ifs`.`resource_id` = 27791 AND `what_ifs`.`resource_type` = 'SmallBite' AND `what_ifs`.`status` = 'published' [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `workarounds`.* FROM `workarounds` WHERE `workarounds`.`resource_id` = 27791 AND `workarounds`.`resource_type` = 'SmallBite' AND `workarounds`.`status` = 'published' [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `success_stories`.* FROM `success_stories` WHERE `success_stories`.`resource_id` = 27791 AND `success_stories`.`resource_type` = 'SmallBite' AND `success_stories`.`status` = 'published' [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `procedures`.`id` AS t0_r0, `procedures`.`account_id` AS t0_r1, `procedures`.`user_id` AS t0_r2, `procedures`.`resource_id` AS t0_r3, `procedures`.`resource_type` AS t0_r4, `procedures`.`prototype_id` AS t0_r5, `procedures`.`title` AS t0_r6, `procedures`.`image_file_name` AS t0_r7, `procedures`.`image_content_type` AS t0_r8, `procedures`.`image_file_size` AS t0_r9, `procedures`.`image_updated_at` AS t0_r10, `procedures`.`created_at` AS t0_r11, `procedures`.`updated_at` AS t0_r12, `procedure_items`.`id` AS t1_r0, `procedure_items`.`procedure_id` AS t1_r1, `procedure_items`.`prototype_id` AS t1_r2, `procedure_items`.`description` AS t1_r3, `procedure_items`.`position` AS t1_r4, `procedure_items`.`status` AS t1_r5, `procedure_items`.`created_at` AS t1_r6, `procedure_items`.`updated_at` AS t1_r7 FROM `procedures` INNER JOIN `procedure_items` ON `procedure_items`.`procedure_id` = `procedures`.`id` WHERE `procedures`.`resource_id` = 27791 AND `procedures`.`resource_type` = 'SmallBite' AND (procedure_items.id is NOT NULL) [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `sitch_storyboard_entries`.* FROM `sitch_storyboard_entries` WHERE `sitch_storyboard_entries`.`id` = 0 | |
[Shard: master] Insight Load (1.5ms) SELECT `insights`.* FROM `insights` WHERE `insights`.`resource_id` = 27791 AND `insights`.`resource_type` = 'SmallBite' | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 51 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 51]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/sitch_steps/_solutions.html.haml (73.4ms) | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
[Shard: master] MicroTool Load (1.2ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 14 ORDER BY `micro_tools`.`position` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] (1.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 | |
[Shard: master] UserActivityRecord Load (1.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 | |
[Shard: master] (1.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' | |
[Shard: master] SQL (1.1ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC | |
[Shard: master] Impact Load (0.9ms) SELECT `impacts`.* FROM `impacts` WHERE `impacts`.`resource_id` = 27791 AND `impacts`.`resource_type` = 'SmallBite' ORDER BY `impacts`.`id` ASC LIMIT 1 | |
[Shard: master] UserImpact Load (1.3ms) SELECT `user_impacts`.* FROM `user_impacts` WHERE `user_impacts`.`impact_id` = 27977 | |
CACHE (0.0ms) SELECT `success_stories`.* FROM `success_stories` WHERE `success_stories`.`resource_id` = 27791 AND `success_stories`.`resource_type` = 'SmallBite' AND `success_stories`.`status` = 'published' [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 14 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 14]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/sitch_steps/_results.html.haml (47.7ms) | |
Rendered small_bites/sitch_steps/_next.html.haml (1.1ms) | |
Rendered small_bites/sitch_steps/_prev.html.haml (0.9ms) | |
[Shard: master] (1.9ms) SELECT COUNT(*) FROM `alert_histories` WHERE `alert_histories`.`account_id` = 37 AND `alert_histories`.`resource_type` = 'SmallBite' AND `alert_histories`.`resource_id` = 27791 | |
Rendered small_bites/sitch_steps/_alert_others.html.haml (17.4ms) | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/sitch_steps/_share.html.haml (5.5ms) | |
Rendered small_bites/sitch/_steps.html.haml (670.3ms) | |
Rendered small_bites/sitch/_steps_or_interaction.html.haml (700.1ms) | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
[Shard: master] SmallBiteProgress Load (1.0ms) SELECT `small_bite_progresses`.* FROM `small_bite_progresses` WHERE `small_bite_progresses`.`small_bite_id` = 27791 AND `small_bite_progresses`.`user_id` = 5 LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/_progress_small_circle_chart.html.haml (69.6ms) | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
Rendered small_bites/sitch_steps/_the_sitch.html.haml (0.4ms) | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 22 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 22]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` IN ('solutions', 'analysis', 'results', 'customizable') AND (`micro_tools`.`code` != 'impacts') AND (`micro_tools`.`code` NOT IN ('sitch_notes', 'sitch_discoveries')) AND (`account_micro_tools`.`id` NOT IN (39322)) [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` IN ('solutions', 'analysis', 'results', 'customizable') AND (`micro_tools`.`code` != 'impacts') AND (`micro_tools`.`code` NOT IN ('sitch_notes', 'sitch_discoveries')) AND (`account_micro_tools`.`id` NOT IN (39322)) ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC, account_micro_tools.id = 22 DESC, account_micro_tools.updated_at DESC [["account_id", 37]] | |
CACHE (0.0ms) SELECT `checklists`.`id` AS t0_r0, `checklists`.`account_id` AS t0_r1, `checklists`.`user_id` AS t0_r2, `checklists`.`resource_id` AS t0_r3, `checklists`.`resource_type` AS t0_r4, `checklists`.`prototype_id` AS t0_r5, `checklists`.`created_at` AS t0_r6, `checklists`.`updated_at` AS t0_r7, `checklists`.`title` AS t0_r8, `checklists`.`image_file_name` AS t0_r9, `checklists`.`image_content_type` AS t0_r10, `checklists`.`image_file_size` AS t0_r11, `checklists`.`image_updated_at` AS t0_r12, `checklist_items`.`id` AS t1_r0, `checklist_items`.`checklist_id` AS t1_r1, `checklist_items`.`prototype_id` AS t1_r2, `checklist_items`.`description` AS t1_r3, `checklist_items`.`position` AS t1_r4, `checklist_items`.`created_at` AS t1_r5, `checklist_items`.`updated_at` AS t1_r6, `checklist_items`.`status` AS t1_r7 FROM `checklists` INNER JOIN `checklist_items` ON `checklist_items`.`checklist_id` = `checklists`.`id` WHERE `checklists`.`resource_id` = 27791 AND `checklists`.`resource_type` = 'SmallBite' AND (checklist_items.id is NOT NULL) [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `user_fishbones`.* FROM `user_fishbones` WHERE `user_fishbones`.`resource_id` = 27791 AND `user_fishbones`.`resource_type` = 'SmallBite' AND `user_fishbones`.`status` = 'published' [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `lessons`.* FROM `lessons` WHERE `lessons`.`obj_id` = 27791 AND `lessons`.`obj_type` = 'SmallBite' AND `lessons`.`status` = 'published' AND (lessons.obj_type = 'SmallBite') [["obj_id", 27791], ["obj_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `lessons`.* FROM `lessons` WHERE `lessons`.`obj_id` = 27791 AND `lessons`.`obj_type` = 'SmallBite' AND `lessons`.`status` = 'published' AND (lessons.obj_type = 'SmallBite') [["obj_id", 27791], ["obj_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `lessons`.* FROM `lessons` WHERE `lessons`.`obj_id` = 27791 AND `lessons`.`obj_type` = 'SmallBite' AND `lessons`.`status` = 'published' AND (lessons.obj_type = 'SmallBite') [["obj_id", 27791], ["obj_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 0 | |
CACHE (0.0ms) SELECT `discussion_posts`.* FROM `discussion_posts` WHERE `discussion_posts`.`discussion_id` = 175301 AND (discussion_posts.status = 'active' AND discussion_posts.parent_id <> '0') AND `discussion_posts`.`status` = 'active' AND `discussion_posts`.`parent_id` = 231483 [["discussion_id", 175301]] | |
CACHE (0.0ms) SELECT `what_ifs`.* FROM `what_ifs` WHERE `what_ifs`.`resource_id` = 27791 AND `what_ifs`.`resource_type` = 'SmallBite' AND `what_ifs`.`status` = 'published' [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `workarounds`.* FROM `workarounds` WHERE `workarounds`.`resource_id` = 27791 AND `workarounds`.`resource_type` = 'SmallBite' AND `workarounds`.`status` = 'published' [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `success_stories`.* FROM `success_stories` WHERE `success_stories`.`resource_id` = 27791 AND `success_stories`.`resource_type` = 'SmallBite' AND `success_stories`.`status` = 'published' [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `procedures`.`id` AS t0_r0, `procedures`.`account_id` AS t0_r1, `procedures`.`user_id` AS t0_r2, `procedures`.`resource_id` AS t0_r3, `procedures`.`resource_type` AS t0_r4, `procedures`.`prototype_id` AS t0_r5, `procedures`.`title` AS t0_r6, `procedures`.`image_file_name` AS t0_r7, `procedures`.`image_content_type` AS t0_r8, `procedures`.`image_file_size` AS t0_r9, `procedures`.`image_updated_at` AS t0_r10, `procedures`.`created_at` AS t0_r11, `procedures`.`updated_at` AS t0_r12, `procedure_items`.`id` AS t1_r0, `procedure_items`.`procedure_id` AS t1_r1, `procedure_items`.`prototype_id` AS t1_r2, `procedure_items`.`description` AS t1_r3, `procedure_items`.`position` AS t1_r4, `procedure_items`.`status` AS t1_r5, `procedure_items`.`created_at` AS t1_r6, `procedure_items`.`updated_at` AS t1_r7 FROM `procedures` INNER JOIN `procedure_items` ON `procedure_items`.`procedure_id` = `procedures`.`id` WHERE `procedures`.`resource_id` = 27791 AND `procedures`.`resource_type` = 'SmallBite' AND (procedure_items.id is NOT NULL) [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `sitch_storyboard_entries`.* FROM `sitch_storyboard_entries` WHERE `sitch_storyboard_entries`.`id` = 0 | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 22 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'analysis' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/sitch_steps/_analysis.html.haml (44.2ms) | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 51 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 51]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` IN ('solutions', 'analysis', 'results', 'customizable') AND (`micro_tools`.`code` != 'impacts') AND (`micro_tools`.`code` NOT IN ('sitch_notes', 'sitch_discoveries')) AND (`account_micro_tools`.`id` NOT IN (22)) [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` IN ('solutions', 'analysis', 'results', 'customizable') AND (`micro_tools`.`code` != 'impacts') AND (`micro_tools`.`code` NOT IN ('sitch_notes', 'sitch_discoveries')) AND (`account_micro_tools`.`id` NOT IN (22)) ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC, account_micro_tools.id = 39322 DESC, account_micro_tools.updated_at DESC [["account_id", 37]] | |
CACHE (0.0ms) SELECT `checklists`.`id` AS t0_r0, `checklists`.`account_id` AS t0_r1, `checklists`.`user_id` AS t0_r2, `checklists`.`resource_id` AS t0_r3, `checklists`.`resource_type` AS t0_r4, `checklists`.`prototype_id` AS t0_r5, `checklists`.`created_at` AS t0_r6, `checklists`.`updated_at` AS t0_r7, `checklists`.`title` AS t0_r8, `checklists`.`image_file_name` AS t0_r9, `checklists`.`image_content_type` AS t0_r10, `checklists`.`image_file_size` AS t0_r11, `checklists`.`image_updated_at` AS t0_r12, `checklist_items`.`id` AS t1_r0, `checklist_items`.`checklist_id` AS t1_r1, `checklist_items`.`prototype_id` AS t1_r2, `checklist_items`.`description` AS t1_r3, `checklist_items`.`position` AS t1_r4, `checklist_items`.`created_at` AS t1_r5, `checklist_items`.`updated_at` AS t1_r6, `checklist_items`.`status` AS t1_r7 FROM `checklists` INNER JOIN `checklist_items` ON `checklist_items`.`checklist_id` = `checklists`.`id` WHERE `checklists`.`resource_id` = 27791 AND `checklists`.`resource_type` = 'SmallBite' AND (checklist_items.id is NOT NULL) [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `lessons`.* FROM `lessons` WHERE `lessons`.`obj_id` = 27791 AND `lessons`.`obj_type` = 'SmallBite' AND `lessons`.`status` = 'published' AND (lessons.obj_type = 'SmallBite') [["obj_id", 27791], ["obj_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `lessons`.* FROM `lessons` WHERE `lessons`.`obj_id` = 27791 AND `lessons`.`obj_type` = 'SmallBite' AND `lessons`.`status` = 'published' AND (lessons.obj_type = 'SmallBite') [["obj_id", 27791], ["obj_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `lessons`.* FROM `lessons` WHERE `lessons`.`obj_id` = 27791 AND `lessons`.`obj_type` = 'SmallBite' AND `lessons`.`status` = 'published' AND (lessons.obj_type = 'SmallBite') [["obj_id", 27791], ["obj_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 0 | |
CACHE (0.0ms) SELECT `discussion_posts`.* FROM `discussion_posts` WHERE `discussion_posts`.`discussion_id` = 175301 AND (discussion_posts.status = 'active' AND discussion_posts.parent_id <> '0') AND `discussion_posts`.`status` = 'active' AND `discussion_posts`.`parent_id` = 231483 [["discussion_id", 175301]] | |
CACHE (0.0ms) SELECT `what_ifs`.* FROM `what_ifs` WHERE `what_ifs`.`resource_id` = 27791 AND `what_ifs`.`resource_type` = 'SmallBite' AND `what_ifs`.`status` = 'published' [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `workarounds`.* FROM `workarounds` WHERE `workarounds`.`resource_id` = 27791 AND `workarounds`.`resource_type` = 'SmallBite' AND `workarounds`.`status` = 'published' [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `success_stories`.* FROM `success_stories` WHERE `success_stories`.`resource_id` = 27791 AND `success_stories`.`resource_type` = 'SmallBite' AND `success_stories`.`status` = 'published' [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `procedures`.`id` AS t0_r0, `procedures`.`account_id` AS t0_r1, `procedures`.`user_id` AS t0_r2, `procedures`.`resource_id` AS t0_r3, `procedures`.`resource_type` AS t0_r4, `procedures`.`prototype_id` AS t0_r5, `procedures`.`title` AS t0_r6, `procedures`.`image_file_name` AS t0_r7, `procedures`.`image_content_type` AS t0_r8, `procedures`.`image_file_size` AS t0_r9, `procedures`.`image_updated_at` AS t0_r10, `procedures`.`created_at` AS t0_r11, `procedures`.`updated_at` AS t0_r12, `procedure_items`.`id` AS t1_r0, `procedure_items`.`procedure_id` AS t1_r1, `procedure_items`.`prototype_id` AS t1_r2, `procedure_items`.`description` AS t1_r3, `procedure_items`.`position` AS t1_r4, `procedure_items`.`status` AS t1_r5, `procedure_items`.`created_at` AS t1_r6, `procedure_items`.`updated_at` AS t1_r7 FROM `procedures` INNER JOIN `procedure_items` ON `procedure_items`.`procedure_id` = `procedures`.`id` WHERE `procedures`.`resource_id` = 27791 AND `procedures`.`resource_type` = 'SmallBite' AND (procedure_items.id is NOT NULL) [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `sitch_storyboard_entries`.* FROM `sitch_storyboard_entries` WHERE `sitch_storyboard_entries`.`id` = 0 | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 39322 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'solutions' AND (`micro_tools`.`code` != 'actions') AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/sitch_steps/_solutions.html.haml (41.4ms) | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'fishbones' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (22) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`code` = 'insights' ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (39322) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' AND `account_micro_tools`.`highlight` = 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.* FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND (`micro_tools`.`code` != 'sitch_discoveries') AND (`micro_tools`.`code` != 'sitch_identifying_items') AND (`micro_tools`.`code` != 'sitch_storyboards') AND `account_micro_tools`.`id` IN (14) ORDER BY `account_micro_tools`.`position` ASC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `micro_tools`.* FROM `micro_tools` WHERE `micro_tools`.`id` = 14 ORDER BY `micro_tools`.`position` ASC LIMIT 1 [["id", 14]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' [["account_id", 37]] | |
CACHE (0.0ms) SELECT `account_micro_tools`.`id` AS t0_r0, `account_micro_tools`.`account_id` AS t0_r1, `account_micro_tools`.`micro_tool_id` AS t0_r2, `account_micro_tools`.`enabled` AS t0_r3, `account_micro_tools`.`position` AS t0_r4, `account_micro_tools`.`title` AS t0_r5, `account_micro_tools`.`icon` AS t0_r6, `account_micro_tools`.`configuration` AS t0_r7, `account_micro_tools`.`description` AS t0_r8, `account_micro_tools`.`instructions` AS t0_r9, `account_micro_tools`.`instruction_inline_display` AS t0_r10, `account_micro_tools`.`hide_title` AS t0_r11, `account_micro_tools`.`guide` AS t0_r12, `account_micro_tools`.`tooltip` AS t0_r13, `account_micro_tools`.`external_url` AS t0_r14, `account_micro_tools`.`created_at` AS t0_r15, `account_micro_tools`.`updated_at` AS t0_r16, `account_micro_tools`.`recommended` AS t0_r17, `account_micro_tools`.`highlight` AS t0_r18, `account_micro_tools`.`custom_icon_file_name` AS t0_r19, `account_micro_tools`.`custom_icon_content_type` AS t0_r20, `account_micro_tools`.`custom_icon_file_size` AS t0_r21, `account_micro_tools`.`custom_icon_updated_at` AS t0_r22, `account_micro_tools`.`path_to_expertise_id` AS t0_r23, `account_micro_tools`.`core_id` AS t0_r24, `account_micro_tools`.`subject_id` AS t0_r25, `account_micro_tools`.`hide_from_user_id` AS t0_r26, `micro_tools`.`id` AS t1_r0, `micro_tools`.`default` AS t1_r1, `micro_tools`.`enabled` AS t1_r2, `micro_tools`.`highlight` AS t1_r3, `micro_tools`.`position` AS t1_r4, `micro_tools`.`code` AS t1_r5, `micro_tools`.`kind` AS t1_r6, `micro_tools`.`title` AS t1_r7, `micro_tools`.`link_title` AS t1_r8, `micro_tools`.`icon` AS t1_r9, `micro_tools`.`description` AS t1_r10, `micro_tools`.`guide` AS t1_r11, `micro_tools`.`tooltip` AS t1_r12, `micro_tools`.`external_url` AS t1_r13, `micro_tools`.`created_at` AS t1_r14, `micro_tools`.`updated_at` AS t1_r15, `micro_tools`.`custom_icon_file_name` AS t1_r16, `micro_tools`.`custom_icon_content_type` AS t1_r17, `micro_tools`.`custom_icon_file_size` AS t1_r18, `micro_tools`.`custom_icon_updated_at` AS t1_r19 FROM `account_micro_tools` INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `account_micro_tools`.`account_id` = 37 AND `micro_tools`.`enabled` = 1 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`kind` = 'results' ORDER BY `account_micro_tools`.`position` ASC, `account_micro_tools`.`enabled` DESC [["account_id", 37]] | |
CACHE (0.0ms) SELECT `success_stories`.* FROM `success_stories` WHERE `success_stories`.`resource_id` = 27791 AND `success_stories`.`resource_type` = 'SmallBite' AND `success_stories`.`status` = 'published' [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT COUNT(*) FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `user_activity_records`.* FROM `user_activity_records` INNER JOIN `small_bites` ON `small_bites`.`id` = `user_activity_records`.`resource_id` AND `user_activity_records`.`resource_type` = 'SmallBite' INNER JOIN `account_micro_tools` ON `account_micro_tools`.`id` = `user_activity_records`.`sub_resource_id` AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' INNER JOIN `micro_tools` ON `micro_tools`.`id` = `account_micro_tools`.`micro_tool_id` WHERE `user_activity_records`.`account_id` = 37 AND `account_micro_tools`.`enabled` = 1 AND `micro_tools`.`enabled` = 1 AND `user_activity_records`.`sub_resource_id` = 14 AND `user_activity_records`.`sub_resource_type` = 'AccountMicroTool' AND `user_activity_records`.`resource_id` = 27791 AND `user_activity_records`.`resource_type` = 'SmallBite' AND `micro_tools`.`kind` = 'results' AND `user_activity_records`.`user_id` = 5 ORDER BY `user_activity_records`.`id` DESC LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/sitch_steps/_results.html.haml (78.6ms) | |
Rendered small_bites/sitch_steps/_next.html.haml (0.2ms) | |
Rendered small_bites/sitch_steps/_prev.html.haml (0.1ms) | |
CACHE (0.0ms) SELECT COUNT(*) FROM `alert_histories` WHERE `alert_histories`.`account_id` = 37 AND `alert_histories`.`resource_type` = 'SmallBite' AND `alert_histories`.`resource_id` = 27791 [["account_id", 37]] | |
Rendered small_bites/sitch_steps/_alert_others.html.haml (0.9ms) | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
Rendered small_bites/sitch_steps/_share.html.haml (3.9ms) | |
Rendered small_bites/sitch/_steps.html.haml (225.1ms) | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
Rendered small_bites/_sitch_displayed_image_video.html.haml (0.7ms) | |
[Shard: master] SmallBite Load (1.2ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 LIMIT 1 | |
Rendered fields/_combine_video_file_and_link.html.haml (23.7ms) | |
Rendered shared/_no_records.html.haml (0.8ms) | |
Rendered small_bites/_tab_info_media.html.haml (36.0ms) | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 37 ORDER BY `accounts`.`id` ASC LIMIT 1 [["id", 37]] | |
[Shard: master] Discussion Load (1.0ms) SELECT `discussions`.* FROM `discussions` WHERE `discussions`.`resource_id` = 27940 AND `discussions`.`resource_type` = 'SmallBiteSetContent' ORDER BY `discussions`.`id` ASC LIMIT 1 | |
Rendered small_bites/_sitch_displayed_image_video.html.haml (0.6ms) | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
Rendered participants/_add_remove_favorite_participant.html.haml (3.2ms) | |
[Shard: master] AccountTag Exists (1.1ms) SELECT 1 AS one FROM `account_tags` INNER JOIN `account_tag_resources` ON `account_tags`.`id` = `account_tag_resources`.`account_tag_id` WHERE `account_tag_resources`.`resource_id` = 27791 AND `account_tag_resources`.`resource_type` = 'SmallBite' LIMIT 1 | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.situation' LIMIT 1 [["account_id", 37]] | |
Rendered fields/_textarea.html.haml (19.4ms) | |
CACHE (0.0ms) SELECT 1 AS one FROM `group_small_bite_sets` WHERE `group_small_bite_sets`.`small_bite_set_id` = 44 LIMIT 1 [["small_bite_set_id", 44]] | |
Rendered small_bites/_small_bite2.html.haml (54.7ms) | |
[Shard: master] Account Load (1.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
[Shard: master] Guide Load (1.1ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_tool.guide.sitch_progress' LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_tool.guide.sitch_progress' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_tool.guide.sitch_progress' LIMIT 1 [["account_id", 37]] | |
Rendered guides/_toggle.html.haml (9.3ms) | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
[Shard: master] Guide Load (1.2ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`video` = 1 AND `guides`.`area` = 'sitch_simple_steps.video' LIMIT 1 | |
Rendered guides/_video.html.haml (4.4ms) | |
Rendered small_bites/_privacy_status.html.haml (0.7ms) | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_tool.guide.sitch_progress' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_tool.guide.sitch_progress' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_tool.guide.sitch_progress' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_tool.guide.sitch_progress' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_tool.guide.sitch_progress' LIMIT 1 [["account_id", 37]] | |
Rendered guides/_content.html.haml (2.8ms) | |
Rendered guides/_guide.html.haml (10.4ms) | |
Rendered small_bites/_inline_instruction_display.html.haml (0.9ms) | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.sitch' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
[Shard: master] Guide Load (1.4ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.header_question' LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.header_question' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.header_question' LIMIT 1 [["account_id", 37]] | |
Rendered guides/_toggle.html.haml (5.8ms) | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.header_question' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.header_question' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.header_question' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.header_question' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.header_question' LIMIT 1 [["account_id", 37]] | |
Rendered guides/_content.html.haml (3.2ms) | |
Rendered guides/_guide.html.haml (10.0ms) | |
Rendered fields/_wysiwyg.html.haml (39.1ms) | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
[Shard: master] Guide Load (1.5ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.short_question' LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.short_question' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.short_question' LIMIT 1 [["account_id", 37]] | |
Rendered guides/_toggle.html.haml (6.2ms) | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.short_question' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.short_question' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.short_question' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.short_question' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.short_question' LIMIT 1 [["account_id", 37]] | |
Rendered guides/_content.html.haml (2.5ms) | |
Rendered guides/_guide.html.haml (6.8ms) | |
Rendered fields/_wysiwyg.html.haml (35.0ms) | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
[Shard: master] Guide Load (1.5ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.introduction' LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.introduction' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.introduction' LIMIT 1 [["account_id", 37]] | |
Rendered guides/_toggle.html.haml (6.0ms) | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.introduction' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.introduction' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.introduction' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.introduction' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.introduction' LIMIT 1 [["account_id", 37]] | |
Rendered guides/_content.html.haml (2.7ms) | |
Rendered guides/_guide.html.haml (6.9ms) | |
Rendered fields/_wysiwyg.html.haml (30.2ms) | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_tags` INNER JOIN `account_tag_resources` ON `account_tags`.`id` = `account_tag_resources`.`account_tag_id` WHERE `account_tag_resources`.`resource_id` = 27791 AND `account_tag_resources`.`resource_type` = 'SmallBite' LIMIT 1 [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
CACHE (0.0ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 LIMIT 1 [["id", 27791]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
[Shard: master] Guide Load (1.3ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.update_tags' LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.update_tags' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.update_tags' LIMIT 1 [["account_id", 37]] | |
Rendered guides/_toggle.html.haml (5.2ms) | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.update_tags' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.update_tags' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.update_tags' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.update_tags' LIMIT 1 [["account_id", 37]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `guides`.* FROM `guides` WHERE `guides`.`account_id` = 37 AND `guides`.`area` = 'micro_expert.sitch_form.update_tags' LIMIT 1 [["account_id", 37]] | |
Rendered guides/_content.html.haml (4.0ms) | |
Rendered guides/_guide.html.haml (41.1ms) | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_tags` INNER JOIN `account_tag_resources` ON `account_tags`.`id` = `account_tag_resources`.`account_tag_id` WHERE `account_tag_resources`.`resource_id` = 27791 AND `account_tag_resources`.`resource_type` = 'SmallBite' LIMIT 1 [["resource_id", 27791], ["resource_type", "SmallBite"]] | |
[Shard: master] AccountTag Load (1.5ms) SELECT `account_tags`.* FROM `account_tags` INNER JOIN `account_tag_resources` ON `account_tags`.`id` = `account_tag_resources`.`account_tag_id` WHERE `account_tag_resources`.`resource_id` = 27791 AND `account_tag_resources`.`resource_type` = 'SmallBite' ORDER BY `account_tags`.`name` ASC | |
Rendered fields/_tags.html.haml (75.2ms) | |
Rendered small_bites/sitch/_tab_info.html.haml (192.7ms) | |
[Shard: master] ModularResource Load (1.8ms) SELECT `modular_resources`.* FROM `modular_resources` WHERE `modular_resources`.`obj_id` = 27940 AND `modular_resources`.`obj_type` = 'SmallBiteSetContent' ORDER BY `modular_resources`.`id` ASC LIMIT 1 | |
[Shard: master] (0.9ms) BEGIN | |
[Shard: master] SQL (1.0ms) INSERT INTO `modular_resources` (`created_at`, `obj_id`, `obj_type`, `updated_at`) VALUES ('2022-01-25 10:39:04', 27940, 'SmallBiteSetContent', '2022-01-25 10:39:04') | |
[Shard: master] (1.1ms) COMMIT | |
[Shard: master] SmallBite Load (1.2ms) SELECT `small_bites`.* FROM `small_bites` WHERE `small_bites`.`id` = 27791 ORDER BY `small_bites`.`id` ASC LIMIT 1 | |
[Shard: master] (20.1ms) SELECT COUNT(*) FROM `lessons` WHERE `lessons`.`obj_id` = 3069 AND `lessons`.`obj_type` = 'ModularResource' AND (`lessons`.`status` != 'deleted') | |
CACHE (0.0ms) SELECT COUNT(*) FROM `lessons` WHERE `lessons`.`obj_id` = 3069 AND `lessons`.`obj_type` = 'ModularResource' AND (`lessons`.`status` != 'deleted') [["obj_id", 3069], ["obj_type", "ModularResource"]] | |
Rendered resources/_modular.html.haml (94.9ms) | |
[Shard: master] SmallBiteStar Exists (1.2ms) SELECT 1 AS one FROM `small_bite_stars` WHERE `small_bite_stars`.`small_bite_id` = 27791 AND `small_bite_stars`.`user_id` = 5 LIMIT 1 | |
Rendered small_bite_stars/_display.html.haml (15.5ms) | |
[Shard: master] SmallBiteLove Exists (1.4ms) SELECT 1 AS one FROM `small_bite_loves` WHERE `small_bite_loves`.`small_bite_id` = 27791 AND `small_bite_loves`.`user_id` = 5 LIMIT 1 | |
Rendered small_bite_loves/_display.html.haml (15.1ms) | |
[Shard: master] Shortener::ShortenedUrl Load (5.2ms) SELECT `shortened_urls`.* FROM `shortened_urls` WHERE `shortened_urls`.`url` = 'http://mainsedemo.storyls.test:8000/series/44/sitches/27791' AND `shortened_urls`.`category` IS NULL ORDER BY `shortened_urls`.`id` ASC LIMIT 1 | |
[Shard: master] (0.9ms) BEGIN | |
[Shard: master] Shortener::ShortenedUrl Exists (1.4ms) SELECT 1 AS one FROM `shortened_urls` WHERE `shortened_urls`.`url` = 'http://mainsedemo.storyls.test:8000/series/44/sitches/27791' AND `shortened_urls`.`category` IS NULL AND `shortened_urls`.`unique_key` = '27trn' LIMIT 1 | |
[Shard: master] SQL (1.3ms) INSERT INTO `shortened_urls` (`created_at`, `unique_key`, `updated_at`, `url`) VALUES ('2022-01-25 10:39:04', '27trn', '2022-01-25 10:39:04', 'http://mainsedemo.storyls.test:8000/series/44/sitches/27791') | |
[Shard: master] (1.0ms) COMMIT | |
[Shard: master] Shortener::ShortenedUrl Load (0.9ms) SELECT `shortened_urls`.* FROM `shortened_urls` WHERE `shortened_urls`.`url` = 'http://mainsedemo.storyls.test:8000/series/44/sitches/27791' AND `shortened_urls`.`category` IS NULL ORDER BY `shortened_urls`.`id` ASC LIMIT 1 | |
[Shard: master] Shortener::ShortenedUrl Load (1.1ms) SELECT `shortened_urls`.* FROM `shortened_urls` WHERE `shortened_urls`.`url` = 'http://mainsedemo.storyls.test:8000/series/44/sitches/27791?em=0' AND `shortened_urls`.`category` IS NULL ORDER BY `shortened_urls`.`id` ASC LIMIT 1 | |
[Shard: master] (0.9ms) BEGIN | |
[Shard: master] Shortener::ShortenedUrl Exists (1.4ms) SELECT 1 AS one FROM `shortened_urls` WHERE `shortened_urls`.`url` = 'http://mainsedemo.storyls.test:8000/series/44/sitches/27791?em=0' AND `shortened_urls`.`category` IS NULL AND `shortened_urls`.`unique_key` = 'pxatt' LIMIT 1 | |
[Shard: master] SQL (1.0ms) INSERT INTO `shortened_urls` (`created_at`, `unique_key`, `updated_at`, `url`) VALUES ('2022-01-25 10:39:04', 'pxatt', '2022-01-25 10:39:04', 'http://mainsedemo.storyls.test:8000/series/44/sitches/27791?em=0') | |
[Shard: master] (1.0ms) COMMIT | |
[Shard: master] Shortener::ShortenedUrl Load (1.0ms) SELECT `shortened_urls`.* FROM `shortened_urls` WHERE `shortened_urls`.`url` = 'http://mainsedemo.storyls.test:8000/series/44/sitches/27791?em=0' AND `shortened_urls`.`category` IS NULL ORDER BY `shortened_urls`.`id` ASC LIMIT 1 | |
[Shard: master] SitchDiscoveryFile Load (1.6ms) SELECT `sitch_discovery_files`.* FROM `sitch_discovery_files` INNER JOIN `sitch_discoveries` ON `sitch_discoveries`.`id` = `sitch_discovery_files`.`sitch_discovery_id` WHERE `sitch_discoveries`.`small_bite_id` = 27791 AND `sitch_discoveries`.`user_id` = 5 AND (`sitch_discovery_files`.`attachment_file_name` IS NOT NULL) AND (sitch_discovery_files.attachment_content_type LIKE '%image/%') ORDER BY `sitch_discovery_files`.`id` ASC LIMIT 1 | |
Rendered shared/_social_media.html.haml (39.5ms) | |
[Shard: master] AccountUser Exists (1.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
[Shard: master] AccountUser Load (1.1ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
Rendered participants/_add_remove_favorite_participant.html.haml (3.0ms) | |
[Shard: master] AccountTerm Load (1.3ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.situation' LIMIT 1 | |
Rendered small_bites/sitch/_other_links.html.haml (16.8ms) | |
Rendered small_bites/sitch/_info_other_links.html.haml (22.1ms) | |
Rendered small_bites/sitch/_info.html.haml (474.4ms) | |
Rendered small_bites/sitch/_view_info.html.haml (476.0ms) | |
Rendered small_bites/sitch/_displays.html.haml (489.0ms) | |
Rendered small_bites/sitch/_steps_footer.html.haml (2.5ms) | |
Rendered small_bites/_all_steps_footer.html.haml (8.3ms) | |
Rendered small_bites/sitch/_view.html.haml (2194.6ms) | |
Rendered small_bites/_update_status_modal.html.haml (1.7ms) | |
Rendered small_bites/_resource_image_video.html.haml (1.2ms) | |
Rendered small_bites/_resource_image_video_modal.html.haml (4.1ms) | |
Rendered sitch_marketing_alerts/_modal_display.html.haml (1.7ms) | |
Rendered small_bites/show.html.haml within layouts/application (2216.7ms) | |
CACHE (0.0ms) SELECT `sitch_discovery_files`.* FROM `sitch_discovery_files` INNER JOIN `sitch_discoveries` ON `sitch_discoveries`.`id` = `sitch_discovery_files`.`sitch_discovery_id` WHERE `sitch_discoveries`.`small_bite_id` = 27791 AND `sitch_discoveries`.`user_id` = 5 AND (`sitch_discovery_files`.`attachment_file_name` IS NOT NULL) AND (sitch_discovery_files.attachment_content_type LIKE '%image/%') ORDER BY `sitch_discovery_files`.`id` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
[Shard: master] SystemVariable Load (0.8ms) SELECT `system_variables`.* FROM `system_variables` WHERE `system_variables`.`kind` = 'saas_welcome_alert' LIMIT 1 | |
Rendered quicks/_fhelp_modal.html.haml (3.9ms) | |
Rendered plans/_survey_questions_list_button_hidden.html.haml (0.1ms) | |
Rendered shared/_menu_widget.html.haml (2.8ms) | |
Rendered shared/_nav_switcher.html.haml (0.5ms) | |
[Shard: master] GroupSmallBiteSet Exists (1.2ms) SELECT 1 AS one FROM `group_small_bite_sets` WHERE `group_small_bite_sets`.`small_bite_set_id` = 44 LIMIT 1 | |
[Shard: master] Website Load (0.9ms) SELECT `websites`.* FROM `websites` WHERE `websites`.`account_id` = 37 AND `websites`.`status` = 'published' AND `websites`.`homepage` = 1 ORDER BY `websites`.`id` ASC LIMIT 1 | |
Rendered shared/_logo.html.haml (0.9ms) | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
[Shard: master] (1.4ms) SELECT COUNT(*) FROM `notifications` WHERE `notifications`.`user_id` = 5 AND `notifications`.`account_id` = 37 AND `notifications`.`status` = 'unseen' | |
[Shard: master] (1.1ms) SELECT COUNT(*) FROM `website_pages` WHERE `website_pages`.`website_id` = 5 AND `website_pages`.`category` = 'infopage' AND `website_pages`.`show_in_menu` = 1 AND `website_pages`.`status` = 'published' | |
[Shard: master] WebsitePage Load (1.1ms) SELECT `website_pages`.* FROM `website_pages` WHERE `website_pages`.`website_id` = 5 AND `website_pages`.`category` = 'infopage' AND `website_pages`.`show_in_menu` = 1 AND `website_pages`.`status` = 'published' ORDER BY `website_pages`.`position` ASC | |
[Shard: master] Account Load (1.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('ray1', 'ray1demo') LIMIT 1 | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.situation' LIMIT 1 [["account_id", 37]] | |
Rendered layouts/_logged_in_clean_nav.html.haml (31.0ms) | |
CACHE (0.0ms) SELECT `website_pages`.* FROM `website_pages` WHERE `website_pages`.`website_id` = 5 AND `website_pages`.`category` = 'infopage' AND `website_pages`.`show_in_menu` = 1 AND `website_pages`.`status` = 'published' ORDER BY `website_pages`.`position` ASC [["website_id", 5]] | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('ray1', 'ray1demo') LIMIT 1 | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.situation' LIMIT 1 [["account_id", 37]] | |
[Shard: master] (1.1ms) SELECT COUNT(*) FROM `groups` WHERE `groups`.`account_id` = 37 AND `groups`.`community` = 0 AND `groups`.`curation` = 0 AND (`groups`.`status` NOT IN ('deleted', 'suspended')) AND `groups`.`game` = 0 | |
Rendered layouts/_clean_navigation_menus.html.haml (25.3ms) | |
Rendered shared/_website_menu.html.haml (26.4ms) | |
[Shard: master] FeaturedSitch Load (0.9ms) SELECT `featured_sitches`.* FROM `featured_sitches` WHERE `featured_sitches`.`status` = 'active' | |
[Shard: master] (1.0ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `user_histories` WHERE `user_histories`.`account_id` = 37 AND `user_histories`.`user_id` = 5 LIMIT 2) subquery_for_count | |
Rendered layouts/_clean_user_menu_links.html.haml (10.7ms) | |
CACHE (0.0ms) SELECT `account_terms`.* FROM `account_terms` WHERE `account_terms`.`account_id` = 37 AND `account_terms`.`key` = 'basic.situation' LIMIT 1 [["account_id", 37]] | |
[Shard: master] User Load (1.1ms) SELECT `users`.* FROM `users` WHERE `users`.`id` = 5 LIMIT 1 | |
Rendered layouts/_clean_user_menu_settings_section.html.haml (29.4ms) | |
[Shard: master] (2.5ms) SELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM `accounts` INNER JOIN `account_subscriptions` ON `account_subscriptions`.`account_id` = `accounts`.`id` INNER JOIN `account_users` ON `accounts`.`id` = `account_users`.`account_id` WHERE `account_users`.`user_id` = 5 AND `accounts`.`status` = 'active' AND `account_subscriptions`.`status` = 'active' AND `accounts`.`layout` = 'clean' AND `accounts`.`mode` = 'situation-expert' AND `account_users`.`role` = 'owner' AND (`accounts`.`id` != 37) LIMIT 2) subquery_for_count | |
[Shard: master] Account Load (1.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
[Shard: master] AccountFeature Load (1.1ms) SELECT `account_features`.* FROM `account_features` WHERE `account_features`.`account_id` = 37 ORDER BY `account_features`.`id` ASC LIMIT 1 | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT 1 AS one FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 0 LIMIT 1 [["user_id", 5]] | |
CACHE (0.0ms) SELECT `account_users`.* FROM `account_users` WHERE `account_users`.`user_id` = 5 AND `account_users`.`account_id` = 37 LIMIT 1 [["user_id", 5]] | |
Rendered layouts/_clean_user_account_menu.html.haml (14.4ms) | |
Rendered layouts/_clean_user_logout_menu.html.haml (0.6ms) | |
[Shard: master] Webpage Load (1.9ms) SELECT DISTINCT `webpages`.* FROM `webpages` WHERE (webpages.account_id = 37 OR (webpages.account_id IN (37) AND webpages.hide_in_account_ids NOT LIKE '%37%')) AND `webpages`.`guide_page` = 1 AND `webpages`.`show_url` = '/series/~/sitches/~?em=0' ORDER BY `webpages`.`account_id` ASC | |
Rendered layouts/_clean_user_menu.html.haml (149.0ms) | |
Rendered layouts/_clean_main_menu.html.haml (15.2ms) | |
Rendered layouts/_header_clean.html.haml (173.1ms) | |
Rendered layouts/_simplified_header.html.haml (174.0ms) | |
[Shard: master] UserSubscription Load (1.0ms) SELECT `user_subscriptions`.* FROM `user_subscriptions` WHERE `user_subscriptions`.`user_id` = 5 AND `user_subscriptions`.`account_id` = 37 AND `user_subscriptions`.`status` = 'active' ORDER BY `user_subscriptions`.`id` DESC LIMIT 1 | |
[Shard: master] (0.8ms) SELECT COUNT(*) FROM `system_alerts` WHERE `system_alerts`.`account_id` = 37 AND `system_alerts`.`status` = 'active' AND `system_alerts`.`for_trial` = 0 | |
Rendered layouts/_messages.html.haml (4.2ms) | |
[Shard: master] AccountUrgentAnnouncement Load (0.7ms) SELECT `account_urgent_announcements`.* FROM `account_urgent_announcements` WHERE `account_urgent_announcements`.`account_id` = 37 ORDER BY `account_urgent_announcements`.`id` ASC LIMIT 1 | |
Rendered shared/_urgent_announcement.html.haml (0.2ms) | |
Rendered websites/_footer.html.haml (0.4ms) | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
Rendered shared/_footer.html.haml (5.3ms) | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
Rendered small_bites/_sitch_guides_popover_content.html.haml (0.1ms) | |
Rendered small_bites/_sitch_publish_popover_content.html.haml (0.1ms) | |
Rendered small_bites/_sitch_alert_others_popover_content.html.haml (0.1ms) | |
Rendered small_bites/_send_email_modal.html.haml (3.5ms) | |
[Shard: master] Webpage Load (1.0ms) SELECT DISTINCT `webpages`.* FROM `webpages` WHERE (webpages.account_id = 37 OR (webpages.account_id IN (37) AND webpages.hide_in_account_ids NOT LIKE '%37%')) AND `webpages`.`guide_page` = 1 AND `webpages`.`show_url` = '/series/~/sitches/~?em=0' AND `webpages`.`admin_only` = 1 ORDER BY `webpages`.`account_id` DESC LIMIT 1 | |
[Shard: master] Webpage Load (0.9ms) SELECT DISTINCT `webpages`.* FROM `webpages` WHERE (webpages.account_id = 37 OR (webpages.account_id IN (37) AND webpages.hide_in_account_ids NOT LIKE '%37%')) AND `webpages`.`guide_page` = 1 AND `webpages`.`show_url` = '/series/~/sitches/~?em=0' AND `webpages`.`admin_only` = 0 ORDER BY `webpages`.`account_id` DESC LIMIT 1 | |
Rendered webpages/_guide_page_modal.html.haml (3.5ms) | |
[Shard: master] Webpage Load (0.9ms) SELECT `webpages`.* FROM `webpages` WHERE `webpages`.`account_id` = 37 AND `webpages`.`guide_page` = 1 AND `webpages`.`show_url` = '/series/~/sitches/~?em=0' AND `webpages`.`admin_only` = 1 LIMIT 1 | |
[Shard: master] Webpage Load (0.8ms) SELECT `webpages`.* FROM `webpages` WHERE `webpages`.`account_id` = 37 AND `webpages`.`guide_page` = 1 AND `webpages`.`show_url` = '/series/~/sitches/~?em=0' AND `webpages`.`admin_only` = 0 LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
[Shard: master] Webpage Load (1.0ms) SELECT DISTINCT `webpages`.* FROM `webpages` WHERE (webpages.account_id = 37 OR (webpages.account_id IN (37) AND webpages.hide_in_account_ids NOT LIKE '%37%')) AND `webpages`.`guide_page` = 1 AND `webpages`.`show_url` = '/series/~/sitches/~?em=0' AND `webpages`.`account_id` = 37 AND `webpages`.`admin_only` = 0 ORDER BY `webpages`.`account_id` DESC LIMIT 1 | |
CACHE (0.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`subdomain` IN ('mainse', 'mainsedemo') ORDER BY `accounts`.`id` DESC LIMIT 1 | |
[Shard: master] Webpage Load (1.1ms) SELECT DISTINCT `webpages`.* FROM `webpages` WHERE (webpages.account_id = 37 OR (webpages.account_id IN (37) AND webpages.hide_in_account_ids NOT LIKE '%37%')) AND `webpages`.`guide_page` = 1 AND `webpages`.`show_url` = '/series/~/sitches/~?em=0' AND `webpages`.`account_id` = 37 AND `webpages`.`admin_only` = 1 ORDER BY `webpages`.`account_id` DESC LIMIT 1 | |
Rendered webpages/_guide_page_manage_modal.html.haml (8.6ms) | |
Rendered webpages/_page_form.html.haml (7.7ms) | |
Rendered webpages/_page_modal.html.haml (8.9ms) | |
Rendered guides/_video_modal.html.haml (0.2ms) | |
Completed 200 OK in 3219ms (Views: 2243.3ms | ActiveRecord: 548.7ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment