pulitzer 0.15.16 → 0.15.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/pulitzer/content_element_helper.rb +11 -5
- data/lib/pulitzer/version.rb +1 -1
- metadata +72 -98
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -582
- data/spec/dummy/log/test.log +0 -36686
- data/spec/dummy/public/uploads/pulitzer/content_element/image/1/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/pulitzer/content_element/image/1/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/pulitzer/content_element/image/1/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/pulitzer/content_element/image/56/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/pulitzer/content_element/image/56/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/pulitzer/content_element/image/56/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/thumb_sam_and_snow.jpg +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3baf33d55b235b7b95729fc8f611190ff97dd193
|
|
4
|
+
data.tar.gz: '058553b7faeb34971cfe2a5bd5003e3c9e635d0c'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e365f03d2b4137340c7ac90b478179f9b8c7a0f664ad55543eadca830222a29f92d4ce91bfb246f636c337a81ee34581d24794cc58839f54c6228d4b94f85c75
|
|
7
|
+
data.tar.gz: 233bfdaca720b97c51d9ebbeaae51bca5cbe8fbea92f8f01a890821e0c5de82c9a3ab9261a721211e471c403094413754f1bbc03de04d68b9c3511e0dc12f4e1
|
|
@@ -72,11 +72,17 @@ module Pulitzer
|
|
|
72
72
|
end
|
|
73
73
|
|
|
74
74
|
def render_cms_section(version, section_name)
|
|
75
|
-
version.section(section_name)
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
75
|
+
section = version.section(section_name)
|
|
76
|
+
if section
|
|
77
|
+
section.partials.collect do |partial|
|
|
78
|
+
if partial.has_display?
|
|
79
|
+
render partial: partial.full_view_path, locals: {partial: partial}
|
|
80
|
+
end
|
|
81
|
+
end.join.html_safe
|
|
82
|
+
else
|
|
83
|
+
Rails.logger.error "[Pulitzer] Version #{version.inspect} has no section named #{section_name}"
|
|
84
|
+
""
|
|
85
|
+
end
|
|
80
86
|
end
|
|
81
87
|
end
|
|
82
88
|
end
|
data/lib/pulitzer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pulitzer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.15.
|
|
4
|
+
version: 0.15.17
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eric Draut
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2017-
|
|
12
|
+
date: 2017-09-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -816,28 +816,15 @@ files:
|
|
|
816
816
|
- spec/dummy/config/locales/en.yml
|
|
817
817
|
- spec/dummy/config/routes.rb
|
|
818
818
|
- spec/dummy/config/secrets.yml
|
|
819
|
-
- spec/dummy/db/development.sqlite3
|
|
820
819
|
- spec/dummy/db/schema.rb
|
|
821
820
|
- spec/dummy/db/seeds.rb
|
|
822
821
|
- spec/dummy/db/seeds/pulitzer_post_types.rb
|
|
823
|
-
- spec/dummy/db/test.sqlite3
|
|
824
822
|
- spec/dummy/lib/state_machine/model.rb
|
|
825
823
|
- spec/dummy/lib/state_machine/transition.rb
|
|
826
|
-
- spec/dummy/log/development.log
|
|
827
|
-
- spec/dummy/log/test.log
|
|
828
824
|
- spec/dummy/public/404.html
|
|
829
825
|
- spec/dummy/public/422.html
|
|
830
826
|
- spec/dummy/public/500.html
|
|
831
827
|
- spec/dummy/public/favicon.ico
|
|
832
|
-
- spec/dummy/public/uploads/pulitzer/content_element/image/1/cms_sam_and_snow.jpg
|
|
833
|
-
- spec/dummy/public/uploads/pulitzer/content_element/image/1/sam_and_snow.jpg
|
|
834
|
-
- spec/dummy/public/uploads/pulitzer/content_element/image/1/thumb_sam_and_snow.jpg
|
|
835
|
-
- spec/dummy/public/uploads/pulitzer/content_element/image/56/cms_sam_and_snow.jpg
|
|
836
|
-
- spec/dummy/public/uploads/pulitzer/content_element/image/56/sam_and_snow.jpg
|
|
837
|
-
- spec/dummy/public/uploads/pulitzer/content_element/image/56/thumb_sam_and_snow.jpg
|
|
838
|
-
- spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/cms_sam_and_snow.jpg
|
|
839
|
-
- spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/sam_and_snow.jpg
|
|
840
|
-
- spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/thumb_sam_and_snow.jpg
|
|
841
828
|
- spec/factories/content_element.rb
|
|
842
829
|
- spec/factories/content_element_type.rb
|
|
843
830
|
- spec/factories/free_form_section_types.rb
|
|
@@ -890,118 +877,105 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
890
877
|
version: '0'
|
|
891
878
|
requirements: []
|
|
892
879
|
rubyforge_project:
|
|
893
|
-
rubygems_version: 2.
|
|
880
|
+
rubygems_version: 2.6.11
|
|
894
881
|
signing_key:
|
|
895
882
|
specification_version: 4
|
|
896
883
|
summary: A content management engine for Ruby on Rails.
|
|
897
884
|
test_files:
|
|
898
|
-
- spec/
|
|
899
|
-
- spec/
|
|
900
|
-
- spec/
|
|
901
|
-
- spec/
|
|
902
|
-
- spec/
|
|
903
|
-
- spec/
|
|
904
|
-
- spec/
|
|
905
|
-
- spec/
|
|
906
|
-
- spec/
|
|
907
|
-
- spec/
|
|
908
|
-
- spec/
|
|
909
|
-
- spec/
|
|
910
|
-
- spec/
|
|
885
|
+
- spec/lib/pulitzer_spec.rb
|
|
886
|
+
- spec/support/files/sam_and_snow.jpg
|
|
887
|
+
- spec/dummy/config.ru
|
|
888
|
+
- spec/dummy/public/favicon.ico
|
|
889
|
+
- spec/dummy/public/404.html
|
|
890
|
+
- spec/dummy/public/422.html
|
|
891
|
+
- spec/dummy/public/500.html
|
|
892
|
+
- spec/dummy/lib/state_machine/transition.rb
|
|
893
|
+
- spec/dummy/lib/state_machine/model.rb
|
|
894
|
+
- spec/dummy/bin/rake
|
|
895
|
+
- spec/dummy/bin/rails
|
|
896
|
+
- spec/dummy/bin/setup
|
|
897
|
+
- spec/dummy/bin/bundle
|
|
898
|
+
- spec/dummy/app/helpers/application_helper.rb
|
|
899
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
|
911
900
|
- spec/dummy/app/assets/javascripts/application.js
|
|
912
901
|
- spec/dummy/app/assets/javascripts/jquery.js
|
|
913
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
|
914
902
|
- spec/dummy/app/controllers/application_controller.rb
|
|
915
903
|
- spec/dummy/app/controllers/pages_controller.rb
|
|
916
904
|
- spec/dummy/app/controllers/pulitzer_preview/pages_controller.rb
|
|
917
|
-
- spec/dummy/app/helpers/application_helper.rb
|
|
918
905
|
- spec/dummy/app/models/ability.rb
|
|
919
906
|
- spec/dummy/app/models/search_location.rb
|
|
920
907
|
- spec/dummy/app/models/user.rb
|
|
921
|
-
- spec/dummy/app/views/
|
|
908
|
+
- spec/dummy/app/views/pages/welcome.html.erb
|
|
922
909
|
- spec/dummy/app/views/pages/about_us.html.erb
|
|
923
910
|
- spec/dummy/app/views/pages/freeform.html.erb
|
|
924
911
|
- spec/dummy/app/views/pages/news_posts.html.erb
|
|
925
|
-
- spec/dummy/app/views/
|
|
912
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
|
926
913
|
- spec/dummy/app/views/pulitzer/welcome.html.erb
|
|
927
914
|
- spec/dummy/app/views/toolbars/_simple_editor.html.erb
|
|
928
|
-
- spec/dummy/
|
|
929
|
-
- spec/dummy/bin/rails
|
|
930
|
-
- spec/dummy/bin/rake
|
|
931
|
-
- spec/dummy/bin/setup
|
|
932
|
-
- spec/dummy/config/application.rb
|
|
933
|
-
- spec/dummy/config/boot.rb
|
|
915
|
+
- spec/dummy/README.rdoc
|
|
934
916
|
- spec/dummy/config/database.yml
|
|
935
|
-
- spec/dummy/config/
|
|
936
|
-
- spec/dummy/config/environments/development.rb
|
|
937
|
-
- spec/dummy/config/environments/production.rb
|
|
938
|
-
- spec/dummy/config/environments/test.rb
|
|
939
|
-
- spec/dummy/config/initializers/assets.rb
|
|
940
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
941
|
-
- spec/dummy/config/initializers/cookies_serializer.rb
|
|
942
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
943
|
-
- spec/dummy/config/initializers/inflections.rb
|
|
944
|
-
- spec/dummy/config/initializers/mime_types.rb
|
|
945
|
-
- spec/dummy/config/initializers/session_store.rb
|
|
917
|
+
- spec/dummy/config/application.rb
|
|
946
918
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
919
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
920
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
921
|
+
- spec/dummy/config/initializers/cookies_serializer.rb
|
|
922
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
947
923
|
- spec/dummy/config/initializers/zz_pulitzer.rb
|
|
948
|
-
- spec/dummy/config/
|
|
949
|
-
- spec/dummy/config/
|
|
924
|
+
- spec/dummy/config/initializers/assets.rb
|
|
925
|
+
- spec/dummy/config/initializers/session_store.rb
|
|
926
|
+
- spec/dummy/config/initializers/inflections.rb
|
|
950
927
|
- spec/dummy/config/secrets.yml
|
|
951
|
-
- spec/dummy/config.
|
|
952
|
-
- spec/dummy/
|
|
928
|
+
- spec/dummy/config/routes.rb
|
|
929
|
+
- spec/dummy/config/environments/production.rb
|
|
930
|
+
- spec/dummy/config/environments/development.rb
|
|
931
|
+
- spec/dummy/config/environments/test.rb
|
|
932
|
+
- spec/dummy/config/locales/en.yml
|
|
933
|
+
- spec/dummy/config/boot.rb
|
|
934
|
+
- spec/dummy/config/environment.rb
|
|
935
|
+
- spec/dummy/Rakefile
|
|
936
|
+
- spec/dummy/db/seeds.rb
|
|
953
937
|
- spec/dummy/db/schema.rb
|
|
954
938
|
- spec/dummy/db/seeds/pulitzer_post_types.rb
|
|
955
|
-
- spec/
|
|
956
|
-
- spec/
|
|
957
|
-
- spec/
|
|
958
|
-
- spec/
|
|
959
|
-
- spec/
|
|
960
|
-
- spec/
|
|
961
|
-
- spec/
|
|
962
|
-
- spec/
|
|
963
|
-
- spec/
|
|
964
|
-
- spec/
|
|
965
|
-
- spec/dummy/public/uploads/pulitzer/content_element/image/1/cms_sam_and_snow.jpg
|
|
966
|
-
- spec/dummy/public/uploads/pulitzer/content_element/image/1/sam_and_snow.jpg
|
|
967
|
-
- spec/dummy/public/uploads/pulitzer/content_element/image/1/thumb_sam_and_snow.jpg
|
|
968
|
-
- spec/dummy/public/uploads/pulitzer/content_element/image/56/cms_sam_and_snow.jpg
|
|
969
|
-
- spec/dummy/public/uploads/pulitzer/content_element/image/56/sam_and_snow.jpg
|
|
970
|
-
- spec/dummy/public/uploads/pulitzer/content_element/image/56/thumb_sam_and_snow.jpg
|
|
971
|
-
- spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/cms_sam_and_snow.jpg
|
|
972
|
-
- spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/sam_and_snow.jpg
|
|
973
|
-
- spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/thumb_sam_and_snow.jpg
|
|
974
|
-
- spec/dummy/Rakefile
|
|
975
|
-
- spec/dummy/README.rdoc
|
|
939
|
+
- spec/interactions/update_version_status_spec.rb
|
|
940
|
+
- spec/interactions/create_free_form_section_partials_spec.rb
|
|
941
|
+
- spec/interactions/create_post_content_elements_spec.rb
|
|
942
|
+
- spec/interactions/create_partial_content_elements_spec.rb
|
|
943
|
+
- spec/interactions/clone_version_spec.rb
|
|
944
|
+
- spec/interactions/pulitzer/post_types_controller/import_version_spec.rb
|
|
945
|
+
- spec/interactions/update_post_type_content_elements_spec.rb
|
|
946
|
+
- spec/factories/post_type_content_element_type.rb
|
|
947
|
+
- spec/factories/post_type_version.rb
|
|
948
|
+
- spec/factories/free_form_section_types.rb
|
|
976
949
|
- spec/factories/content_element.rb
|
|
977
950
|
- spec/factories/content_element_type.rb
|
|
978
|
-
- spec/factories/free_form_section_types.rb
|
|
979
|
-
- spec/factories/partial_type.rb
|
|
980
|
-
- spec/factories/post.rb
|
|
981
|
-
- spec/factories/post_tag.rb
|
|
982
951
|
- spec/factories/post_type.rb
|
|
983
|
-
- spec/factories/
|
|
984
|
-
- spec/factories/post_type_version.rb
|
|
985
|
-
- spec/factories/tag.rb
|
|
952
|
+
- spec/factories/post.rb
|
|
986
953
|
- spec/factories/version.rb
|
|
954
|
+
- spec/factories/partial_type.rb
|
|
955
|
+
- spec/factories/tag.rb
|
|
956
|
+
- spec/factories/post_tag.rb
|
|
957
|
+
- spec/fixtures/post_type_version.json
|
|
987
958
|
- spec/fixtures/files/post_type_version.json
|
|
988
959
|
- spec/fixtures/foo.json
|
|
989
|
-
- spec/
|
|
990
|
-
- spec/
|
|
991
|
-
- spec/
|
|
992
|
-
- spec/
|
|
993
|
-
- spec/
|
|
994
|
-
- spec/
|
|
995
|
-
- spec/
|
|
996
|
-
- spec/
|
|
997
|
-
- spec/
|
|
998
|
-
- spec/
|
|
960
|
+
- spec/rails_helper.rb
|
|
961
|
+
- spec/spec_helper.rb
|
|
962
|
+
- spec/controllers/pages_controller_spec.rb
|
|
963
|
+
- spec/controllers/tags_controller_spec.rb
|
|
964
|
+
- spec/controllers/pulitzer/partials_controller_spec.rb
|
|
965
|
+
- spec/controllers/pulitzer/content_elements_controller_spec.rb
|
|
966
|
+
- spec/controllers/pulitzer/sequence_flow_styles_controller_spec.rb
|
|
967
|
+
- spec/controllers/pulitzer/justification_styles_controller_spec.rb
|
|
968
|
+
- spec/controllers/pulitzer/post_type_versions_controller_spec.rb
|
|
969
|
+
- spec/controllers/pulitzer/versions_controller_spec.rb
|
|
970
|
+
- spec/controllers/pulitzer/arrangement_styles_controller_spec.rb
|
|
971
|
+
- spec/controllers/pulitzer/post_types_controller_spec.rb
|
|
972
|
+
- spec/controllers/pulitzer/free_form_section_types_controller_spec.rb
|
|
973
|
+
- spec/controllers/pulitzer/background_styles_controller_spec.rb
|
|
974
|
+
- spec/controllers/pulitzer/post_type_content_element_types_controller_spec.rb
|
|
975
|
+
- spec/models/version_spec.rb
|
|
999
976
|
- spec/models/post_spec.rb
|
|
1000
|
-
- spec/models/
|
|
977
|
+
- spec/models/content_element_spec.rb
|
|
1001
978
|
- spec/models/post_type_content_element_type_spec.rb
|
|
1002
|
-
- spec/models/post_type_spec.rb
|
|
1003
979
|
- spec/models/tag_spec.rb
|
|
1004
|
-
- spec/models/
|
|
1005
|
-
- spec/
|
|
1006
|
-
- spec/spec_helper.rb
|
|
1007
|
-
- spec/support/files/sam_and_snow.jpg
|
|
980
|
+
- spec/models/post_type_spec.rb
|
|
981
|
+
- spec/models/post_tag_spec.rb
|
|
Binary file
|
data/spec/dummy/db/test.sqlite3
DELETED
|
Binary file
|
|
@@ -1,582 +0,0 @@
|
|
|
1
|
-
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
|
|
2
|
-
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
|
|
3
|
-
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
|
4
|
-
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
5
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
6
|
-
Migrating to CreatePulitzerPostTypes (20150618224344)
|
|
7
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
8
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
9
|
-
|
|
10
|
-
class CreatePulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
11
|
-
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
12
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618224344"]]
|
|
13
|
-
[1m[35m (7.1ms)[0m [1m[36mcommit transaction[0m
|
|
14
|
-
Migrating to CreatePulitzerContentElementTypes (20150618225402)
|
|
15
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
16
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
17
|
-
|
|
18
|
-
class CreatePulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
19
|
-
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
20
|
-
[1m[35mSQL (17.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618225402"]]
|
|
21
|
-
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
|
22
|
-
Migrating to CreatePulitzerPosts (20150619204615)
|
|
23
|
-
[1m[35m (3.6ms)[0m [1m[36mbegin transaction[0m
|
|
24
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
25
|
-
|
|
26
|
-
class CreatePulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
27
|
-
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
28
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204615"]]
|
|
29
|
-
[1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
|
|
30
|
-
Migrating to CreatePulitzerContentElements (20150619204708)
|
|
31
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
32
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
33
|
-
|
|
34
|
-
class CreatePulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
35
|
-
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
36
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204708"]]
|
|
37
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
|
38
|
-
Migrating to CreatePulitzerTags (20150619213436)
|
|
39
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
40
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
41
|
-
|
|
42
|
-
class CreatePulitzerTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
43
|
-
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
44
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213436"]]
|
|
45
|
-
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
|
46
|
-
Migrating to CreatePulitzerPostTags (20150619213457)
|
|
47
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
48
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
49
|
-
|
|
50
|
-
class CreatePulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
51
|
-
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
52
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213457"]]
|
|
53
|
-
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
|
54
|
-
Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
|
|
55
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
56
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
57
|
-
|
|
58
|
-
class CreatePulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
59
|
-
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
60
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619215914"]]
|
|
61
|
-
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
|
62
|
-
Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
|
|
63
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
64
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
65
|
-
|
|
66
|
-
class AddPluralAndTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
67
|
-
[1m[35m (0.8ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "plural" boolean[0m
|
|
68
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "template" boolean[0m
|
|
69
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150629195832"]]
|
|
70
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
|
71
|
-
Migrating to AddPulitzerContentElementTypes (20150702150819)
|
|
72
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
|
73
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
74
|
-
|
|
75
|
-
class AddPulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
76
|
-
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
|
|
77
|
-
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
|
|
78
|
-
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Image"], ["LIMIT", 1]]
|
|
79
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
|
|
80
|
-
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Video"], ["LIMIT", 1]]
|
|
81
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
|
|
82
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150702150819"]]
|
|
83
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
|
84
|
-
Migrating to AddSlugToPulitzerPosts (20150724150230)
|
|
85
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
86
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
87
|
-
|
|
88
|
-
class AddSlugToPulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
89
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_posts" ADD "slug" varchar[0m
|
|
90
|
-
[1m[35m (0.0ms)[0m [1m[34mselect sqlite_version(*)[0m
|
|
91
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
|
|
92
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150724150230"]]
|
|
93
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
|
94
|
-
Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
|
|
95
|
-
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
|
96
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
97
|
-
|
|
98
|
-
class ChangeLabelTypeFromPulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
99
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
100
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
|
|
101
|
-
SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"[0m
|
|
102
|
-
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
|
|
103
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
104
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
|
|
105
|
-
SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"[0m
|
|
106
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_post_tags"[0m
|
|
107
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150902212741"]]
|
|
108
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
|
109
|
-
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
|
110
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
111
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
112
|
-
|
|
113
|
-
class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
114
|
-
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
|
|
115
|
-
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC)[0m
|
|
116
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151026180630"]]
|
|
117
|
-
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
|
118
|
-
Migrating to CreatePulitzerVersions (20151029194354)
|
|
119
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
120
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
121
|
-
|
|
122
|
-
class CreatePulitzerVersions < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
123
|
-
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
124
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029194354"]]
|
|
125
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
|
126
|
-
Migrating to ChangePostElementsToVersions (20151029220558)
|
|
127
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
128
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
129
|
-
|
|
130
|
-
class ChangePostElementsToVersions < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
131
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
132
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at")
|
|
133
|
-
SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"[0m
|
|
134
|
-
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE "pulitzer_content_elements"[0m
|
|
135
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
136
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at")
|
|
137
|
-
SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"[0m
|
|
138
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_content_elements"[0m
|
|
139
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
140
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at")
|
|
141
|
-
SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"[0m
|
|
142
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
|
|
143
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
144
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at")
|
|
145
|
-
SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"[0m
|
|
146
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_post_tags"[0m
|
|
147
|
-
Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
|
|
148
|
-
[1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
|
149
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029220558"]]
|
|
150
|
-
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
|
151
|
-
Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)
|
|
152
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
153
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
154
|
-
|
|
155
|
-
class AddPostTypeContentElementAttributesToContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
156
|
-
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar[0m
|
|
157
|
-
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100[0m
|
|
158
|
-
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100[0m
|
|
159
|
-
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer[0m
|
|
160
|
-
Scoped order and limit are ignored, it's forced to be batch order and batch size.
|
|
161
|
-
[1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
|
162
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151113183344"]]
|
|
163
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
|
164
|
-
Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)
|
|
165
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
166
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
167
|
-
|
|
168
|
-
class ChangeTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
169
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean)[0m
|
|
170
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template")
|
|
171
|
-
SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"[0m
|
|
172
|
-
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE "pulitzer_post_types"[0m
|
|
173
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)[0m
|
|
174
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural")
|
|
175
|
-
SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"[0m
|
|
176
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_post_types"[0m
|
|
177
|
-
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0[0m
|
|
178
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151116162508"]]
|
|
179
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
|
180
|
-
Migrating to AddKindToPulitzerContentElements (20151118031237)
|
|
181
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
182
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
183
|
-
|
|
184
|
-
class AddKindToPulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
185
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0[0m
|
|
186
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151118031237"]]
|
|
187
|
-
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
|
188
|
-
Migrating to AddErrorsToVersion (20160122204201)
|
|
189
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
190
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
191
|
-
|
|
192
|
-
class AddErrorsToVersion < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
193
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb[0m
|
|
194
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160122204201"]]
|
|
195
|
-
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
|
196
|
-
Migrating to CreatePartials (20160511192041)
|
|
197
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
198
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
199
|
-
|
|
200
|
-
class CreatePartials < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
201
|
-
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer)[0m
|
|
202
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160511192041"]]
|
|
203
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
|
204
|
-
Migrating to AddParentIdToPulitzerTag (20160511201527)
|
|
205
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
206
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
207
|
-
|
|
208
|
-
class AddParentIdToPulitzerTag < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
209
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_tags" ADD "parent_id" integer[0m
|
|
210
|
-
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL[0m
|
|
211
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")[0m
|
|
212
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160511201527"]]
|
|
213
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
|
214
|
-
Migrating to AddPartialToContentElement (20160512214545)
|
|
215
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
216
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
217
|
-
|
|
218
|
-
class AddPartialToContentElement < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
219
|
-
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer[0m
|
|
220
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160512214545"]]
|
|
221
|
-
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
|
222
|
-
Migrating to CreateFreeFormSectionType (20160513153209)
|
|
223
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
224
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
225
|
-
|
|
226
|
-
class CreateFreeFormSectionType < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
227
|
-
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)[0m
|
|
228
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153209"]]
|
|
229
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
|
230
|
-
Migrating to CreateFreeFormSection (20160513153214)
|
|
231
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
232
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
233
|
-
|
|
234
|
-
class CreateFreeFormSection < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
235
|
-
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)[0m
|
|
236
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153214"]]
|
|
237
|
-
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
|
238
|
-
Migrating to FixPostTypeKinds (20160516150237)
|
|
239
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
240
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
241
|
-
|
|
242
|
-
class FixPostTypeKinds < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
243
|
-
[1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2)[0m
|
|
244
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160516150237"]]
|
|
245
|
-
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
|
246
|
-
Migrating to CreateLayouts (20160517181706)
|
|
247
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
248
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
249
|
-
|
|
250
|
-
class CreateLayouts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
251
|
-
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)[0m
|
|
252
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517181706"]]
|
|
253
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
|
254
|
-
Migrating to AddLayoutToPartial (20160517182500)
|
|
255
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
256
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
257
|
-
|
|
258
|
-
class AddLayoutToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
259
|
-
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "layout_id" integer[0m
|
|
260
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517182500"]]
|
|
261
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
|
262
|
-
Migrating to AddLabelToPartial (20160519181030)
|
|
263
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
264
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
265
|
-
|
|
266
|
-
class AddLabelToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
267
|
-
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "label" varchar[0m
|
|
268
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160519181030"]]
|
|
269
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
|
270
|
-
Migrating to RemoveTitleFromContentElements (20160609214139)
|
|
271
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
272
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
273
|
-
|
|
274
|
-
class RemoveTitleFromContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
275
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)[0m
|
|
276
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id")
|
|
277
|
-
SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"[0m
|
|
278
|
-
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE "pulitzer_content_elements"[0m
|
|
279
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)[0m
|
|
280
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id")
|
|
281
|
-
SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"[0m
|
|
282
|
-
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_content_elements"[0m
|
|
283
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160609214139"]]
|
|
284
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
|
285
|
-
Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)
|
|
286
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
287
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
288
|
-
|
|
289
|
-
class AddRequiredToPulitzerPostTypeContentElementType < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
290
|
-
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false'[0m
|
|
291
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160927160910"]]
|
|
292
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
|
293
|
-
Migrating to AddSortToPostElements (20170502210827)
|
|
294
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
295
|
-
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer[0m
|
|
296
|
-
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer[0m
|
|
297
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170502210827"]]
|
|
298
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
|
299
|
-
Migrating to CreatePulitzerPartialTypes (20170508145431)
|
|
300
|
-
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
301
|
-
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
302
|
-
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
|
|
303
|
-
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
|
|
304
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
305
|
-
Migrating to CreatePulitzerPartialTypes (20170508145431)
|
|
306
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
307
|
-
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type" integer)[0m
|
|
308
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170508145431"]]
|
|
309
|
-
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
|
310
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
|
311
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
312
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-05-08 17:23:45 UTC], ["updated_at", 2017-05-08 17:23:45 UTC]]
|
|
313
|
-
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
|
314
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
315
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
|
316
|
-
FROM sqlite_master
|
|
317
|
-
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
318
|
-
UNION ALL
|
|
319
|
-
SELECT sql
|
|
320
|
-
FROM sqlite_temp_master
|
|
321
|
-
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
322
|
-
[0m
|
|
323
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
|
324
|
-
FROM sqlite_master
|
|
325
|
-
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
|
326
|
-
UNION ALL
|
|
327
|
-
SELECT sql
|
|
328
|
-
FROM sqlite_temp_master
|
|
329
|
-
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
|
330
|
-
[0m
|
|
331
|
-
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
|
|
332
|
-
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
|
|
333
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
334
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
335
|
-
Migrating to CreatePulitzerPartialTypes (20170508145431)
|
|
336
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
|
337
|
-
[1m[35m (1.2ms)[0m [1m[35mDROP TABLE "pulitzer_partial_types"[0m
|
|
338
|
-
[1m[35mSQL (0.8ms)[0m [1m[31mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ?[0m [["version", "20170508145431"]]
|
|
339
|
-
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
|
340
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
341
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
|
342
|
-
FROM sqlite_master
|
|
343
|
-
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
344
|
-
UNION ALL
|
|
345
|
-
SELECT sql
|
|
346
|
-
FROM sqlite_temp_master
|
|
347
|
-
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
348
|
-
[0m
|
|
349
|
-
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
|
350
|
-
FROM sqlite_master
|
|
351
|
-
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
|
352
|
-
UNION ALL
|
|
353
|
-
SELECT sql
|
|
354
|
-
FROM sqlite_temp_master
|
|
355
|
-
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
|
356
|
-
[0m
|
|
357
|
-
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
|
|
358
|
-
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
|
|
359
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
360
|
-
Migrating to CreatePulitzerPartialTypes (20170508145431)
|
|
361
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
362
|
-
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer)[0m
|
|
363
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170508145431"]]
|
|
364
|
-
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
|
365
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
|
366
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
367
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
|
368
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
369
|
-
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
|
370
|
-
FROM sqlite_master
|
|
371
|
-
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
372
|
-
UNION ALL
|
|
373
|
-
SELECT sql
|
|
374
|
-
FROM sqlite_temp_master
|
|
375
|
-
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
376
|
-
[0m
|
|
377
|
-
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
|
378
|
-
FROM sqlite_master
|
|
379
|
-
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
|
380
|
-
UNION ALL
|
|
381
|
-
SELECT sql
|
|
382
|
-
FROM sqlite_temp_master
|
|
383
|
-
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
|
384
|
-
[0m
|
|
385
|
-
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
|
|
386
|
-
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
|
|
387
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
388
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
|
389
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
390
|
-
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
|
391
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
392
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
|
393
|
-
FROM sqlite_master
|
|
394
|
-
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
395
|
-
UNION ALL
|
|
396
|
-
SELECT sql
|
|
397
|
-
FROM sqlite_temp_master
|
|
398
|
-
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
399
|
-
[0m
|
|
400
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
|
401
|
-
FROM sqlite_master
|
|
402
|
-
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
|
403
|
-
UNION ALL
|
|
404
|
-
SELECT sql
|
|
405
|
-
FROM sqlite_temp_master
|
|
406
|
-
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
|
407
|
-
[0m
|
|
408
|
-
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
|
|
409
|
-
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
|
|
410
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
411
|
-
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
|
412
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
413
|
-
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
|
414
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
415
|
-
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
|
416
|
-
FROM sqlite_master
|
|
417
|
-
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
418
|
-
UNION ALL
|
|
419
|
-
SELECT sql
|
|
420
|
-
FROM sqlite_temp_master
|
|
421
|
-
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
|
422
|
-
[0m
|
|
423
|
-
[1m[35m (0.6ms)[0m [1m[34m SELECT sql
|
|
424
|
-
FROM sqlite_master
|
|
425
|
-
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
|
426
|
-
UNION ALL
|
|
427
|
-
SELECT sql
|
|
428
|
-
FROM sqlite_temp_master
|
|
429
|
-
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
|
430
|
-
[0m
|
|
431
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
432
|
-
Migrating to CreatePostTypeVersion (20170515230633)
|
|
433
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
434
|
-
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'incomplete' NOT NULL)[0m
|
|
435
|
-
[1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
|
|
436
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id")[0m
|
|
437
|
-
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170515230633"]]
|
|
438
|
-
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
|
439
|
-
Migrating to ReconnectPostTypeToPost (20170515232938)
|
|
440
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
441
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
442
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
443
|
-
Migrating to ReconnectPostTypeToPost (20170515232938)
|
|
444
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
445
|
-
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
446
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
447
|
-
Migrating to ReconnectPostTypeToPost (20170515232938)
|
|
448
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
449
|
-
[1m[35m (0.9ms)[0m [1m[35mALTER TABLE "pulitzer_posts" ADD "post_type_version_id" integer[0m
|
|
450
|
-
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_background_styles" ADD "post_type_version_id" integer[0m
|
|
451
|
-
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
|
452
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
453
|
-
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
|
|
454
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
455
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
|
|
456
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
457
|
-
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
|
|
458
|
-
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
|
459
|
-
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
460
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
461
|
-
Migrating to CreatePulitzerPostTypes (20150618224344)
|
|
462
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
463
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
464
|
-
|
|
465
|
-
class CreatePulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
466
|
-
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
467
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618224344"]]
|
|
468
|
-
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
|
469
|
-
Migrating to CreatePulitzerContentElementTypes (20150618225402)
|
|
470
|
-
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
|
471
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
472
|
-
|
|
473
|
-
class CreatePulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
474
|
-
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
475
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618225402"]]
|
|
476
|
-
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
|
477
|
-
Migrating to CreatePulitzerPosts (20150619204615)
|
|
478
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
479
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
480
|
-
|
|
481
|
-
class CreatePulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
482
|
-
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
483
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204615"]]
|
|
484
|
-
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
|
485
|
-
Migrating to CreatePulitzerContentElements (20150619204708)
|
|
486
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
487
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
488
|
-
|
|
489
|
-
class CreatePulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
490
|
-
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
491
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204708"]]
|
|
492
|
-
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
|
493
|
-
Migrating to CreatePulitzerTags (20150619213436)
|
|
494
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
495
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
496
|
-
|
|
497
|
-
class CreatePulitzerTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
498
|
-
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
499
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213436"]]
|
|
500
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
|
501
|
-
Migrating to CreatePulitzerPostTags (20150619213457)
|
|
502
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
503
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
504
|
-
|
|
505
|
-
class CreatePulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
506
|
-
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
507
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213457"]]
|
|
508
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
|
509
|
-
Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
|
|
510
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
511
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
512
|
-
|
|
513
|
-
class CreatePulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
514
|
-
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
515
|
-
[1m[35mSQL (5.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619215914"]]
|
|
516
|
-
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
|
517
|
-
Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
|
|
518
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
519
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
520
|
-
|
|
521
|
-
class AddPluralAndTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
522
|
-
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "plural" boolean[0m
|
|
523
|
-
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "template" boolean[0m
|
|
524
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150629195832"]]
|
|
525
|
-
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
|
526
|
-
Migrating to AddPulitzerContentElementTypes (20150702150819)
|
|
527
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
528
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
529
|
-
|
|
530
|
-
class AddPulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
531
|
-
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
|
|
532
|
-
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
|
|
533
|
-
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Image"], ["LIMIT", 1]]
|
|
534
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
|
|
535
|
-
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Video"], ["LIMIT", 1]]
|
|
536
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
|
|
537
|
-
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150702150819"]]
|
|
538
|
-
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
|
539
|
-
Migrating to AddSlugToPulitzerPosts (20150724150230)
|
|
540
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
541
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
542
|
-
|
|
543
|
-
class AddSlugToPulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
544
|
-
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_posts" ADD "slug" varchar[0m
|
|
545
|
-
[1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
|
|
546
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
|
|
547
|
-
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150724150230"]]
|
|
548
|
-
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
|
549
|
-
Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
|
|
550
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
551
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
552
|
-
|
|
553
|
-
class ChangeLabelTypeFromPulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
554
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
555
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
|
|
556
|
-
SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"[0m
|
|
557
|
-
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
|
|
558
|
-
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
|
559
|
-
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
|
|
560
|
-
SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"[0m
|
|
561
|
-
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE "apulitzer_post_tags"[0m
|
|
562
|
-
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150902212741"]]
|
|
563
|
-
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
|
564
|
-
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
|
565
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
566
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
567
|
-
|
|
568
|
-
class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
569
|
-
[1m[35m (0.9ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
|
|
570
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC)[0m
|
|
571
|
-
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
|
572
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
573
|
-
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
|
574
|
-
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
575
|
-
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
|
576
|
-
|
|
577
|
-
class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
|
578
|
-
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
|
|
579
|
-
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC)[0m
|
|
580
|
-
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
|
581
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
582
|
-
[1m[35m (3.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
|