trusty-festivity-extension 2.5.17 → 2.5.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,9 @@
1
+ class AddContentEditorToUsers < ActiveRecord::Migration
2
+ def self.up
3
+ add_column :users, :content_editor, :boolean, :default => true, :null => false
4
+ end
5
+
6
+ def self.down
7
+ remove_column :users, :content_editor
8
+ end
9
+ end
@@ -1,5 +1,5 @@
1
1
  module TrustyFestivityExtension
2
- VERSION = "2.5.17"
2
+ VERSION = "2.5.18"
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"
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 201604261638542263) do
14
+ ActiveRecord::Schema.define(version: 201610284484312496) do
15
15
 
16
16
  create_table "assets", force: :cascade do |t|
17
17
  t.string "caption", limit: 255
@@ -164,8 +164,8 @@ ActiveRecord::Schema.define(version: 201604261638542263) do
164
164
  t.boolean "virtual", default: false, null: false
165
165
  t.integer "lock_version", limit: 4, default: 0
166
166
  t.text "allowed_children_cache", limit: 65535
167
- t.integer "site_id", limit: 4
168
167
  t.integer "position", limit: 4
168
+ t.integer "site_id", limit: 4
169
169
  t.string "short_description", limit: 255
170
170
  t.string "artist_twitter", limit: 255
171
171
  t.string "artist_facebook", limit: 255
@@ -241,22 +241,25 @@ ActiveRecord::Schema.define(version: 201604261638542263) do
241
241
  add_index "snippets", ["name", "site_id"], name: "name_site_id", unique: true, using: :btree
242
242
 
243
243
  create_table "users", force: :cascade do |t|
244
- t.string "name", limit: 100
245
- t.string "email", limit: 255
246
- t.string "login", limit: 40, default: "", null: false
247
- t.string "password", limit: 40
248
- t.boolean "admin", default: false, null: false
249
- t.boolean "designer", default: false, null: false
244
+ t.string "name", limit: 100
245
+ t.string "email", limit: 255
246
+ t.string "login", limit: 40, default: "", null: false
247
+ t.string "password", limit: 40
248
+ t.boolean "admin", default: false, null: false
249
+ t.boolean "designer", default: false, null: false
250
250
  t.datetime "created_at"
251
251
  t.datetime "updated_at"
252
- t.integer "created_by_id", limit: 4
253
- t.integer "updated_by_id", limit: 4
254
- t.string "salt", limit: 255
255
- t.text "notes", limit: 65535
256
- t.integer "lock_version", limit: 4, default: 0
257
- t.string "session_token", limit: 255
258
- t.string "locale", limit: 255
259
- t.integer "site_id", limit: 4
252
+ t.integer "created_by_id", limit: 4
253
+ t.integer "updated_by_id", limit: 4
254
+ t.string "salt", limit: 255
255
+ t.text "notes", limit: 65535
256
+ t.integer "lock_version", limit: 4, default: 0
257
+ t.string "session_token", limit: 255
258
+ t.string "locale", limit: 255
259
+ t.string "password_reset_token", limit: 255
260
+ t.datetime "password_reset_sent_at"
261
+ t.integer "site_id", limit: 4
262
+ t.boolean "content_editor", default: true, null: false
260
263
  end
261
264
 
262
265
  end
@@ -2823,3 +2823,1097 @@ Command :: convert -version
2823
2823
   (0.1ms) RELEASE SAVEPOINT active_record_1
2824
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
2825
   (1.7ms) ROLLBACK
2826
+ Command :: convert -version
2827
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2828
+ Command :: convert -version
2829
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
2830
+  (0.5ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
2831
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT `schema_migrations`.* FROM `schema_migrations`
2832
+ Migrating to AddPositionToPages (20161027141250)
2833
+  (0.1ms) BEGIN
2834
+ SQL (6.0ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20161027141250')
2835
+  (12.1ms) COMMIT
2836
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
2837
+  (0.7ms) SELECT fk.referenced_table_name as 'to_table'
2838
+ ,fk.referenced_column_name as 'primary_key'
2839
+ ,fk.column_name as 'column'
2840
+ ,fk.constraint_name as 'name'
2841
+ FROM information_schema.key_column_usage fk
2842
+ WHERE fk.referenced_column_name is not null
2843
+ AND fk.table_schema = 'convoy_master_test'
2844
+ AND fk.table_name = 'api_keys'
2845
+ 
2846
+  (0.2ms) SHOW CREATE TABLE `api_keys`
2847
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2848
+ ,fk.referenced_column_name as 'primary_key'
2849
+ ,fk.column_name as 'column'
2850
+ ,fk.constraint_name as 'name'
2851
+ FROM information_schema.key_column_usage fk
2852
+ WHERE fk.referenced_column_name is not null
2853
+ AND fk.table_schema = 'convoy_master_test'
2854
+ AND fk.table_name = 'assets'
2855
+ 
2856
+  (0.1ms) SHOW CREATE TABLE `assets`
2857
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2858
+ ,fk.referenced_column_name as 'primary_key'
2859
+ ,fk.column_name as 'column'
2860
+ ,fk.constraint_name as 'name'
2861
+ FROM information_schema.key_column_usage fk
2862
+ WHERE fk.referenced_column_name is not null
2863
+ AND fk.table_schema = 'convoy_master_test'
2864
+ AND fk.table_name = 'config'
2865
+ 
2866
+  (0.1ms) SHOW CREATE TABLE `config`
2867
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2868
+ ,fk.referenced_column_name as 'primary_key'
2869
+ ,fk.column_name as 'column'
2870
+ ,fk.constraint_name as 'name'
2871
+ FROM information_schema.key_column_usage fk
2872
+ WHERE fk.referenced_column_name is not null
2873
+ AND fk.table_schema = 'convoy_master_test'
2874
+ AND fk.table_name = 'extension_meta'
2875
+ 
2876
+  (0.1ms) SHOW CREATE TABLE `extension_meta`
2877
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2878
+ ,fk.referenced_column_name as 'primary_key'
2879
+ ,fk.column_name as 'column'
2880
+ ,fk.constraint_name as 'name'
2881
+ FROM information_schema.key_column_usage fk
2882
+ WHERE fk.referenced_column_name is not null
2883
+ AND fk.table_schema = 'convoy_master_test'
2884
+ AND fk.table_name = 'facility_days_open'
2885
+ 
2886
+  (0.1ms) SHOW CREATE TABLE `facility_days_open`
2887
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2888
+ ,fk.referenced_column_name as 'primary_key'
2889
+ ,fk.column_name as 'column'
2890
+ ,fk.constraint_name as 'name'
2891
+ FROM information_schema.key_column_usage fk
2892
+ WHERE fk.referenced_column_name is not null
2893
+ AND fk.table_schema = 'convoy_master_test'
2894
+ AND fk.table_name = 'flex_package_details'
2895
+ 
2896
+  (0.2ms) SHOW CREATE TABLE `flex_package_details`
2897
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2898
+ ,fk.referenced_column_name as 'primary_key'
2899
+ ,fk.column_name as 'column'
2900
+ ,fk.constraint_name as 'name'
2901
+ FROM information_schema.key_column_usage fk
2902
+ WHERE fk.referenced_column_name is not null
2903
+ AND fk.table_schema = 'convoy_master_test'
2904
+ AND fk.table_name = 'flex_simple_zone_templates'
2905
+ 
2906
+  (0.1ms) SHOW CREATE TABLE `flex_simple_zone_templates`
2907
+  (0.1ms) SELECT fk.referenced_table_name as 'to_table'
2908
+ ,fk.referenced_column_name as 'primary_key'
2909
+ ,fk.column_name as 'column'
2910
+ ,fk.constraint_name as 'name'
2911
+ FROM information_schema.key_column_usage fk
2912
+ WHERE fk.referenced_column_name is not null
2913
+ AND fk.table_schema = 'convoy_master_test'
2914
+ AND fk.table_name = 'forced_add_ons'
2915
+ 
2916
+  (0.1ms) SHOW CREATE TABLE `forced_add_ons`
2917
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2918
+ ,fk.referenced_column_name as 'primary_key'
2919
+ ,fk.column_name as 'column'
2920
+ ,fk.constraint_name as 'name'
2921
+ FROM information_schema.key_column_usage fk
2922
+ WHERE fk.referenced_column_name is not null
2923
+ AND fk.table_schema = 'convoy_master_test'
2924
+ AND fk.table_name = 'gift_certificate_types'
2925
+ 
2926
+  (0.1ms) SHOW CREATE TABLE `gift_certificate_types`
2927
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2928
+ ,fk.referenced_column_name as 'primary_key'
2929
+ ,fk.column_name as 'column'
2930
+ ,fk.constraint_name as 'name'
2931
+ FROM information_schema.key_column_usage fk
2932
+ WHERE fk.referenced_column_name is not null
2933
+ AND fk.table_schema = 'convoy_master_test'
2934
+ AND fk.table_name = 'gift_certificate_types_sites'
2935
+ 
2936
+  (0.1ms) SHOW CREATE TABLE `gift_certificate_types_sites`
2937
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2938
+ ,fk.referenced_column_name as 'primary_key'
2939
+ ,fk.column_name as 'column'
2940
+ ,fk.constraint_name as 'name'
2941
+ FROM information_schema.key_column_usage fk
2942
+ WHERE fk.referenced_column_name is not null
2943
+ AND fk.table_schema = 'convoy_master_test'
2944
+ AND fk.table_name = 'layouts'
2945
+ 
2946
+  (0.2ms) SHOW CREATE TABLE `layouts`
2947
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2948
+ ,fk.referenced_column_name as 'primary_key'
2949
+ ,fk.column_name as 'column'
2950
+ ,fk.constraint_name as 'name'
2951
+ FROM information_schema.key_column_usage fk
2952
+ WHERE fk.referenced_column_name is not null
2953
+ AND fk.table_schema = 'convoy_master_test'
2954
+ AND fk.table_name = 'non_ticketed_performances'
2955
+ 
2956
+  (0.2ms) SHOW CREATE TABLE `non_ticketed_performances`
2957
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2958
+ ,fk.referenced_column_name as 'primary_key'
2959
+ ,fk.column_name as 'column'
2960
+ ,fk.constraint_name as 'name'
2961
+ FROM information_schema.key_column_usage fk
2962
+ WHERE fk.referenced_column_name is not null
2963
+ AND fk.table_schema = 'convoy_master_test'
2964
+ AND fk.table_name = 'package_details'
2965
+ 
2966
+  (0.2ms) SHOW CREATE TABLE `package_details`
2967
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2968
+ ,fk.referenced_column_name as 'primary_key'
2969
+ ,fk.column_name as 'column'
2970
+ ,fk.constraint_name as 'name'
2971
+ FROM information_schema.key_column_usage fk
2972
+ WHERE fk.referenced_column_name is not null
2973
+ AND fk.table_schema = 'convoy_master_test'
2974
+ AND fk.table_name = 'package_details_add_on_productions'
2975
+ 
2976
+  (0.2ms) SHOW CREATE TABLE `package_details_add_on_productions`
2977
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2978
+ ,fk.referenced_column_name as 'primary_key'
2979
+ ,fk.column_name as 'column'
2980
+ ,fk.constraint_name as 'name'
2981
+ FROM information_schema.key_column_usage fk
2982
+ WHERE fk.referenced_column_name is not null
2983
+ AND fk.table_schema = 'convoy_master_test'
2984
+ AND fk.table_name = 'package_pages_performances'
2985
+ 
2986
+  (0.1ms) SHOW CREATE TABLE `package_pages_performances`
2987
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2988
+ ,fk.referenced_column_name as 'primary_key'
2989
+ ,fk.column_name as 'column'
2990
+ ,fk.constraint_name as 'name'
2991
+ FROM information_schema.key_column_usage fk
2992
+ WHERE fk.referenced_column_name is not null
2993
+ AND fk.table_schema = 'convoy_master_test'
2994
+ AND fk.table_name = 'page_attachments'
2995
+ 
2996
+  (0.1ms) SHOW CREATE TABLE `page_attachments`
2997
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
2998
+ ,fk.referenced_column_name as 'primary_key'
2999
+ ,fk.column_name as 'column'
3000
+ ,fk.constraint_name as 'name'
3001
+ FROM information_schema.key_column_usage fk
3002
+ WHERE fk.referenced_column_name is not null
3003
+ AND fk.table_schema = 'convoy_master_test'
3004
+ AND fk.table_name = 'page_fields'
3005
+ 
3006
+  (0.1ms) SHOW CREATE TABLE `page_fields`
3007
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3008
+ ,fk.referenced_column_name as 'primary_key'
3009
+ ,fk.column_name as 'column'
3010
+ ,fk.constraint_name as 'name'
3011
+ FROM information_schema.key_column_usage fk
3012
+ WHERE fk.referenced_column_name is not null
3013
+ AND fk.table_schema = 'convoy_master_test'
3014
+ AND fk.table_name = 'page_parts'
3015
+ 
3016
+  (0.1ms) SHOW CREATE TABLE `page_parts`
3017
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3018
+ ,fk.referenced_column_name as 'primary_key'
3019
+ ,fk.column_name as 'column'
3020
+ ,fk.constraint_name as 'name'
3021
+ FROM information_schema.key_column_usage fk
3022
+ WHERE fk.referenced_column_name is not null
3023
+ AND fk.table_schema = 'convoy_master_test'
3024
+ AND fk.table_name = 'pages'
3025
+ 
3026
+  (0.2ms) SHOW CREATE TABLE `pages`
3027
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3028
+ ,fk.referenced_column_name as 'primary_key'
3029
+ ,fk.column_name as 'column'
3030
+ ,fk.constraint_name as 'name'
3031
+ FROM information_schema.key_column_usage fk
3032
+ WHERE fk.referenced_column_name is not null
3033
+ AND fk.table_schema = 'convoy_master_test'
3034
+ AND fk.table_name = 'performance_groups'
3035
+ 
3036
+  (0.1ms) SHOW CREATE TABLE `performance_groups`
3037
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3038
+ ,fk.referenced_column_name as 'primary_key'
3039
+ ,fk.column_name as 'column'
3040
+ ,fk.constraint_name as 'name'
3041
+ FROM information_schema.key_column_usage fk
3042
+ WHERE fk.referenced_column_name is not null
3043
+ AND fk.table_schema = 'convoy_master_test'
3044
+ AND fk.table_name = 'performances'
3045
+ 
3046
+  (0.1ms) SHOW CREATE TABLE `performances`
3047
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3048
+ ,fk.referenced_column_name as 'primary_key'
3049
+ ,fk.column_name as 'column'
3050
+ ,fk.constraint_name as 'name'
3051
+ FROM information_schema.key_column_usage fk
3052
+ WHERE fk.referenced_column_name is not null
3053
+ AND fk.table_schema = 'convoy_master_test'
3054
+ AND fk.table_name = 'performances_and_performance_groups'
3055
+ 
3056
+  (0.1ms) SHOW CREATE TABLE `performances_and_performance_groups`
3057
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3058
+ ,fk.referenced_column_name as 'primary_key'
3059
+ ,fk.column_name as 'column'
3060
+ ,fk.constraint_name as 'name'
3061
+ FROM information_schema.key_column_usage fk
3062
+ WHERE fk.referenced_column_name is not null
3063
+ AND fk.table_schema = 'convoy_master_test'
3064
+ AND fk.table_name = 'presenters'
3065
+ 
3066
+  (0.2ms) SHOW CREATE TABLE `presenters`
3067
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3068
+ ,fk.referenced_column_name as 'primary_key'
3069
+ ,fk.column_name as 'column'
3070
+ ,fk.constraint_name as 'name'
3071
+ FROM information_schema.key_column_usage fk
3072
+ WHERE fk.referenced_column_name is not null
3073
+ AND fk.table_schema = 'convoy_master_test'
3074
+ AND fk.table_name = 'production_people'
3075
+ 
3076
+  (0.1ms) SHOW CREATE TABLE `production_people`
3077
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3078
+ ,fk.referenced_column_name as 'primary_key'
3079
+ ,fk.column_name as 'column'
3080
+ ,fk.constraint_name as 'name'
3081
+ FROM information_schema.key_column_usage fk
3082
+ WHERE fk.referenced_column_name is not null
3083
+ AND fk.table_schema = 'convoy_master_test'
3084
+ AND fk.table_name = 'related_sections'
3085
+ 
3086
+  (0.1ms) SHOW CREATE TABLE `related_sections`
3087
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3088
+ ,fk.referenced_column_name as 'primary_key'
3089
+ ,fk.column_name as 'column'
3090
+ ,fk.constraint_name as 'name'
3091
+ FROM information_schema.key_column_usage fk
3092
+ WHERE fk.referenced_column_name is not null
3093
+ AND fk.table_schema = 'convoy_master_test'
3094
+ AND fk.table_name = 'renewal_pages'
3095
+ 
3096
+  (0.1ms) SHOW CREATE TABLE `renewal_pages`
3097
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3098
+ ,fk.referenced_column_name as 'primary_key'
3099
+ ,fk.column_name as 'column'
3100
+ ,fk.constraint_name as 'name'
3101
+ FROM information_schema.key_column_usage fk
3102
+ WHERE fk.referenced_column_name is not null
3103
+ AND fk.table_schema = 'convoy_master_test'
3104
+ AND fk.table_name = 'seasons'
3105
+ 
3106
+  (0.1ms) SHOW CREATE TABLE `seasons`
3107
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3108
+ ,fk.referenced_column_name as 'primary_key'
3109
+ ,fk.column_name as 'column'
3110
+ ,fk.constraint_name as 'name'
3111
+ FROM information_schema.key_column_usage fk
3112
+ WHERE fk.referenced_column_name is not null
3113
+ AND fk.table_schema = 'convoy_master_test'
3114
+ AND fk.table_name = 'sessions'
3115
+ 
3116
+  (0.1ms) SHOW CREATE TABLE `sessions`
3117
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3118
+ ,fk.referenced_column_name as 'primary_key'
3119
+ ,fk.column_name as 'column'
3120
+ ,fk.constraint_name as 'name'
3121
+ FROM information_schema.key_column_usage fk
3122
+ WHERE fk.referenced_column_name is not null
3123
+ AND fk.table_schema = 'convoy_master_test'
3124
+ AND fk.table_name = 'sites'
3125
+ 
3126
+  (0.2ms) SHOW CREATE TABLE `sites`
3127
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3128
+ ,fk.referenced_column_name as 'primary_key'
3129
+ ,fk.column_name as 'column'
3130
+ ,fk.constraint_name as 'name'
3131
+ FROM information_schema.key_column_usage fk
3132
+ WHERE fk.referenced_column_name is not null
3133
+ AND fk.table_schema = 'convoy_master_test'
3134
+ AND fk.table_name = 'snippets'
3135
+ 
3136
+  (0.2ms) SHOW CREATE TABLE `snippets`
3137
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3138
+ ,fk.referenced_column_name as 'primary_key'
3139
+ ,fk.column_name as 'column'
3140
+ ,fk.constraint_name as 'name'
3141
+ FROM information_schema.key_column_usage fk
3142
+ WHERE fk.referenced_column_name is not null
3143
+ AND fk.table_schema = 'convoy_master_test'
3144
+ AND fk.table_name = 'sync_logs'
3145
+ 
3146
+  (0.1ms) SHOW CREATE TABLE `sync_logs`
3147
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3148
+ ,fk.referenced_column_name as 'primary_key'
3149
+ ,fk.column_name as 'column'
3150
+ ,fk.constraint_name as 'name'
3151
+ FROM information_schema.key_column_usage fk
3152
+ WHERE fk.referenced_column_name is not null
3153
+ AND fk.table_schema = 'convoy_master_test'
3154
+ AND fk.table_name = 'users'
3155
+ 
3156
+  (0.1ms) SHOW CREATE TABLE `users`
3157
+  (0.3ms) SELECT schema_version FROM extension_meta WHERE name = 'Layouts'
3158
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Snippets'
3159
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Multi Site'
3160
+  (0.2ms) SELECT version FROM schema_migrations
3161
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Clipped'
3162
+  (0.7ms) SELECT version FROM schema_migrations WHERE version LIKE 'Paperclipped-%'
3163
+  (0.3ms) SELECT version FROM schema_migrations
3164
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Rad Social'
3165
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
3166
+ Migrating to AddSiteFields (20150123175758)
3167
+  (63.8ms) ALTER TABLE `sites` ADD `festivity_start_date` date
3168
+  (18.5ms) ALTER TABLE `sites` ADD `festivity_end_date` date
3169
+  (15.6ms) ALTER TABLE `sites` ADD `festivity_festival_name` varchar(255)
3170
+  (13.7ms) ALTER TABLE `sites` ADD `festivity_google_api_key` varchar(255)
3171
+  (0.1ms) BEGIN
3172
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150123175758')
3173
+  (0.6ms) COMMIT
3174
+ Migrating to UpdateSiteForHourlyFilters (20151018190155)
3175
+  (25.9ms) ALTER TABLE `sites` CHANGE `festivity_start_date` `festivity_start_date` datetime DEFAULT NULL
3176
+  (15.8ms) ALTER TABLE `sites` CHANGE `festivity_end_date` `festivity_end_date` datetime DEFAULT NULL
3177
+  (56.6ms) ALTER TABLE `sites` ADD `festivity_filter_type` varchar(255)
3178
+  (0.1ms) BEGIN
3179
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20151018190155')
3180
+  (0.4ms) COMMIT
3181
+ Migrating to AddBuyTicketTextToSite (20151105155407)
3182
+  (36.2ms) ALTER TABLE `sites` ADD `festivity_buy_ticket_text` varchar(255) DEFAULT 'Buy Tickets'
3183
+  (0.1ms) BEGIN
3184
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20151105155407')
3185
+  (0.5ms) COMMIT
3186
+ Migrating to AddBaseEventFields (20150127090858995)
3187
+  (98.2ms) ALTER TABLE `pages` ADD `short_description` varchar(255)
3188
+  (59.8ms) ALTER TABLE `pages` ADD `artist_twitter` varchar(255)
3189
+  (57.8ms) ALTER TABLE `pages` ADD `artist_facebook` varchar(255)
3190
+  (100.1ms) ALTER TABLE `pages` ADD `artist_instagram` varchar(255)
3191
+  (70.7ms) ALTER TABLE `pages` ADD `artist_homepage` varchar(255)
3192
+  (34.4ms) ALTER TABLE `pages` ADD `header` varchar(255)
3193
+  (29.4ms) ALTER TABLE `pages` ADD `sub_header` varchar(255)
3194
+  (1.4ms) ALTER TABLE `pages` ADD `redirect_url` varchar(255)
3195
+  (29.9ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
3196
+  (34.9ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
3197
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
3198
+ Migrating to CreateRadiantTables (1)
3199
+  (25.8ms) CREATE TABLE `config` (`id` int(11) auto_increment PRIMARY KEY, `key` varchar(40) DEFAULT '' NOT NULL, `value` varchar(255) DEFAULT '') ENGINE=InnoDB
3200
+  (14.5ms) CREATE UNIQUE INDEX `key` ON `config` (`key`) 
3201
+  (9.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
3202
+  (6.6ms) 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
3203
+  (6.2ms) 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
3204
+  (9.2ms) CREATE UNIQUE INDEX `name` ON `snippets` (`name`) 
3205
+  (7.2ms) 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
3206
+  (6.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
3207
+  (13.4ms) CREATE UNIQUE INDEX `login` ON `users` (`login`)
3208
+  (0.2ms) BEGIN
3209
+ SQL (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('1')
3210
+  (5.4ms) COMMIT
3211
+ Migrating to InsertInitialData (2)
3212
+  (0.1ms) BEGIN
3213
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('2')
3214
+  (5.9ms) COMMIT
3215
+ Migrating to RenameFilterColumn (4)
3216
+  (6.6ms) ALTER TABLE `page_parts` CHANGE `filter` `filter_id` varchar(25) DEFAULT NULL
3217
+  (5.3ms) ALTER TABLE `snippets` CHANGE `filter` `filter_id` varchar(25) DEFAULT NULL
3218
+  (0.1ms) BEGIN
3219
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('4')
3220
+  (0.2ms) COMMIT
3221
+ Migrating to AddVirtualColumnToPage (5)
3222
+  (36.7ms) ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT 0 NOT NULL
3223
+  (0.1ms) BEGIN
3224
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('5')
3225
+  (0.3ms) COMMIT
3226
+ Migrating to RemoveVirtualColumnFromPage (7)
3227
+  (33.2ms) ALTER TABLE `pages` DROP `virtual`
3228
+  (0.1ms) BEGIN
3229
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('7')
3230
+  (0.3ms) COMMIT
3231
+ Migrating to AddVirtualColumnToPageAgain (8)
3232
+  (35.7ms) ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT 0 NOT NULL
3233
+  (0.1ms) BEGIN
3234
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('8')
3235
+  (0.2ms) COMMIT
3236
+ Migrating to AddContentTypeFieldToLayout (9)
3237
+  (32.1ms) ALTER TABLE `layouts` ADD `content_type` varchar(40)
3238
+  (0.1ms) BEGIN
3239
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('9')
3240
+  (0.2ms) COMMIT
3241
+ Migrating to CreateExtensionMeta (12)
3242
+  (29.9ms) 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
3243
+  (0.1ms) BEGIN
3244
+ SQL (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('12')
3245
+  (0.2ms) COMMIT
3246
+ Migrating to AddNotesFieldToUser (13)
3247
+  (38.4ms) ALTER TABLE `users` ADD `notes` text
3248
+  (0.2ms) BEGIN
3249
+ SQL (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('13')
3250
+  (0.4ms) COMMIT
3251
+ Migrating to RenameConfigDefaultPartsKey (14)
3252
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'default.parts' LIMIT 1
3253
+  (0.1ms) BEGIN
3254
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('14')
3255
+  (5.9ms) COMMIT
3256
+ Migrating to AddOptimisticLocking (15)
3257
+  (46.2ms) ALTER TABLE `pages` ADD `lock_version` int(11) DEFAULT 0
3258
+  (14.8ms) ALTER TABLE `layouts` ADD `lock_version` int(11) DEFAULT 0
3259
+  (17.8ms) ALTER TABLE `snippets` ADD `lock_version` int(11) DEFAULT 0
3260
+  (16.6ms) ALTER TABLE `users` ADD `lock_version` int(11) DEFAULT 0
3261
+  (0.1ms) BEGIN
3262
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('15')
3263
+  (0.2ms) COMMIT
3264
+ Migrating to AddSessions (16)
3265
+  (26.5ms) CREATE TABLE `sessions` (`id` int(11) auto_increment PRIMARY KEY, `session_id` varchar(255), `data` text, `updated_at` datetime) ENGINE=InnoDB
3266
+  (11.2ms) CREATE INDEX `index_sessions_on_session_id` ON `sessions` (`session_id`)
3267
+  (11.2ms) CREATE INDEX `index_sessions_on_updated_at` ON `sessions` (`updated_at`) 
3268
+  (0.1ms) BEGIN
3269
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('16')
3270
+  (0.3ms) COMMIT
3271
+ Migrating to RenameCreatedByUpdatedByColumns (17)
3272
+  (6.6ms) ALTER TABLE `pages` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
3273
+  (6.1ms) ALTER TABLE `pages` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
3274
+  (7.6ms) ALTER TABLE `snippets` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
3275
+  (5.9ms) ALTER TABLE `snippets` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
3276
+  (5.6ms) ALTER TABLE `layouts` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
3277
+  (5.6ms) ALTER TABLE `layouts` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
3278
+  (6.1ms) ALTER TABLE `users` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
3279
+  (5.7ms) ALTER TABLE `users` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
3280
+  (0.1ms) BEGIN
3281
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('17')
3282
+  (0.3ms) COMMIT
3283
+ Migrating to AddDescriptionAndKeywordsToPages (18)
3284
+  (33.9ms) ALTER TABLE `pages` ADD `description` varchar(255)
3285
+  (12.8ms) ALTER TABLE `pages` ADD `keywords` varchar(255)
3286
+  (0.1ms) BEGIN
3287
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('18')
3288
+  (0.5ms) COMMIT
3289
+ Migrating to AddSessionInfoToUsers (20)
3290
+  (40.9ms) ALTER TABLE `users` ADD `session_token` varchar(255)
3291
+  (19.1ms) ALTER TABLE `users` ADD `session_expire` datetime
3292
+  (0.1ms) BEGIN
3293
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20')
3294
+  (0.6ms) COMMIT
3295
+ Migrating to RemoveSessionExpireFromUsers (21)
3296
+  (39.0ms) ALTER TABLE `users` DROP `session_expire`
3297
+  (0.2ms) BEGIN
3298
+ SQL (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('21')
3299
+  (0.7ms) COMMIT
3300
+ Migrating to AddIndexes (20081203140407)
3301
+  (27.7ms) CREATE INDEX `pages_class_name` ON `pages` (`class_name`)
3302
+  (12.1ms) CREATE INDEX `pages_parent_id` ON `pages` (`parent_id`) 
3303
+  (11.2ms) CREATE INDEX `pages_child_slug` ON `pages` (`slug`, `parent_id`)
3304
+  (11.7ms) CREATE INDEX `pages_published` ON `pages` (`virtual`, `status_id`) 
3305
+  (12.6ms) CREATE INDEX `parts_by_page` ON `page_parts` (`page_id`, `name`)
3306
+  (0.1ms) BEGIN
3307
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20081203140407')
3308
+  (0.2ms) COMMIT
3309
+ Migrating to AddUserLanguage (20090226140109)
3310
+  (37.9ms) ALTER TABLE `users` ADD `language` varchar(255)
3311
+  (0.1ms) BEGIN
3312
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20090226140109')
3313
+  (0.5ms) COMMIT
3314
+ Migrating to RenameDeveloperRoleToDesigner (20090929164633)
3315
+  (7.7ms) ALTER TABLE `users` CHANGE `developer` `designer` tinyint(1) DEFAULT '0' NOT NULL
3316
+  (0.1ms) BEGIN
3317
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20090929164633')
3318
+  (0.2ms) COMMIT
3319
+ Migrating to ChangeUserLanguageToLocale (20091003095744)
3320
+  (5.9ms) ALTER TABLE `users` CHANGE `language` `locale` varchar(255) DEFAULT NULL
3321
+  (0.1ms) BEGIN
3322
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20091003095744')
3323
+  (0.4ms) COMMIT
3324
+ Migrating to AddPageFields (20100805154952)
3325
+  (27.4ms) CREATE TABLE `page_fields` (`id` int(11) auto_increment PRIMARY KEY, `page_id` int(11), `name` varchar(255), `content` varchar(255)) ENGINE=InnoDB
3326
+  (11.9ms) CREATE INDEX `index_page_fields_on_page_id` ON `page_fields` (`page_id`) 
3327
+  (0.1ms) BEGIN
3328
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20100805154952')
3329
+  (0.2ms) COMMIT
3330
+ Migrating to ConvertPageMetas (20100805155020)
3331
+  (50.5ms) ALTER TABLE `pages` DROP `keywords`
3332
+  (31.4ms) ALTER TABLE `pages` DROP `description`
3333
+  (0.1ms) BEGIN
3334
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20100805155020')
3335
+  (0.6ms) COMMIT
3336
+ Migrating to AddFieldNameIndex (20100810151922)
3337
+  (27.4ms) DROP INDEX `index_page_fields_on_page_id` ON `page_fields`
3338
+  (11.1ms) CREATE INDEX `index_page_fields_on_page_id_and_name_and_content` ON `page_fields` (`page_id`, `name`, `content`) 
3339
+  (0.1ms) BEGIN
3340
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20100810151922')
3341
+  (0.4ms) COMMIT
3342
+ Migrating to AddAllowedChildrenCacheToPages (20110902203823)
3343
+  (42.3ms) ALTER TABLE `pages` ADD `allowed_children_cache` text
3344
+  (0.1ms) BEGIN
3345
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20110902203823')
3346
+  (0.3ms) COMMIT
3347
+ Migrating to ExtendPagePartContentLimit (20111016150725)
3348
+  (13.7ms) ALTER TABLE `page_parts` CHANGE `content` `content` mediumtext DEFAULT NULL
3349
+  (0.2ms) BEGIN
3350
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20111016150725')
3351
+  (0.3ms) COMMIT
3352
+ Migrating to ChangePagesAllowedChildrenCacheToText (20120209231801)
3353
+  (11.1ms) ALTER TABLE `pages` CHANGE `allowed_children_cache` `allowed_children_cache` text DEFAULT NULL
3354
+  (0.1ms) BEGIN
3355
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20120209231801')
3356
+  (0.3ms) COMMIT
3357
+ Migrating to AddPasswordResetToUsers (20160527141249)
3358
+  (37.1ms) ALTER TABLE `users` ADD `password_reset_token` varchar(255)
3359
+  (16.1ms) ALTER TABLE `users` ADD `password_reset_sent_at` datetime
3360
+  (0.1ms) BEGIN
3361
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20160527141249')
3362
+  (0.5ms) COMMIT
3363
+ Migrating to AddPositionToPages (20161027141250)
3364
+  (26.4ms) ALTER TABLE `pages` ADD `position` int(11)
3365
+ Page Load (0.3ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` IS NULL ORDER BY position ASC
3366
+  (0.1ms) BEGIN
3367
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20161027141250')
3368
+  (0.5ms) COMMIT
3369
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
3370
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3371
+ ,fk.referenced_column_name as 'primary_key'
3372
+ ,fk.column_name as 'column'
3373
+ ,fk.constraint_name as 'name'
3374
+ FROM information_schema.key_column_usage fk
3375
+ WHERE fk.referenced_column_name is not null
3376
+ AND fk.table_schema = 'convoy_master_test'
3377
+ AND fk.table_name = 'config'
3378
+
3379
+  (0.1ms) SHOW CREATE TABLE `config`
3380
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3381
+ ,fk.referenced_column_name as 'primary_key'
3382
+ ,fk.column_name as 'column'
3383
+ ,fk.constraint_name as 'name'
3384
+ FROM information_schema.key_column_usage fk
3385
+ WHERE fk.referenced_column_name is not null
3386
+ AND fk.table_schema = 'convoy_master_test'
3387
+ AND fk.table_name = 'extension_meta'
3388
+
3389
+  (0.1ms) SHOW CREATE TABLE `extension_meta`
3390
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3391
+ ,fk.referenced_column_name as 'primary_key'
3392
+ ,fk.column_name as 'column'
3393
+ ,fk.constraint_name as 'name'
3394
+ FROM information_schema.key_column_usage fk
3395
+ WHERE fk.referenced_column_name is not null
3396
+ AND fk.table_schema = 'convoy_master_test'
3397
+ AND fk.table_name = 'layouts'
3398
+
3399
+  (0.1ms) SHOW CREATE TABLE `layouts`
3400
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3401
+ ,fk.referenced_column_name as 'primary_key'
3402
+ ,fk.column_name as 'column'
3403
+ ,fk.constraint_name as 'name'
3404
+ FROM information_schema.key_column_usage fk
3405
+ WHERE fk.referenced_column_name is not null
3406
+ AND fk.table_schema = 'convoy_master_test'
3407
+ AND fk.table_name = 'page_fields'
3408
+
3409
+  (0.1ms) SHOW CREATE TABLE `page_fields`
3410
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3411
+ ,fk.referenced_column_name as 'primary_key'
3412
+ ,fk.column_name as 'column'
3413
+ ,fk.constraint_name as 'name'
3414
+ FROM information_schema.key_column_usage fk
3415
+ WHERE fk.referenced_column_name is not null
3416
+ AND fk.table_schema = 'convoy_master_test'
3417
+ AND fk.table_name = 'page_parts'
3418
+
3419
+  (0.2ms) SHOW CREATE TABLE `page_parts`
3420
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3421
+ ,fk.referenced_column_name as 'primary_key'
3422
+ ,fk.column_name as 'column'
3423
+ ,fk.constraint_name as 'name'
3424
+ FROM information_schema.key_column_usage fk
3425
+ WHERE fk.referenced_column_name is not null
3426
+ AND fk.table_schema = 'convoy_master_test'
3427
+ AND fk.table_name = 'pages'
3428
+
3429
+  (0.1ms) SHOW CREATE TABLE `pages`
3430
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3431
+ ,fk.referenced_column_name as 'primary_key'
3432
+ ,fk.column_name as 'column'
3433
+ ,fk.constraint_name as 'name'
3434
+ FROM information_schema.key_column_usage fk
3435
+ WHERE fk.referenced_column_name is not null
3436
+ AND fk.table_schema = 'convoy_master_test'
3437
+ AND fk.table_name = 'sessions'
3438
+
3439
+  (0.1ms) SHOW CREATE TABLE `sessions`
3440
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3441
+ ,fk.referenced_column_name as 'primary_key'
3442
+ ,fk.column_name as 'column'
3443
+ ,fk.constraint_name as 'name'
3444
+ FROM information_schema.key_column_usage fk
3445
+ WHERE fk.referenced_column_name is not null
3446
+ AND fk.table_schema = 'convoy_master_test'
3447
+ AND fk.table_name = 'snippets'
3448
+
3449
+  (0.1ms) SHOW CREATE TABLE `snippets`
3450
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3451
+ ,fk.referenced_column_name as 'primary_key'
3452
+ ,fk.column_name as 'column'
3453
+ ,fk.constraint_name as 'name'
3454
+ FROM information_schema.key_column_usage fk
3455
+ WHERE fk.referenced_column_name is not null
3456
+ AND fk.table_schema = 'convoy_master_test'
3457
+ AND fk.table_name = 'users'
3458
+
3459
+  (0.2ms) SHOW CREATE TABLE `users`
3460
+  (0.1ms) SELECT schema_version FROM extension_meta WHERE name = 'Layouts'
3461
+  (0.1ms) SELECT schema_version FROM extension_meta WHERE name = 'Snippets'
3462
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Multi Site'
3463
+  (0.2ms) SELECT version FROM schema_migrations
3464
+ Migrating to CreateSites (1)
3465
+  (26.3ms) CREATE TABLE `sites` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `domain` varchar(255), `homepage_id` int(11)) ENGINE=InnoDB
3466
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-1')
3467
+ Migrating to AddOrderToSites (2)
3468
+  (32.5ms) ALTER TABLE `sites` ADD `position` int(11) DEFAULT 0
3469
+  (0.7ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-2')
3470
+ Migrating to AddBaseDomainToSites (3)
3471
+  (33.0ms) ALTER TABLE `sites` ADD `base_domain` varchar(255)
3472
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-3')
3473
+ Migrating to AddAdminFieldsToSites (4)
3474
+  (32.1ms) ALTER TABLE `sites` ADD `created_by_id` int(11)
3475
+  (12.0ms) ALTER TABLE `sites` ADD `created_at` datetime
3476
+  (13.3ms) ALTER TABLE `sites` ADD `updated_by_id` int(11)
3477
+  (14.1ms) ALTER TABLE `sites` ADD `updated_at` datetime
3478
+  (12.5ms) ALTER TABLE `sites` ADD `subtitle` varchar(255)
3479
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-4')
3480
+ Migrating to AddSites (5)
3481
+  (34.8ms) ALTER TABLE `layouts` ADD `site_id` int(11)
3482
+  (18.5ms) ALTER TABLE `snippets` ADD `site_id` int(11)
3483
+  (16.2ms) ALTER TABLE `users` ADD `site_id` int(11)
3484
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-5')
3485
+ Migrating to RemoveUserLoginIndex (6)
3486
+  (27.7ms) DROP INDEX `login` ON `users`
3487
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-6')
3488
+ Migrating to SiteAbbreviation (20090810145840)
3489
+  (33.5ms) ALTER TABLE `sites` ADD `abbreviation` varchar(255)
3490
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-20090810145840')
3491
+ Migrating to RecreateNonUniqueIndexOnSnippetsName (201411031415046078)
3492
+  (24.8ms) DROP INDEX `name` ON `snippets`
3493
+  (10.0ms) CREATE UNIQUE INDEX `name_site_id` ON `snippets` (`name`, `site_id`) 
3494
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-201411031415046078')
3495
+ Migrating to AddSiteIdToPages (2015032011031415046078)
3496
+  (46.0ms) ALTER TABLE `pages` ADD `site_id` int(11)
3497
+  (12.7ms) CREATE INDEX `index_pages_on_site_id` ON `pages` (`site_id`)
3498
+ Site Load (0.2ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
3499
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Multi Site-2015032011031415046078')
3500
+  (0.2ms) SELECT schema_version FROM extension_meta WHERE name = 'Clipped'
3501
+  (0.2ms) SELECT version FROM schema_migrations WHERE version LIKE 'Paperclipped-%'
3502
+  (0.2ms) SELECT version FROM schema_migrations
3503
+ Migrating to CreateAssets (1)
3504
+  (29.2ms) CREATE TABLE `assets` (`id` int(11) auto_increment PRIMARY KEY, `caption` varchar(255), `title` varchar(255)) ENGINE=InnoDB
3505
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-1')
3506
+ Migrating to CreatePaperclipAttributes (2)
3507
+  (33.0ms) ALTER TABLE `assets` ADD `asset_file_name` varchar(255)
3508
+  (12.7ms) ALTER TABLE `assets` ADD `asset_content_type` varchar(255)
3509
+  (12.6ms) ALTER TABLE `assets` ADD `asset_file_size` int(11)
3510
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-2')
3511
+ Migrating to CreateUserObserver (3)
3512
+  (51.6ms) ALTER TABLE `assets` ADD `created_by` int(11)
3513
+  (14.9ms) ALTER TABLE `assets` ADD `updated_by` int(11)
3514
+  (14.0ms) ALTER TABLE `assets` ADD `created_at` datetime
3515
+  (13.7ms) ALTER TABLE `assets` ADD `updated_at` datetime
3516
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-3')
3517
+ Migrating to CreatePageAttachments (4)
3518
+  (25.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
3519
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-4')
3520
+ Migrating to RenameUsers (5)
3521
+  (6.3ms) ALTER TABLE `assets` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL
3522
+  (6.0ms) ALTER TABLE `assets` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
3523
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-5')
3524
+ Migrating to AssetUuid (20110513205050)
3525
+  (35.2ms) ALTER TABLE `assets` ADD `uuid` varchar(255)
3526
+ Asset Load (0.3ms) SELECT `assets`.* FROM `assets` ORDER BY created_at DESC
3527
+  (0.4ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-20110513205050')
3528
+ Migrating to UpdateConfiguration (20110606111250)
3529
+  (6.0ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-20110606111250')
3530
+ Migrating to Dimensions (20110609101438)
3531
+  (33.0ms) ALTER TABLE `assets` ADD `original_width` int(11)
3532
+  (17.0ms) ALTER TABLE `assets` ADD `original_height` int(11)
3533
+  (14.4ms) ALTER TABLE `assets` ADD `original_extension` varchar(255)
3534
+  (0.3ms) INSERT INTO schema_migrations (version) VALUES ('Clipped-20110609101438')
3535
+  (0.1ms) SELECT schema_version FROM extension_meta WHERE name = 'Rad Social'
3536
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT `schema_migrations`.* FROM `schema_migrations`
3537
+ Migrating to AddSiteFields (20150123175758)
3538
+  (34.3ms) ALTER TABLE `sites` ADD `festivity_start_date` date
3539
+  (12.8ms) ALTER TABLE `sites` ADD `festivity_end_date` date
3540
+  (12.6ms) ALTER TABLE `sites` ADD `festivity_festival_name` varchar(255)
3541
+  (14.0ms) ALTER TABLE `sites` ADD `festivity_google_api_key` varchar(255)
3542
+  (0.1ms) BEGIN
3543
+ SQL (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150123175758')
3544
+  (0.3ms) COMMIT
3545
+ Migrating to UpdateSiteForHourlyFilters (20151018190155)
3546
+  (15.8ms) ALTER TABLE `sites` CHANGE `festivity_start_date` `festivity_start_date` datetime DEFAULT NULL
3547
+  (10.1ms) ALTER TABLE `sites` CHANGE `festivity_end_date` `festivity_end_date` datetime DEFAULT NULL
3548
+  (12.3ms) ALTER TABLE `sites` ADD `festivity_filter_type` varchar(255)
3549
+  (0.1ms) BEGIN
3550
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20151018190155')
3551
+  (0.3ms) COMMIT
3552
+ Migrating to AddBuyTicketTextToSite (20151105155407)
3553
+  (35.8ms) ALTER TABLE `sites` ADD `festivity_buy_ticket_text` varchar(255) DEFAULT 'Buy Tickets'
3554
+  (0.1ms) BEGIN
3555
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20151105155407')
3556
+  (0.3ms) COMMIT
3557
+ Migrating to AddBaseEventFields (20150127090858995)
3558
+  (48.6ms) ALTER TABLE `pages` ADD `short_description` varchar(255)
3559
+  (34.1ms) ALTER TABLE `pages` ADD `artist_twitter` varchar(255)
3560
+  (32.6ms) ALTER TABLE `pages` ADD `artist_facebook` varchar(255)
3561
+  (30.0ms) ALTER TABLE `pages` ADD `artist_instagram` varchar(255)
3562
+  (48.0ms) ALTER TABLE `pages` ADD `artist_homepage` varchar(255)
3563
+  (30.4ms) ALTER TABLE `pages` ADD `header` varchar(255)
3564
+  (30.3ms) ALTER TABLE `pages` ADD `sub_header` varchar(255)
3565
+  (30.5ms) ALTER TABLE `pages` ADD `redirect_url` varchar(255)
3566
+  (0.1ms) BEGIN
3567
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150127090858995')
3568
+  (0.2ms) COMMIT
3569
+ Migrating to AddMarketAndEventFields (20150127091005232)
3570
+  (46.4ms) ALTER TABLE `pages` ADD `featured_item` tinyint(1)
3571
+  (29.4ms) ALTER TABLE `pages` ADD `buy_url` varchar(255)
3572
+  (28.3ms) ALTER TABLE `pages` ADD `booth_number` varchar(255)
3573
+  (36.1ms) ALTER TABLE `pages` ADD `area_id` int(11)
3574
+  (28.1ms) ALTER TABLE `pages` ADD `maket_start_date` date
3575
+  (28.4ms) ALTER TABLE `pages` ADD `market_end_date` date
3576
+  (0.1ms) BEGIN
3577
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150127091005232')
3578
+  (0.3ms) COMMIT
3579
+ Migrating to AddCategoryTypesTable (20150204113325731)
3580
+  (26.3ms) 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
3581
+  (0.1ms) BEGIN
3582
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150204113325731')
3583
+  (0.3ms) COMMIT
3584
+ Migrating to AddCategoriesTable (20150204113427832)
3585
+  (28.8ms) 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
3586
+  (0.1ms) BEGIN
3587
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150204113427832')
3588
+  (0.3ms) COMMIT
3589
+ Migrating to AddPageCategoriesTable (20150204113510326)
3590
+  (29.5ms) CREATE TABLE `festivity_page_categories` (`id` int(11) auto_increment PRIMARY KEY, `page_id` int(11), `festivity_category_id` int(11)) ENGINE=InnoDB
3591
+  (0.1ms) BEGIN
3592
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150204113510326')
3593
+  (0.7ms) COMMIT
3594
+ Migrating to AddLocationPageFields (20150226131727777)
3595
+  (45.9ms) ALTER TABLE `pages` ADD `festivity_address` varchar(255)
3596
+  (30.7ms) ALTER TABLE `pages` ADD `festivity_city` varchar(255)
3597
+  (34.4ms) ALTER TABLE `pages` ADD `festivity_state` varchar(255)
3598
+  (30.7ms) ALTER TABLE `pages` ADD `festivity_zip` varchar(255)
3599
+  (29.0ms) ALTER TABLE `pages` ADD `festivity_directions_url` varchar(255)
3600
+  (0.1ms) BEGIN
3601
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150226131727777')
3602
+  (0.4ms) COMMIT
3603
+ Migrating to AddPerformancesTable (20150302135485569)
3604
+  (29.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
3605
+  (0.1ms) BEGIN
3606
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150302135485569')
3607
+  (0.3ms) COMMIT
3608
+ Migrating to AddIndexes (20150324135487799)
3609
+  (31.8ms) CREATE INDEX `index_festivity_performances_on_event_page_id` ON `festivity_performances` (`event_page_id`) 
3610
+  (13.2ms) CREATE INDEX `index_festivity_performances_on_location_page_id` ON `festivity_performances` (`location_page_id`)
3611
+  (11.3ms) CREATE UNIQUE INDEX `event_categories` ON `festivity_page_categories` (`page_id`, `festivity_category_id`) 
3612
+  (0.1ms) BEGIN
3613
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20150324135487799')
3614
+  (0.3ms) COMMIT
3615
+ Migrating to AddEventPerformancesView (200150325136087799)
3616
+  (34.5ms)  CREATE OR REPLACE VIEW festivity_event_performances AS
3617
+ SELECT
3618
+ performance.id AS performance_id, performance.start_date, performance.end_date,
3619
+ event.id AS event_id, event.title AS event_title, event.short_description, event.buy_url,
3620
+ event.featured_item, event.header, event.sub_header, location.id as location_id,
3621
+ location.slug AS location_slug, location.title AS location_title, location.festivity_directions_url,
3622
+ area.id AS area_id, area.slug as area_slug, area.title AS area_title
3623
+ FROM festivity_performances performance
3624
+ INNER JOIN pages event
3625
+ ON event.id = performance.event_page_id
3626
+ INNER JOIN pages location
3627
+ ON location.id = performance.location_page_id
3628
+ INNER JOIN pages area
3629
+ ON area.id = location.parent_id
3630
+ 
3631
+  (0.1ms) BEGIN
3632
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('200150325136087799')
3633
+  (0.3ms) COMMIT
3634
+ Migrating to UpdateEventPerformancesViewWithSite (200150425136087799)
3635
+  (10.9ms)  CREATE OR REPLACE VIEW festivity_event_performances AS
3636
+ SELECT
3637
+ performance.id AS performance_id, performance.start_date, performance.end_date,
3638
+ event.id AS event_id, event.title AS event_title, event.short_description, event.buy_url,
3639
+ event.featured_item, event.header, event.sub_header, event.site_id, location.id as location_id,
3640
+ location.slug AS location_slug, location.title AS location_title, location.festivity_directions_url,
3641
+ area.id AS area_id, area.slug as area_slug, area.title AS area_title
3642
+ FROM festivity_performances performance
3643
+ INNER JOIN pages event
3644
+ ON event.id = performance.event_page_id
3645
+ INNER JOIN pages location
3646
+ ON location.id = performance.location_page_id
3647
+ INNER JOIN pages area
3648
+ ON area.id = location.parent_id
3649
+ 
3650
+  (0.1ms) BEGIN
3651
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('200150425136087799')
3652
+  (6.0ms) COMMIT
3653
+ Migrating to CreateVanityUrlPages (201601231255101234)
3654
+  (47.1ms) ALTER TABLE `pages` ADD `vanity_url` varchar(255)
3655
+  (32.8ms) ALTER TABLE `pages` ADD `target_url` varchar(255)
3656
+  (0.1ms) BEGIN
3657
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201601231255101234')
3658
+  (0.5ms) COMMIT
3659
+ Migrating to AddHideFromSubnavToPages (201603212551012359)
3660
+  (44.0ms) ALTER TABLE `pages` ADD `hide_from_subnav` tinyint(1) DEFAULT 0
3661
+  (0.1ms) BEGIN
3662
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201603212551012359')
3663
+  (0.3ms) COMMIT
3664
+ Migrating to FixTypoInMarketStart (201604025593337427)
3665
+  (12.7ms) ALTER TABLE `pages` CHANGE `maket_start_date` `market_start_date` date DEFAULT NULL
3666
+  (0.1ms) BEGIN
3667
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201604025593337427')
3668
+  (0.3ms) COMMIT
3669
+ Migrating to AddMarketDetailsView (201604031236563245)
3670
+  (10.5ms) CREATE OR REPLACE VIEW festivity_market_details AS
3671
+ SELECT
3672
+ market.id AS market_id, market.title AS market_title, market.short_description,
3673
+ market.header, market.sub_header, market.site_id,
3674
+ market.market_start_date as start_date, market.market_end_date as end_date,
3675
+ area.id AS area_id, area.slug as area_slug, area.title AS area_title
3676
+ FROM pages market
3677
+ INNER JOIN pages area
3678
+ ON area.id = market.area_id
3679
+
3680
+  (0.1ms) BEGIN
3681
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201604031236563245')
3682
+  (6.1ms) COMMIT
3683
+ Migrating to ChangeMarketDatesToDatetime (201604031638542262)
3684
+  (52.2ms) ALTER TABLE `pages` DROP `market_start_date`
3685
+  (29.2ms) ALTER TABLE `pages` DROP `market_end_date`
3686
+  (46.3ms) ALTER TABLE `pages` ADD `market_start_date` datetime
3687
+  (37.5ms) ALTER TABLE `pages` ADD `market_end_date` datetime
3688
+  (0.1ms) BEGIN
3689
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201604031638542262')
3690
+  (0.2ms) COMMIT
3691
+ Migrating to AddSocialMediaTagsToSites (201604261638542263)
3692
+  (34.3ms) ALTER TABLE `sites` ADD `social_media_tag` varchar(255)
3693
+  (0.1ms) BEGIN
3694
+ SQL (0.1ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201604261638542263')
3695
+  (0.2ms) COMMIT
3696
+ Migrating to AddContentEditorToUsers (201610284484312496)
3697
+  (35.7ms) ALTER TABLE `users` ADD `content_editor` tinyint(1) DEFAULT 1 NOT NULL
3698
+  (0.1ms) BEGIN
3699
+ SQL (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('201610284484312496')
3700
+  (0.3ms) COMMIT
3701
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
3702
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3703
+ ,fk.referenced_column_name as 'primary_key'
3704
+ ,fk.column_name as 'column'
3705
+ ,fk.constraint_name as 'name'
3706
+ FROM information_schema.key_column_usage fk
3707
+ WHERE fk.referenced_column_name is not null
3708
+ AND fk.table_schema = 'convoy_master_test'
3709
+ AND fk.table_name = 'assets'
3710
+
3711
+  (0.1ms) SHOW CREATE TABLE `assets`
3712
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3713
+ ,fk.referenced_column_name as 'primary_key'
3714
+ ,fk.column_name as 'column'
3715
+ ,fk.constraint_name as 'name'
3716
+ FROM information_schema.key_column_usage fk
3717
+ WHERE fk.referenced_column_name is not null
3718
+ AND fk.table_schema = 'convoy_master_test'
3719
+ AND fk.table_name = 'config'
3720
+
3721
+  (0.1ms) SHOW CREATE TABLE `config`
3722
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3723
+ ,fk.referenced_column_name as 'primary_key'
3724
+ ,fk.column_name as 'column'
3725
+ ,fk.constraint_name as 'name'
3726
+ FROM information_schema.key_column_usage fk
3727
+ WHERE fk.referenced_column_name is not null
3728
+ AND fk.table_schema = 'convoy_master_test'
3729
+ AND fk.table_name = 'extension_meta'
3730
+
3731
+  (0.1ms) SHOW CREATE TABLE `extension_meta`
3732
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3733
+ ,fk.referenced_column_name as 'primary_key'
3734
+ ,fk.column_name as 'column'
3735
+ ,fk.constraint_name as 'name'
3736
+ FROM information_schema.key_column_usage fk
3737
+ WHERE fk.referenced_column_name is not null
3738
+ AND fk.table_schema = 'convoy_master_test'
3739
+ AND fk.table_name = 'festivity_categories'
3740
+
3741
+  (0.1ms) SHOW CREATE TABLE `festivity_categories`
3742
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3743
+ ,fk.referenced_column_name as 'primary_key'
3744
+ ,fk.column_name as 'column'
3745
+ ,fk.constraint_name as 'name'
3746
+ FROM information_schema.key_column_usage fk
3747
+ WHERE fk.referenced_column_name is not null
3748
+ AND fk.table_schema = 'convoy_master_test'
3749
+ AND fk.table_name = 'festivity_category_types'
3750
+
3751
+  (0.1ms) SHOW CREATE TABLE `festivity_category_types`
3752
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3753
+ ,fk.referenced_column_name as 'primary_key'
3754
+ ,fk.column_name as 'column'
3755
+ ,fk.constraint_name as 'name'
3756
+ FROM information_schema.key_column_usage fk
3757
+ WHERE fk.referenced_column_name is not null
3758
+ AND fk.table_schema = 'convoy_master_test'
3759
+ AND fk.table_name = 'festivity_event_performances'
3760
+
3761
+  (0.2ms) SHOW CREATE TABLE `festivity_event_performances`
3762
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3763
+ ,fk.referenced_column_name as 'primary_key'
3764
+ ,fk.column_name as 'column'
3765
+ ,fk.constraint_name as 'name'
3766
+ FROM information_schema.key_column_usage fk
3767
+ WHERE fk.referenced_column_name is not null
3768
+ AND fk.table_schema = 'convoy_master_test'
3769
+ AND fk.table_name = 'festivity_market_details'
3770
+
3771
+  (0.2ms) SHOW CREATE TABLE `festivity_market_details`
3772
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3773
+ ,fk.referenced_column_name as 'primary_key'
3774
+ ,fk.column_name as 'column'
3775
+ ,fk.constraint_name as 'name'
3776
+ FROM information_schema.key_column_usage fk
3777
+ WHERE fk.referenced_column_name is not null
3778
+ AND fk.table_schema = 'convoy_master_test'
3779
+ AND fk.table_name = 'festivity_page_categories'
3780
+
3781
+  (0.1ms) SHOW CREATE TABLE `festivity_page_categories`
3782
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3783
+ ,fk.referenced_column_name as 'primary_key'
3784
+ ,fk.column_name as 'column'
3785
+ ,fk.constraint_name as 'name'
3786
+ FROM information_schema.key_column_usage fk
3787
+ WHERE fk.referenced_column_name is not null
3788
+ AND fk.table_schema = 'convoy_master_test'
3789
+ AND fk.table_name = 'festivity_performances'
3790
+
3791
+  (0.1ms) SHOW CREATE TABLE `festivity_performances`
3792
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3793
+ ,fk.referenced_column_name as 'primary_key'
3794
+ ,fk.column_name as 'column'
3795
+ ,fk.constraint_name as 'name'
3796
+ FROM information_schema.key_column_usage fk
3797
+ WHERE fk.referenced_column_name is not null
3798
+ AND fk.table_schema = 'convoy_master_test'
3799
+ AND fk.table_name = 'layouts'
3800
+
3801
+  (0.1ms) SHOW CREATE TABLE `layouts`
3802
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3803
+ ,fk.referenced_column_name as 'primary_key'
3804
+ ,fk.column_name as 'column'
3805
+ ,fk.constraint_name as 'name'
3806
+ FROM information_schema.key_column_usage fk
3807
+ WHERE fk.referenced_column_name is not null
3808
+ AND fk.table_schema = 'convoy_master_test'
3809
+ AND fk.table_name = 'page_attachments'
3810
+
3811
+  (0.1ms) SHOW CREATE TABLE `page_attachments`
3812
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3813
+ ,fk.referenced_column_name as 'primary_key'
3814
+ ,fk.column_name as 'column'
3815
+ ,fk.constraint_name as 'name'
3816
+ FROM information_schema.key_column_usage fk
3817
+ WHERE fk.referenced_column_name is not null
3818
+ AND fk.table_schema = 'convoy_master_test'
3819
+ AND fk.table_name = 'page_fields'
3820
+
3821
+  (0.1ms) SHOW CREATE TABLE `page_fields`
3822
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3823
+ ,fk.referenced_column_name as 'primary_key'
3824
+ ,fk.column_name as 'column'
3825
+ ,fk.constraint_name as 'name'
3826
+ FROM information_schema.key_column_usage fk
3827
+ WHERE fk.referenced_column_name is not null
3828
+ AND fk.table_schema = 'convoy_master_test'
3829
+ AND fk.table_name = 'page_parts'
3830
+
3831
+  (0.1ms) SHOW CREATE TABLE `page_parts`
3832
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3833
+ ,fk.referenced_column_name as 'primary_key'
3834
+ ,fk.column_name as 'column'
3835
+ ,fk.constraint_name as 'name'
3836
+ FROM information_schema.key_column_usage fk
3837
+ WHERE fk.referenced_column_name is not null
3838
+ AND fk.table_schema = 'convoy_master_test'
3839
+ AND fk.table_name = 'pages'
3840
+
3841
+  (0.1ms) SHOW CREATE TABLE `pages`
3842
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3843
+ ,fk.referenced_column_name as 'primary_key'
3844
+ ,fk.column_name as 'column'
3845
+ ,fk.constraint_name as 'name'
3846
+ FROM information_schema.key_column_usage fk
3847
+ WHERE fk.referenced_column_name is not null
3848
+ AND fk.table_schema = 'convoy_master_test'
3849
+ AND fk.table_name = 'sessions'
3850
+
3851
+  (0.1ms) SHOW CREATE TABLE `sessions`
3852
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3853
+ ,fk.referenced_column_name as 'primary_key'
3854
+ ,fk.column_name as 'column'
3855
+ ,fk.constraint_name as 'name'
3856
+ FROM information_schema.key_column_usage fk
3857
+ WHERE fk.referenced_column_name is not null
3858
+ AND fk.table_schema = 'convoy_master_test'
3859
+ AND fk.table_name = 'sites'
3860
+
3861
+  (0.1ms) SHOW CREATE TABLE `sites`
3862
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3863
+ ,fk.referenced_column_name as 'primary_key'
3864
+ ,fk.column_name as 'column'
3865
+ ,fk.constraint_name as 'name'
3866
+ FROM information_schema.key_column_usage fk
3867
+ WHERE fk.referenced_column_name is not null
3868
+ AND fk.table_schema = 'convoy_master_test'
3869
+ AND fk.table_name = 'snippets'
3870
+
3871
+  (0.1ms) SHOW CREATE TABLE `snippets`
3872
+  (0.2ms) SELECT fk.referenced_table_name as 'to_table'
3873
+ ,fk.referenced_column_name as 'primary_key'
3874
+ ,fk.column_name as 'column'
3875
+ ,fk.constraint_name as 'name'
3876
+ FROM information_schema.key_column_usage fk
3877
+ WHERE fk.referenced_column_name is not null
3878
+ AND fk.table_schema = 'convoy_master_test'
3879
+ AND fk.table_name = 'users'
3880
+
3881
+  (0.1ms) SHOW CREATE TABLE `users`
3882
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
3883
+ Command :: convert -version
3884
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
3885
+ Command :: convert -version
3886
+ [Clipped] Using image thumbnailer: ImageMagick 6.9.1-10 Q16 x86_64 2015-07-26 http://www.imagemagick.org
3887
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
3888
+  (0.2ms) BEGIN
3889
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
3890
+ FestivityEventPage Load (5.9ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
3891
+  (0.2ms) SAVEPOINT active_record_1
3892
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'predovic.com' LIMIT 1
3893
+ SQL (6.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
3894
+ SQL (0.3ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('monitor', 'predovic.com', 3, 'predovic.com', 3, '2016-11-01 18:50:08', '2016-11-01 18:50:08')
3895
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3896
+  (0.2ms) SAVEPOINT active_record_1
3897
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'open-source' AND `pages`.`parent_id` IS NULL) LIMIT 1
3898
+ 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', 'open-source', 'open-source', 'open-source', 100, 1, '2016-11-01 18:50:08', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-11-01 18:50:08', '2016-11-01 18:50:08', 0)
3899
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3900
+  (0.1ms) SAVEPOINT active_record_1
3901
+ 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
3902
+ 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, 1, '2016-11-01 18:50:08', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-11-01 18:50:08', '2016-11-01 18:50:08', 0)
3903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3904
+ Page Exists (0.3ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`id` != 2 AND `pages`.`parent_id` IS NULL) LIMIT 1
3905
+  (15.8ms) ROLLBACK
3906
+  (0.2ms) BEGIN
3907
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` ORDER BY position ASC
3908
+ FestivityEventPage Load (0.4ms) SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
3909
+  (0.1ms) SAVEPOINT active_record_1
3910
+ Site Exists (0.3ms) SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'predovic.com' LIMIT 1
3911
+ SQL (0.2ms) UPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)
3912
+ SQL (0.2ms) INSERT INTO `sites` (`name`, `domain`, `homepage_id`, `base_domain`, `position`, `created_at`, `updated_at`) VALUES ('monitor', 'predovic.com', 3, 'predovic.com', 3, '2016-11-01 18:50:08', '2016-11-01 18:50:08')
3913
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3914
+  (0.1ms) SAVEPOINT active_record_1
3915
+ Page Exists (0.2ms) SELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'open-source' AND `pages`.`parent_id` IS NULL) LIMIT 1
3916
+ 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', 'open-source', 'open-source', 'open-source', 100, 2, '2016-11-01 18:50:08', 'Page,FestivityBasePage,FestivityEventPage,FestivityLocationAreaPage,FestivityLocationPage,FestivityMarketPage,FileNotFoundPage,RailsPage,VanityUrlPage', '2016-11-01 18:50:08', '2016-11-01 18:50:08', 0)
3917
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3918
+ Site Load (0.3ms) SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 ORDER BY position ASC LIMIT 1
3919
+  (6.2ms) ROLLBACK