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.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/config/initializers/pages_controller_decorator.rb +6 -0
- data/coverage/index.html +170 -146
- data/db/migrate/201610284484312496_add_content_editor_to_users.rb +9 -0
- data/lib/trusty-festivity-extension.rb +1 -1
- data/spec/dummy/db/schema.rb +19 -16
- data/spec/dummy/log/test.log +1094 -0
- metadata +3 -1
data/spec/dummy/db/schema.rb
CHANGED
@@ -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:
|
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",
|
245
|
-
t.string "email",
|
246
|
-
t.string "login",
|
247
|
-
t.string "password",
|
248
|
-
t.boolean "admin",
|
249
|
-
t.boolean "designer",
|
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",
|
253
|
-
t.integer "updated_by_id",
|
254
|
-
t.string "salt",
|
255
|
-
t.text "notes",
|
256
|
-
t.integer "lock_version",
|
257
|
-
t.string "session_token",
|
258
|
-
t.string "locale",
|
259
|
-
t.
|
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
|
data/spec/dummy/log/test.log
CHANGED
@@ -2823,3 +2823,1097 @@ Command :: convert -version
|
|
2823
2823
|
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2824
2824
|
[1m[35mPage Exists (0.2ms)[0m 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
|
[1m[36m (1.7ms)[0m [1mROLLBACK[0m
|
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
|
+
[1m[36m (0.5ms)[0m [1mSELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL[0m
|
2831
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
2832
|
+
Migrating to AddPositionToPages (20161027141250)
|
2833
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2834
|
+
[1m[35mSQL (6.0ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20161027141250')
|
2835
|
+
[1m[36m (12.1ms)[0m [1mCOMMIT[0m
|
2836
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT `schema_migrations`.* FROM `schema_migrations`
|
2837
|
+
[1m[36m (0.7ms)[0m [1mSELECT 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
|
+
[0m
|
2846
|
+
[1m[35m (0.2ms)[0m SHOW CREATE TABLE `api_keys`
|
2847
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2856
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `assets`
|
2857
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2866
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `config`
|
2867
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2876
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `extension_meta`
|
2877
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2886
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `facility_days_open`
|
2887
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2896
|
+
[1m[35m (0.2ms)[0m SHOW CREATE TABLE `flex_package_details`
|
2897
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2906
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `flex_simple_zone_templates`
|
2907
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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
|
+
[0m
|
2916
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `forced_add_ons`
|
2917
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2926
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `gift_certificate_types`
|
2927
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2936
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `gift_certificate_types_sites`
|
2937
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2946
|
+
[1m[35m (0.2ms)[0m SHOW CREATE TABLE `layouts`
|
2947
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2956
|
+
[1m[35m (0.2ms)[0m SHOW CREATE TABLE `non_ticketed_performances`
|
2957
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2966
|
+
[1m[35m (0.2ms)[0m SHOW CREATE TABLE `package_details`
|
2967
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2976
|
+
[1m[35m (0.2ms)[0m SHOW CREATE TABLE `package_details_add_on_productions`
|
2977
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2986
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `package_pages_performances`
|
2987
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
2996
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `page_attachments`
|
2997
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3006
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `page_fields`
|
3007
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3016
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `page_parts`
|
3017
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3026
|
+
[1m[35m (0.2ms)[0m SHOW CREATE TABLE `pages`
|
3027
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3036
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `performance_groups`
|
3037
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3046
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `performances`
|
3047
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3056
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `performances_and_performance_groups`
|
3057
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3066
|
+
[1m[35m (0.2ms)[0m SHOW CREATE TABLE `presenters`
|
3067
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3076
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `production_people`
|
3077
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3086
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `related_sections`
|
3087
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3096
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `renewal_pages`
|
3097
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3106
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `seasons`
|
3107
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3116
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `sessions`
|
3117
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3126
|
+
[1m[35m (0.2ms)[0m SHOW CREATE TABLE `sites`
|
3127
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3136
|
+
[1m[35m (0.2ms)[0m SHOW CREATE TABLE `snippets`
|
3137
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3146
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `sync_logs`
|
3147
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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
|
+
[0m
|
3156
|
+
[1m[35m (0.1ms)[0m SHOW CREATE TABLE `users`
|
3157
|
+
[1m[36m (0.3ms)[0m [1mSELECT schema_version FROM extension_meta WHERE name = 'Layouts'[0m
|
3158
|
+
[1m[35m (0.2ms)[0m SELECT schema_version FROM extension_meta WHERE name = 'Snippets'
|
3159
|
+
[1m[36m (0.2ms)[0m [1mSELECT schema_version FROM extension_meta WHERE name = 'Multi Site'[0m
|
3160
|
+
[1m[35m (0.2ms)[0m SELECT version FROM schema_migrations
|
3161
|
+
[1m[36m (0.2ms)[0m [1mSELECT schema_version FROM extension_meta WHERE name = 'Clipped'[0m
|
3162
|
+
[1m[35m (0.7ms)[0m SELECT version FROM schema_migrations WHERE version LIKE 'Paperclipped-%'
|
3163
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM schema_migrations[0m
|
3164
|
+
[1m[35m (0.2ms)[0m SELECT schema_version FROM extension_meta WHERE name = 'Rad Social'
|
3165
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
3166
|
+
Migrating to AddSiteFields (20150123175758)
|
3167
|
+
[1m[35m (63.8ms)[0m ALTER TABLE `sites` ADD `festivity_start_date` date
|
3168
|
+
[1m[36m (18.5ms)[0m [1mALTER TABLE `sites` ADD `festivity_end_date` date[0m
|
3169
|
+
[1m[35m (15.6ms)[0m ALTER TABLE `sites` ADD `festivity_festival_name` varchar(255)
|
3170
|
+
[1m[36m (13.7ms)[0m [1mALTER TABLE `sites` ADD `festivity_google_api_key` varchar(255)[0m
|
3171
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3172
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150123175758')[0m
|
3173
|
+
[1m[35m (0.6ms)[0m COMMIT
|
3174
|
+
Migrating to UpdateSiteForHourlyFilters (20151018190155)
|
3175
|
+
[1m[36m (25.9ms)[0m [1mALTER TABLE `sites` CHANGE `festivity_start_date` `festivity_start_date` datetime DEFAULT NULL[0m
|
3176
|
+
[1m[35m (15.8ms)[0m ALTER TABLE `sites` CHANGE `festivity_end_date` `festivity_end_date` datetime DEFAULT NULL
|
3177
|
+
[1m[36m (56.6ms)[0m [1mALTER TABLE `sites` ADD `festivity_filter_type` varchar(255)[0m
|
3178
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3179
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20151018190155')[0m
|
3180
|
+
[1m[35m (0.4ms)[0m COMMIT
|
3181
|
+
Migrating to AddBuyTicketTextToSite (20151105155407)
|
3182
|
+
[1m[36m (36.2ms)[0m [1mALTER TABLE `sites` ADD `festivity_buy_ticket_text` varchar(255) DEFAULT 'Buy Tickets'[0m
|
3183
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3184
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20151105155407')[0m
|
3185
|
+
[1m[35m (0.5ms)[0m COMMIT
|
3186
|
+
Migrating to AddBaseEventFields (20150127090858995)
|
3187
|
+
[1m[36m (98.2ms)[0m [1mALTER TABLE `pages` ADD `short_description` varchar(255)[0m
|
3188
|
+
[1m[35m (59.8ms)[0m ALTER TABLE `pages` ADD `artist_twitter` varchar(255)
|
3189
|
+
[1m[36m (57.8ms)[0m [1mALTER TABLE `pages` ADD `artist_facebook` varchar(255)[0m
|
3190
|
+
[1m[35m (100.1ms)[0m ALTER TABLE `pages` ADD `artist_instagram` varchar(255)
|
3191
|
+
[1m[36m (70.7ms)[0m [1mALTER TABLE `pages` ADD `artist_homepage` varchar(255)[0m
|
3192
|
+
[1m[35m (34.4ms)[0m ALTER TABLE `pages` ADD `header` varchar(255)
|
3193
|
+
[1m[36m (29.4ms)[0m [1mALTER TABLE `pages` ADD `sub_header` varchar(255)[0m
|
3194
|
+
[1m[35m (1.4ms)[0m ALTER TABLE `pages` ADD `redirect_url` varchar(255)
|
3195
|
+
[1m[36m (29.9ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
3196
|
+
[1m[35m (34.9ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
3197
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
3198
|
+
Migrating to CreateRadiantTables (1)
|
3199
|
+
[1m[35m (25.8ms)[0m CREATE TABLE `config` (`id` int(11) auto_increment PRIMARY KEY, `key` varchar(40) DEFAULT '' NOT NULL, `value` varchar(255) DEFAULT '') ENGINE=InnoDB
|
3200
|
+
[1m[36m (14.5ms)[0m [1mCREATE UNIQUE INDEX `key` ON `config` (`key`) [0m
|
3201
|
+
[1m[35m (9.8ms)[0m 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
|
+
[1m[36m (6.6ms)[0m [1mCREATE TABLE `page_parts` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(100), `filter` varchar(25), `content` text, `page_id` int(11)) ENGINE=InnoDB[0m
|
3203
|
+
[1m[35m (6.2ms)[0m 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
|
+
[1m[36m (9.2ms)[0m [1mCREATE UNIQUE INDEX `name` ON `snippets` (`name`) [0m
|
3205
|
+
[1m[35m (7.2ms)[0m 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
|
+
[1m[36m (6.2ms)[0m [1mCREATE 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[0m
|
3207
|
+
[1m[35m (13.4ms)[0m CREATE UNIQUE INDEX `login` ON `users` (`login`)
|
3208
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3209
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('1')
|
3210
|
+
[1m[36m (5.4ms)[0m [1mCOMMIT[0m
|
3211
|
+
Migrating to InsertInitialData (2)
|
3212
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3213
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('2')[0m
|
3214
|
+
[1m[35m (5.9ms)[0m COMMIT
|
3215
|
+
Migrating to RenameFilterColumn (4)
|
3216
|
+
[1m[36m (6.6ms)[0m [1mALTER TABLE `page_parts` CHANGE `filter` `filter_id` varchar(25) DEFAULT NULL[0m
|
3217
|
+
[1m[35m (5.3ms)[0m ALTER TABLE `snippets` CHANGE `filter` `filter_id` varchar(25) DEFAULT NULL
|
3218
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3219
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('4')
|
3220
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
3221
|
+
Migrating to AddVirtualColumnToPage (5)
|
3222
|
+
[1m[35m (36.7ms)[0m ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT 0 NOT NULL
|
3223
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3224
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('5')
|
3225
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
3226
|
+
Migrating to RemoveVirtualColumnFromPage (7)
|
3227
|
+
[1m[35m (33.2ms)[0m ALTER TABLE `pages` DROP `virtual`
|
3228
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3229
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('7')
|
3230
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
3231
|
+
Migrating to AddVirtualColumnToPageAgain (8)
|
3232
|
+
[1m[35m (35.7ms)[0m ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT 0 NOT NULL
|
3233
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3234
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('8')
|
3235
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
3236
|
+
Migrating to AddContentTypeFieldToLayout (9)
|
3237
|
+
[1m[35m (32.1ms)[0m ALTER TABLE `layouts` ADD `content_type` varchar(40)
|
3238
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3239
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('9')
|
3240
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
3241
|
+
Migrating to CreateExtensionMeta (12)
|
3242
|
+
[1m[35m (29.9ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3244
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('12')
|
3245
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
3246
|
+
Migrating to AddNotesFieldToUser (13)
|
3247
|
+
[1m[35m (38.4ms)[0m ALTER TABLE `users` ADD `notes` text
|
3248
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3249
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('13')
|
3250
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
3251
|
+
Migrating to RenameConfigDefaultPartsKey (14)
|
3252
|
+
[1m[35mTrustyCms::Config Load (0.2ms)[0m SELECT `config`.* FROM `config` WHERE `config`.`key` = 'default.parts' LIMIT 1
|
3253
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3254
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('14')
|
3255
|
+
[1m[36m (5.9ms)[0m [1mCOMMIT[0m
|
3256
|
+
Migrating to AddOptimisticLocking (15)
|
3257
|
+
[1m[35m (46.2ms)[0m ALTER TABLE `pages` ADD `lock_version` int(11) DEFAULT 0
|
3258
|
+
[1m[36m (14.8ms)[0m [1mALTER TABLE `layouts` ADD `lock_version` int(11) DEFAULT 0[0m
|
3259
|
+
[1m[35m (17.8ms)[0m ALTER TABLE `snippets` ADD `lock_version` int(11) DEFAULT 0
|
3260
|
+
[1m[36m (16.6ms)[0m [1mALTER TABLE `users` ADD `lock_version` int(11) DEFAULT 0[0m
|
3261
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3262
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('15')[0m
|
3263
|
+
[1m[35m (0.2ms)[0m COMMIT
|
3264
|
+
Migrating to AddSessions (16)
|
3265
|
+
[1m[36m (26.5ms)[0m [1mCREATE TABLE `sessions` (`id` int(11) auto_increment PRIMARY KEY, `session_id` varchar(255), `data` text, `updated_at` datetime) ENGINE=InnoDB[0m
|
3266
|
+
[1m[35m (11.2ms)[0m CREATE INDEX `index_sessions_on_session_id` ON `sessions` (`session_id`)
|
3267
|
+
[1m[36m (11.2ms)[0m [1mCREATE INDEX `index_sessions_on_updated_at` ON `sessions` (`updated_at`) [0m
|
3268
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3269
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('16')[0m
|
3270
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3271
|
+
Migrating to RenameCreatedByUpdatedByColumns (17)
|
3272
|
+
[1m[36m (6.6ms)[0m [1mALTER TABLE `pages` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL[0m
|
3273
|
+
[1m[35m (6.1ms)[0m ALTER TABLE `pages` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
|
3274
|
+
[1m[36m (7.6ms)[0m [1mALTER TABLE `snippets` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL[0m
|
3275
|
+
[1m[35m (5.9ms)[0m ALTER TABLE `snippets` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
|
3276
|
+
[1m[36m (5.6ms)[0m [1mALTER TABLE `layouts` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL[0m
|
3277
|
+
[1m[35m (5.6ms)[0m ALTER TABLE `layouts` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
|
3278
|
+
[1m[36m (6.1ms)[0m [1mALTER TABLE `users` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL[0m
|
3279
|
+
[1m[35m (5.7ms)[0m ALTER TABLE `users` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
|
3280
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3281
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('17')
|
3282
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
3283
|
+
Migrating to AddDescriptionAndKeywordsToPages (18)
|
3284
|
+
[1m[35m (33.9ms)[0m ALTER TABLE `pages` ADD `description` varchar(255)
|
3285
|
+
[1m[36m (12.8ms)[0m [1mALTER TABLE `pages` ADD `keywords` varchar(255)[0m
|
3286
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3287
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('18')[0m
|
3288
|
+
[1m[35m (0.5ms)[0m COMMIT
|
3289
|
+
Migrating to AddSessionInfoToUsers (20)
|
3290
|
+
[1m[36m (40.9ms)[0m [1mALTER TABLE `users` ADD `session_token` varchar(255)[0m
|
3291
|
+
[1m[35m (19.1ms)[0m ALTER TABLE `users` ADD `session_expire` datetime
|
3292
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3293
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20')
|
3294
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
3295
|
+
Migrating to RemoveSessionExpireFromUsers (21)
|
3296
|
+
[1m[35m (39.0ms)[0m ALTER TABLE `users` DROP `session_expire`
|
3297
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3298
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('21')
|
3299
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
3300
|
+
Migrating to AddIndexes (20081203140407)
|
3301
|
+
[1m[35m (27.7ms)[0m CREATE INDEX `pages_class_name` ON `pages` (`class_name`)
|
3302
|
+
[1m[36m (12.1ms)[0m [1mCREATE INDEX `pages_parent_id` ON `pages` (`parent_id`) [0m
|
3303
|
+
[1m[35m (11.2ms)[0m CREATE INDEX `pages_child_slug` ON `pages` (`slug`, `parent_id`)
|
3304
|
+
[1m[36m (11.7ms)[0m [1mCREATE INDEX `pages_published` ON `pages` (`virtual`, `status_id`) [0m
|
3305
|
+
[1m[35m (12.6ms)[0m CREATE INDEX `parts_by_page` ON `page_parts` (`page_id`, `name`)
|
3306
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3307
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20081203140407')
|
3308
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
3309
|
+
Migrating to AddUserLanguage (20090226140109)
|
3310
|
+
[1m[35m (37.9ms)[0m ALTER TABLE `users` ADD `language` varchar(255)
|
3311
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3312
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20090226140109')
|
3313
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
3314
|
+
Migrating to RenameDeveloperRoleToDesigner (20090929164633)
|
3315
|
+
[1m[35m (7.7ms)[0m ALTER TABLE `users` CHANGE `developer` `designer` tinyint(1) DEFAULT '0' NOT NULL
|
3316
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3317
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20090929164633')
|
3318
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
3319
|
+
Migrating to ChangeUserLanguageToLocale (20091003095744)
|
3320
|
+
[1m[35m (5.9ms)[0m ALTER TABLE `users` CHANGE `language` `locale` varchar(255) DEFAULT NULL
|
3321
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3322
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20091003095744')
|
3323
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
3324
|
+
Migrating to AddPageFields (20100805154952)
|
3325
|
+
[1m[35m (27.4ms)[0m CREATE TABLE `page_fields` (`id` int(11) auto_increment PRIMARY KEY, `page_id` int(11), `name` varchar(255), `content` varchar(255)) ENGINE=InnoDB
|
3326
|
+
[1m[36m (11.9ms)[0m [1mCREATE INDEX `index_page_fields_on_page_id` ON `page_fields` (`page_id`) [0m
|
3327
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3328
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20100805154952')[0m
|
3329
|
+
[1m[35m (0.2ms)[0m COMMIT
|
3330
|
+
Migrating to ConvertPageMetas (20100805155020)
|
3331
|
+
[1m[36m (50.5ms)[0m [1mALTER TABLE `pages` DROP `keywords`[0m
|
3332
|
+
[1m[35m (31.4ms)[0m ALTER TABLE `pages` DROP `description`
|
3333
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3334
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20100805155020')
|
3335
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
3336
|
+
Migrating to AddFieldNameIndex (20100810151922)
|
3337
|
+
[1m[35m (27.4ms)[0m DROP INDEX `index_page_fields_on_page_id` ON `page_fields`
|
3338
|
+
[1m[36m (11.1ms)[0m [1mCREATE INDEX `index_page_fields_on_page_id_and_name_and_content` ON `page_fields` (`page_id`, `name`, `content`) [0m
|
3339
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3340
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20100810151922')[0m
|
3341
|
+
[1m[35m (0.4ms)[0m COMMIT
|
3342
|
+
Migrating to AddAllowedChildrenCacheToPages (20110902203823)
|
3343
|
+
[1m[36m (42.3ms)[0m [1mALTER TABLE `pages` ADD `allowed_children_cache` text[0m
|
3344
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3345
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20110902203823')[0m
|
3346
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3347
|
+
Migrating to ExtendPagePartContentLimit (20111016150725)
|
3348
|
+
[1m[36m (13.7ms)[0m [1mALTER TABLE `page_parts` CHANGE `content` `content` mediumtext DEFAULT NULL[0m
|
3349
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3350
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20111016150725')[0m
|
3351
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3352
|
+
Migrating to ChangePagesAllowedChildrenCacheToText (20120209231801)
|
3353
|
+
[1m[36m (11.1ms)[0m [1mALTER TABLE `pages` CHANGE `allowed_children_cache` `allowed_children_cache` text DEFAULT NULL[0m
|
3354
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3355
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20120209231801')[0m
|
3356
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3357
|
+
Migrating to AddPasswordResetToUsers (20160527141249)
|
3358
|
+
[1m[36m (37.1ms)[0m [1mALTER TABLE `users` ADD `password_reset_token` varchar(255)[0m
|
3359
|
+
[1m[35m (16.1ms)[0m ALTER TABLE `users` ADD `password_reset_sent_at` datetime
|
3360
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3361
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20160527141249')
|
3362
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
3363
|
+
Migrating to AddPositionToPages (20161027141250)
|
3364
|
+
[1m[35m (26.4ms)[0m ALTER TABLE `pages` ADD `position` int(11)
|
3365
|
+
[1m[36mPage Load (0.3ms)[0m [1mSELECT `pages`.* FROM `pages` WHERE `pages`.`parent_id` IS NULL ORDER BY position ASC[0m
|
3366
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3367
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20161027141250')[0m
|
3368
|
+
[1m[35m (0.5ms)[0m COMMIT
|
3369
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
3370
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `config`[0m
|
3380
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `extension_meta`[0m
|
3390
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `layouts`[0m
|
3400
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `page_fields`[0m
|
3410
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSHOW CREATE TABLE `page_parts`[0m
|
3420
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `pages`[0m
|
3430
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `sessions`[0m
|
3440
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `snippets`[0m
|
3450
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSHOW CREATE TABLE `users`[0m
|
3460
|
+
[1m[35m (0.1ms)[0m SELECT schema_version FROM extension_meta WHERE name = 'Layouts'
|
3461
|
+
[1m[36m (0.1ms)[0m [1mSELECT schema_version FROM extension_meta WHERE name = 'Snippets'[0m
|
3462
|
+
[1m[35m (0.2ms)[0m SELECT schema_version FROM extension_meta WHERE name = 'Multi Site'
|
3463
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM schema_migrations[0m
|
3464
|
+
Migrating to CreateSites (1)
|
3465
|
+
[1m[35m (26.3ms)[0m CREATE TABLE `sites` (`id` int(11) auto_increment PRIMARY KEY, `name` varchar(255), `domain` varchar(255), `homepage_id` int(11)) ENGINE=InnoDB
|
3466
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO schema_migrations (version) VALUES ('Multi Site-1')[0m
|
3467
|
+
Migrating to AddOrderToSites (2)
|
3468
|
+
[1m[35m (32.5ms)[0m ALTER TABLE `sites` ADD `position` int(11) DEFAULT 0
|
3469
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO schema_migrations (version) VALUES ('Multi Site-2')[0m
|
3470
|
+
Migrating to AddBaseDomainToSites (3)
|
3471
|
+
[1m[35m (33.0ms)[0m ALTER TABLE `sites` ADD `base_domain` varchar(255)
|
3472
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO schema_migrations (version) VALUES ('Multi Site-3')[0m
|
3473
|
+
Migrating to AddAdminFieldsToSites (4)
|
3474
|
+
[1m[35m (32.1ms)[0m ALTER TABLE `sites` ADD `created_by_id` int(11)
|
3475
|
+
[1m[36m (12.0ms)[0m [1mALTER TABLE `sites` ADD `created_at` datetime[0m
|
3476
|
+
[1m[35m (13.3ms)[0m ALTER TABLE `sites` ADD `updated_by_id` int(11)
|
3477
|
+
[1m[36m (14.1ms)[0m [1mALTER TABLE `sites` ADD `updated_at` datetime[0m
|
3478
|
+
[1m[35m (12.5ms)[0m ALTER TABLE `sites` ADD `subtitle` varchar(255)
|
3479
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO schema_migrations (version) VALUES ('Multi Site-4')[0m
|
3480
|
+
Migrating to AddSites (5)
|
3481
|
+
[1m[35m (34.8ms)[0m ALTER TABLE `layouts` ADD `site_id` int(11)
|
3482
|
+
[1m[36m (18.5ms)[0m [1mALTER TABLE `snippets` ADD `site_id` int(11)[0m
|
3483
|
+
[1m[35m (16.2ms)[0m ALTER TABLE `users` ADD `site_id` int(11)
|
3484
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO schema_migrations (version) VALUES ('Multi Site-5')[0m
|
3485
|
+
Migrating to RemoveUserLoginIndex (6)
|
3486
|
+
[1m[35m (27.7ms)[0m DROP INDEX `login` ON `users`
|
3487
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO schema_migrations (version) VALUES ('Multi Site-6')[0m
|
3488
|
+
Migrating to SiteAbbreviation (20090810145840)
|
3489
|
+
[1m[35m (33.5ms)[0m ALTER TABLE `sites` ADD `abbreviation` varchar(255)
|
3490
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO schema_migrations (version) VALUES ('Multi Site-20090810145840')[0m
|
3491
|
+
Migrating to RecreateNonUniqueIndexOnSnippetsName (201411031415046078)
|
3492
|
+
[1m[35m (24.8ms)[0m DROP INDEX `name` ON `snippets`
|
3493
|
+
[1m[36m (10.0ms)[0m [1mCREATE UNIQUE INDEX `name_site_id` ON `snippets` (`name`, `site_id`) [0m
|
3494
|
+
[1m[35m (0.4ms)[0m INSERT INTO schema_migrations (version) VALUES ('Multi Site-201411031415046078')
|
3495
|
+
Migrating to AddSiteIdToPages (2015032011031415046078)
|
3496
|
+
[1m[36m (46.0ms)[0m [1mALTER TABLE `pages` ADD `site_id` int(11)[0m
|
3497
|
+
[1m[35m (12.7ms)[0m CREATE INDEX `index_pages_on_site_id` ON `pages` (`site_id`)
|
3498
|
+
[1m[36mSite Load (0.2ms)[0m [1mSELECT `sites`.* FROM `sites` ORDER BY position ASC[0m
|
3499
|
+
[1m[35m (0.3ms)[0m INSERT INTO schema_migrations (version) VALUES ('Multi Site-2015032011031415046078')
|
3500
|
+
[1m[36m (0.2ms)[0m [1mSELECT schema_version FROM extension_meta WHERE name = 'Clipped'[0m
|
3501
|
+
[1m[35m (0.2ms)[0m SELECT version FROM schema_migrations WHERE version LIKE 'Paperclipped-%'
|
3502
|
+
[1m[36m (0.2ms)[0m [1mSELECT version FROM schema_migrations[0m
|
3503
|
+
Migrating to CreateAssets (1)
|
3504
|
+
[1m[35m (29.2ms)[0m CREATE TABLE `assets` (`id` int(11) auto_increment PRIMARY KEY, `caption` varchar(255), `title` varchar(255)) ENGINE=InnoDB
|
3505
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO schema_migrations (version) VALUES ('Clipped-1')[0m
|
3506
|
+
Migrating to CreatePaperclipAttributes (2)
|
3507
|
+
[1m[35m (33.0ms)[0m ALTER TABLE `assets` ADD `asset_file_name` varchar(255)
|
3508
|
+
[1m[36m (12.7ms)[0m [1mALTER TABLE `assets` ADD `asset_content_type` varchar(255)[0m
|
3509
|
+
[1m[35m (12.6ms)[0m ALTER TABLE `assets` ADD `asset_file_size` int(11)
|
3510
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO schema_migrations (version) VALUES ('Clipped-2')[0m
|
3511
|
+
Migrating to CreateUserObserver (3)
|
3512
|
+
[1m[35m (51.6ms)[0m ALTER TABLE `assets` ADD `created_by` int(11)
|
3513
|
+
[1m[36m (14.9ms)[0m [1mALTER TABLE `assets` ADD `updated_by` int(11)[0m
|
3514
|
+
[1m[35m (14.0ms)[0m ALTER TABLE `assets` ADD `created_at` datetime
|
3515
|
+
[1m[36m (13.7ms)[0m [1mALTER TABLE `assets` ADD `updated_at` datetime[0m
|
3516
|
+
[1m[35m (0.4ms)[0m INSERT INTO schema_migrations (version) VALUES ('Clipped-3')
|
3517
|
+
Migrating to CreatePageAttachments (4)
|
3518
|
+
[1m[36m (25.3ms)[0m [1mCREATE TABLE `page_attachments` (`id` int(11) auto_increment PRIMARY KEY, `asset_id` int(11), `page_id` int(11), `position` int(11)) ENGINE=InnoDB[0m
|
3519
|
+
[1m[35m (0.4ms)[0m INSERT INTO schema_migrations (version) VALUES ('Clipped-4')
|
3520
|
+
Migrating to RenameUsers (5)
|
3521
|
+
[1m[36m (6.3ms)[0m [1mALTER TABLE `assets` CHANGE `created_by` `created_by_id` int(11) DEFAULT NULL[0m
|
3522
|
+
[1m[35m (6.0ms)[0m ALTER TABLE `assets` CHANGE `updated_by` `updated_by_id` int(11) DEFAULT NULL
|
3523
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO schema_migrations (version) VALUES ('Clipped-5')[0m
|
3524
|
+
Migrating to AssetUuid (20110513205050)
|
3525
|
+
[1m[35m (35.2ms)[0m ALTER TABLE `assets` ADD `uuid` varchar(255)
|
3526
|
+
[1m[36mAsset Load (0.3ms)[0m [1mSELECT `assets`.* FROM `assets` ORDER BY created_at DESC[0m
|
3527
|
+
[1m[35m (0.4ms)[0m INSERT INTO schema_migrations (version) VALUES ('Clipped-20110513205050')
|
3528
|
+
Migrating to UpdateConfiguration (20110606111250)
|
3529
|
+
[1m[36m (6.0ms)[0m [1mINSERT INTO schema_migrations (version) VALUES ('Clipped-20110606111250')[0m
|
3530
|
+
Migrating to Dimensions (20110609101438)
|
3531
|
+
[1m[35m (33.0ms)[0m ALTER TABLE `assets` ADD `original_width` int(11)
|
3532
|
+
[1m[36m (17.0ms)[0m [1mALTER TABLE `assets` ADD `original_height` int(11)[0m
|
3533
|
+
[1m[35m (14.4ms)[0m ALTER TABLE `assets` ADD `original_extension` varchar(255)
|
3534
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO schema_migrations (version) VALUES ('Clipped-20110609101438')[0m
|
3535
|
+
[1m[35m (0.1ms)[0m SELECT schema_version FROM extension_meta WHERE name = 'Rad Social'
|
3536
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
3537
|
+
Migrating to AddSiteFields (20150123175758)
|
3538
|
+
[1m[35m (34.3ms)[0m ALTER TABLE `sites` ADD `festivity_start_date` date
|
3539
|
+
[1m[36m (12.8ms)[0m [1mALTER TABLE `sites` ADD `festivity_end_date` date[0m
|
3540
|
+
[1m[35m (12.6ms)[0m ALTER TABLE `sites` ADD `festivity_festival_name` varchar(255)
|
3541
|
+
[1m[36m (14.0ms)[0m [1mALTER TABLE `sites` ADD `festivity_google_api_key` varchar(255)[0m
|
3542
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3543
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150123175758')[0m
|
3544
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3545
|
+
Migrating to UpdateSiteForHourlyFilters (20151018190155)
|
3546
|
+
[1m[36m (15.8ms)[0m [1mALTER TABLE `sites` CHANGE `festivity_start_date` `festivity_start_date` datetime DEFAULT NULL[0m
|
3547
|
+
[1m[35m (10.1ms)[0m ALTER TABLE `sites` CHANGE `festivity_end_date` `festivity_end_date` datetime DEFAULT NULL
|
3548
|
+
[1m[36m (12.3ms)[0m [1mALTER TABLE `sites` ADD `festivity_filter_type` varchar(255)[0m
|
3549
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3550
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20151018190155')[0m
|
3551
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3552
|
+
Migrating to AddBuyTicketTextToSite (20151105155407)
|
3553
|
+
[1m[36m (35.8ms)[0m [1mALTER TABLE `sites` ADD `festivity_buy_ticket_text` varchar(255) DEFAULT 'Buy Tickets'[0m
|
3554
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3555
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20151105155407')[0m
|
3556
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3557
|
+
Migrating to AddBaseEventFields (20150127090858995)
|
3558
|
+
[1m[36m (48.6ms)[0m [1mALTER TABLE `pages` ADD `short_description` varchar(255)[0m
|
3559
|
+
[1m[35m (34.1ms)[0m ALTER TABLE `pages` ADD `artist_twitter` varchar(255)
|
3560
|
+
[1m[36m (32.6ms)[0m [1mALTER TABLE `pages` ADD `artist_facebook` varchar(255)[0m
|
3561
|
+
[1m[35m (30.0ms)[0m ALTER TABLE `pages` ADD `artist_instagram` varchar(255)
|
3562
|
+
[1m[36m (48.0ms)[0m [1mALTER TABLE `pages` ADD `artist_homepage` varchar(255)[0m
|
3563
|
+
[1m[35m (30.4ms)[0m ALTER TABLE `pages` ADD `header` varchar(255)
|
3564
|
+
[1m[36m (30.3ms)[0m [1mALTER TABLE `pages` ADD `sub_header` varchar(255)[0m
|
3565
|
+
[1m[35m (30.5ms)[0m ALTER TABLE `pages` ADD `redirect_url` varchar(255)
|
3566
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3567
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20150127090858995')
|
3568
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
3569
|
+
Migrating to AddMarketAndEventFields (20150127091005232)
|
3570
|
+
[1m[35m (46.4ms)[0m ALTER TABLE `pages` ADD `featured_item` tinyint(1)
|
3571
|
+
[1m[36m (29.4ms)[0m [1mALTER TABLE `pages` ADD `buy_url` varchar(255)[0m
|
3572
|
+
[1m[35m (28.3ms)[0m ALTER TABLE `pages` ADD `booth_number` varchar(255)
|
3573
|
+
[1m[36m (36.1ms)[0m [1mALTER TABLE `pages` ADD `area_id` int(11)[0m
|
3574
|
+
[1m[35m (28.1ms)[0m ALTER TABLE `pages` ADD `maket_start_date` date
|
3575
|
+
[1m[36m (28.4ms)[0m [1mALTER TABLE `pages` ADD `market_end_date` date[0m
|
3576
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3577
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150127091005232')[0m
|
3578
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3579
|
+
Migrating to AddCategoryTypesTable (20150204113325731)
|
3580
|
+
[1m[36m (26.3ms)[0m [1mCREATE 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[0m
|
3581
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3582
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150204113325731')[0m
|
3583
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3584
|
+
Migrating to AddCategoriesTable (20150204113427832)
|
3585
|
+
[1m[36m (28.8ms)[0m [1mCREATE 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[0m
|
3586
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3587
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150204113427832')[0m
|
3588
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3589
|
+
Migrating to AddPageCategoriesTable (20150204113510326)
|
3590
|
+
[1m[36m (29.5ms)[0m [1mCREATE TABLE `festivity_page_categories` (`id` int(11) auto_increment PRIMARY KEY, `page_id` int(11), `festivity_category_id` int(11)) ENGINE=InnoDB[0m
|
3591
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3592
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150204113510326')[0m
|
3593
|
+
[1m[35m (0.7ms)[0m COMMIT
|
3594
|
+
Migrating to AddLocationPageFields (20150226131727777)
|
3595
|
+
[1m[36m (45.9ms)[0m [1mALTER TABLE `pages` ADD `festivity_address` varchar(255)[0m
|
3596
|
+
[1m[35m (30.7ms)[0m ALTER TABLE `pages` ADD `festivity_city` varchar(255)
|
3597
|
+
[1m[36m (34.4ms)[0m [1mALTER TABLE `pages` ADD `festivity_state` varchar(255)[0m
|
3598
|
+
[1m[35m (30.7ms)[0m ALTER TABLE `pages` ADD `festivity_zip` varchar(255)
|
3599
|
+
[1m[36m (29.0ms)[0m [1mALTER TABLE `pages` ADD `festivity_directions_url` varchar(255)[0m
|
3600
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3601
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150226131727777')[0m
|
3602
|
+
[1m[35m (0.4ms)[0m COMMIT
|
3603
|
+
Migrating to AddPerformancesTable (20150302135485569)
|
3604
|
+
[1m[36m (29.5ms)[0m [1mCREATE 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[0m
|
3605
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3606
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150302135485569')[0m
|
3607
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3608
|
+
Migrating to AddIndexes (20150324135487799)
|
3609
|
+
[1m[36m (31.8ms)[0m [1mCREATE INDEX `index_festivity_performances_on_event_page_id` ON `festivity_performances` (`event_page_id`) [0m
|
3610
|
+
[1m[35m (13.2ms)[0m CREATE INDEX `index_festivity_performances_on_location_page_id` ON `festivity_performances` (`location_page_id`)
|
3611
|
+
[1m[36m (11.3ms)[0m [1mCREATE UNIQUE INDEX `event_categories` ON `festivity_page_categories` (`page_id`, `festivity_category_id`) [0m
|
3612
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3613
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('20150324135487799')[0m
|
3614
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3615
|
+
Migrating to AddEventPerformancesView (200150325136087799)
|
3616
|
+
[1m[36m (34.5ms)[0m [1m 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
|
+
[0m
|
3631
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3632
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('200150325136087799')[0m
|
3633
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3634
|
+
Migrating to UpdateEventPerformancesViewWithSite (200150425136087799)
|
3635
|
+
[1m[36m (10.9ms)[0m [1m 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
|
+
[0m
|
3650
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3651
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('200150425136087799')[0m
|
3652
|
+
[1m[35m (6.0ms)[0m COMMIT
|
3653
|
+
Migrating to CreateVanityUrlPages (201601231255101234)
|
3654
|
+
[1m[36m (47.1ms)[0m [1mALTER TABLE `pages` ADD `vanity_url` varchar(255)[0m
|
3655
|
+
[1m[35m (32.8ms)[0m ALTER TABLE `pages` ADD `target_url` varchar(255)
|
3656
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3657
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('201601231255101234')
|
3658
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
3659
|
+
Migrating to AddHideFromSubnavToPages (201603212551012359)
|
3660
|
+
[1m[35m (44.0ms)[0m ALTER TABLE `pages` ADD `hide_from_subnav` tinyint(1) DEFAULT 0
|
3661
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3662
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('201603212551012359')
|
3663
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
3664
|
+
Migrating to FixTypoInMarketStart (201604025593337427)
|
3665
|
+
[1m[35m (12.7ms)[0m ALTER TABLE `pages` CHANGE `maket_start_date` `market_start_date` date DEFAULT NULL
|
3666
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3667
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('201604025593337427')
|
3668
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
3669
|
+
Migrating to AddMarketDetailsView (201604031236563245)
|
3670
|
+
[1m[35m (10.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3681
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('201604031236563245')
|
3682
|
+
[1m[36m (6.1ms)[0m [1mCOMMIT[0m
|
3683
|
+
Migrating to ChangeMarketDatesToDatetime (201604031638542262)
|
3684
|
+
[1m[35m (52.2ms)[0m ALTER TABLE `pages` DROP `market_start_date`
|
3685
|
+
[1m[36m (29.2ms)[0m [1mALTER TABLE `pages` DROP `market_end_date`[0m
|
3686
|
+
[1m[35m (46.3ms)[0m ALTER TABLE `pages` ADD `market_start_date` datetime
|
3687
|
+
[1m[36m (37.5ms)[0m [1mALTER TABLE `pages` ADD `market_end_date` datetime[0m
|
3688
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3689
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('201604031638542262')[0m
|
3690
|
+
[1m[35m (0.2ms)[0m COMMIT
|
3691
|
+
Migrating to AddSocialMediaTagsToSites (201604261638542263)
|
3692
|
+
[1m[36m (34.3ms)[0m [1mALTER TABLE `sites` ADD `social_media_tag` varchar(255)[0m
|
3693
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3694
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('201604261638542263')[0m
|
3695
|
+
[1m[35m (0.2ms)[0m COMMIT
|
3696
|
+
Migrating to AddContentEditorToUsers (201610284484312496)
|
3697
|
+
[1m[36m (35.7ms)[0m [1mALTER TABLE `users` ADD `content_editor` tinyint(1) DEFAULT 1 NOT NULL[0m
|
3698
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3699
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO `schema_migrations` (`version`) VALUES ('201610284484312496')[0m
|
3700
|
+
[1m[35m (0.3ms)[0m COMMIT
|
3701
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT `schema_migrations`.* FROM `schema_migrations`[0m
|
3702
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `assets`[0m
|
3712
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `config`[0m
|
3722
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `extension_meta`[0m
|
3732
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `festivity_categories`[0m
|
3742
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `festivity_category_types`[0m
|
3752
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSHOW CREATE TABLE `festivity_event_performances`[0m
|
3762
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSHOW CREATE TABLE `festivity_market_details`[0m
|
3772
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `festivity_page_categories`[0m
|
3782
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `festivity_performances`[0m
|
3792
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `layouts`[0m
|
3802
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `page_attachments`[0m
|
3812
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `page_fields`[0m
|
3822
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `page_parts`[0m
|
3832
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `pages`[0m
|
3842
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `sessions`[0m
|
3852
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `sites`[0m
|
3862
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `snippets`[0m
|
3872
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSHOW CREATE TABLE `users`[0m
|
3882
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mSELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL[0m
|
3888
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3889
|
+
[1m[36mSite Load (0.3ms)[0m [1mSELECT `sites`.* FROM `sites` ORDER BY position ASC[0m
|
3890
|
+
[1m[35mFestivityEventPage Load (5.9ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
|
3891
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3892
|
+
[1m[35mSite Exists (0.3ms)[0m SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'predovic.com' LIMIT 1
|
3893
|
+
[1m[36mSQL (6.2ms)[0m [1mUPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)[0m
|
3894
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3896
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3897
|
+
[1m[36mPage Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'open-source' AND `pages`.`parent_id` IS NULL) LIMIT 1[0m
|
3898
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3900
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3901
|
+
[1m[36mPage Exists (0.3ms)[0m [1mSELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'degrees-of-separation' AND `pages`.`parent_id` IS NULL) LIMIT 1[0m
|
3902
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3904
|
+
[1m[35mPage Exists (0.3ms)[0m 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
|
+
[1m[36m (15.8ms)[0m [1mROLLBACK[0m
|
3906
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3907
|
+
[1m[36mSite Load (0.3ms)[0m [1mSELECT `sites`.* FROM `sites` ORDER BY position ASC[0m
|
3908
|
+
[1m[35mFestivityEventPage Load (0.4ms)[0m SELECT `pages`.* FROM `pages` WHERE `pages`.`class_name` IN ('FestivityEventPage') ORDER BY position ASC
|
3909
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3910
|
+
[1m[35mSite Exists (0.3ms)[0m SELECT 1 AS one FROM `sites` WHERE `sites`.`domain` = BINARY 'predovic.com' LIMIT 1
|
3911
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE `sites` SET position = (position + 1) WHERE (1 = 1 AND position >= 3)[0m
|
3912
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3914
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3915
|
+
[1m[36mPage Exists (0.2ms)[0m [1mSELECT 1 AS one FROM `pages` WHERE (`pages`.`slug` = BINARY 'open-source' AND `pages`.`parent_id` IS NULL) LIMIT 1[0m
|
3916
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3918
|
+
[1m[35mSite Load (0.3ms)[0m SELECT `sites`.* FROM `sites` WHERE `sites`.`id` = 2 ORDER BY position ASC LIMIT 1
|
3919
|
+
[1m[36m (6.2ms)[0m [1mROLLBACK[0m
|