trusty-festivity-extension 2.5.13 → 2.5.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +4 -4
  3. data/coverage/assets/0.10.0/application.css +799 -0
  4. data/coverage/assets/0.10.0/application.js +1707 -0
  5. data/coverage/assets/0.10.0/colorbox/border.png +0 -0
  6. data/coverage/assets/0.10.0/colorbox/controls.png +0 -0
  7. data/coverage/assets/0.10.0/colorbox/loading.gif +0 -0
  8. data/coverage/assets/0.10.0/colorbox/loading_background.png +0 -0
  9. data/coverage/assets/0.10.0/favicon_green.png +0 -0
  10. data/coverage/assets/0.10.0/favicon_red.png +0 -0
  11. data/coverage/assets/0.10.0/favicon_yellow.png +0 -0
  12. data/coverage/assets/0.10.0/loading.gif +0 -0
  13. data/coverage/assets/0.10.0/magnify.png +0 -0
  14. data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  15. data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  16. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  17. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  18. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  19. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  20. data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  21. data/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  22. data/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
  23. data/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  24. data/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
  25. data/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
  26. data/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  27. data/coverage/index.html +11913 -0
  28. data/lib/trusty-festivity-extension.rb +1 -1
  29. data/spec/dummy/log/test.log +2825 -0
  30. data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +2 -0
  31. data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +0 -0
  32. data/spec/dummy/tmp/radiant_config_cache.txt +0 -0
  33. metadata +35 -2
@@ -1,5 +1,5 @@
1
1
  module TrustyFestivityExtension
2
- VERSION = "2.5.13"
2
+ VERSION = "2.5.14"
3
3
  SUMMARY = "Festival microsite engine for Trusty CMS"
4
4
  DESCRIPTION = "Event management for arts festivals."
5
5
  URL = "http://github.com/pgharts/trusty-festivity-extension"
@@ -0,0 +1,2825 @@
1
+ TrustyCms::Config Load (57.1ms) SELECT `config`.* FROM `config`
2
+ TrustyCms::Config Load (25.0ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'admin.title' ORDER BY `config`.`id` ASC LIMIT 1
3
+  (0.2ms) BEGIN
4
+ SQL (29.5ms) INSERT INTO `config` (`key`, `value`) VALUES ('admin.title', 'TrustyCms CMS')
5
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
6
+  (19.6ms) COMMIT
7
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.parts' ORDER BY `config`.`id` ASC LIMIT 1
8
+  (0.1ms) BEGIN
9
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('defaults.page.parts', 'Body,Extended')
10
+ TrustyCms::Config Load (1.5ms) SELECT `config`.* FROM `config`
11
+  (10.4ms) COMMIT
12
+ TrustyCms::Config Load (10.2ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.status' ORDER BY `config`.`id` ASC LIMIT 1
13
+  (0.2ms) BEGIN
14
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('defaults.page.status', 'Draft')
15
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
16
+  (16.1ms) COMMIT
17
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'pagination.param_name' ORDER BY `config`.`id` ASC LIMIT 1
18
+  (0.1ms) BEGIN
19
+ SQL (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('pagination.param_name', 'page')
20
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
21
+  (5.9ms) COMMIT
22
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'pagination.per_page_param_name' ORDER BY `config`.`id` ASC LIMIT 1
23
+  (0.1ms) BEGIN
24
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('pagination.per_page_param_name', 'per_page')
25
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
26
+  (16.4ms) COMMIT
27
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'admin.pagination.per_page' ORDER BY `config`.`id` ASC LIMIT 1
28
+  (0.1ms) BEGIN
29
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('admin.pagination.per_page', '50')
30
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
31
+  (6.4ms) COMMIT
32
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'site.title' ORDER BY `config`.`id` ASC LIMIT 1
33
+  (0.1ms) BEGIN
34
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('site.title', 'Your site title')
35
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
36
+  (6.3ms) COMMIT
37
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'site.host' ORDER BY `config`.`id` ASC LIMIT 1
38
+  (0.2ms) BEGIN
39
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('site.host', 'www.example.com')
40
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
41
+  (6.1ms) COMMIT
42
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'user.allow_password_reset?' ORDER BY `config`.`id` ASC LIMIT 1
43
+  (0.1ms) BEGIN
44
+ SQL (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('user.allow_password_reset?', 'true')
45
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
46
+  (11.0ms) COMMIT
47
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.url' ORDER BY `config`.`id` ASC LIMIT 1
48
+  (0.1ms) BEGIN
49
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.url', '/system/:attachment/:id/:style/:basename:no_original_style.:extension')
50
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
51
+  (6.3ms) COMMIT
52
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.path' ORDER BY `config`.`id` ASC LIMIT 1
53
+  (0.1ms) BEGIN
54
+ SQL (12.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.path', ':rails_root/public/system/:attachment/:id/:style/:basename:no_original_style.:extension')
55
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
56
+  (12.5ms) COMMIT
57
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.skip_filetype_validation' ORDER BY `config`.`id` ASC LIMIT 1
58
+  (0.1ms) BEGIN
59
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.skip_filetype_validation', 'true')
60
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
61
+  (6.3ms) COMMIT
62
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.storage' ORDER BY `config`.`id` ASC LIMIT 1
63
+  (0.2ms) BEGIN
64
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.storage', 'filesystem')
65
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
66
+  (5.9ms) COMMIT
67
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.fog.public?' ORDER BY `config`.`id` ASC LIMIT 1
68
+  (0.2ms) BEGIN
69
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.fog.public?', 'true')
70
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
71
+  (5.9ms) COMMIT
72
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_image_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
73
+  (0.1ms) BEGIN
74
+ SQL (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.create_image_thumbnails?', 'true')
75
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
76
+  (6.3ms) COMMIT
77
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_video_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
78
+  (0.1ms) BEGIN
79
+ SQL (6.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.create_video_thumbnails?', 'true')
80
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
81
+  (11.3ms) COMMIT
82
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_pdf_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
83
+  (0.1ms) BEGIN
84
+ SQL (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.create_pdf_thumbnails?', 'true')
85
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
86
+  (6.3ms) COMMIT
87
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.thumbnails.image' ORDER BY `config`.`id` ASC LIMIT 1
88
+  (0.2ms) BEGIN
89
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.thumbnails.image', 'normal:size=640x640>|small:size=320x320>')
90
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
91
+  (11.5ms) COMMIT
92
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.thumbnails.video' ORDER BY `config`.`id` ASC LIMIT 1
93
+  (0.1ms) BEGIN
94
+ SQL (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.thumbnails.video', 'normal:size=640x640>,format=jpg|small:size=320x320>,format=jpg')
95
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
96
+  (5.6ms) COMMIT
97
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.thumbnails.pdf' ORDER BY `config`.`id` ASC LIMIT 1
98
+  (0.1ms) BEGIN
99
+ SQL (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.thumbnails.pdf', 'normal:size=640x640>,format=jpg|small:size=320x320>,format=jpg')
100
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
101
+  (5.7ms) COMMIT
102
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.max_asset_size' ORDER BY `config`.`id` ASC LIMIT 1
103
+  (0.1ms) BEGIN
104
+ SQL (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.max_asset_size', '5')
105
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
106
+  (11.4ms) COMMIT
107
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.display_size' ORDER BY `config`.`id` ASC LIMIT 1
108
+  (0.1ms) BEGIN
109
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.display_size', 'normal')
110
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
111
+  (12.1ms) COMMIT
112
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.insertion_size' ORDER BY `config`.`id` ASC LIMIT 1
113
+  (0.1ms) BEGIN
114
+ SQL (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.insertion_size', 'normal')
115
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
116
+  (6.3ms) COMMIT
117
+ Command :: convert -version
118
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
119
+ Command :: gs -v
120
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_pdf_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
121
+  (0.1ms) BEGIN
122
+ SQL (12.0ms) UPDATE `config` SET `value` = 'false' WHERE `config`.`id` = 17
123
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
124
+  (12.3ms) COMMIT
125
+ Ghostscript 'gs' executable not found: pdf thumbnailing disabled.
126
+ Command :: ffmpeg -version 2> /dev/null
127
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_video_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
128
+  (0.1ms) BEGIN
129
+ SQL (0.2ms) UPDATE `config` SET `value` = 'false' WHERE `config`.`id` = 16
130
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
131
+  (6.3ms) COMMIT
132
+ FFmpeg executable not found: video thumbnailing disabled.
133
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`is_district_organization` = 1 ORDER BY position ASC
134
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`show_all_district_organizations` = 1 ORDER BY position ASC
135
+  (1.6ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
136
+  (0.2ms) BEGIN
137
+ Site Exists (5.9ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'hahnkoepp.co' LIMIT 1
138
+ SQL (1.0ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
139
+ SQL (1.7ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('transmitter', 'hahnkoepp.co', 3, 'hahnkoepp.co', 3, '2016-02-25 19:23:49', '2016-02-25 19:23:49')
140
+  (0.5ms) COMMIT
141
+  (0.2ms) BEGIN
142
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'virtual' AND `pages`.`parent_id` IS NULL) LIMIT 1
143
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
144
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('NonTicketedEventPage', 'virtual', 'virtual', 'virtual', 100, 1, '2016-02-25 19:23:50', 'Page,BillingSchedulePage,CarouselItemPage,DonationPage,ExhibitionPage,FacilityPage,FileNotFoundPage,FlexPackagePage,GiftCardPage,NonTicketedEventPage,PackagePage,PolicyPage,PrintAtHomePage,ProductionCarouselItemPage,ProductionPage,RailsPage,RenewalPage,SuperPackagePage,VanityUrlPage,VenuePage,VoucherPage', '2016-02-25 19:23:50', '2016-02-25 19:23:50', 1, 0)
145
+  (12.5ms) COMMIT
146
+  (0.2ms) BEGIN
147
+ SQL (0.3ms) INSERT INTO `non_ticketed_performances` (`date`, `venue_id`, `notes`, `non_ticketed_event_page_id`, `created_at`, `updated_at`) VALUES ('2011-09-24 22:00:00', 'heinz-hall', 'Located at our Studios! 2900 Liberty Ave Pgh PA 15201', 1, '2016-02-25 19:23:50', '2016-02-25 19:23:50')
148
+  (0.3ms) COMMIT
149
+  (0.1ms) BEGIN
150
+ NonTicketedEventPage Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('NonTicketedEventPage') AND `pages`.`id` = 1 ORDER BY position ASC LIMIT 1
151
+  (0.1ms) ROLLBACK
152
+  (0.1ms) BEGIN
153
+  (0.1ms) SAVEPOINT active_record_1
154
+ SQL (0.2ms) INSERT INTO `non_ticketed_performances` (`date`, `venue_id`, `notes`, `non_ticketed_event_page_id`, `created_at`, `updated_at`) VALUES ('2011-09-24 22:00:00', 'heinz-hall', 'Located at our Studios! 2900 Liberty Ave Pgh PA 15201', 1, '2016-02-25 19:23:50', '2016-02-25 19:23:50')
155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
156
+  (6.2ms) ROLLBACK
157
+ Site Load (0.6ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
158
+  (0.2ms) BEGIN
159
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
160
+ SQL (2.8ms) DELETE FROM `gift_certificate_types_sites` WHERE `gift_certificate_types_sites`.`site_id` = 1
161
+ SQL (0.3ms) DELETE FROM `gift_certificate_types_sites` WHERE `gift_certificate_types_sites`.`site_id` = 1
162
+ SQL (1.6ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
163
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
164
+  (1.3ms) COMMIT
165
+ NonTicketedEventPage Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('NonTicketedEventPage') ORDER BY position ASC
166
+  (0.1ms) BEGIN
167
+ Page Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 1 ORDER BY position ASC, virtual DESC, title ASC
168
+ PagePart Load (0.9ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 1 ORDER BY name
169
+ PageField Load (0.9ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 1
170
+ NonTicketedEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('NonTicketedEventPage') AND `pages`.`id` = 1 LIMIT 1
171
+ NonTicketedPerformance Load (0.2ms) SELECT `non_ticketed_performances`.* FROM `non_ticketed_performances` WHERE `non_ticketed_performances`.`non_ticketed_event_page_id` = 1
172
+ SQL (0.2ms) DELETE FROM `non_ticketed_performances` WHERE `non_ticketed_performances`.`id` = 1
173
+ SQL (0.3ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('NonTicketedEventPage') AND `pages`.`id` = 1 AND `pages`.`lock_version` = 0
174
+ SQL (0.2ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
175
+  (0.4ms) COMMIT
176
+ NonTicketedPerformance Load (0.2ms) SELECT `non_ticketed_performances`.* FROM `non_ticketed_performances`
177
+ TrustyCms::Config Load (7.2ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'session_timeout' ORDER BY `config`.`id` ASC LIMIT 1
178
+  (0.2ms) BEGIN
179
+ SQL (23.6ms) INSERT INTO `config` (`key`, `value`) VALUES ('session_timeout', '1209600')
180
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
181
+  (28.1ms) COMMIT
182
+ Command :: convert -version
183
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
184
+ Command :: convert -version
185
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
186
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`is_district_organization` = 1 ORDER BY position ASC
187
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`show_all_district_organizations` = 1 ORDER BY position ASC
188
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE (`sites`.`is_district_organization` != 1) ORDER BY position ASC
189
+  (23.0ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
190
+  (0.2ms) BEGIN
191
+ Site Exists (1.7ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'watersernser.net' LIMIT 1
192
+ SQL (0.4ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
193
+ SQL (0.3ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('bus', 'watersernser.net', 3, 'watersernser.net', 3, '2016-04-14 19:21:57', '2016-04-14 19:21:57')
194
+  (0.5ms) COMMIT
195
+  (0.2ms) BEGIN
196
+ Page Exists (2.5ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'redundant' AND `pages`.`parent_id` IS NULL) LIMIT 1
197
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
198
+ SQL (2.1ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('NonTicketedEventPage', 'redundant', 'redundant', 'redundant', 100, 1, '2016-04-14 19:21:57', 'Page,BillingSchedulePage,DonationPage,ExhibitionPage,FacilityPage,FileNotFoundPage,FlexPackagePage,GiftCardPage,NonTicketedEventPage,PackagePage,PolicyPage,PrintAtHomePage,ProductionPage,RailsPage,RenewalPage,SuperPackagePage,VanityUrlPage,VenuePage,VoucherPage', '2016-04-14 19:21:57', '2016-04-14 19:21:57', 1, 0)
199
+  (11.7ms) COMMIT
200
+  (0.2ms) BEGIN
201
+ SQL (0.3ms) INSERT INTO `non_ticketed_performances` (`date`, `venue_id`, `notes`, `non_ticketed_event_page_id`, `created_at`, `updated_at`) VALUES ('2011-09-24 22:00:00', 'heinz-hall', 'Located at our Studios! 2900 Liberty Ave Pgh PA 15201', 1, '2016-04-14 19:21:57', '2016-04-14 19:21:57')
202
+  (0.3ms) COMMIT
203
+  (0.1ms) BEGIN
204
+  (0.1ms) SAVEPOINT active_record_1
205
+ SQL (1.2ms) INSERT INTO `non_ticketed_performances` (`date`, `venue_id`, `notes`, `non_ticketed_event_page_id`, `created_at`, `updated_at`) VALUES ('2011-09-24 22:00:00', 'heinz-hall', 'Located at our Studios! 2900 Liberty Ave Pgh PA 15201', 1, '2016-04-14 19:21:57', '2016-04-14 19:21:57')
206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
207
+  (1.3ms) ROLLBACK
208
+  (0.1ms) BEGIN
209
+ NonTicketedEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('NonTicketedEventPage') AND `pages`.`id` = 1 ORDER BY position ASC LIMIT 1
210
+  (0.1ms) ROLLBACK
211
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
212
+  (0.1ms) BEGIN
213
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
214
+ SQL (1.2ms) DELETE FROM `gift_certificate_types_sites` WHERE `gift_certificate_types_sites`.`site_id` = 1
215
+ SQL (0.2ms) DELETE FROM `gift_certificate_types_sites` WHERE `gift_certificate_types_sites`.`site_id` = 1
216
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
217
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
218
+  (0.3ms) COMMIT
219
+ NonTicketedEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('NonTicketedEventPage') ORDER BY position ASC
220
+  (0.1ms) BEGIN
221
+ Page Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 1 ORDER BY position ASC, virtual DESC, title ASC
222
+ PagePart Load (0.7ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 1 ORDER BY name
223
+ PageField Load (0.6ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 1
224
+ NonTicketedEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('NonTicketedEventPage') AND `pages`.`id` = 1 LIMIT 1
225
+ NonTicketedPerformance Load (0.2ms) SELECT `non_ticketed_performances`.* FROM `non_ticketed_performances` WHERE `non_ticketed_performances`.`non_ticketed_event_page_id` = 1
226
+ SQL (0.2ms) DELETE FROM `non_ticketed_performances` WHERE `non_ticketed_performances`.`id` = 1
227
+ SQL (0.3ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('NonTicketedEventPage') AND `pages`.`id` = 1 AND `pages`.`lock_version` = 0
228
+ SQL (0.2ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
229
+  (0.3ms) COMMIT
230
+ NonTicketedPerformance Load (0.2ms) SELECT `non_ticketed_performances`.* FROM `non_ticketed_performances`
231
+ Command :: convert -version
232
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
233
+ Command :: convert -version
234
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
235
+  (26.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
236
+  (0.2ms) BEGIN
237
+ Site Exists (5.5ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'gorczany.com' LIMIT 1
238
+ SQL (17.9ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
239
+ SQL (9.8ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('application', 'gorczany.com', 3, 'gorczany.com', 3, '2016-05-26 15:28:17', '2016-05-26 15:28:17')
240
+  (1.8ms) COMMIT
241
+  (0.2ms) BEGIN
242
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'primary' AND `pages`.`parent_id` IS NULL) LIMIT 1
243
+ Page Load (6.8ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
244
+ SQL (0.4ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('NonTicketedEventPage', 'primary', 'primary', 'primary', 100, 1, '2016-05-26 15:28:17', 'Page,BillingSchedulePage,DonationPage,ExhibitionPage,FacilityPage,FileNotFoundPage,FlexPackagePage,GiftCardPage,NonTicketedEventPage,PackagePage,PolicyPage,PrintAtHomePage,ProductionPage,RailsPage,RenewalPage,SuperPackagePage,VanityUrlPage,VenuePage,VoucherPage', '2016-05-26 15:28:17', '2016-05-26 15:28:17', 1, 0)
245
+  (6.1ms) COMMIT
246
+  (0.2ms) BEGIN
247
+ SQL (0.3ms) INSERT INTO `non_ticketed_performances` (`date`, `venue_id`, `notes`, `non_ticketed_event_page_id`, `created_at`, `updated_at`) VALUES ('2011-09-24 22:00:00', 'heinz-hall', 'Located at our Studios! 2900 Liberty Ave Pgh PA 15201', 1, '2016-05-26 15:28:18', '2016-05-26 15:28:18')
248
+  (0.4ms) COMMIT
249
+  (0.1ms) BEGIN
250
+  (0.1ms) SAVEPOINT active_record_1
251
+ SQL (0.2ms) INSERT INTO `non_ticketed_performances` (`date`, `venue_id`, `notes`, `non_ticketed_event_page_id`, `created_at`, `updated_at`) VALUES ('2011-09-24 22:00:00', 'heinz-hall', 'Located at our Studios! 2900 Liberty Ave Pgh PA 15201', 1, '2016-05-26 15:28:18', '2016-05-26 15:28:18')
252
+  (0.1ms) RELEASE SAVEPOINT active_record_1
253
+  (1.9ms) ROLLBACK
254
+  (0.1ms) BEGIN
255
+ NonTicketedEventPage Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('NonTicketedEventPage') AND `pages`.`id` = 1 ORDER BY position ASC LIMIT 1
256
+  (0.2ms) ROLLBACK
257
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
258
+  (0.1ms) BEGIN
259
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
260
+ SQL (1.6ms) DELETE FROM `gift_certificate_types_sites` WHERE `gift_certificate_types_sites`.`site_id` = 1
261
+ SQL (0.3ms) DELETE FROM `gift_certificate_types_sites` WHERE `gift_certificate_types_sites`.`site_id` = 1
262
+ SQL (0.4ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
263
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
264
+  (0.3ms) COMMIT
265
+ NonTicketedEventPage Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('NonTicketedEventPage') ORDER BY position ASC
266
+  (0.1ms) BEGIN
267
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 1 ORDER BY position ASC, virtual DESC, title ASC
268
+ PagePart Load (1.0ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 1 ORDER BY name
269
+ PageField Load (1.0ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 1
270
+ NonTicketedEventPage Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('NonTicketedEventPage') AND `pages`.`id` = 1 LIMIT 1
271
+ NonTicketedPerformance Load (0.2ms) SELECT `non_ticketed_performances`.* FROM `non_ticketed_performances` WHERE `non_ticketed_performances`.`non_ticketed_event_page_id` = 1
272
+ SQL (0.2ms) DELETE FROM `non_ticketed_performances` WHERE `non_ticketed_performances`.`id` = 1
273
+ SQL (0.3ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('NonTicketedEventPage') AND `pages`.`id` = 1 AND `pages`.`lock_version` = 0
274
+ SQL (0.2ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
275
+  (0.6ms) COMMIT
276
+ NonTicketedPerformance Load (0.2ms) SELECT `non_ticketed_performances`.* FROM `non_ticketed_performances`
277
+ Command :: convert -version
278
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
279
+ Command :: convert -version
280
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
281
+  (25.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
282
+ ActiveRecord::SchemaMigration Load (29.7ms) SELECT `schema_migrations`.* FROM `schema_migrations`
283
+ Migrating to CreateRadiantTables (1)
284
+  (45.0ms) DROP TABLE `config`
285
+  (13.5ms) CREATE TABLE `config` (`id` int(11) auto_increment PRIMARY KEY, `key` varchar(40) DEFAULT '' NOT NULL, `value` varchar(255) DEFAULT '') ENGINE=InnoDB
286
+  (16.4ms) CREATE UNIQUE INDEX `key` ON `config` (`key`) 
287
+  (4.4ms) DROP TABLE `pages`
288
+  (9.0ms) CREATE TABLE `pages` (`id` int(11) auto_increment PRIMARY KEY, `title` varchar(255), `slug` varchar(100), `breadcrumb` varchar(160), `class_name` varchar(25), `status_id` int(11) DEFAULT 1 NOT NULL, `parent_id` int(11), `layout_id` int(11), `created_at` datetime, `updated_at` datetime, `published_at` datetime, `created_by` int(11), `updated_by` int(11)) ENGINE=InnoDB
289
+  (2.1ms) DROP TABLE `page_parts`
290
+  (13.1ms) CREATE TABLE `page_parts` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100), `filter` varchar(25), `content` text, `page_id` int(11)) ENGINE=InnoDB
291
+  (5.0ms) DROP TABLE `snippets`
292
+  (8.7ms) CREATE TABLE `snippets` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100) DEFAULT '' NOT NULL, `filter` varchar(25), `content` text, `created_at` datetime, `updated_at` datetime, `created_by` int(11), `updated_by` int(11)) ENGINE=InnoDB
293
+  (11.8ms) CREATE UNIQUE INDEX `name` ON `snippets` (`name`)
294
+  (4.8ms) DROP TABLE `layouts`
295
+  (8.5ms) CREATE TABLE `layouts` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100), `content` text, `created_at` datetime, `updated_at` datetime, `created_by` int(11), `updated_by` int(11)) ENGINE=InnoDB
296
+  (2.6ms) DROP TABLE `users`
297
+  (7.0ms) CREATE TABLE `users` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100), `email` varchar(255), `login` varchar(40) DEFAULT '' NOT NULL, `password` varchar(40), `admin` tinyint(1) DEFAULT 0 NOT NULL, `developer` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime, `updated_at` datetime, `created_by` int(11), `updated_by` int(11), `salt` varchar(255)) ENGINE=InnoDB
298
+  (12.3ms) CREATE UNIQUE INDEX `login` ON `users` (`login`) 
299
+  (0.1ms) BEGIN
300
+ SQL (6.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('1')
301
+  (5.7ms) COMMIT
302
+ Migrating to InsertInitialData (2)
303
+  (0.1ms) BEGIN
304
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('2')
305
+  (5.9ms) COMMIT
306
+ Migrating to RenameFilterColumn (4)
307
+  (7.9ms) ALTER TABLE `page_parts` CHANGE `filter` `filter_id` varchar(25) DEFAULT NULL
308
+  (5.8ms) ALTER TABLE `snippets` CHANGE `filter` `filter_id` varchar(25) DEFAULT NULL
309
+  (0.1ms) BEGIN
310
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('4')
311
+  (0.3ms) COMMIT
312
+ Migrating to AddVirtualColumnToPage (5)
313
+  (37.3ms) ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT 0 NOT NULL
314
+  (0.1ms) BEGIN
315
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('5')
316
+  (0.6ms) COMMIT
317
+ Migrating to RemoveVirtualColumnFromPage (7)
318
+  (36.6ms) ALTER TABLE `pages` DROP `virtual`
319
+  (0.1ms) BEGIN
320
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('7')
321
+  (0.5ms) COMMIT
322
+ Migrating to AddVirtualColumnToPageAgain (8)
323
+  (36.3ms) ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT 0 NOT NULL
324
+  (0.1ms) BEGIN
325
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('8')
326
+  (0.5ms) COMMIT
327
+ Migrating to AddContentTypeFieldToLayout (9)
328
+  (32.3ms) ALTER TABLE `layouts` ADD `content_type` varchar(40)
329
+  (0.2ms) BEGIN
330
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('9')
331
+  (0.6ms) COMMIT
332
+ Migrating to CreateExtensionMeta (12)
333
+  (28.5ms) DROP TABLE `extension_meta`
334
+  (41.4ms) CREATE TABLE `extension_meta` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `schema_version` int(11) DEFAULT 0, `enabled` tinyint(1) DEFAULT 1) ENGINE=InnoDB
335
+  (0.2ms) BEGIN
336
+ SQL (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('12')
337
+  (0.4ms) COMMIT
338
+ Migrating to AddNotesFieldToUser (13)
339
+  (37.8ms) ALTER TABLE `users` ADD `notes` text
340
+  (0.1ms) BEGIN
341
+ SQL (0.8ms) INSERT INTO `schema_migrations` (`version`) VALUES ('13')
342
+  (0.7ms) COMMIT
343
+ Migrating to RenameConfigDefaultPartsKey (14)
344
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'default.parts' LIMIT 1
345
+  (0.1ms) BEGIN
346
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('14')
347
+  (5.7ms) COMMIT
348
+ Migrating to AddOptimisticLocking (15)
349
+  (33.1ms) ALTER TABLE `pages` ADD `lock_version` int(11) DEFAULT 0
350
+  (14.7ms) ALTER TABLE `layouts` ADD `lock_version` int(11) DEFAULT 0
351
+  (17.6ms) ALTER TABLE `snippets` ADD `lock_version` int(11) DEFAULT 0
352
+  (22.7ms) ALTER TABLE `users` ADD `lock_version` int(11) DEFAULT 0
353
+  (0.6ms) BEGIN
354
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('15')
355
+  (0.5ms) COMMIT
356
+ Migrating to AddSessions (16)
357
+  (33.6ms) CREATE TABLE `sessions` (`id` int(11) auto_increment PRIMARY KEY, `session_id` varchar(255), `data` text, `updated_at` datetime) ENGINE=InnoDB
358
+  (27.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
359
+  (34.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
360
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
361
+ Migrating to CreateRadiantTables (1)
362
+  (27.8ms) CREATE TABLE `config` (`id` int(11) auto_increment PRIMARY KEY, `key` varchar(40) DEFAULT '' NOT NULL, `value` varchar(255) DEFAULT '') ENGINE=InnoDB
363
+  (13.4ms) CREATE UNIQUE INDEX `key` ON `config` (`key`) 
364
+  (8.8ms) CREATE TABLE `pages` (`id` int(11) auto_increment PRIMARY KEY, `title` varchar(255), `slug` varchar(100), `breadcrumb` varchar(160), `class_name` varchar(25), `status_id` int(11) DEFAULT 1 NOT NULL, `parent_id` int(11), `layout_id` int(11), `created_at` datetime, `updated_at` datetime, `published_at` datetime, `created_by` int(11), `updated_by` int(11)) ENGINE=InnoDB
365
+  (8.1ms) CREATE TABLE `page_parts` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100), `filter` varchar(25), `content` text, `page_id` int(11)) ENGINE=InnoDB
366
+  (7.9ms) CREATE TABLE `snippets` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100) DEFAULT '' NOT NULL, `filter` varchar(25), `content` text, `created_at` datetime, `updated_at` datetime, `created_by` int(11), `updated_by` int(11)) ENGINE=InnoDB
367
+  (11.2ms) CREATE UNIQUE INDEX `name` ON `snippets` (`name`) 
368
+  (8.5ms) CREATE TABLE `layouts` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100), `content` text, `created_at` datetime, `updated_at` datetime, `created_by` int(11), `updated_by` int(11)) ENGINE=InnoDB
369
+  (7.2ms) CREATE TABLE `users` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100), `email` varchar(255), `login` varchar(40) DEFAULT '' NOT NULL, `password` varchar(40), `admin` tinyint(1) DEFAULT 0 NOT NULL, `developer` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime, `updated_at` datetime, `created_by` int(11), `updated_by` int(11), `salt` varchar(255)) ENGINE=InnoDB
370
+  (8.7ms) CREATE UNIQUE INDEX `login` ON `users` (`login`)
371
+  (0.1ms) BEGIN
372
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('1')
373
+  (6.2ms) COMMIT
374
+ Migrating to InsertInitialData (2)
375
+  (0.2ms) BEGIN
376
+ SQL (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('2')
377
+  (11.7ms) COMMIT
378
+ Migrating to RenameFilterColumn (4)
379
+  (7.2ms) ALTER TABLE `page_parts` CHANGE `filter` `filter_id` varchar(25) DEFAULT NULL
380
+  (5.7ms) ALTER TABLE `snippets` CHANGE `filter` `filter_id` varchar(25) DEFAULT NULL
381
+  (0.1ms) BEGIN
382
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('4')
383
+  (0.3ms) COMMIT
384
+ Migrating to AddVirtualColumnToPage (5)
385
+  (34.7ms) ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT 0 NOT NULL
386
+  (0.1ms) BEGIN
387
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('5')
388
+  (0.3ms) COMMIT
389
+ Migrating to RemoveVirtualColumnFromPage (7)
390
+  (36.4ms) ALTER TABLE `pages` DROP `virtual`
391
+  (0.1ms) BEGIN
392
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('7')
393
+  (0.4ms) COMMIT
394
+ Migrating to AddVirtualColumnToPageAgain (8)
395
+  (31.7ms) ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT 0 NOT NULL
396
+  (0.1ms) BEGIN
397
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('8')
398
+  (0.3ms) COMMIT
399
+ Migrating to AddContentTypeFieldToLayout (9)
400
+  (34.0ms) ALTER TABLE `layouts` ADD `content_type` varchar(40)
401
+  (0.1ms) BEGIN
402
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('9')
403
+  (0.3ms) COMMIT
404
+ Migrating to CreateExtensionMeta (12)
405
+  (26.2ms) CREATE TABLE `extension_meta` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `schema_version` int(11) DEFAULT 0, `enabled` tinyint(1) DEFAULT 1) ENGINE=InnoDB
406
+  (0.1ms) BEGIN
407
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('12')
408
+  (0.4ms) COMMIT
409
+ Migrating to AddNotesFieldToUser (13)
410
+  (33.1ms) ALTER TABLE `users` ADD `notes` text
411
+  (0.1ms) BEGIN
412
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('13')
413
+  (5.6ms) COMMIT
414
+ Migrating to RenameConfigDefaultPartsKey (14)
415
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'default.parts' LIMIT 1
416
+  (0.1ms) BEGIN
417
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('14')
418
+  (5.8ms) COMMIT
419
+ Migrating to AddOptimisticLocking (15)
420
+  (34.7ms) ALTER TABLE `pages` ADD `lock_version` int(11) DEFAULT 0
421
+  (13.7ms) ALTER TABLE `layouts` ADD `lock_version` int(11) DEFAULT 0
422
+  (22.3ms) ALTER TABLE `snippets` ADD `lock_version` int(11) DEFAULT 0
423
+  (17.6ms) ALTER TABLE `users` ADD `lock_version` int(11) DEFAULT 0
424
+  (0.1ms) BEGIN
425
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('15')
426
+  (0.3ms) COMMIT
427
+ Migrating to AddSessions (16)
428
+  (26.2ms) CREATE TABLE `sessions` (`id` int(11) auto_increment PRIMARY KEY, `session_id` varchar(255), `data` text, `updated_at` datetime) ENGINE=InnoDB
429
+  (10.0ms) CREATE INDEX `index_sessions_on_session_id` ON `sessions` (`session_id`)
430
+  (12.2ms) CREATE INDEX `index_sessions_on_updated_at` ON `sessions` (`updated_at`) 
431
+  (0.2ms) BEGIN
432
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('16')
433
+  (0.2ms) COMMIT
434
+ Migrating to RenameCreatedByUpdatedByColumns (17)
435
+  (7.2ms) ALTER TABLE `pages` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
436
+  (5.6ms) ALTER TABLE `pages` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
437
+  (5.2ms) ALTER TABLE `snippets` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
438
+  (6.2ms) ALTER TABLE `snippets` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
439
+  (6.7ms) ALTER TABLE `layouts` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
440
+  (6.5ms) ALTER TABLE `layouts` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
441
+  (6.2ms) ALTER TABLE `users` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
442
+  (5.7ms) ALTER TABLE `users` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
443
+  (0.1ms) BEGIN
444
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('17')
445
+  (0.2ms) COMMIT
446
+ Migrating to AddDescriptionAndKeywordsToPages (18)
447
+  (34.9ms) ALTER TABLE `pages` ADD `description` varchar(255)
448
+  (13.0ms) ALTER TABLE `pages` ADD `keywords` varchar(255)
449
+  (0.1ms) BEGIN
450
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('18')
451
+  (0.6ms) COMMIT
452
+ Migrating to AddSessionInfoToUsers (20)
453
+  (39.4ms) ALTER TABLE `users` ADD `session_token` varchar(255)
454
+  (18.5ms) ALTER TABLE `users` ADD `session_expire` datetime
455
+  (0.1ms) BEGIN
456
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20')
457
+  (0.6ms) COMMIT
458
+ Migrating to RemoveSessionExpireFromUsers (21)
459
+  (35.2ms) ALTER TABLE `users` DROP `session_expire`
460
+  (0.2ms) BEGIN
461
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('21')
462
+  (0.4ms) COMMIT
463
+ Migrating to AddIndexes (20081203140407)
464
+  (29.1ms) CREATE INDEX `pages_class_name` ON `pages` (`class_name`)
465
+  (13.4ms) CREATE INDEX `pages_parent_id` ON `pages` (`parent_id`) 
466
+  (13.2ms) CREATE INDEX `pages_child_slug` ON `pages` (`slug`, `parent_id`)
467
+  (10.7ms) CREATE INDEX `pages_published` ON `pages` (`virtual`, `status_id`) 
468
+  (11.7ms) CREATE INDEX `parts_by_page` ON `page_parts` (`page_id`, `name`)
469
+  (0.1ms) BEGIN
470
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20081203140407')
471
+  (0.2ms) COMMIT
472
+ Migrating to AddUserLanguage (20090226140109)
473
+  (35.9ms) ALTER TABLE `users` ADD `language` varchar(255)
474
+  (0.1ms) BEGIN
475
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20090226140109')
476
+  (0.6ms) COMMIT
477
+ Migrating to RenameDeveloperRoleToDesigner (20090929164633)
478
+  (12.9ms) ALTER TABLE `users` CHANGE `developer` `designer` tinyint(1) DEFAULT '0' NOT NULL
479
+  (0.2ms) BEGIN
480
+ SQL (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20090929164633')
481
+  (0.3ms) COMMIT
482
+ Migrating to ChangeUserLanguageToLocale (20091003095744)
483
+  (5.9ms) ALTER TABLE `users` CHANGE `language` `locale` varchar(255) DEFAULT NULL
484
+  (0.1ms) BEGIN
485
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20091003095744')
486
+  (0.2ms) COMMIT
487
+ Migrating to AddPageFields (20100805154952)
488
+  (26.9ms) CREATE TABLE `page_fields` (`id` int(11) auto_increment PRIMARY KEY, `page_id` int(11), `name` varchar(255), `content` varchar(255)) ENGINE=InnoDB
489
+  (11.4ms) CREATE INDEX `index_page_fields_on_page_id` ON `page_fields` (`page_id`) 
490
+  (0.1ms) BEGIN
491
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20100805154952')
492
+  (0.3ms) COMMIT
493
+ Migrating to ConvertPageMetas (20100805155020)
494
+  (47.5ms) ALTER TABLE `pages` DROP `keywords`
495
+  (27.1ms) ALTER TABLE `pages` DROP `description`
496
+  (0.1ms) BEGIN
497
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20100805155020')
498
+  (0.8ms) COMMIT
499
+ Migrating to AddFieldNameIndex (20100810151922)
500
+  (25.5ms) DROP INDEX `index_page_fields_on_page_id` ON `page_fields`
501
+  (11.2ms) CREATE INDEX `index_page_fields_on_page_id_and_name_and_content` ON `page_fields` (`page_id`, `name`, `content`) 
502
+  (0.1ms) BEGIN
503
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20100810151922')
504
+  (0.3ms) COMMIT
505
+ Migrating to AddAllowedChildrenCacheToPages (20110902203823)
506
+  (43.2ms) ALTER TABLE `pages` ADD `allowed_children_cache` text
507
+  (0.1ms) BEGIN
508
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110902203823')
509
+  (0.3ms) COMMIT
510
+ Migrating to ExtendPagePartContentLimit (20111016150725)
511
+  (44.2ms) ALTER TABLE `page_parts` CHANGE `content` `content` mediumtext DEFAULT NULL
512
+  (0.1ms) BEGIN
513
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20111016150725')
514
+  (0.4ms) COMMIT
515
+ Migrating to ChangePagesAllowedChildrenCacheToText (20120209231801)
516
+  (12.2ms) ALTER TABLE `pages` CHANGE `allowed_children_cache` `allowed_children_cache` text DEFAULT NULL
517
+  (0.1ms) BEGIN
518
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120209231801')
519
+  (0.4ms) COMMIT
520
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
521
+  (1.3ms) SELECT fk.referenced_table_name as 'to_table'
522
+ ,fk.referenced_column_name as 'primary_key'
523
+ ,fk.column_name as 'column'
524
+ ,fk.constraint_name as 'name'
525
+ FROM information_schema.key_column_usage fk
526
+ WHERE fk.referenced_column_name is not null
527
+ AND fk.table_schema = 'convoy_master_test'
528
+ AND fk.table_name = 'config'
529
+
530
+  (0.2ms) SHOW CREATE TABLE `config`
531
+  (0.3ms) SELECT fk.referenced_table_name as 'to_table'
532
+ ,fk.referenced_column_name as 'primary_key'
533
+ ,fk.column_name as 'column'
534
+ ,fk.constraint_name as 'name'
535
+ FROM information_schema.key_column_usage fk
536
+ WHERE fk.referenced_column_name is not null
537
+ AND fk.table_schema = 'convoy_master_test'
538
+ AND fk.table_name = 'extension_meta'
539
+
540
+  (0.2ms) SHOW CREATE TABLE `extension_meta`
541
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
542
+ ,fk.referenced_column_name as 'primary_key'
543
+ ,fk.column_name as 'column'
544
+ ,fk.constraint_name as 'name'
545
+ FROM information_schema.key_column_usage fk
546
+ WHERE fk.referenced_column_name is not null
547
+ AND fk.table_schema = 'convoy_master_test'
548
+ AND fk.table_name = 'layouts'
549
+
550
+  (0.2ms) SHOW CREATE TABLE `layouts`
551
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
552
+ ,fk.referenced_column_name as 'primary_key'
553
+ ,fk.column_name as 'column'
554
+ ,fk.constraint_name as 'name'
555
+ FROM information_schema.key_column_usage fk
556
+ WHERE fk.referenced_column_name is not null
557
+ AND fk.table_schema = 'convoy_master_test'
558
+ AND fk.table_name = 'page_fields'
559
+
560
+  (0.1ms) SHOW CREATE TABLE `page_fields`
561
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
562
+ ,fk.referenced_column_name as 'primary_key'
563
+ ,fk.column_name as 'column'
564
+ ,fk.constraint_name as 'name'
565
+ FROM information_schema.key_column_usage fk
566
+ WHERE fk.referenced_column_name is not null
567
+ AND fk.table_schema = 'convoy_master_test'
568
+ AND fk.table_name = 'page_parts'
569
+
570
+  (0.1ms) SHOW CREATE TABLE `page_parts`
571
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
572
+ ,fk.referenced_column_name as 'primary_key'
573
+ ,fk.column_name as 'column'
574
+ ,fk.constraint_name as 'name'
575
+ FROM information_schema.key_column_usage fk
576
+ WHERE fk.referenced_column_name is not null
577
+ AND fk.table_schema = 'convoy_master_test'
578
+ AND fk.table_name = 'pages'
579
+
580
+  (0.1ms) SHOW CREATE TABLE `pages`
581
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
582
+ ,fk.referenced_column_name as 'primary_key'
583
+ ,fk.column_name as 'column'
584
+ ,fk.constraint_name as 'name'
585
+ FROM information_schema.key_column_usage fk
586
+ WHERE fk.referenced_column_name is not null
587
+ AND fk.table_schema = 'convoy_master_test'
588
+ AND fk.table_name = 'sessions'
589
+
590
+  (0.2ms) SHOW CREATE TABLE `sessions`
591
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
592
+ ,fk.referenced_column_name as 'primary_key'
593
+ ,fk.column_name as 'column'
594
+ ,fk.constraint_name as 'name'
595
+ FROM information_schema.key_column_usage fk
596
+ WHERE fk.referenced_column_name is not null
597
+ AND fk.table_schema = 'convoy_master_test'
598
+ AND fk.table_name = 'snippets'
599
+
600
+  (0.2ms) SHOW CREATE TABLE `snippets`
601
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
602
+ ,fk.referenced_column_name as 'primary_key'
603
+ ,fk.column_name as 'column'
604
+ ,fk.constraint_name as 'name'
605
+ FROM information_schema.key_column_usage fk
606
+ WHERE fk.referenced_column_name is not null
607
+ AND fk.table_schema = 'convoy_master_test'
608
+ AND fk.table_name = 'users'
609
+
610
+  (0.2ms) SHOW CREATE TABLE `users`
611
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Layouts'
612
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Snippets'
613
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Multi Site'
614
+  (0.2ms) SELECT version FROM schema_migrations
615
+ Migrating to CreateSites (1)
616
+  (51.4ms) CREATE TABLE `sites` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `domain` varchar(255), `homepage_id` int(11)) ENGINE=InnoDB
617
+  (0.6ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-1')
618
+ Migrating to AddOrderToSites (2)
619
+  (30.4ms) ALTER TABLE `sites` ADD `position` int(11) DEFAULT 0
620
+  (0.5ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-2')
621
+ Migrating to AddBaseDomainToSites (3)
622
+  (32.0ms) ALTER TABLE `sites` ADD `base_domain` varchar(255)
623
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-3')
624
+ Migrating to AddAdminFieldsToSites (4)
625
+  (29.9ms) ALTER TABLE `sites` ADD `created_by_id` int(11)
626
+  (12.0ms) ALTER TABLE `sites` ADD `created_at` datetime
627
+  (16.0ms) ALTER TABLE `sites` ADD `updated_by_id` int(11)
628
+  (15.7ms) ALTER TABLE `sites` ADD `updated_at` datetime
629
+  (35.7ms) ALTER TABLE `sites` ADD `subtitle` varchar(255)
630
+  (0.5ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-4')
631
+ Migrating to AddSites (5)
632
+  (31.6ms) ALTER TABLE `layouts` ADD `site_id` int(11)
633
+  (17.0ms) ALTER TABLE `snippets` ADD `site_id` int(11)
634
+  (18.0ms) ALTER TABLE `users` ADD `site_id` int(11)
635
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-5')
636
+ Migrating to RemoveUserLoginIndex (6)
637
+  (28.6ms) DROP INDEX `login` ON `users`
638
+  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-6')
639
+ Migrating to SiteAbbreviation (20090810145840)
640
+  (34.6ms) ALTER TABLE `sites` ADD `abbreviation` varchar(255)
641
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-20090810145840')
642
+ Migrating to RecreateNonUniqueIndexOnSnippetsName (201411031415046078)
643
+  (29.3ms) DROP INDEX `name` ON `snippets`
644
+  (11.0ms) CREATE UNIQUE INDEX `name_site_id` ON `snippets` (`name`, `site_id`) 
645
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-201411031415046078')
646
+ Migrating to AddSiteIdToPages (2015032011031415046078)
647
+  (44.7ms) ALTER TABLE `pages` ADD `site_id` int(11)
648
+  (15.9ms) CREATE INDEX `index_pages_on_site_id` ON `pages` (`site_id`)
649
+ Site Load (0.7ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
650
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-2015032011031415046078')
651
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Clipped'
652
+  (1.8ms) SELECT version FROM schema_migrations WHERE version LIKE 'Paperclipped-%'
653
+  (0.2ms) SELECT version FROM schema_migrations
654
+ Migrating to CreateAssets (1)
655
+  (29.2ms) CREATE TABLE `assets` (`id` int(11) auto_increment PRIMARY KEY, `caption` varchar(255), `title` varchar(255)) ENGINE=InnoDB
656
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-1')
657
+ Migrating to CreatePaperclipAttributes (2)
658
+  (34.2ms) ALTER TABLE `assets` ADD `asset_file_name` varchar(255)
659
+  (16.7ms) ALTER TABLE `assets` ADD `asset_content_type` varchar(255)
660
+  (13.5ms) ALTER TABLE `assets` ADD `asset_file_size` int(11)
661
+  (0.5ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-2')
662
+ Migrating to CreateUserObserver (3)
663
+  (32.4ms) ALTER TABLE `assets` ADD `created_by` int(11)
664
+  (14.4ms) ALTER TABLE `assets` ADD `updated_by` int(11)
665
+  (12.9ms) ALTER TABLE `assets` ADD `created_at` datetime
666
+  (15.5ms) ALTER TABLE `assets` ADD `updated_at` datetime
667
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-3')
668
+ Migrating to CreatePageAttachments (4)
669
+  (26.1ms) CREATE TABLE `page_attachments` (`id` int(11) auto_increment PRIMARY KEY, `asset_id` int(11), `page_id` int(11), `position` int(11)) ENGINE=InnoDB
670
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-4')
671
+ Migrating to RenameUsers (5)
672
+  (6.3ms) ALTER TABLE `assets` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
673
+  (6.7ms) ALTER TABLE `assets` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
674
+  (0.5ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-5')
675
+ Migrating to AssetUuid (20110513205050)
676
+  (31.7ms) ALTER TABLE `assets` ADD `uuid` varchar(255)
677
+ Asset Load (0.9ms) SELECT `assets`.* FROM `assets` ORDER BY created_at DESC
678
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-20110513205050')
679
+ Migrating to UpdateConfiguration (20110606111250)
680
+  (5.5ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-20110606111250')
681
+ Migrating to Dimensions (20110609101438)
682
+  (32.5ms) ALTER TABLE `assets` ADD `original_width` int(11)
683
+  (11.8ms) ALTER TABLE `assets` ADD `original_height` int(11)
684
+  (15.1ms) ALTER TABLE `assets` ADD `original_extension` varchar(255)
685
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-20110609101438')
686
+  (0.3ms) SELECT schema_version FROM extension_meta WHERE name = 'Rad Social'
687
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Reorder'
688
+  (0.2ms) SELECT version FROM schema_migrations
689
+ Migrating to AddPositionToPages (1)
690
+  (46.3ms) ALTER TABLE `pages` ADD `position` int(11)
691
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` IS NULL ORDER BY position ASC
692
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Reorder-1')
693
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
694
+ Migrating to AddSiteFields (20150123175758)
695
+  (32.8ms) ALTER TABLE `sites` ADD `festivity_start_date` date
696
+  (13.2ms) ALTER TABLE `sites` ADD `festivity_end_date` date
697
+  (15.5ms) ALTER TABLE `sites` ADD `festivity_festival_name` varchar(255)
698
+  (13.3ms) ALTER TABLE `sites` ADD `festivity_google_api_key` varchar(255)
699
+  (0.1ms) BEGIN
700
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150123175758')
701
+  (0.3ms) COMMIT
702
+ Migrating to UpdateSiteForHourlyFilters (20151018190155)
703
+  (17.0ms) ALTER TABLE `sites` CHANGE `festivity_start_date` `festivity_start_date` datetime DEFAULT NULL
704
+  (9.5ms) ALTER TABLE `sites` CHANGE `festivity_end_date` `festivity_end_date` datetime DEFAULT NULL
705
+  (12.6ms) ALTER TABLE `sites` ADD `festivity_filter_type` varchar(255)
706
+  (0.1ms) BEGIN
707
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20151018190155')
708
+  (0.4ms) COMMIT
709
+ Migrating to AddBuyTicketTextToSite (20151105155407)
710
+  (30.2ms) ALTER TABLE `sites` ADD `festivity_buy_ticket_text` varchar(255) DEFAULT 'Buy Tickets'
711
+  (0.1ms) BEGIN
712
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20151105155407')
713
+  (0.3ms) COMMIT
714
+ Migrating to AddBaseEventFields (20150127090858995)
715
+  (48.3ms) ALTER TABLE `pages` ADD `short_description` varchar(255)
716
+  (34.0ms) ALTER TABLE `pages` ADD `artist_twitter` varchar(255)
717
+  (34.0ms) ALTER TABLE `pages` ADD `artist_facebook` varchar(255)
718
+  (29.3ms) ALTER TABLE `pages` ADD `artist_instagram` varchar(255)
719
+  (28.0ms) ALTER TABLE `pages` ADD `artist_homepage` varchar(255)
720
+  (36.9ms) ALTER TABLE `pages` ADD `header` varchar(255)
721
+  (52.2ms) ALTER TABLE `pages` ADD `sub_header` varchar(255)
722
+  (33.1ms) ALTER TABLE `pages` ADD `redirect_url` varchar(255)
723
+  (0.1ms) BEGIN
724
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150127090858995')
725
+  (0.3ms) COMMIT
726
+ Migrating to AddMarketAndEventFields (20150127091005232)
727
+  (57.9ms) ALTER TABLE `pages` ADD `featured_item` tinyint(1)
728
+  (37.5ms) ALTER TABLE `pages` ADD `buy_url` varchar(255)
729
+  (33.3ms) ALTER TABLE `pages` ADD `booth_number` varchar(255)
730
+  (32.5ms) ALTER TABLE `pages` ADD `area_id` int(11)
731
+  (50.8ms) ALTER TABLE `pages` ADD `maket_start_date` date
732
+  (28.3ms) ALTER TABLE `pages` ADD `market_end_date` date
733
+  (0.1ms) BEGIN
734
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150127091005232')
735
+  (0.3ms) COMMIT
736
+ Migrating to AddCategoryTypesTable (20150204113325731)
737
+  (27.7ms) CREATE TABLE `festivity_category_types` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `site_id` int(11), `position` int(11), `page_class` varchar(255), `inactive` tinyint(1) DEFAULT 0) ENGINE=InnoDB
738
+  (0.1ms) BEGIN
739
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150204113325731')
740
+  (0.3ms) COMMIT
741
+ Migrating to AddCategoriesTable (20150204113427832)
742
+  (29.9ms) CREATE TABLE `festivity_categories` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `festivity_category_type_id` int(11), `parent_id` int(11), `position` int(11), `inactive` tinyint(1) DEFAULT 0) ENGINE=InnoDB
743
+  (0.1ms) BEGIN
744
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150204113427832')
745
+  (0.3ms) COMMIT
746
+ Migrating to AddPageCategoriesTable (20150204113510326)
747
+  (25.7ms) CREATE TABLE `festivity_page_categories` (`id` int(11) auto_increment PRIMARY KEY, `page_id` int(11), `festivity_category_id` int(11)) ENGINE=InnoDB
748
+  (0.1ms) BEGIN
749
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150204113510326')
750
+  (0.5ms) COMMIT
751
+ Migrating to AddLocationPageFields (20150226131727777)
752
+  (47.2ms) ALTER TABLE `pages` ADD `festivity_address` varchar(255)
753
+  (34.3ms) ALTER TABLE `pages` ADD `festivity_city` varchar(255)
754
+  (33.7ms) ALTER TABLE `pages` ADD `festivity_state` varchar(255)
755
+  (31.2ms) ALTER TABLE `pages` ADD `festivity_zip` varchar(255)
756
+  (31.6ms) ALTER TABLE `pages` ADD `festivity_directions_url` varchar(255)
757
+  (0.1ms) BEGIN
758
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150226131727777')
759
+  (0.3ms) COMMIT
760
+ Migrating to AddPerformancesTable (20150302135485569)
761
+  (26.5ms) CREATE TABLE `festivity_performances` (`id` int(11) auto_increment PRIMARY KEY, `event_page_id` int(11), `start_date` datetime, `end_date` datetime, `location_page_id` int(11), `notes` varchar(255) DEFAULT '', `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
762
+  (0.1ms) BEGIN
763
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150302135485569')
764
+  (0.2ms) COMMIT
765
+ Migrating to AddIndexes (20150324135487799)
766
+  (26.9ms) CREATE INDEX `index_festivity_performances_on_event_page_id` ON `festivity_performances` (`event_page_id`)
767
+  (12.5ms) CREATE INDEX `index_festivity_performances_on_location_page_id` ON `festivity_performances` (`location_page_id`) 
768
+  (11.5ms) CREATE UNIQUE INDEX `event_categories` ON `festivity_page_categories` (`page_id`, `festivity_category_id`)
769
+  (0.1ms) BEGIN
770
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150324135487799')
771
+  (0.3ms) COMMIT
772
+ Migrating to AddEventPerformancesView (200150325136087799)
773
+  (30.8ms) CREATE OR REPLACE VIEW festivity_event_performances AS
774
+ SELECT
775
+ performance.id AS performance_id, performance.start_date, performance.end_date,
776
+ event.id AS event_id, event.title AS event_title, event.short_description, event.buy_url,
777
+ event.featured_item, event.header, event.sub_header, location.id as location_id,
778
+ location.slug AS location_slug, location.title AS location_title, location.festivity_directions_url,
779
+ area.id AS area_id, area.slug as area_slug, area.title AS area_title
780
+ FROM festivity_performances performance
781
+ INNER JOIN pages event
782
+ ON event.id = performance.event_page_id
783
+ INNER JOIN pages location
784
+ ON location.id = performance.location_page_id
785
+ INNER JOIN pages area
786
+ ON area.id = location.parent_id
787
+
788
+  (0.1ms) BEGIN
789
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('200150325136087799')
790
+  (0.3ms) COMMIT
791
+ Migrating to UpdateEventPerformancesViewWithSite (200150425136087799)
792
+  (11.5ms) CREATE OR REPLACE VIEW festivity_event_performances AS
793
+ SELECT
794
+ performance.id AS performance_id, performance.start_date, performance.end_date,
795
+ event.id AS event_id, event.title AS event_title, event.short_description, event.buy_url,
796
+ event.featured_item, event.header, event.sub_header, event.site_id, location.id as location_id,
797
+ location.slug AS location_slug, location.title AS location_title, location.festivity_directions_url,
798
+ area.id AS area_id, area.slug as area_slug, area.title AS area_title
799
+ FROM festivity_performances performance
800
+ INNER JOIN pages event
801
+ ON event.id = performance.event_page_id
802
+ INNER JOIN pages location
803
+ ON location.id = performance.location_page_id
804
+ INNER JOIN pages area
805
+ ON area.id = location.parent_id
806
+
807
+  (0.1ms) BEGIN
808
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('200150425136087799')
809
+  (6.0ms) COMMIT
810
+ Migrating to CreateVanityUrlPages (201601231255101234)
811
+  (44.9ms) ALTER TABLE `pages` ADD `vanity_url` varchar(255)
812
+  (35.0ms) ALTER TABLE `pages` ADD `target_url` varchar(255)
813
+  (0.1ms) BEGIN
814
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201601231255101234')
815
+  (0.6ms) COMMIT
816
+ Migrating to AddHideFromSubnavToPages (201603212551012359)
817
+  (45.1ms) ALTER TABLE `pages` ADD `hide_from_subnav` tinyint(1) DEFAULT 0
818
+  (0.1ms) BEGIN
819
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201603212551012359')
820
+  (0.3ms) COMMIT
821
+ Migrating to FixTypoInMarketStart (201604025593337427)
822
+  (10.5ms) ALTER TABLE `pages` CHANGE `maket_start_date` `market_start_date` date DEFAULT NULL
823
+  (0.1ms) BEGIN
824
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201604025593337427')
825
+  (0.3ms) COMMIT
826
+ Migrating to AddMarketDetailsView (201604031236563245)
827
+  (12.0ms)  CREATE OR REPLACE VIEW festivity_market_details AS
828
+ SELECT
829
+ market.id AS market_id, market.title AS market_title, market.short_description,
830
+ market.header, market.sub_header, market.site_id,
831
+ market.market_start_date as start_date, market.market_end_date as end_date,
832
+ area.id AS area_id, area.slug as area_slug, area.title AS area_title
833
+ FROM pages market
834
+ INNER JOIN pages area
835
+ ON area.id = market.area_id
836
+ 
837
+  (0.1ms) BEGIN
838
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201604031236563245')
839
+  (5.7ms) COMMIT
840
+ Migrating to ChangeMarketDatesToDatetime (201604031638542262)
841
+  (50.1ms) ALTER TABLE `pages` DROP `market_start_date`
842
+  (32.8ms) ALTER TABLE `pages` DROP `market_end_date`
843
+  (37.1ms) ALTER TABLE `pages` ADD `market_start_date` datetime
844
+  (31.0ms) ALTER TABLE `pages` ADD `market_end_date` datetime
845
+  (0.1ms) BEGIN
846
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201604031638542262')
847
+  (0.3ms) COMMIT
848
+ Migrating to AddSocialMediaTagsToSites (201604261638542263)
849
+  (33.0ms) ALTER TABLE `sites` ADD `social_media_tag` varchar(255)
850
+  (0.1ms) BEGIN
851
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201604261638542263')
852
+  (0.3ms) COMMIT
853
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT `schema_migrations`.* FROM `schema_migrations`
854
+  (0.3ms) SELECT fk.referenced_table_name as 'to_table'
855
+ ,fk.referenced_column_name as 'primary_key'
856
+ ,fk.column_name as 'column'
857
+ ,fk.constraint_name as 'name'
858
+ FROM information_schema.key_column_usage fk
859
+ WHERE fk.referenced_column_name is not null
860
+ AND fk.table_schema = 'convoy_master_test'
861
+ AND fk.table_name = 'assets'
862
+ 
863
+  (0.2ms) SHOW CREATE TABLE `assets`
864
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
865
+ ,fk.referenced_column_name as 'primary_key'
866
+ ,fk.column_name as 'column'
867
+ ,fk.constraint_name as 'name'
868
+ FROM information_schema.key_column_usage fk
869
+ WHERE fk.referenced_column_name is not null
870
+ AND fk.table_schema = 'convoy_master_test'
871
+ AND fk.table_name = 'config'
872
+ 
873
+  (0.1ms) SHOW CREATE TABLE `config`
874
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
875
+ ,fk.referenced_column_name as 'primary_key'
876
+ ,fk.column_name as 'column'
877
+ ,fk.constraint_name as 'name'
878
+ FROM information_schema.key_column_usage fk
879
+ WHERE fk.referenced_column_name is not null
880
+ AND fk.table_schema = 'convoy_master_test'
881
+ AND fk.table_name = 'extension_meta'
882
+ 
883
+  (0.1ms) SHOW CREATE TABLE `extension_meta`
884
+  (0.3ms) SELECT fk.referenced_table_name as 'to_table'
885
+ ,fk.referenced_column_name as 'primary_key'
886
+ ,fk.column_name as 'column'
887
+ ,fk.constraint_name as 'name'
888
+ FROM information_schema.key_column_usage fk
889
+ WHERE fk.referenced_column_name is not null
890
+ AND fk.table_schema = 'convoy_master_test'
891
+ AND fk.table_name = 'festivity_categories'
892
+ 
893
+  (0.1ms) SHOW CREATE TABLE `festivity_categories`
894
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
895
+ ,fk.referenced_column_name as 'primary_key'
896
+ ,fk.column_name as 'column'
897
+ ,fk.constraint_name as 'name'
898
+ FROM information_schema.key_column_usage fk
899
+ WHERE fk.referenced_column_name is not null
900
+ AND fk.table_schema = 'convoy_master_test'
901
+ AND fk.table_name = 'festivity_category_types'
902
+ 
903
+  (0.2ms) SHOW CREATE TABLE `festivity_category_types`
904
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
905
+ ,fk.referenced_column_name as 'primary_key'
906
+ ,fk.column_name as 'column'
907
+ ,fk.constraint_name as 'name'
908
+ FROM information_schema.key_column_usage fk
909
+ WHERE fk.referenced_column_name is not null
910
+ AND fk.table_schema = 'convoy_master_test'
911
+ AND fk.table_name = 'festivity_event_performances'
912
+ 
913
+  (0.3ms) SHOW CREATE TABLE `festivity_event_performances`
914
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
915
+ ,fk.referenced_column_name as 'primary_key'
916
+ ,fk.column_name as 'column'
917
+ ,fk.constraint_name as 'name'
918
+ FROM information_schema.key_column_usage fk
919
+ WHERE fk.referenced_column_name is not null
920
+ AND fk.table_schema = 'convoy_master_test'
921
+ AND fk.table_name = 'festivity_market_details'
922
+ 
923
+  (0.2ms) SHOW CREATE TABLE `festivity_market_details`
924
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
925
+ ,fk.referenced_column_name as 'primary_key'
926
+ ,fk.column_name as 'column'
927
+ ,fk.constraint_name as 'name'
928
+ FROM information_schema.key_column_usage fk
929
+ WHERE fk.referenced_column_name is not null
930
+ AND fk.table_schema = 'convoy_master_test'
931
+ AND fk.table_name = 'festivity_page_categories'
932
+ 
933
+  (0.1ms) SHOW CREATE TABLE `festivity_page_categories`
934
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
935
+ ,fk.referenced_column_name as 'primary_key'
936
+ ,fk.column_name as 'column'
937
+ ,fk.constraint_name as 'name'
938
+ FROM information_schema.key_column_usage fk
939
+ WHERE fk.referenced_column_name is not null
940
+ AND fk.table_schema = 'convoy_master_test'
941
+ AND fk.table_name = 'festivity_performances'
942
+ 
943
+  (0.2ms) SHOW CREATE TABLE `festivity_performances`
944
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
945
+ ,fk.referenced_column_name as 'primary_key'
946
+ ,fk.column_name as 'column'
947
+ ,fk.constraint_name as 'name'
948
+ FROM information_schema.key_column_usage fk
949
+ WHERE fk.referenced_column_name is not null
950
+ AND fk.table_schema = 'convoy_master_test'
951
+ AND fk.table_name = 'layouts'
952
+ 
953
+  (0.1ms) SHOW CREATE TABLE `layouts`
954
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
955
+ ,fk.referenced_column_name as 'primary_key'
956
+ ,fk.column_name as 'column'
957
+ ,fk.constraint_name as 'name'
958
+ FROM information_schema.key_column_usage fk
959
+ WHERE fk.referenced_column_name is not null
960
+ AND fk.table_schema = 'convoy_master_test'
961
+ AND fk.table_name = 'page_attachments'
962
+ 
963
+  (0.1ms) SHOW CREATE TABLE `page_attachments`
964
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
965
+ ,fk.referenced_column_name as 'primary_key'
966
+ ,fk.column_name as 'column'
967
+ ,fk.constraint_name as 'name'
968
+ FROM information_schema.key_column_usage fk
969
+ WHERE fk.referenced_column_name is not null
970
+ AND fk.table_schema = 'convoy_master_test'
971
+ AND fk.table_name = 'page_fields'
972
+ 
973
+  (0.2ms) SHOW CREATE TABLE `page_fields`
974
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
975
+ ,fk.referenced_column_name as 'primary_key'
976
+ ,fk.column_name as 'column'
977
+ ,fk.constraint_name as 'name'
978
+ FROM information_schema.key_column_usage fk
979
+ WHERE fk.referenced_column_name is not null
980
+ AND fk.table_schema = 'convoy_master_test'
981
+ AND fk.table_name = 'page_parts'
982
+ 
983
+  (0.2ms) SHOW CREATE TABLE `page_parts`
984
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
985
+ ,fk.referenced_column_name as 'primary_key'
986
+ ,fk.column_name as 'column'
987
+ ,fk.constraint_name as 'name'
988
+ FROM information_schema.key_column_usage fk
989
+ WHERE fk.referenced_column_name is not null
990
+ AND fk.table_schema = 'convoy_master_test'
991
+ AND fk.table_name = 'pages'
992
+ 
993
+  (0.2ms) SHOW CREATE TABLE `pages`
994
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
995
+ ,fk.referenced_column_name as 'primary_key'
996
+ ,fk.column_name as 'column'
997
+ ,fk.constraint_name as 'name'
998
+ FROM information_schema.key_column_usage fk
999
+ WHERE fk.referenced_column_name is not null
1000
+ AND fk.table_schema = 'convoy_master_test'
1001
+ AND fk.table_name = 'sessions'
1002
+ 
1003
+  (0.2ms) SHOW CREATE TABLE `sessions`
1004
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1005
+ ,fk.referenced_column_name as 'primary_key'
1006
+ ,fk.column_name as 'column'
1007
+ ,fk.constraint_name as 'name'
1008
+ FROM information_schema.key_column_usage fk
1009
+ WHERE fk.referenced_column_name is not null
1010
+ AND fk.table_schema = 'convoy_master_test'
1011
+ AND fk.table_name = 'sites'
1012
+ 
1013
+  (0.2ms) SHOW CREATE TABLE `sites`
1014
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1015
+ ,fk.referenced_column_name as 'primary_key'
1016
+ ,fk.column_name as 'column'
1017
+ ,fk.constraint_name as 'name'
1018
+ FROM information_schema.key_column_usage fk
1019
+ WHERE fk.referenced_column_name is not null
1020
+ AND fk.table_schema = 'convoy_master_test'
1021
+ AND fk.table_name = 'snippets'
1022
+ 
1023
+  (0.2ms) SHOW CREATE TABLE `snippets`
1024
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1025
+ ,fk.referenced_column_name as 'primary_key'
1026
+ ,fk.column_name as 'column'
1027
+ ,fk.constraint_name as 'name'
1028
+ FROM information_schema.key_column_usage fk
1029
+ WHERE fk.referenced_column_name is not null
1030
+ AND fk.table_schema = 'convoy_master_test'
1031
+ AND fk.table_name = 'users'
1032
+ 
1033
+  (0.2ms) SHOW CREATE TABLE `users`
1034
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
1035
+ Command :: convert -version
1036
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1037
+ Command :: convert -version
1038
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1039
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
1040
+ Command :: convert -version
1041
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1042
+ Command :: convert -version
1043
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1044
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
1045
+  (0.2ms) BEGIN
1046
+ Site Exists (23.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'hegmann.name' LIMIT 1
1047
+ SQL (23.8ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
1048
+ SQL (0.7ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('card', 'hegmann.name', 3, 'hegmann.name', 3, '2016-05-27 12:11:14', '2016-05-27 12:11:14')
1049
+  (0.6ms) COMMIT
1050
+  (0.1ms) BEGIN
1051
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'multi-byte' AND `pages`.`parent_id` IS NULL) LIMIT 1
1052
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1053
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'multi-byte', 'multi-byte', 'multi-byte', 100, 1, '2016-05-27 12:11:15', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:11:15', '2016-05-27 12:11:15', 1, 0)
1054
+  (11.9ms) COMMIT
1055
+  (0.1ms) BEGIN
1056
+ Site Load (17.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 ORDER BY position ASC LIMIT 1
1057
+  (5.4ms) ROLLBACK
1058
+  (0.1ms) BEGIN
1059
+  (0.1ms) SAVEPOINT active_record_1
1060
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'multi-byte' AND `pages`.`parent_id` IS NULL) LIMIT 1
1061
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1062
+  (0.1ms) ROLLBACK
1063
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
1064
+  (0.1ms) BEGIN
1065
+ Site Load (0.8ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
1066
+ SQL (12.5ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
1067
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
1068
+  (0.3ms) COMMIT
1069
+ FestivityEventPage Load (0.9ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
1070
+  (0.2ms) BEGIN
1071
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 1 ORDER BY position ASC, virtual DESC, title ASC
1072
+ PagePart Load (0.3ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 1 ORDER BY name
1073
+ PageField Load (0.2ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 1
1074
+ FestivityEventPage Load (0.2ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 1 LIMIT 1
1075
+ SQL (0.3ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 1 AND `pages`.`lock_version` = 0
1076
+ SQL (0.2ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
1077
+  (4.3ms) COMMIT
1078
+ Command :: convert -version
1079
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1080
+ Command :: convert -version
1081
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1082
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
1083
+  (0.2ms) BEGIN
1084
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'adams.co' LIMIT 1
1085
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
1086
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('application', 'adams.co', 3, 'adams.co', 3, '2016-05-27 12:13:58', '2016-05-27 12:13:58')
1087
+  (0.5ms) COMMIT
1088
+  (0.2ms) BEGIN
1089
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'solid-state' AND `pages`.`parent_id` IS NULL) LIMIT 1
1090
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1091
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'solid state', 'solid state', 'solid-state', 100, 2, '2016-05-27 12:14:06', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:14:06', '2016-05-27 12:14:06', 1, 0)
1092
+  (5.6ms) COMMIT
1093
+  (0.1ms) BEGIN
1094
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'solid-state' AND `pages`.`parent_id` IS NULL) LIMIT 1
1095
+  (0.2ms) ROLLBACK
1096
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
1097
+  (0.2ms) BEGIN
1098
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
1099
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
1100
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
1101
+  (10.6ms) COMMIT
1102
+ FestivityEventPage Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
1103
+  (0.2ms) BEGIN
1104
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 2 ORDER BY position ASC, virtual DESC, title ASC
1105
+ PagePart Load (0.3ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 2 ORDER BY name
1106
+ PageField Load (0.3ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 2
1107
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 2 LIMIT 1
1108
+ SQL (0.3ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 2 AND `pages`.`lock_version` = 0
1109
+ SQL (0.3ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
1110
+  (3.3ms) COMMIT
1111
+ Command :: convert -version
1112
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1113
+ Command :: convert -version
1114
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1115
+  (0.4ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
1116
+  (0.2ms) BEGIN
1117
+ Site Exists (0.4ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'mosciskihomenick.co' LIMIT 1
1118
+ SQL (0.4ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
1119
+ SQL (0.3ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('feed', 'mosciskihomenick.co', 3, 'mosciskihomenick.co', 3, '2016-05-27 12:23:57', '2016-05-27 12:23:57')
1120
+  (1.0ms) COMMIT
1121
+  (0.2ms) BEGIN
1122
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'back-end' AND `pages`.`parent_id` IS NULL) LIMIT 1
1123
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1124
+ SQL (0.7ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'back-end', 'back-end', 'back-end', 100, 3, '2016-05-27 12:24:18', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:24:18', '2016-05-27 12:24:18', 1, 0)
1125
+  (0.5ms) COMMIT
1126
+  (0.1ms) BEGIN
1127
+  (0.1ms) SAVEPOINT active_record_1
1128
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'back-end' AND `pages`.`parent_id` IS NULL) LIMIT 1
1129
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1130
+  (0.2ms) ROLLBACK
1131
+  (0.1ms) BEGIN
1132
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 ORDER BY position ASC LIMIT 1
1133
+  (0.1ms) ROLLBACK
1134
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
1135
+  (0.1ms) BEGIN
1136
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
1137
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
1138
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
1139
+  (11.6ms) COMMIT
1140
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
1141
+  (0.1ms) BEGIN
1142
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 3 ORDER BY position ASC, virtual DESC, title ASC
1143
+ PagePart Load (0.3ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 3 ORDER BY name
1144
+ PageField Load (0.4ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 3
1145
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 3 LIMIT 1
1146
+ SQL (0.3ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 3 AND `pages`.`lock_version` = 0
1147
+ SQL (0.3ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
1148
+  (1.0ms) COMMIT
1149
+ Command :: convert -version
1150
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1151
+ Command :: convert -version
1152
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1153
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
1154
+  (0.2ms) BEGIN
1155
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'balistreri.net' LIMIT 1
1156
+ SQL (0.3ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
1157
+ SQL (0.3ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('matrix', 'balistreri.net', 3, 'balistreri.net', 3, '2016-05-27 12:24:55', '2016-05-27 12:24:55')
1158
+  (1.3ms) COMMIT
1159
+  (0.2ms) BEGIN
1160
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'neural' AND `pages`.`parent_id` IS NULL) LIMIT 1
1161
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1162
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'neural', 'neural', 'neural', 100, 4, '2016-05-27 12:24:56', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:24:56', '2016-05-27 12:24:56', 1, 0)
1163
+  (6.3ms) COMMIT
1164
+  (0.2ms) BEGIN
1165
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 ORDER BY position ASC LIMIT 1
1166
+  (0.2ms) ROLLBACK
1167
+  (0.1ms) BEGIN
1168
+  (0.2ms) SAVEPOINT active_record_1
1169
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'neural' AND `pages`.`parent_id` IS NULL) LIMIT 1
1170
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1171
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
1172
+ Command :: convert -version
1173
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1174
+ Command :: convert -version
1175
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1176
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
1177
+ Command :: convert -version
1178
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1179
+ Command :: convert -version
1180
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1181
+  (0.4ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
1182
+  (0.2ms) BEGIN
1183
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
1184
+  (0.2ms) SAVEPOINT active_record_1
1185
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
1186
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
1187
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
1188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1189
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
1190
+  (0.2ms) SAVEPOINT active_record_1
1191
+ Page Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 4 ORDER BY position ASC, virtual DESC, title ASC
1192
+ PagePart Load (0.4ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 4 ORDER BY name
1193
+ PageField Load (0.4ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 4
1194
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 LIMIT 1
1195
+ SQL (0.3ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 AND `pages`.`lock_version` = 0
1196
+ SQL (0.3ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
1197
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1198
+  (0.1ms) SAVEPOINT active_record_1
1199
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'padberg.biz' LIMIT 1
1200
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
1201
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('alarm', 'padberg.biz', 3, 'padberg.biz', 3, '2016-05-27 12:31:17', '2016-05-27 12:31:17')
1202
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1203
+  (0.2ms) SAVEPOINT active_record_1
1204
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'haptic' AND `pages`.`parent_id` IS NULL) LIMIT 1
1205
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1206
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'haptic', 'haptic', 'haptic', 100, 5, '2016-05-27 12:31:17', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:31:17', '2016-05-27 12:31:17', 1, 0)
1207
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1208
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 ORDER BY position ASC LIMIT 1
1209
+  (12.7ms) ROLLBACK
1210
+  (0.2ms) BEGIN
1211
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
1212
+  (0.1ms) SAVEPOINT active_record_1
1213
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
1214
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
1215
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
1216
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1217
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
1218
+  (0.1ms) SAVEPOINT active_record_1
1219
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 4 ORDER BY position ASC, virtual DESC, title ASC
1220
+ PagePart Load (0.2ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 4 ORDER BY name
1221
+ PageField Load (0.2ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 4
1222
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 LIMIT 1
1223
+ SQL (0.2ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 AND `pages`.`lock_version` = 0
1224
+ SQL (0.2ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
1225
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1226
+  (0.1ms) SAVEPOINT active_record_1
1227
+ Site Exists (0.2ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'padberg.biz' LIMIT 1
1228
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
1229
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('alarm', 'padberg.biz', 3, 'padberg.biz', 3, '2016-05-27 12:31:17', '2016-05-27 12:31:17')
1230
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1231
+  (0.1ms) SAVEPOINT active_record_1
1232
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'haptic' AND `pages`.`parent_id` IS NULL) LIMIT 1
1233
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1234
+ SQL (0.2ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'haptic', 'haptic', 'haptic', 100, 6, '2016-05-27 12:31:17', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:31:17', '2016-05-27 12:31:17', 1, 0)
1235
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1236
+  (0.1ms) SAVEPOINT active_record_1
1237
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'haptic' AND `pages`.`parent_id` IS NULL) LIMIT 1
1238
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1239
+  (1.4ms) ROLLBACK
1240
+ Command :: convert -version
1241
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1242
+ Command :: convert -version
1243
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1244
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
1245
+  (0.2ms) BEGIN
1246
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
1247
+  (0.2ms) SAVEPOINT active_record_1
1248
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
1249
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
1250
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
1251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1252
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
1253
+  (0.2ms) SAVEPOINT active_record_1
1254
+ Page Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 4 ORDER BY position ASC, virtual DESC, title ASC
1255
+ PagePart Load (0.4ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 4 ORDER BY name
1256
+ PageField Load (0.4ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 4
1257
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 LIMIT 1
1258
+ SQL (0.3ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 AND `pages`.`lock_version` = 0
1259
+ SQL (0.3ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
1260
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1261
+  (0.1ms) SAVEPOINT active_record_1
1262
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'brekke.info' LIMIT 1
1263
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
1264
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('protocol', 'brekke.info', 3, 'brekke.info', 3, '2016-05-27 12:32:26', '2016-05-27 12:32:26')
1265
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1266
+  (0.1ms) SAVEPOINT active_record_1
1267
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'back-end' AND `pages`.`parent_id` IS NULL) LIMIT 1
1268
+ Page Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1269
+ SQL (0.4ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'back-end', 'back-end', 'back-end', 100, 7, '2016-05-27 12:32:26', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:32:26', '2016-05-27 12:32:26', 1, 0)
1270
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1271
+  (0.1ms) SAVEPOINT active_record_1
1272
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'valid slug' AND `pages`.`parent_id` IS NULL) LIMIT 1
1273
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1274
+  (16.2ms) ROLLBACK
1275
+  (0.2ms) BEGIN
1276
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
1277
+  (0.2ms) SAVEPOINT active_record_1
1278
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
1279
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
1280
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
1281
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1282
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
1283
+  (0.1ms) SAVEPOINT active_record_1
1284
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 4 ORDER BY position ASC, virtual DESC, title ASC
1285
+ PagePart Load (0.2ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 4 ORDER BY name
1286
+ PageField Load (0.2ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 4
1287
+ FestivityEventPage Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 LIMIT 1
1288
+ SQL (0.2ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 AND `pages`.`lock_version` = 0
1289
+ SQL (0.2ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
1290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1291
+  (0.1ms) SAVEPOINT active_record_1
1292
+ Site Exists (0.2ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'brekke.info' LIMIT 1
1293
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
1294
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('protocol', 'brekke.info', 3, 'brekke.info', 3, '2016-05-27 12:32:26', '2016-05-27 12:32:26')
1295
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1296
+  (0.1ms) SAVEPOINT active_record_1
1297
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'back-end' AND `pages`.`parent_id` IS NULL) LIMIT 1
1298
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1299
+ SQL (0.2ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'back-end', 'back-end', 'back-end', 100, 8, '2016-05-27 12:32:26', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:32:26', '2016-05-27 12:32:26', 1, 0)
1300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1301
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 ORDER BY position ASC LIMIT 1
1302
+  (12.6ms) ROLLBACK
1303
+ Command :: convert -version
1304
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1305
+ Command :: convert -version
1306
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1307
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
1308
+  (0.2ms) BEGIN
1309
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
1310
+  (0.2ms) SAVEPOINT active_record_1
1311
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
1312
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
1313
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
1314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1315
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
1316
+  (0.2ms) SAVEPOINT active_record_1
1317
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 4 ORDER BY position ASC, virtual DESC, title ASC
1318
+ PagePart Load (0.2ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 4 ORDER BY name
1319
+ PageField Load (0.2ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 4
1320
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 LIMIT 1
1321
+ SQL (0.2ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 AND `pages`.`lock_version` = 0
1322
+ SQL (0.2ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
1323
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1324
+  (0.1ms) SAVEPOINT active_record_1
1325
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'hermiston.io' LIMIT 1
1326
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
1327
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('sensor', 'hermiston.io', 3, 'hermiston.io', 3, '2016-05-27 12:32:50', '2016-05-27 12:32:50')
1328
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1329
+  (0.2ms) SAVEPOINT active_record_1
1330
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'wireless' AND `pages`.`parent_id` IS NULL) LIMIT 1
1331
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1332
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'wireless', 'wireless', 'wireless', 100, 9, '2016-05-27 12:32:51', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:32:51', '2016-05-27 12:32:51', 1, 0)
1333
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1334
+  (0.1ms) SAVEPOINT active_record_1
1335
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'valid_slug' AND `pages`.`parent_id` IS NULL) LIMIT 1
1336
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1337
+ SQL (0.2ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'wireless', 'wireless', 'valid_slug', 100, 9, '2016-05-27 12:32:51', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:32:51', '2016-05-27 12:32:51', 2, 0)
1338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1339
+ Page Exists (0.2ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'valid_slug' AND `pages`.`id` != 10 AND `pages`.`parent_id` IS NULL) LIMIT 1
1340
+  (1.1ms) ROLLBACK
1341
+  (0.1ms) BEGIN
1342
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
1343
+  (0.1ms) SAVEPOINT active_record_1
1344
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
1345
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
1346
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
1347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1348
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
1349
+  (0.1ms) SAVEPOINT active_record_1
1350
+ Page Load (0.2ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 4 ORDER BY position ASC, virtual DESC, title ASC
1351
+ PagePart Load (0.2ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 4 ORDER BY name
1352
+ PageField Load (0.2ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 4
1353
+ FestivityEventPage Load (0.2ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 LIMIT 1
1354
+ SQL (0.2ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 AND `pages`.`lock_version` = 0
1355
+ SQL (0.2ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
1356
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1357
+  (0.1ms) SAVEPOINT active_record_1
1358
+ Site Exists (0.2ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'hermiston.io' LIMIT 1
1359
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
1360
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('sensor', 'hermiston.io', 3, 'hermiston.io', 3, '2016-05-27 12:32:51', '2016-05-27 12:32:51')
1361
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1362
+  (0.2ms) SAVEPOINT active_record_1
1363
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'wireless' AND `pages`.`parent_id` IS NULL) LIMIT 1
1364
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1365
+ SQL (0.2ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'wireless', 'wireless', 'wireless', 100, 10, '2016-05-27 12:32:51', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:32:51', '2016-05-27 12:32:51', 1, 0)
1366
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1367
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 ORDER BY position ASC LIMIT 1
1368
+  (12.3ms) ROLLBACK
1369
+ Command :: convert -version
1370
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1371
+ Command :: convert -version
1372
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
1373
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
1374
+  (0.2ms) BEGIN
1375
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
1376
+  (0.1ms) SAVEPOINT active_record_1
1377
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
1378
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
1379
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
1380
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1381
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
1382
+  (0.2ms) SAVEPOINT active_record_1
1383
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 4 ORDER BY position ASC, virtual DESC, title ASC
1384
+ PagePart Load (0.4ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 4 ORDER BY name
1385
+ PageField Load (0.4ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 4
1386
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 LIMIT 1
1387
+ SQL (0.3ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 AND `pages`.`lock_version` = 0
1388
+ SQL (0.4ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
1389
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1390
+  (0.1ms) SAVEPOINT active_record_1
1391
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'hettinger.org' LIMIT 1
1392
+ SQL (0.3ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
1393
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('system', 'hettinger.org', 3, 'hettinger.org', 3, '2016-05-27 12:34:08', '2016-05-27 12:34:08')
1394
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1395
+  (0.2ms) SAVEPOINT active_record_1
1396
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY '1080p' AND `pages`.`parent_id` IS NULL) LIMIT 1
1397
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1398
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', '1080p', '1080p', '1080p', 100, 11, '2016-05-27 12:34:08', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:34:08', '2016-05-27 12:34:08', 1, 0)
1399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1400
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 ORDER BY position ASC LIMIT 1
1401
+  (25.4ms) ROLLBACK
1402
+  (0.1ms) BEGIN
1403
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
1404
+  (0.1ms) SAVEPOINT active_record_1
1405
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
1406
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
1407
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
1408
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1409
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
1410
+  (1.0ms) SAVEPOINT active_record_1
1411
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` = 4 ORDER BY position ASC, virtual DESC, title ASC
1412
+ PagePart Load (0.2ms) SELECT `page_parts`.* FROM `page_parts` WHERE `page_parts`.`page_id` = 4 ORDER BY name
1413
+ PageField Load (0.2ms) SELECT `page_fields`.* FROM `page_fields` WHERE `page_fields`.`page_id` = 4
1414
+ FestivityEventPage Load (0.2ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 LIMIT 1
1415
+ SQL (0.2ms) DELETE FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') AND `pages`.`id` = 4 AND `pages`.`lock_version` = 0
1416
+ SQL (0.2ms) UPDATE `pages` SET position = (position - 1) WHERE (`pages`.`parent_id` IS NULL AND position > 1)
1417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1418
+  (0.1ms) SAVEPOINT active_record_1
1419
+ Site Exists (0.2ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'hettinger.org' LIMIT 1
1420
+ SQL (0.1ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
1421
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('system', 'hettinger.org', 3, 'hettinger.org', 3, '2016-05-27 12:34:08', '2016-05-27 12:34:08')
1422
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1423
+  (0.1ms) SAVEPOINT active_record_1
1424
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY '1080p' AND `pages`.`parent_id` IS NULL) LIMIT 1
1425
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1426
+ SQL (0.2ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', '1080p', '1080p', '1080p', 100, 12, '2016-05-27 12:34:08', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:34:08', '2016-05-27 12:34:08', 1, 0)
1427
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1428
+  (0.1ms) SAVEPOINT active_record_1
1429
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`parent_id` IS NULL) LIMIT 1
1430
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
1431
+ SQL (0.2ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'Degrees of Separation', 'Degrees of Separation', 'degrees-of-separation', 100, 12, '2016-05-27 12:34:08', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:34:08', '2016-05-27 12:34:08', 2, 0)
1432
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1433
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`id` != 14 AND `pages`.`parent_id` IS NULL) LIMIT 1
1434
+  (0.8ms) ROLLBACK
1435
+  (30.5ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
1436
+  (44.1ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
1437
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
1438
+ Migrating to CreateRadiantTables (1)
1439
+  (26.6ms) CREATE TABLE `config` (`id` int(11) auto_increment PRIMARY KEY, `key` varchar(40) DEFAULT '' NOT NULL, `value` varchar(255) DEFAULT '') ENGINE=InnoDB
1440
+  (46.5ms) CREATE UNIQUE INDEX `key` ON `config` (`key`) 
1441
+  (11.1ms) CREATE TABLE `pages` (`id` int(11) auto_increment PRIMARY KEY, `title` varchar(255), `slug` varchar(100), `breadcrumb` varchar(160), `class_name` varchar(25), `status_id` int(11) DEFAULT 1 NOT NULL, `parent_id` int(11), `layout_id` int(11), `created_at` datetime, `updated_at` datetime, `published_at` datetime, `created_by` int(11), `updated_by` int(11)) ENGINE=InnoDB
1442
+  (9.7ms) CREATE TABLE `page_parts` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100), `filter` varchar(25), `content` text, `page_id` int(11)) ENGINE=InnoDB
1443
+  (11.9ms) CREATE TABLE `snippets` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100) DEFAULT '' NOT NULL, `filter` varchar(25), `content` text, `created_at` datetime, `updated_at` datetime, `created_by` int(11), `updated_by` int(11)) ENGINE=InnoDB
1444
+  (11.4ms) CREATE UNIQUE INDEX `name` ON `snippets` (`name`) 
1445
+  (8.0ms) CREATE TABLE `layouts` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100), `content` text, `created_at` datetime, `updated_at` datetime, `created_by` int(11), `updated_by` int(11)) ENGINE=InnoDB
1446
+  (10.0ms) CREATE TABLE `users` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100), `email` varchar(255), `login` varchar(40) DEFAULT '' NOT NULL, `password` varchar(40), `admin` tinyint(1) DEFAULT 0 NOT NULL, `developer` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime, `updated_at` datetime, `created_by` int(11), `updated_by` int(11), `salt` varchar(255)) ENGINE=InnoDB
1447
+  (9.8ms) CREATE UNIQUE INDEX `login` ON `users` (`login`)
1448
+  (0.1ms) BEGIN
1449
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('1')
1450
+  (5.5ms) COMMIT
1451
+ Migrating to InsertInitialData (2)
1452
+  (0.1ms) BEGIN
1453
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('2')
1454
+  (11.2ms) COMMIT
1455
+ Migrating to RenameFilterColumn (4)
1456
+  (7.6ms) ALTER TABLE `page_parts` CHANGE `filter` `filter_id` varchar(25) DEFAULT NULL
1457
+  (7.5ms) ALTER TABLE `snippets` CHANGE `filter` `filter_id` varchar(25) DEFAULT NULL
1458
+  (0.2ms) BEGIN
1459
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('4')
1460
+  (0.3ms) COMMIT
1461
+ Migrating to AddVirtualColumnToPage (5)
1462
+  (35.1ms) ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT 0 NOT NULL
1463
+  (0.1ms) BEGIN
1464
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('5')
1465
+  (0.3ms) COMMIT
1466
+ Migrating to RemoveVirtualColumnFromPage (7)
1467
+  (33.4ms) ALTER TABLE `pages` DROP `virtual`
1468
+  (0.2ms) BEGIN
1469
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('7')
1470
+  (0.3ms) COMMIT
1471
+ Migrating to AddVirtualColumnToPageAgain (8)
1472
+  (31.8ms) ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT 0 NOT NULL
1473
+  (0.1ms) BEGIN
1474
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('8')
1475
+  (0.3ms) COMMIT
1476
+ Migrating to AddContentTypeFieldToLayout (9)
1477
+  (34.9ms) ALTER TABLE `layouts` ADD `content_type` varchar(40)
1478
+  (0.1ms) BEGIN
1479
+ SQL (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('9')
1480
+  (0.3ms) COMMIT
1481
+ Migrating to CreateExtensionMeta (12)
1482
+  (25.7ms) CREATE TABLE `extension_meta` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `schema_version` int(11) DEFAULT 0, `enabled` tinyint(1) DEFAULT 1) ENGINE=InnoDB
1483
+  (0.2ms) BEGIN
1484
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('12')
1485
+  (0.3ms) COMMIT
1486
+ Migrating to AddNotesFieldToUser (13)
1487
+  (38.2ms) ALTER TABLE `users` ADD `notes` text
1488
+  (0.1ms) BEGIN
1489
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('13')
1490
+  (0.5ms) COMMIT
1491
+ Migrating to RenameConfigDefaultPartsKey (14)
1492
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'default.parts' LIMIT 1
1493
+  (0.1ms) BEGIN
1494
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('14')
1495
+  (6.0ms) COMMIT
1496
+ Migrating to AddOptimisticLocking (15)
1497
+  (32.7ms) ALTER TABLE `pages` ADD `lock_version` int(11) DEFAULT 0
1498
+  (14.1ms) ALTER TABLE `layouts` ADD `lock_version` int(11) DEFAULT 0
1499
+  (16.8ms) ALTER TABLE `snippets` ADD `lock_version` int(11) DEFAULT 0
1500
+  (17.5ms) ALTER TABLE `users` ADD `lock_version` int(11) DEFAULT 0
1501
+  (0.1ms) BEGIN
1502
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('15')
1503
+  (0.3ms) COMMIT
1504
+ Migrating to AddSessions (16)
1505
+  (27.7ms) CREATE TABLE `sessions` (`id` int(11) auto_increment PRIMARY KEY, `session_id` varchar(255), `data` text, `updated_at` datetime) ENGINE=InnoDB
1506
+  (10.1ms) CREATE INDEX `index_sessions_on_session_id` ON `sessions` (`session_id`)
1507
+  (11.3ms) CREATE INDEX `index_sessions_on_updated_at` ON `sessions` (`updated_at`) 
1508
+  (0.1ms) BEGIN
1509
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('16')
1510
+  (0.3ms) COMMIT
1511
+ Migrating to RenameCreatedByUpdatedByColumns (17)
1512
+  (11.1ms) ALTER TABLE `pages` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
1513
+  (6.7ms) ALTER TABLE `pages` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
1514
+  (5.9ms) ALTER TABLE `snippets` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
1515
+  (6.1ms) ALTER TABLE `snippets` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
1516
+  (5.5ms) ALTER TABLE `layouts` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
1517
+  (6.6ms) ALTER TABLE `layouts` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
1518
+  (6.2ms) ALTER TABLE `users` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
1519
+  (6.3ms) ALTER TABLE `users` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
1520
+  (0.1ms) BEGIN
1521
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('17')
1522
+  (0.3ms) COMMIT
1523
+ Migrating to AddDescriptionAndKeywordsToPages (18)
1524
+  (31.7ms) ALTER TABLE `pages` ADD `description` varchar(255)
1525
+  (14.1ms) ALTER TABLE `pages` ADD `keywords` varchar(255)
1526
+  (0.1ms) BEGIN
1527
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('18')
1528
+  (0.4ms) COMMIT
1529
+ Migrating to AddSessionInfoToUsers (20)
1530
+  (37.6ms) ALTER TABLE `users` ADD `session_token` varchar(255)
1531
+  (16.6ms) ALTER TABLE `users` ADD `session_expire` datetime
1532
+  (0.1ms) BEGIN
1533
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20')
1534
+  (0.6ms) COMMIT
1535
+ Migrating to RemoveSessionExpireFromUsers (21)
1536
+  (40.7ms) ALTER TABLE `users` DROP `session_expire`
1537
+  (0.1ms) BEGIN
1538
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('21')
1539
+  (0.5ms) COMMIT
1540
+ Migrating to AddIndexes (20081203140407)
1541
+  (30.5ms) CREATE INDEX `pages_class_name` ON `pages` (`class_name`)
1542
+  (13.8ms) CREATE INDEX `pages_parent_id` ON `pages` (`parent_id`) 
1543
+  (11.5ms) CREATE INDEX `pages_child_slug` ON `pages` (`slug`, `parent_id`)
1544
+  (11.3ms) CREATE INDEX `pages_published` ON `pages` (`virtual`, `status_id`) 
1545
+  (9.9ms) CREATE INDEX `parts_by_page` ON `page_parts` (`page_id`, `name`)
1546
+  (0.1ms) BEGIN
1547
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20081203140407')
1548
+  (0.3ms) COMMIT
1549
+ Migrating to AddUserLanguage (20090226140109)
1550
+  (33.4ms) ALTER TABLE `users` ADD `language` varchar(255)
1551
+  (0.1ms) BEGIN
1552
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20090226140109')
1553
+  (0.3ms) COMMIT
1554
+ Migrating to RenameDeveloperRoleToDesigner (20090929164633)
1555
+  (12.3ms) ALTER TABLE `users` CHANGE `developer` `designer` tinyint(1) DEFAULT '0' NOT NULL
1556
+  (0.1ms) BEGIN
1557
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20090929164633')
1558
+  (0.3ms) COMMIT
1559
+ Migrating to ChangeUserLanguageToLocale (20091003095744)
1560
+  (8.1ms) ALTER TABLE `users` CHANGE `language` `locale` varchar(255) DEFAULT NULL
1561
+  (0.1ms) BEGIN
1562
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20091003095744')
1563
+  (0.3ms) COMMIT
1564
+ Migrating to AddPageFields (20100805154952)
1565
+  (25.7ms) CREATE TABLE `page_fields` (`id` int(11) auto_increment PRIMARY KEY, `page_id` int(11), `name` varchar(255), `content` varchar(255)) ENGINE=InnoDB
1566
+  (10.2ms) CREATE INDEX `index_page_fields_on_page_id` ON `page_fields` (`page_id`) 
1567
+  (0.1ms) BEGIN
1568
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20100805154952')
1569
+  (0.3ms) COMMIT
1570
+ Migrating to ConvertPageMetas (20100805155020)
1571
+  (51.6ms) ALTER TABLE `pages` DROP `keywords`
1572
+  (25.3ms) ALTER TABLE `pages` DROP `description`
1573
+  (0.1ms) BEGIN
1574
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20100805155020')
1575
+  (0.6ms) COMMIT
1576
+ Migrating to AddFieldNameIndex (20100810151922)
1577
+  (24.7ms) DROP INDEX `index_page_fields_on_page_id` ON `page_fields`
1578
+  (10.3ms) CREATE INDEX `index_page_fields_on_page_id_and_name_and_content` ON `page_fields` (`page_id`, `name`, `content`) 
1579
+  (0.1ms) BEGIN
1580
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20100810151922')
1581
+  (0.3ms) COMMIT
1582
+ Migrating to AddAllowedChildrenCacheToPages (20110902203823)
1583
+  (43.9ms) ALTER TABLE `pages` ADD `allowed_children_cache` text
1584
+  (0.1ms) BEGIN
1585
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110902203823')
1586
+  (0.3ms) COMMIT
1587
+ Migrating to ExtendPagePartContentLimit (20111016150725)
1588
+  (14.5ms) ALTER TABLE `page_parts` CHANGE `content` `content` mediumtext DEFAULT NULL
1589
+  (0.1ms) BEGIN
1590
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20111016150725')
1591
+  (0.2ms) COMMIT
1592
+ Migrating to ChangePagesAllowedChildrenCacheToText (20120209231801)
1593
+  (8.3ms) ALTER TABLE `pages` CHANGE `allowed_children_cache` `allowed_children_cache` text DEFAULT NULL
1594
+  (0.1ms) BEGIN
1595
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120209231801')
1596
+  (0.3ms) COMMIT
1597
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
1598
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1599
+ ,fk.referenced_column_name as 'primary_key'
1600
+ ,fk.column_name as 'column'
1601
+ ,fk.constraint_name as 'name'
1602
+ FROM information_schema.key_column_usage fk
1603
+ WHERE fk.referenced_column_name is not null
1604
+ AND fk.table_schema = 'convoy_master_test'
1605
+ AND fk.table_name = 'config'
1606
+
1607
+  (0.1ms) SHOW CREATE TABLE `config`
1608
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1609
+ ,fk.referenced_column_name as 'primary_key'
1610
+ ,fk.column_name as 'column'
1611
+ ,fk.constraint_name as 'name'
1612
+ FROM information_schema.key_column_usage fk
1613
+ WHERE fk.referenced_column_name is not null
1614
+ AND fk.table_schema = 'convoy_master_test'
1615
+ AND fk.table_name = 'extension_meta'
1616
+
1617
+  (0.1ms) SHOW CREATE TABLE `extension_meta`
1618
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1619
+ ,fk.referenced_column_name as 'primary_key'
1620
+ ,fk.column_name as 'column'
1621
+ ,fk.constraint_name as 'name'
1622
+ FROM information_schema.key_column_usage fk
1623
+ WHERE fk.referenced_column_name is not null
1624
+ AND fk.table_schema = 'convoy_master_test'
1625
+ AND fk.table_name = 'layouts'
1626
+
1627
+  (0.1ms) SHOW CREATE TABLE `layouts`
1628
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1629
+ ,fk.referenced_column_name as 'primary_key'
1630
+ ,fk.column_name as 'column'
1631
+ ,fk.constraint_name as 'name'
1632
+ FROM information_schema.key_column_usage fk
1633
+ WHERE fk.referenced_column_name is not null
1634
+ AND fk.table_schema = 'convoy_master_test'
1635
+ AND fk.table_name = 'page_fields'
1636
+
1637
+  (0.1ms) SHOW CREATE TABLE `page_fields`
1638
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1639
+ ,fk.referenced_column_name as 'primary_key'
1640
+ ,fk.column_name as 'column'
1641
+ ,fk.constraint_name as 'name'
1642
+ FROM information_schema.key_column_usage fk
1643
+ WHERE fk.referenced_column_name is not null
1644
+ AND fk.table_schema = 'convoy_master_test'
1645
+ AND fk.table_name = 'page_parts'
1646
+
1647
+  (0.1ms) SHOW CREATE TABLE `page_parts`
1648
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1649
+ ,fk.referenced_column_name as 'primary_key'
1650
+ ,fk.column_name as 'column'
1651
+ ,fk.constraint_name as 'name'
1652
+ FROM information_schema.key_column_usage fk
1653
+ WHERE fk.referenced_column_name is not null
1654
+ AND fk.table_schema = 'convoy_master_test'
1655
+ AND fk.table_name = 'pages'
1656
+
1657
+  (0.1ms) SHOW CREATE TABLE `pages`
1658
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1659
+ ,fk.referenced_column_name as 'primary_key'
1660
+ ,fk.column_name as 'column'
1661
+ ,fk.constraint_name as 'name'
1662
+ FROM information_schema.key_column_usage fk
1663
+ WHERE fk.referenced_column_name is not null
1664
+ AND fk.table_schema = 'convoy_master_test'
1665
+ AND fk.table_name = 'sessions'
1666
+
1667
+  (0.1ms) SHOW CREATE TABLE `sessions`
1668
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1669
+ ,fk.referenced_column_name as 'primary_key'
1670
+ ,fk.column_name as 'column'
1671
+ ,fk.constraint_name as 'name'
1672
+ FROM information_schema.key_column_usage fk
1673
+ WHERE fk.referenced_column_name is not null
1674
+ AND fk.table_schema = 'convoy_master_test'
1675
+ AND fk.table_name = 'snippets'
1676
+
1677
+  (0.1ms) SHOW CREATE TABLE `snippets`
1678
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1679
+ ,fk.referenced_column_name as 'primary_key'
1680
+ ,fk.column_name as 'column'
1681
+ ,fk.constraint_name as 'name'
1682
+ FROM information_schema.key_column_usage fk
1683
+ WHERE fk.referenced_column_name is not null
1684
+ AND fk.table_schema = 'convoy_master_test'
1685
+ AND fk.table_name = 'users'
1686
+
1687
+  (0.1ms) SHOW CREATE TABLE `users`
1688
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Layouts'
1689
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Snippets'
1690
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Multi Site'
1691
+  (0.2ms) SELECT version FROM schema_migrations
1692
+ Migrating to CreateSites (1)
1693
+  (26.5ms) CREATE TABLE `sites` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `domain` varchar(255), `homepage_id` int(11)) ENGINE=InnoDB
1694
+  (0.5ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-1')
1695
+ Migrating to AddOrderToSites (2)
1696
+  (32.8ms) ALTER TABLE `sites` ADD `position` int(11) DEFAULT 0
1697
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-2')
1698
+ Migrating to AddBaseDomainToSites (3)
1699
+  (41.8ms) ALTER TABLE `sites` ADD `base_domain` varchar(255)
1700
+  (0.6ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-3')
1701
+ Migrating to AddAdminFieldsToSites (4)
1702
+  (33.3ms) ALTER TABLE `sites` ADD `created_by_id` int(11)
1703
+  (13.3ms) ALTER TABLE `sites` ADD `created_at` datetime
1704
+  (12.2ms) ALTER TABLE `sites` ADD `updated_by_id` int(11)
1705
+  (14.0ms) ALTER TABLE `sites` ADD `updated_at` datetime
1706
+  (14.1ms) ALTER TABLE `sites` ADD `subtitle` varchar(255)
1707
+  (0.7ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-4')
1708
+ Migrating to AddSites (5)
1709
+  (34.5ms) ALTER TABLE `layouts` ADD `site_id` int(11)
1710
+  (14.6ms) ALTER TABLE `snippets` ADD `site_id` int(11)
1711
+  (20.9ms) ALTER TABLE `users` ADD `site_id` int(11)
1712
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-5')
1713
+ Migrating to RemoveUserLoginIndex (6)
1714
+  (25.8ms) DROP INDEX `login` ON `users`
1715
+  (0.6ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-6')
1716
+ Migrating to SiteAbbreviation (20090810145840)
1717
+  (33.5ms) ALTER TABLE `sites` ADD `abbreviation` varchar(255)
1718
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-20090810145840')
1719
+ Migrating to RecreateNonUniqueIndexOnSnippetsName (201411031415046078)
1720
+  (25.6ms) DROP INDEX `name` ON `snippets`
1721
+  (38.4ms) CREATE UNIQUE INDEX `name_site_id` ON `snippets` (`name`, `site_id`) 
1722
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-201411031415046078')
1723
+ Migrating to AddSiteIdToPages (2015032011031415046078)
1724
+  (50.1ms) ALTER TABLE `pages` ADD `site_id` int(11)
1725
+  (16.7ms) CREATE INDEX `index_pages_on_site_id` ON `pages` (`site_id`)
1726
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
1727
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-2015032011031415046078')
1728
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Clipped'
1729
+  (0.2ms) SELECT version FROM schema_migrations WHERE version LIKE 'Paperclipped-%'
1730
+  (0.2ms) SELECT version FROM schema_migrations
1731
+ Migrating to CreateAssets (1)
1732
+  (29.4ms) CREATE TABLE `assets` (`id` int(11) auto_increment PRIMARY KEY, `caption` varchar(255), `title` varchar(255)) ENGINE=InnoDB
1733
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-1')
1734
+ Migrating to CreatePaperclipAttributes (2)
1735
+  (31.6ms) ALTER TABLE `assets` ADD `asset_file_name` varchar(255)
1736
+  (14.7ms) ALTER TABLE `assets` ADD `asset_content_type` varchar(255)
1737
+  (14.1ms) ALTER TABLE `assets` ADD `asset_file_size` int(11)
1738
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-2')
1739
+ Migrating to CreateUserObserver (3)
1740
+  (36.0ms) ALTER TABLE `assets` ADD `created_by` int(11)
1741
+  (13.4ms) ALTER TABLE `assets` ADD `updated_by` int(11)
1742
+  (16.5ms) ALTER TABLE `assets` ADD `created_at` datetime
1743
+  (14.6ms) ALTER TABLE `assets` ADD `updated_at` datetime
1744
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-3')
1745
+ Migrating to CreatePageAttachments (4)
1746
+  (26.3ms) CREATE TABLE `page_attachments` (`id` int(11) auto_increment PRIMARY KEY, `asset_id` int(11), `page_id` int(11), `position` int(11)) ENGINE=InnoDB
1747
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-4')
1748
+ Migrating to RenameUsers (5)
1749
+  (6.6ms) ALTER TABLE `assets` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
1750
+  (5.8ms) ALTER TABLE `assets` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
1751
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-5')
1752
+ Migrating to AssetUuid (20110513205050)
1753
+  (35.6ms) ALTER TABLE `assets` ADD `uuid` varchar(255)
1754
+ Asset Load (0.2ms) SELECT `assets`.* FROM `assets` ORDER BY created_at DESC
1755
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-20110513205050')
1756
+ Migrating to UpdateConfiguration (20110606111250)
1757
+  (5.8ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-20110606111250')
1758
+ Migrating to Dimensions (20110609101438)
1759
+  (33.4ms) ALTER TABLE `assets` ADD `original_width` int(11)
1760
+  (12.8ms) ALTER TABLE `assets` ADD `original_height` int(11)
1761
+  (12.6ms) ALTER TABLE `assets` ADD `original_extension` varchar(255)
1762
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-20110609101438')
1763
+  (0.1ms) SELECT schema_version FROM extension_meta WHERE name = 'Rad Social'
1764
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Reorder'
1765
+  (0.2ms) SELECT version FROM schema_migrations
1766
+ Migrating to AddPositionToPages (1)
1767
+  (45.8ms) ALTER TABLE `pages` ADD `position` int(11)
1768
+ Page Load (0.2ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` IS NULL ORDER BY position ASC
1769
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Reorder-1')
1770
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
1771
+ Migrating to AddSiteFields (20150123175758)
1772
+  (31.7ms) ALTER TABLE `sites` ADD `festivity_start_date` date
1773
+  (13.2ms) ALTER TABLE `sites` ADD `festivity_end_date` date
1774
+  (17.5ms) ALTER TABLE `sites` ADD `festivity_festival_name` varchar(255)
1775
+  (13.4ms) ALTER TABLE `sites` ADD `festivity_google_api_key` varchar(255)
1776
+  (0.1ms) BEGIN
1777
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150123175758')
1778
+  (0.3ms) COMMIT
1779
+ Migrating to UpdateSiteForHourlyFilters (20151018190155)
1780
+  (11.2ms) ALTER TABLE `sites` CHANGE `festivity_start_date` `festivity_start_date` datetime DEFAULT NULL
1781
+  (11.0ms) ALTER TABLE `sites` CHANGE `festivity_end_date` `festivity_end_date` datetime DEFAULT NULL
1782
+  (13.6ms) ALTER TABLE `sites` ADD `festivity_filter_type` varchar(255)
1783
+  (0.1ms) BEGIN
1784
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20151018190155')
1785
+  (0.3ms) COMMIT
1786
+ Migrating to AddBuyTicketTextToSite (20151105155407)
1787
+  (34.1ms) ALTER TABLE `sites` ADD `festivity_buy_ticket_text` varchar(255) DEFAULT 'Buy Tickets'
1788
+  (0.1ms) BEGIN
1789
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20151105155407')
1790
+  (0.3ms) COMMIT
1791
+ Migrating to AddBaseEventFields (20150127090858995)
1792
+  (47.4ms) ALTER TABLE `pages` ADD `short_description` varchar(255)
1793
+  (30.5ms) ALTER TABLE `pages` ADD `artist_twitter` varchar(255)
1794
+  (32.1ms) ALTER TABLE `pages` ADD `artist_facebook` varchar(255)
1795
+  (29.1ms) ALTER TABLE `pages` ADD `artist_instagram` varchar(255)
1796
+  (30.8ms) ALTER TABLE `pages` ADD `artist_homepage` varchar(255)
1797
+  (32.6ms) ALTER TABLE `pages` ADD `header` varchar(255)
1798
+  (33.0ms) ALTER TABLE `pages` ADD `sub_header` varchar(255)
1799
+  (34.4ms) ALTER TABLE `pages` ADD `redirect_url` varchar(255)
1800
+  (0.1ms) BEGIN
1801
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150127090858995')
1802
+  (0.3ms) COMMIT
1803
+ Migrating to AddMarketAndEventFields (20150127091005232)
1804
+  (43.7ms) ALTER TABLE `pages` ADD `featured_item` tinyint(1)
1805
+  (27.7ms) ALTER TABLE `pages` ADD `buy_url` varchar(255)
1806
+  (29.9ms) ALTER TABLE `pages` ADD `booth_number` varchar(255)
1807
+  (31.4ms) ALTER TABLE `pages` ADD `area_id` int(11)
1808
+  (37.1ms) ALTER TABLE `pages` ADD `maket_start_date` date
1809
+  (33.7ms) ALTER TABLE `pages` ADD `market_end_date` date
1810
+  (0.1ms) BEGIN
1811
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150127091005232')
1812
+  (0.3ms) COMMIT
1813
+ Migrating to AddCategoryTypesTable (20150204113325731)
1814
+  (26.2ms) CREATE TABLE `festivity_category_types` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `site_id` int(11), `position` int(11), `page_class` varchar(255), `inactive` tinyint(1) DEFAULT 0) ENGINE=InnoDB
1815
+  (0.1ms) BEGIN
1816
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150204113325731')
1817
+  (0.2ms) COMMIT
1818
+ Migrating to AddCategoriesTable (20150204113427832)
1819
+  (28.4ms) CREATE TABLE `festivity_categories` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `festivity_category_type_id` int(11), `parent_id` int(11), `position` int(11), `inactive` tinyint(1) DEFAULT 0) ENGINE=InnoDB
1820
+  (0.1ms) BEGIN
1821
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150204113427832')
1822
+  (0.3ms) COMMIT
1823
+ Migrating to AddPageCategoriesTable (20150204113510326)
1824
+  (28.7ms) CREATE TABLE `festivity_page_categories` (`id` int(11) auto_increment PRIMARY KEY, `page_id` int(11), `festivity_category_id` int(11)) ENGINE=InnoDB
1825
+  (0.1ms) BEGIN
1826
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150204113510326')
1827
+  (0.3ms) COMMIT
1828
+ Migrating to AddLocationPageFields (20150226131727777)
1829
+  (47.1ms) ALTER TABLE `pages` ADD `festivity_address` varchar(255)
1830
+  (29.9ms) ALTER TABLE `pages` ADD `festivity_city` varchar(255)
1831
+  (32.1ms) ALTER TABLE `pages` ADD `festivity_state` varchar(255)
1832
+  (31.8ms) ALTER TABLE `pages` ADD `festivity_zip` varchar(255)
1833
+  (31.1ms) ALTER TABLE `pages` ADD `festivity_directions_url` varchar(255)
1834
+  (0.1ms) BEGIN
1835
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150226131727777')
1836
+  (0.3ms) COMMIT
1837
+ Migrating to AddPerformancesTable (20150302135485569)
1838
+  (27.2ms) CREATE TABLE `festivity_performances` (`id` int(11) auto_increment PRIMARY KEY, `event_page_id` int(11), `start_date` datetime, `end_date` datetime, `location_page_id` int(11), `notes` varchar(255) DEFAULT '', `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
1839
+  (0.1ms) BEGIN
1840
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150302135485569')
1841
+  (0.4ms) COMMIT
1842
+ Migrating to AddIndexes (20150324135487799)
1843
+  (27.0ms) CREATE INDEX `index_festivity_performances_on_event_page_id` ON `festivity_performances` (`event_page_id`)
1844
+  (12.5ms) CREATE INDEX `index_festivity_performances_on_location_page_id` ON `festivity_performances` (`location_page_id`) 
1845
+  (10.7ms) CREATE UNIQUE INDEX `event_categories` ON `festivity_page_categories` (`page_id`, `festivity_category_id`)
1846
+  (0.1ms) BEGIN
1847
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150324135487799')
1848
+  (0.3ms) COMMIT
1849
+ Migrating to AddEventPerformancesView (200150325136087799)
1850
+  (18.7ms) CREATE OR REPLACE VIEW festivity_event_performances AS
1851
+ SELECT
1852
+ performance.id AS performance_id, performance.start_date, performance.end_date,
1853
+ event.id AS event_id, event.title AS event_title, event.short_description, event.buy_url,
1854
+ event.featured_item, event.header, event.sub_header, location.id as location_id,
1855
+ location.slug AS location_slug, location.title AS location_title, location.festivity_directions_url,
1856
+ area.id AS area_id, area.slug as area_slug, area.title AS area_title
1857
+ FROM festivity_performances performance
1858
+ INNER JOIN pages event
1859
+ ON event.id = performance.event_page_id
1860
+ INNER JOIN pages location
1861
+ ON location.id = performance.location_page_id
1862
+ INNER JOIN pages area
1863
+ ON area.id = location.parent_id
1864
+
1865
+  (0.1ms) BEGIN
1866
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('200150325136087799')
1867
+  (5.7ms) COMMIT
1868
+ Migrating to UpdateEventPerformancesViewWithSite (200150425136087799)
1869
+  (17.5ms) CREATE OR REPLACE VIEW festivity_event_performances AS
1870
+ SELECT
1871
+ performance.id AS performance_id, performance.start_date, performance.end_date,
1872
+ event.id AS event_id, event.title AS event_title, event.short_description, event.buy_url,
1873
+ event.featured_item, event.header, event.sub_header, event.site_id, location.id as location_id,
1874
+ location.slug AS location_slug, location.title AS location_title, location.festivity_directions_url,
1875
+ area.id AS area_id, area.slug as area_slug, area.title AS area_title
1876
+ FROM festivity_performances performance
1877
+ INNER JOIN pages event
1878
+ ON event.id = performance.event_page_id
1879
+ INNER JOIN pages location
1880
+ ON location.id = performance.location_page_id
1881
+ INNER JOIN pages area
1882
+ ON area.id = location.parent_id
1883
+
1884
+  (0.1ms) BEGIN
1885
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('200150425136087799')
1886
+  (6.2ms) COMMIT
1887
+ Migrating to CreateVanityUrlPages (201601231255101234)
1888
+  (46.7ms) ALTER TABLE `pages` ADD `vanity_url` varchar(255)
1889
+  (64.2ms) ALTER TABLE `pages` ADD `target_url` varchar(255)
1890
+  (0.1ms) BEGIN
1891
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201601231255101234')
1892
+  (0.6ms) COMMIT
1893
+ Migrating to AddHideFromSubnavToPages (201603212551012359)
1894
+  (54.0ms) ALTER TABLE `pages` ADD `hide_from_subnav` tinyint(1) DEFAULT 0
1895
+  (0.1ms) BEGIN
1896
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201603212551012359')
1897
+  (0.3ms) COMMIT
1898
+ Migrating to FixTypoInMarketStart (201604025593337427)
1899
+  (14.3ms) ALTER TABLE `pages` CHANGE `maket_start_date` `market_start_date` date DEFAULT NULL
1900
+  (0.1ms) BEGIN
1901
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201604025593337427')
1902
+  (0.3ms) COMMIT
1903
+ Migrating to AddMarketDetailsView (201604031236563245)
1904
+  (10.5ms)  CREATE OR REPLACE VIEW festivity_market_details AS
1905
+ SELECT
1906
+ market.id AS market_id, market.title AS market_title, market.short_description,
1907
+ market.header, market.sub_header, market.site_id,
1908
+ market.market_start_date as start_date, market.market_end_date as end_date,
1909
+ area.id AS area_id, area.slug as area_slug, area.title AS area_title
1910
+ FROM pages market
1911
+ INNER JOIN pages area
1912
+ ON area.id = market.area_id
1913
+ 
1914
+  (0.1ms) BEGIN
1915
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201604031236563245')
1916
+  (6.1ms) COMMIT
1917
+ Migrating to ChangeMarketDatesToDatetime (201604031638542262)
1918
+  (48.1ms) ALTER TABLE `pages` DROP `market_start_date`
1919
+  (33.4ms) ALTER TABLE `pages` DROP `market_end_date`
1920
+  (29.3ms) ALTER TABLE `pages` ADD `market_start_date` datetime
1921
+  (38.5ms) ALTER TABLE `pages` ADD `market_end_date` datetime
1922
+  (0.1ms) BEGIN
1923
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201604031638542262')
1924
+  (0.3ms) COMMIT
1925
+ Migrating to AddSocialMediaTagsToSites (201604261638542263)
1926
+  (31.0ms) ALTER TABLE `sites` ADD `social_media_tag` varchar(255)
1927
+  (0.2ms) BEGIN
1928
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201604261638542263')
1929
+  (0.3ms) COMMIT
1930
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
1931
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1932
+ ,fk.referenced_column_name as 'primary_key'
1933
+ ,fk.column_name as 'column'
1934
+ ,fk.constraint_name as 'name'
1935
+ FROM information_schema.key_column_usage fk
1936
+ WHERE fk.referenced_column_name is not null
1937
+ AND fk.table_schema = 'convoy_master_test'
1938
+ AND fk.table_name = 'assets'
1939
+ 
1940
+  (0.1ms) SHOW CREATE TABLE `assets`
1941
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1942
+ ,fk.referenced_column_name as 'primary_key'
1943
+ ,fk.column_name as 'column'
1944
+ ,fk.constraint_name as 'name'
1945
+ FROM information_schema.key_column_usage fk
1946
+ WHERE fk.referenced_column_name is not null
1947
+ AND fk.table_schema = 'convoy_master_test'
1948
+ AND fk.table_name = 'config'
1949
+ 
1950
+  (0.1ms) SHOW CREATE TABLE `config`
1951
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1952
+ ,fk.referenced_column_name as 'primary_key'
1953
+ ,fk.column_name as 'column'
1954
+ ,fk.constraint_name as 'name'
1955
+ FROM information_schema.key_column_usage fk
1956
+ WHERE fk.referenced_column_name is not null
1957
+ AND fk.table_schema = 'convoy_master_test'
1958
+ AND fk.table_name = 'extension_meta'
1959
+ 
1960
+  (0.1ms) SHOW CREATE TABLE `extension_meta`
1961
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1962
+ ,fk.referenced_column_name as 'primary_key'
1963
+ ,fk.column_name as 'column'
1964
+ ,fk.constraint_name as 'name'
1965
+ FROM information_schema.key_column_usage fk
1966
+ WHERE fk.referenced_column_name is not null
1967
+ AND fk.table_schema = 'convoy_master_test'
1968
+ AND fk.table_name = 'festivity_categories'
1969
+ 
1970
+  (0.1ms) SHOW CREATE TABLE `festivity_categories`
1971
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1972
+ ,fk.referenced_column_name as 'primary_key'
1973
+ ,fk.column_name as 'column'
1974
+ ,fk.constraint_name as 'name'
1975
+ FROM information_schema.key_column_usage fk
1976
+ WHERE fk.referenced_column_name is not null
1977
+ AND fk.table_schema = 'convoy_master_test'
1978
+ AND fk.table_name = 'festivity_category_types'
1979
+ 
1980
+  (0.1ms) SHOW CREATE TABLE `festivity_category_types`
1981
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1982
+ ,fk.referenced_column_name as 'primary_key'
1983
+ ,fk.column_name as 'column'
1984
+ ,fk.constraint_name as 'name'
1985
+ FROM information_schema.key_column_usage fk
1986
+ WHERE fk.referenced_column_name is not null
1987
+ AND fk.table_schema = 'convoy_master_test'
1988
+ AND fk.table_name = 'festivity_event_performances'
1989
+ 
1990
+  (0.3ms) SHOW CREATE TABLE `festivity_event_performances`
1991
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
1992
+ ,fk.referenced_column_name as 'primary_key'
1993
+ ,fk.column_name as 'column'
1994
+ ,fk.constraint_name as 'name'
1995
+ FROM information_schema.key_column_usage fk
1996
+ WHERE fk.referenced_column_name is not null
1997
+ AND fk.table_schema = 'convoy_master_test'
1998
+ AND fk.table_name = 'festivity_market_details'
1999
+ 
2000
+  (0.2ms) SHOW CREATE TABLE `festivity_market_details`
2001
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2002
+ ,fk.referenced_column_name as 'primary_key'
2003
+ ,fk.column_name as 'column'
2004
+ ,fk.constraint_name as 'name'
2005
+ FROM information_schema.key_column_usage fk
2006
+ WHERE fk.referenced_column_name is not null
2007
+ AND fk.table_schema = 'convoy_master_test'
2008
+ AND fk.table_name = 'festivity_page_categories'
2009
+ 
2010
+  (0.2ms) SHOW CREATE TABLE `festivity_page_categories`
2011
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2012
+ ,fk.referenced_column_name as 'primary_key'
2013
+ ,fk.column_name as 'column'
2014
+ ,fk.constraint_name as 'name'
2015
+ FROM information_schema.key_column_usage fk
2016
+ WHERE fk.referenced_column_name is not null
2017
+ AND fk.table_schema = 'convoy_master_test'
2018
+ AND fk.table_name = 'festivity_performances'
2019
+ 
2020
+  (0.1ms) SHOW CREATE TABLE `festivity_performances`
2021
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2022
+ ,fk.referenced_column_name as 'primary_key'
2023
+ ,fk.column_name as 'column'
2024
+ ,fk.constraint_name as 'name'
2025
+ FROM information_schema.key_column_usage fk
2026
+ WHERE fk.referenced_column_name is not null
2027
+ AND fk.table_schema = 'convoy_master_test'
2028
+ AND fk.table_name = 'layouts'
2029
+ 
2030
+  (0.1ms) SHOW CREATE TABLE `layouts`
2031
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2032
+ ,fk.referenced_column_name as 'primary_key'
2033
+ ,fk.column_name as 'column'
2034
+ ,fk.constraint_name as 'name'
2035
+ FROM information_schema.key_column_usage fk
2036
+ WHERE fk.referenced_column_name is not null
2037
+ AND fk.table_schema = 'convoy_master_test'
2038
+ AND fk.table_name = 'page_attachments'
2039
+ 
2040
+  (0.1ms) SHOW CREATE TABLE `page_attachments`
2041
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2042
+ ,fk.referenced_column_name as 'primary_key'
2043
+ ,fk.column_name as 'column'
2044
+ ,fk.constraint_name as 'name'
2045
+ FROM information_schema.key_column_usage fk
2046
+ WHERE fk.referenced_column_name is not null
2047
+ AND fk.table_schema = 'convoy_master_test'
2048
+ AND fk.table_name = 'page_fields'
2049
+ 
2050
+  (0.1ms) SHOW CREATE TABLE `page_fields`
2051
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2052
+ ,fk.referenced_column_name as 'primary_key'
2053
+ ,fk.column_name as 'column'
2054
+ ,fk.constraint_name as 'name'
2055
+ FROM information_schema.key_column_usage fk
2056
+ WHERE fk.referenced_column_name is not null
2057
+ AND fk.table_schema = 'convoy_master_test'
2058
+ AND fk.table_name = 'page_parts'
2059
+ 
2060
+  (0.1ms) SHOW CREATE TABLE `page_parts`
2061
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2062
+ ,fk.referenced_column_name as 'primary_key'
2063
+ ,fk.column_name as 'column'
2064
+ ,fk.constraint_name as 'name'
2065
+ FROM information_schema.key_column_usage fk
2066
+ WHERE fk.referenced_column_name is not null
2067
+ AND fk.table_schema = 'convoy_master_test'
2068
+ AND fk.table_name = 'pages'
2069
+ 
2070
+  (0.2ms) SHOW CREATE TABLE `pages`
2071
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2072
+ ,fk.referenced_column_name as 'primary_key'
2073
+ ,fk.column_name as 'column'
2074
+ ,fk.constraint_name as 'name'
2075
+ FROM information_schema.key_column_usage fk
2076
+ WHERE fk.referenced_column_name is not null
2077
+ AND fk.table_schema = 'convoy_master_test'
2078
+ AND fk.table_name = 'sessions'
2079
+ 
2080
+  (0.1ms) SHOW CREATE TABLE `sessions`
2081
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2082
+ ,fk.referenced_column_name as 'primary_key'
2083
+ ,fk.column_name as 'column'
2084
+ ,fk.constraint_name as 'name'
2085
+ FROM information_schema.key_column_usage fk
2086
+ WHERE fk.referenced_column_name is not null
2087
+ AND fk.table_schema = 'convoy_master_test'
2088
+ AND fk.table_name = 'sites'
2089
+ 
2090
+  (0.1ms) SHOW CREATE TABLE `sites`
2091
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2092
+ ,fk.referenced_column_name as 'primary_key'
2093
+ ,fk.column_name as 'column'
2094
+ ,fk.constraint_name as 'name'
2095
+ FROM information_schema.key_column_usage fk
2096
+ WHERE fk.referenced_column_name is not null
2097
+ AND fk.table_schema = 'convoy_master_test'
2098
+ AND fk.table_name = 'snippets'
2099
+ 
2100
+  (0.1ms) SHOW CREATE TABLE `snippets`
2101
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2102
+ ,fk.referenced_column_name as 'primary_key'
2103
+ ,fk.column_name as 'column'
2104
+ ,fk.constraint_name as 'name'
2105
+ FROM information_schema.key_column_usage fk
2106
+ WHERE fk.referenced_column_name is not null
2107
+ AND fk.table_schema = 'convoy_master_test'
2108
+ AND fk.table_name = 'users'
2109
+ 
2110
+  (0.1ms) SHOW CREATE TABLE `users`
2111
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
2112
+ Command :: convert -version
2113
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2114
+ Command :: convert -version
2115
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2116
+  (0.4ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
2117
+  (0.2ms) BEGIN
2118
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2119
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
2120
+  (0.2ms) SAVEPOINT active_record_1
2121
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'ortizhintz.info' LIMIT 1
2122
+ SQL (0.3ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2123
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('bus', 'ortizhintz.info', 3, 'ortizhintz.info', 3, '2016-05-27 12:36:56', '2016-05-27 12:36:56')
2124
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2125
+  (0.2ms) SAVEPOINT active_record_1
2126
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'haptic' AND `pages`.`parent_id` IS NULL) LIMIT 1
2127
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2128
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'haptic', 'haptic', 'haptic', 100, 1, '2016-05-27 12:36:56', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:36:56', '2016-05-27 12:36:56', 1, 0)
2129
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2130
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 ORDER BY position ASC LIMIT 1
2131
+  (6.3ms) ROLLBACK
2132
+  (0.2ms) BEGIN
2133
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2134
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
2135
+  (0.1ms) SAVEPOINT active_record_1
2136
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'ortizhintz.info' LIMIT 1
2137
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2138
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('bus', 'ortizhintz.info', 3, 'ortizhintz.info', 3, '2016-05-27 12:36:56', '2016-05-27 12:36:56')
2139
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2140
+  (0.1ms) SAVEPOINT active_record_1
2141
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'haptic' AND `pages`.`parent_id` IS NULL) LIMIT 1
2142
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2143
+ SQL (0.2ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'haptic', 'haptic', 'haptic', 100, 2, '2016-05-27 12:36:56', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:36:56', '2016-05-27 12:36:56', 1, 0)
2144
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2145
+  (0.1ms) SAVEPOINT active_record_1
2146
+ Page Exists (0.2ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`parent_id` IS NULL) LIMIT 1
2147
+ Page Load (0.9ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2148
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'Degrees of Separation', 'Degrees of Separation', 'degrees-of-separation', 100, 2, '2016-05-27 12:36:56', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-05-27 12:36:56', '2016-05-27 12:36:56', 2, 0)
2149
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2150
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`id` != 3 AND `pages`.`parent_id` IS NULL) LIMIT 1
2151
+  (0.4ms) ROLLBACK
2152
+ Command :: convert -version
2153
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2154
+ Command :: convert -version
2155
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2156
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
2157
+  (0.2ms) BEGIN
2158
+ Site Load (0.5ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2159
+  (0.2ms) SAVEPOINT active_record_1
2160
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2161
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2162
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2164
+  (0.1ms) SAVEPOINT active_record_1
2165
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2166
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2167
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2169
+  (0.1ms) SAVEPOINT active_record_1
2170
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2171
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2172
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2174
+  (0.1ms) SAVEPOINT active_record_1
2175
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2176
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2177
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2178
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2179
+  (0.1ms) SAVEPOINT active_record_1
2180
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2181
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2182
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2184
+  (0.1ms) SAVEPOINT active_record_1
2185
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2186
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2187
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2189
+  (0.1ms) SAVEPOINT active_record_1
2190
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2191
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2192
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2194
+  (0.1ms) SAVEPOINT active_record_1
2195
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2196
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2197
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2198
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2199
+  (0.1ms) SAVEPOINT active_record_1
2200
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2201
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2202
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2204
+  (0.1ms) SAVEPOINT active_record_1
2205
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2206
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2207
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2208
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2209
+  (0.1ms) SAVEPOINT active_record_1
2210
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2211
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2212
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2213
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2214
+  (0.1ms) SAVEPOINT active_record_1
2215
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2216
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2217
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2218
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2219
+  (0.1ms) SAVEPOINT active_record_1
2220
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2221
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2222
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2223
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2224
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
2225
+  (0.1ms) SAVEPOINT active_record_1
2226
+ Site Exists (0.4ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'okuneva.net' LIMIT 1
2227
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2228
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('circuit', 'okuneva.net', 3, 'okuneva.net', 3, '2016-08-17 18:05:10', '2016-08-17 18:05:10')
2229
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2230
+  (0.2ms) SAVEPOINT active_record_1
2231
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'virtual' AND `pages`.`parent_id` IS NULL) LIMIT 1
2232
+ Page Load (0.7ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2233
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'virtual', 'virtual', 'virtual', 100, 16, '2016-08-17 18:05:10', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-08-17 18:05:10', '2016-08-17 18:05:10', 1, 0)
2234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2235
+  (0.1ms) SAVEPOINT active_record_1
2236
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`parent_id` IS NULL) LIMIT 1
2237
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2238
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'Degrees of Separation', 'Degrees of Separation', 'degrees-of-separation', 100, 16, '2016-08-17 18:05:10', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-08-17 18:05:10', '2016-08-17 18:05:10', 2, 0)
2239
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2240
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`id` != 49144 AND `pages`.`parent_id` IS NULL) LIMIT 1
2241
+  (6.8ms) ROLLBACK
2242
+  (0.1ms) BEGIN
2243
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2244
+  (0.1ms) SAVEPOINT active_record_1
2245
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2246
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2247
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2249
+  (0.1ms) SAVEPOINT active_record_1
2250
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2251
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2252
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2254
+  (0.1ms) SAVEPOINT active_record_1
2255
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2256
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2257
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2259
+  (0.1ms) SAVEPOINT active_record_1
2260
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2261
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2262
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2264
+  (0.7ms) SAVEPOINT active_record_1
2265
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2266
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2267
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2268
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2269
+  (0.1ms) SAVEPOINT active_record_1
2270
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2271
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2272
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2274
+  (0.1ms) SAVEPOINT active_record_1
2275
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2276
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2277
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2278
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2279
+  (0.1ms) SAVEPOINT active_record_1
2280
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2281
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2282
+ SQL (0.4ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2283
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2284
+  (0.1ms) SAVEPOINT active_record_1
2285
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2286
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2287
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2289
+  (0.1ms) SAVEPOINT active_record_1
2290
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2291
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2292
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2294
+  (0.1ms) SAVEPOINT active_record_1
2295
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2296
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2297
+ SQL (0.1ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2298
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2299
+  (0.1ms) SAVEPOINT active_record_1
2300
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2301
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2302
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2304
+  (0.1ms) SAVEPOINT active_record_1
2305
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2306
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2307
+ SQL (0.1ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2309
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
2310
+  (0.2ms) SAVEPOINT active_record_1
2311
+ Site Exists (0.2ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'okuneva.net' LIMIT 1
2312
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2313
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('circuit', 'okuneva.net', 3, 'okuneva.net', 3, '2016-08-17 18:05:10', '2016-08-17 18:05:10')
2314
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2315
+  (0.1ms) SAVEPOINT active_record_1
2316
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'virtual' AND `pages`.`parent_id` IS NULL) LIMIT 1
2317
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2318
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'virtual', 'virtual', 'virtual', 100, 17, '2016-08-17 18:05:10', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-08-17 18:05:10', '2016-08-17 18:05:10', 1, 0)
2319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2320
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 17 ORDER BY position ASC LIMIT 1
2321
+  (1.3ms) ROLLBACK
2322
+ Command :: convert -version
2323
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2324
+ Command :: convert -version
2325
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2326
+  (0.4ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
2327
+  (0.2ms) BEGIN
2328
+ Site Load (0.5ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2329
+  (0.2ms) SAVEPOINT active_record_1
2330
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2331
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2332
+ SQL (2.0ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2333
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2334
+  (0.1ms) SAVEPOINT active_record_1
2335
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2336
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2337
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2338
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2339
+  (0.1ms) SAVEPOINT active_record_1
2340
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2341
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2342
+ SQL (0.9ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2343
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2344
+  (0.2ms) SAVEPOINT active_record_1
2345
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2346
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2347
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2349
+  (0.1ms) SAVEPOINT active_record_1
2350
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2351
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2352
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2353
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2354
+  (0.1ms) SAVEPOINT active_record_1
2355
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2356
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2357
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2358
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2359
+  (0.1ms) SAVEPOINT active_record_1
2360
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2361
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2362
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2363
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2364
+  (0.1ms) SAVEPOINT active_record_1
2365
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2366
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2367
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2368
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2369
+  (0.1ms) SAVEPOINT active_record_1
2370
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2371
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2372
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2373
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2374
+  (0.1ms) SAVEPOINT active_record_1
2375
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2376
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2377
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2378
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2379
+  (0.1ms) SAVEPOINT active_record_1
2380
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2381
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2382
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2384
+  (0.1ms) SAVEPOINT active_record_1
2385
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2386
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2387
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2389
+  (0.2ms) SAVEPOINT active_record_1
2390
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2391
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2392
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2393
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2394
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
2395
+  (0.1ms) SAVEPOINT active_record_1
2396
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'nitzschetremblay.co' LIMIT 1
2397
+ SQL (0.6ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2398
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('matrix', 'nitzschetremblay.co', 3, 'nitzschetremblay.co', 3, '2016-09-06 17:40:05', '2016-09-06 17:40:05')
2399
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2400
+  (0.2ms) SAVEPOINT active_record_1
2401
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'solid-state' AND `pages`.`parent_id` IS NULL) LIMIT 1
2402
+ Page Load (0.5ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2403
+ SQL (0.5ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'solid state', 'solid state', 'solid-state', 100, 16, '2016-09-06 17:40:05', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 17:40:05', '2016-09-06 17:40:05', 1, 0)
2404
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2405
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 16 ORDER BY position ASC LIMIT 1
2406
+  (1.5ms) ROLLBACK
2407
+  (0.1ms) BEGIN
2408
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2409
+  (0.1ms) SAVEPOINT active_record_1
2410
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2411
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2412
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2413
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2414
+  (0.1ms) SAVEPOINT active_record_1
2415
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2416
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2417
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2418
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2419
+  (0.1ms) SAVEPOINT active_record_1
2420
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2421
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2422
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2423
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2424
+  (0.1ms) SAVEPOINT active_record_1
2425
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2426
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2427
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2429
+  (0.1ms) SAVEPOINT active_record_1
2430
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2431
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2432
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2433
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2434
+  (0.1ms) SAVEPOINT active_record_1
2435
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2436
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2437
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2438
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2439
+  (0.2ms) SAVEPOINT active_record_1
2440
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2441
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2442
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2443
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2444
+  (0.2ms) SAVEPOINT active_record_1
2445
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2446
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2447
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2448
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2449
+  (0.1ms) SAVEPOINT active_record_1
2450
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2451
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2452
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2454
+  (0.1ms) SAVEPOINT active_record_1
2455
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2456
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2457
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2459
+  (0.1ms) SAVEPOINT active_record_1
2460
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2461
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2462
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2463
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2464
+  (0.1ms) SAVEPOINT active_record_1
2465
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2466
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2467
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2468
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2469
+  (0.1ms) SAVEPOINT active_record_1
2470
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2471
+ SQL (1.5ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2472
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2473
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2474
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
2475
+  (0.1ms) SAVEPOINT active_record_1
2476
+ Site Exists (0.2ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'nitzschetremblay.co' LIMIT 1
2477
+ SQL (0.1ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2478
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('matrix', 'nitzschetremblay.co', 3, 'nitzschetremblay.co', 3, '2016-09-06 17:40:05', '2016-09-06 17:40:05')
2479
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2480
+  (0.1ms) SAVEPOINT active_record_1
2481
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'solid-state' AND `pages`.`parent_id` IS NULL) LIMIT 1
2482
+ Page Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2483
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'solid state', 'solid state', 'solid-state', 100, 17, '2016-09-06 17:40:05', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 17:40:05', '2016-09-06 17:40:05', 1, 0)
2484
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2485
+  (0.1ms) SAVEPOINT active_record_1
2486
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`parent_id` IS NULL) LIMIT 1
2487
+ Page Load (1.4ms) SELECT `pages`.* FROM `pages` WHERE (pages.position IS NOT NULL) AND (`pages`.`parent_id` IS NULL) ORDER BY pages.position DESC LIMIT 1
2488
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `position`, `lock_version`) VALUES ('FestivityEventPage', 'Degrees of Separation', 'Degrees of Separation', 'degrees-of-separation', 100, 17, '2016-09-06 17:40:05', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 17:40:05', '2016-09-06 17:40:05', 2, 0)
2489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2490
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`id` != 3 AND `pages`.`parent_id` IS NULL) LIMIT 1
2491
+  (1.3ms) ROLLBACK
2492
+ Command :: convert -version
2493
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2494
+ Command :: convert -version
2495
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2496
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
2497
+  (0.2ms) BEGIN
2498
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2499
+  (0.2ms) SAVEPOINT active_record_1
2500
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2501
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2502
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2503
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2504
+  (0.1ms) SAVEPOINT active_record_1
2505
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2506
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2507
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2508
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2509
+  (0.1ms) SAVEPOINT active_record_1
2510
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2511
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2512
+ SQL (6.9ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2513
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2514
+  (0.1ms) SAVEPOINT active_record_1
2515
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2516
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2517
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2518
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2519
+  (0.1ms) SAVEPOINT active_record_1
2520
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2521
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2522
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2523
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2524
+  (0.1ms) SAVEPOINT active_record_1
2525
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2526
+ SQL (4.6ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2527
+ SQL (0.4ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2528
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2529
+  (0.2ms) SAVEPOINT active_record_1
2530
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2531
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2532
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2534
+  (0.1ms) SAVEPOINT active_record_1
2535
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2536
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2537
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2538
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2539
+  (0.1ms) SAVEPOINT active_record_1
2540
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2541
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2542
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2544
+  (0.1ms) SAVEPOINT active_record_1
2545
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2546
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2547
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2548
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2549
+  (0.1ms) SAVEPOINT active_record_1
2550
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2551
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2552
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2553
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2554
+  (0.1ms) SAVEPOINT active_record_1
2555
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2556
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2557
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2558
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2559
+  (0.1ms) SAVEPOINT active_record_1
2560
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2561
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2562
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2563
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2564
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage')
2565
+  (0.1ms) SAVEPOINT active_record_1
2566
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'johns.name' LIMIT 1
2567
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2568
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('port', 'johns.name', 3, 'johns.name', 3, '2016-09-06 17:41:45', '2016-09-06 17:41:45')
2569
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2570
+  (0.2ms) SAVEPOINT active_record_1
2571
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'multi-byte' AND `pages`.`parent_id` IS NULL) LIMIT 1
2572
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `lock_version`) VALUES ('FestivityEventPage', 'multi-byte', 'multi-byte', 'multi-byte', 100, 18, '2016-09-06 17:41:46', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 17:41:46', '2016-09-06 17:41:46', 0)
2573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2574
+  (0.1ms) SAVEPOINT active_record_1
2575
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`parent_id` IS NULL) LIMIT 1
2576
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `lock_version`) VALUES ('FestivityEventPage', 'Degrees of Separation', 'Degrees of Separation', 'degrees-of-separation', 100, 18, '2016-09-06 17:41:46', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 17:41:46', '2016-09-06 17:41:46', 0)
2577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2578
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`id` != 5 AND `pages`.`parent_id` IS NULL) LIMIT 1
2579
+  (13.2ms) ROLLBACK
2580
+  (0.2ms) BEGIN
2581
+ Site Load (0.5ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2582
+  (0.2ms) SAVEPOINT active_record_1
2583
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2584
+ SQL (0.4ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2585
+ SQL (0.4ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2586
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2587
+  (0.1ms) SAVEPOINT active_record_1
2588
+ Site Load (0.5ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2589
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2590
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2591
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2592
+  (0.1ms) SAVEPOINT active_record_1
2593
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2594
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2595
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2596
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2597
+  (0.1ms) SAVEPOINT active_record_1
2598
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2599
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2600
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2601
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2602
+  (0.1ms) SAVEPOINT active_record_1
2603
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2604
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2605
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2606
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2607
+  (0.1ms) SAVEPOINT active_record_1
2608
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2609
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2610
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2611
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2612
+  (0.1ms) SAVEPOINT active_record_1
2613
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2614
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2615
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2616
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2617
+  (0.1ms) SAVEPOINT active_record_1
2618
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2619
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2620
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2621
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2622
+  (0.1ms) SAVEPOINT active_record_1
2623
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2624
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2625
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2627
+  (0.1ms) SAVEPOINT active_record_1
2628
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2629
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2630
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2632
+  (0.1ms) SAVEPOINT active_record_1
2633
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2634
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2635
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2636
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2637
+  (0.1ms) SAVEPOINT active_record_1
2638
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2639
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2640
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2642
+  (0.1ms) SAVEPOINT active_record_1
2643
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2644
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2645
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2647
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage')
2648
+  (0.1ms) SAVEPOINT active_record_1
2649
+ Site Exists (0.1ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'johns.name' LIMIT 1
2650
+ SQL (0.1ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2651
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('port', 'johns.name', 3, 'johns.name', 3, '2016-09-06 17:41:46', '2016-09-06 17:41:46')
2652
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2653
+  (0.2ms) SAVEPOINT active_record_1
2654
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'multi-byte' AND `pages`.`parent_id` IS NULL) LIMIT 1
2655
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `lock_version`) VALUES ('FestivityEventPage', 'multi-byte', 'multi-byte', 'multi-byte', 100, 19, '2016-09-06 17:41:46', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 17:41:46', '2016-09-06 17:41:46', 0)
2656
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2657
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 19 ORDER BY position ASC LIMIT 1
2658
+  (13.4ms) ROLLBACK
2659
+ Command :: convert -version
2660
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2661
+ Command :: convert -version
2662
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2663
+  (0.4ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
2664
+  (0.2ms) BEGIN
2665
+ Site Load (0.5ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2666
+  (0.2ms) SAVEPOINT active_record_1
2667
+ Site Load (0.5ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2668
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2669
+ SQL (0.6ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2671
+  (0.1ms) SAVEPOINT active_record_1
2672
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2673
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2674
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2676
+  (0.1ms) SAVEPOINT active_record_1
2677
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2678
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2679
+ SQL (6.5ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2680
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2681
+  (0.2ms) SAVEPOINT active_record_1
2682
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2683
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2684
+ SQL (0.4ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2685
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2686
+  (0.1ms) SAVEPOINT active_record_1
2687
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2688
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2689
+ SQL (5.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2690
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2691
+  (0.2ms) SAVEPOINT active_record_1
2692
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2693
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2694
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2695
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2696
+  (0.1ms) SAVEPOINT active_record_1
2697
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2698
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2699
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2700
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2701
+  (0.2ms) SAVEPOINT active_record_1
2702
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2703
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2704
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2705
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2706
+  (0.2ms) SAVEPOINT active_record_1
2707
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2708
+ SQL (0.4ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2709
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2710
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2711
+  (0.1ms) SAVEPOINT active_record_1
2712
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2713
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2714
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2715
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2716
+  (0.1ms) SAVEPOINT active_record_1
2717
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2718
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2719
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2720
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2721
+  (0.1ms) SAVEPOINT active_record_1
2722
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2723
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2724
+ SQL (0.1ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2725
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2726
+  (0.1ms) SAVEPOINT active_record_1
2727
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2728
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2729
+ SQL (0.1ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2731
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage')
2732
+  (0.1ms) SAVEPOINT active_record_1
2733
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'cain.com' LIMIT 1
2734
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2735
+ SQL (0.3ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('transmitter', 'cain.com', 3, 'cain.com', 3, '2016-09-06 18:06:05', '2016-09-06 18:06:05')
2736
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2737
+  (0.2ms) SAVEPOINT active_record_1
2738
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'cross-platform' AND `pages`.`parent_id` IS NULL) LIMIT 1
2739
+ SQL (0.3ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `lock_version`) VALUES ('FestivityEventPage', 'cross-platform', 'cross-platform', 'cross-platform', 100, 20, '2016-09-06 18:06:06', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 18:06:06', '2016-09-06 18:06:06', 0)
2740
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2741
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 20 ORDER BY position ASC LIMIT 1
2742
+  (12.8ms) ROLLBACK
2743
+  (0.2ms) BEGIN
2744
+ Site Load (0.4ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
2745
+  (0.1ms) SAVEPOINT active_record_1
2746
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 LIMIT 1
2747
+ SQL (0.3ms) DELETE FROM `sites` WHERE `sites`.`id` = 2
2748
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 1)
2749
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2750
+  (0.1ms) SAVEPOINT active_record_1
2751
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 3 LIMIT 1
2752
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 3
2753
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2754
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2755
+  (0.1ms) SAVEPOINT active_record_1
2756
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 4 LIMIT 1
2757
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 4
2758
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2760
+  (0.1ms) SAVEPOINT active_record_1
2761
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 5 LIMIT 1
2762
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 5
2763
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2764
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2765
+  (0.1ms) SAVEPOINT active_record_1
2766
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 6 LIMIT 1
2767
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 6
2768
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2769
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2770
+  (0.1ms) SAVEPOINT active_record_1
2771
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 7 LIMIT 1
2772
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 7
2773
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2774
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2775
+  (0.1ms) SAVEPOINT active_record_1
2776
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 8 LIMIT 1
2777
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 8
2778
+ SQL (0.3ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2779
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2780
+  (0.1ms) SAVEPOINT active_record_1
2781
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 9 LIMIT 1
2782
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 9
2783
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2785
+  (0.1ms) SAVEPOINT active_record_1
2786
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 10 LIMIT 1
2787
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 10
2788
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2789
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2790
+  (0.1ms) SAVEPOINT active_record_1
2791
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 11 LIMIT 1
2792
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 11
2793
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 2)
2794
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2795
+  (0.1ms) SAVEPOINT active_record_1
2796
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 14 LIMIT 1
2797
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 14
2798
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2799
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2800
+  (0.1ms) SAVEPOINT active_record_1
2801
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 15 LIMIT 1
2802
+ SQL (0.2ms) DELETE FROM `sites` WHERE `sites`.`id` = 15
2803
+ SQL (0.2ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 3)
2804
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2805
+  (0.1ms) SAVEPOINT active_record_1
2806
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 1 LIMIT 1
2807
+ SQL (0.1ms) DELETE FROM `sites` WHERE `sites`.`id` = 1
2808
+ SQL (0.1ms) UPDATE `sites` SET position = (position - 1) WHERE (1 = 1 AND position > 11)
2809
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2810
+ FestivityEventPage Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage')
2811
+  (0.3ms) SAVEPOINT active_record_1
2812
+ Site Exists (0.4ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'cain.com' LIMIT 1
2813
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
2814
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('transmitter', 'cain.com', 3, 'cain.com', 3, '2016-09-06 18:06:06', '2016-09-06 18:06:06')
2815
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2816
+  (0.1ms) SAVEPOINT active_record_1
2817
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'cross-platform' AND `pages`.`parent_id` IS NULL) LIMIT 1
2818
+ SQL (0.4ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `lock_version`) VALUES ('FestivityEventPage', 'cross-platform', 'cross-platform', 'cross-platform', 100, 21, '2016-09-06 18:06:06', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 18:06:06', '2016-09-06 18:06:06', 0)
2819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2820
+  (0.1ms) SAVEPOINT active_record_1
2821
+ Page Exists (0.4ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`parent_id` IS NULL) LIMIT 1
2822
+ SQL (0.2ms) INSERT INTO `pages` (`class_name`, `title`, `breadcrumb`, `slug`, `status_id`, `site_id`, `published_at`, `allowed_children_cache`, `created_at`, `updated_at`, `lock_version`) VALUES ('FestivityEventPage', 'Degrees of Separation', 'Degrees of Separation', 'degrees-of-separation', 100, 21, '2016-09-06 18:06:06', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-09-06 18:06:06', '2016-09-06 18:06:06', 0)
2823
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2824
+ Page Exists (0.2ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`id` != 9 AND `pages`.`parent_id` IS NULL) LIMIT 1
2825
+  (1.7ms) ROLLBACK