pulitzer 0.15.19 → 0.15.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/pulitzer/partial_tags_controller.rb +13 -0
  3. data/app/interactions/pulitzer/partial_tags_controller/create_partial_tag.rb +19 -0
  4. data/app/models/pulitzer/partial.rb +4 -2
  5. data/app/models/pulitzer/partial_tag.rb +14 -0
  6. data/app/models/pulitzer/tag.rb +1 -0
  7. data/app/views/pulitzer/content_elements/_partial_index.html.erb +10 -1
  8. data/app/views/pulitzer/partial_tags/_new.html.erb +9 -0
  9. data/app/views/pulitzer/partial_tags/_show.html.erb +11 -0
  10. data/app/views/pulitzer/partial_tags/_show_wrapper.html.erb +3 -0
  11. data/app/views/pulitzer/partials/_form.html.erb +2 -2
  12. data/config/routes.rb +1 -0
  13. data/db/migrate/20170913214214_create_pulitzer_partial_tags.rb +11 -0
  14. data/lib/pulitzer/version.rb +1 -1
  15. data/spec/dummy/db/development.sqlite3 +0 -0
  16. data/spec/dummy/db/schema.rb +79 -71
  17. data/spec/dummy/db/test.sqlite3 +0 -0
  18. data/spec/dummy/log/development.log +939 -0
  19. data/spec/dummy/log/test.log +36799 -0
  20. data/spec/dummy/public/uploads/pulitzer/content_element/image/1/cms_sam_and_snow.jpg +0 -0
  21. data/spec/dummy/public/uploads/pulitzer/content_element/image/1/sam_and_snow.jpg +0 -0
  22. data/spec/dummy/public/uploads/pulitzer/content_element/image/1/thumb_sam_and_snow.jpg +0 -0
  23. data/spec/dummy/public/uploads/pulitzer/content_element/image/56/cms_sam_and_snow.jpg +0 -0
  24. data/spec/dummy/public/uploads/pulitzer/content_element/image/56/sam_and_snow.jpg +0 -0
  25. data/spec/dummy/public/uploads/pulitzer/content_element/image/56/thumb_sam_and_snow.jpg +0 -0
  26. data/spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/cms_sam_and_snow.jpg +0 -0
  27. data/spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/sam_and_snow.jpg +0 -0
  28. data/spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/thumb_sam_and_snow.jpg +0 -0
  29. metadata +105 -72
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8351c9d32ad098ca8aaf6ada32f95ec82e7f76b9
4
- data.tar.gz: 6007e6cdb4db72d84fb6849c510b25da12424b2c
3
+ metadata.gz: eecf857a73cbd5488b6765aa9adefa7ed76919dc
4
+ data.tar.gz: 7cf60b8425d94e369e6cdfe178095e5e03b9ca3b
5
5
  SHA512:
6
- metadata.gz: 61de067fc0373233a319954abd196e362771416bb27f7ca39df22aadd3f978ddda8e7b1b750ffbc9ef1a74cf0b63791b985dbf8dd20a9918b894c968851ca041
7
- data.tar.gz: 59e71dfb8a6110559df1a0ed3da38b8238c0fe1d21064e7efed4bcc9532b8cabcab5b3e1eafd6a3f03b552266aeba0fd2f917a3b4dd88da6cf5af29d21aabaee
6
+ metadata.gz: c87bdd152747b82dae2a3f1b7a5147a6f9667e57553957b3994ef3b8a31684a4a9f69cbe779a68ad3f845dd0323ecd0bcf5128b0495b3514655a2f7d8cecd05f
7
+ data.tar.gz: 0510f30ab70396a9fab7b312755de53abdb5919991858cebd59a53973b6dd7bb34d26688c5e1dbc4e161546b915d0acb304f5d2929dec8c53cab00af73fb1abd
@@ -0,0 +1,13 @@
1
+ class Pulitzer::PartialTagsController < Pulitzer::ApplicationController
2
+ def new
3
+ @tag_model = params[:tag_model]
4
+ @partial = Pulitzer::Partial.find params[:partial_id]
5
+ @partial_tag = @partial.partial_tags.new label_type: @tag_model
6
+ render partial: 'new', locals: { tag_model: @tag_model, partial_tag: @partial_tag, partial: @partial }
7
+ end
8
+
9
+ def create
10
+ @partial_tag = CreatePartialTag.new(params).call
11
+ render partial: 'show', locals: { partial: @partial_tag.partial, partial_tag: @partial_tag, tag_model: @partial_tag.label_type }
12
+ end
13
+ end
@@ -0,0 +1,19 @@
1
+ class Pulitzer::PartialTagsController::CreatePartialTag
2
+
3
+ def initialize(params)
4
+ @request_params = params
5
+ end
6
+
7
+ def call
8
+ label_id = partial_tag_params[:label_id]
9
+ unless (Integer(label_id) rescue false)
10
+ tag = Pulitzer::Tag.where(name: label_id).first_or_create
11
+ @request_params[:partial_tag][:label_id] = tag.id
12
+ end
13
+ Pulitzer::PartialTag.create partial_tag_params
14
+ end
15
+
16
+ def partial_tag_params
17
+ @request_params[:partial_tag].permit!
18
+ end
19
+ end
@@ -9,9 +9,11 @@ module Pulitzer
9
9
  has_one :post_type, through: :post_type_version
10
10
 
11
11
  has_many :content_elements, dependent: :destroy
12
+ has_many :partial_tags, dependent: :destroy, index_errors: true, inverse_of: :partial
13
+ has_many :tags, through: :partial_tags, source: :label, source_type: "Pulitzer::Tag"
12
14
 
13
15
  accepts_nested_attributes_for :content_elements
14
-
16
+
15
17
  delegate :name, :post_type_content_element_types, :has_display?, :post_type_id, :version_number, to: :post_type_version
16
18
  delegate :template_path, to: :layout, allow_nil: true
17
19
 
@@ -30,7 +32,7 @@ module Pulitzer
30
32
  json_hash[attrs_name].map!{|p_attrs|
31
33
  new_attrs = Pulitzer::ContentElement.convert_hash_to_nested p_attrs
32
34
  }
33
- json_hash
35
+ json_hash
34
36
  end
35
37
 
36
38
  def content_element(label)
@@ -0,0 +1,14 @@
1
+ module Pulitzer
2
+ class PartialTag < Pulitzer::ApplicationRecord
3
+ belongs_to :partial
4
+ belongs_to :label, polymorphic: true
5
+ validates :partial, :label, presence: true
6
+
7
+ def clone_me
8
+ my_clone = self.dup
9
+ my_clone.partial_id = nil
10
+ my_clone
11
+ end
12
+
13
+ end
14
+ end
@@ -1,6 +1,7 @@
1
1
  module Pulitzer
2
2
  class Tag < Pulitzer::ApplicationRecord
3
3
  has_many :post_tags, as: :label, dependent: :destroy, inverse_of: :label
4
+ has_many :partial_tags, as: :label, dependent: :destroy, inverse_of: :label
4
5
  has_many :versions, through: :post_tags
5
6
  has_many :posts, through: :versions
6
7
 
@@ -2,4 +2,13 @@
2
2
  <% partial.content_elements.each do |content_element| %>
3
3
  <%= render partial: '/pulitzer/content_elements/show_wrapper', locals: { element: content_element } %>
4
4
  <% end %>
5
- </div>
5
+ </div>
6
+
7
+ <div class="pulitzer-row margin-left highlight-off-white">
8
+ <h4>Pulitzer Tags</h4>
9
+ <div id="<%=dom_id(partial, :tags) %>">
10
+ <% Pulitzer::Post::TAG_MODELS.each do |tag_model| %>
11
+ <%= render partial: 'pulitzer/partial_tags/show_wrapper', locals: { partial: partial, tag_model: tag_model } %>
12
+ <% end %>
13
+ </div>
14
+ </div>
@@ -0,0 +1,9 @@
1
+ <%= form_for partial_tag, html: ajax_form_hash("#show_#{dom_id(partial, underscore_class_name(tag_model))}") do |f| %>
2
+ <%= f.label :name %>
3
+ <%= f.select :label_id, options_from_collection_for_select(tag_model.constantize.all, :id, :name), {}, select2_html_options(tag_model) %>
4
+ <%= f.hidden_field :partial_id %>
5
+ <%= f.hidden_field :label_type %>
6
+ <%= f.submit "Create" %>
7
+ <%= link_to('Cancel', '#', class: 'button',
8
+ data: { emptier: true, target: "#new_#{dom_id(partial, underscore_class_name(tag_model))}" } ) %>
9
+ <% end %>
@@ -0,0 +1,11 @@
1
+ <h3><%= humanize_class_name(tag_model).pluralize %></h3>
2
+ <% partial.partial_tags.where(label_type: tag_model).each do |partial_tag| %>
3
+ <ul class='inline-list' id="<%= dom_id(partial_tag) %>">
4
+ <li><%= partial_tag.label.name %></li>
5
+ <li><%= ajax_delete 'delete', partial_tag_path(partial_tag), {}, dom_target(partial_tag) %></li>
6
+ </ul>
7
+ <% end %>
8
+
9
+ <%= ajax_link "Add a new #{humanize_class_name(tag_model)}", new_partial_tag_path(partial_id: partial.id, tag_model: tag_model), {}, "#new_#{dom_id(partial, underscore_class_name(tag_model))}" %>
10
+
11
+ <div id="new_<%= dom_id(partial, underscore_class_name(tag_model)) %>"></div>
@@ -0,0 +1,3 @@
1
+ <div class="pulitzer-row margin-bottom margin-left" id="show_<%= dom_id(partial, underscore_class_name(tag_model)) %>">
2
+ <%= render partial: 'pulitzer/partial_tags/show', locals: { tag_model: tag_model, partial: partial } %>
3
+ </div>
@@ -16,7 +16,7 @@
16
16
  <%= f.collection_select :arrangement_style_id, partial.available_arrangements, :id, :display_name, {}, {} %>
17
17
  </div>
18
18
  <% end %>
19
- <div class="pulitzer-span ten-percent">
19
+ <div class="pulitzer-span ten-percent">
20
20
  <%= f.collection_select :background_style_id, partial.available_backgrounds, :id, :display_name, {}, {} %>
21
21
  </div>
22
22
  <div class="pulitzer-span ten-percent">
@@ -34,4 +34,4 @@
34
34
  <%= ajax_delete 'delete', partial_path(partial), {class: 'button'}, dom_target(partial) %>
35
35
  </div>
36
36
  <% end %>
37
- </div>
37
+ </div>
@@ -11,6 +11,7 @@ Pulitzer::Engine.routes.draw do
11
11
  end
12
12
  resources :content_elements
13
13
  resources :post_tags
14
+ resources :partial_tags
14
15
 
15
16
  resources :content_elements
16
17
  resources :partials do
@@ -0,0 +1,11 @@
1
+ class CreatePulitzerPartialTags < ActiveRecord::Migration[5.0]
2
+ def change
3
+ create_table :pulitzer_partial_tags do |t|
4
+ t.integer :partial_id
5
+ t.integer :label_id
6
+ t.string :label_type
7
+
8
+ t.timestamps
9
+ end
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Pulitzer
2
- VERSION = '0.15.19'
2
+ VERSION = '0.15.20'
3
3
  end
@@ -10,43 +10,43 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 20170602204900) do
13
+ ActiveRecord::Schema.define(version: 20170913214214) do
14
14
 
15
15
  create_table "pulitzer_arrangement_styles", force: :cascade do |t|
16
16
  t.integer "post_type_version_id"
17
- t.string "display_name"
18
- t.string "view_file_name"
17
+ t.string "display_name"
18
+ t.string "view_file_name"
19
19
  end
20
20
 
21
21
  create_table "pulitzer_background_styles", force: :cascade do |t|
22
22
  t.integer "post_type_version_id"
23
- t.string "display_name"
24
- t.string "css_class_name"
23
+ t.string "display_name"
24
+ t.string "css_class_name"
25
25
  end
26
26
 
27
27
  create_table "pulitzer_content_element_types", force: :cascade do |t|
28
- t.string "name"
28
+ t.string "name"
29
29
  t.datetime "created_at", null: false
30
30
  t.datetime "updated_at", null: false
31
31
  end
32
32
 
33
33
  create_table "pulitzer_content_elements", force: :cascade do |t|
34
- t.string "label"
35
- t.string "title"
36
- t.text "body"
37
- t.string "image"
38
- t.integer "version_id"
39
- t.integer "post_type_content_element_type_id"
40
- t.integer "content_element_type_id"
41
- t.datetime "created_at", null: false
42
- t.datetime "updated_at", null: false
43
- t.string "text_editor"
44
- t.integer "height", default: 100
45
- t.integer "width", default: 100
46
- t.integer "sort_order"
47
- t.integer "partial_id"
48
- t.integer "style_id"
49
- t.integer "custom_option_id"
34
+ t.string "label"
35
+ t.string "title"
36
+ t.text "body"
37
+ t.string "image"
38
+ t.integer "version_id"
39
+ t.integer "post_type_content_element_type_id"
40
+ t.integer "content_element_type_id"
41
+ t.datetime "created_at", null: false
42
+ t.datetime "updated_at", null: false
43
+ t.string "text_editor"
44
+ t.integer "height", default: 100
45
+ t.integer "width", default: 100
46
+ t.integer "sort_order"
47
+ t.integer "partial_id"
48
+ t.integer "style_id"
49
+ t.integer "custom_option_id"
50
50
  end
51
51
 
52
52
  create_table "pulitzer_custom_option_lists", force: :cascade do |t|
@@ -55,31 +55,39 @@ ActiveRecord::Schema.define(version: 20170602204900) do
55
55
 
56
56
  create_table "pulitzer_custom_options", force: :cascade do |t|
57
57
  t.integer "custom_option_list_id"
58
- t.string "display"
59
- t.string "value"
58
+ t.string "display"
59
+ t.string "value"
60
60
  end
61
61
 
62
62
  create_table "pulitzer_free_form_section_types", force: :cascade do |t|
63
63
  t.integer "post_type_version_id"
64
- t.string "name"
64
+ t.string "name"
65
65
  t.integer "sort_order"
66
66
  end
67
67
 
68
68
  create_table "pulitzer_free_form_sections", force: :cascade do |t|
69
69
  t.integer "version_id"
70
70
  t.integer "free_form_section_type_id"
71
- t.string "name"
71
+ t.string "name"
72
72
  end
73
73
 
74
74
  create_table "pulitzer_justification_styles", force: :cascade do |t|
75
75
  t.integer "post_type_version_id"
76
- t.string "display_name"
77
- t.string "css_class_name"
76
+ t.string "display_name"
77
+ t.string "css_class_name"
78
+ end
79
+
80
+ create_table "pulitzer_partial_tags", force: :cascade do |t|
81
+ t.integer "partial_id"
82
+ t.integer "label_id"
83
+ t.string "label_type"
84
+ t.datetime "created_at", null: false
85
+ t.datetime "updated_at", null: false
78
86
  end
79
87
 
80
88
  create_table "pulitzer_partial_types", force: :cascade do |t|
81
89
  t.integer "free_form_section_type_id"
82
- t.string "label"
90
+ t.string "label"
83
91
  t.integer "sort_order"
84
92
  t.integer "layout_id"
85
93
  t.integer "post_type_version_id"
@@ -90,7 +98,7 @@ ActiveRecord::Schema.define(version: 20170602204900) do
90
98
  t.integer "free_form_section_id"
91
99
  t.integer "sort_order"
92
100
  t.integer "layout_id"
93
- t.string "label"
101
+ t.string "label"
94
102
  t.integer "background_style_id"
95
103
  t.integer "justification_style_id"
96
104
  t.integer "sequence_flow_style_id"
@@ -98,9 +106,9 @@ ActiveRecord::Schema.define(version: 20170602204900) do
98
106
  end
99
107
 
100
108
  create_table "pulitzer_post_tags", force: :cascade do |t|
101
- t.integer "version_id"
102
- t.integer "label_id"
103
- t.string "label_type"
109
+ t.integer "version_id"
110
+ t.integer "label_id"
111
+ t.string "label_type"
104
112
  t.datetime "created_at", null: false
105
113
  t.datetime "updated_at", null: false
106
114
  end
@@ -111,72 +119,72 @@ ActiveRecord::Schema.define(version: 20170602204900) do
111
119
  end
112
120
 
113
121
  create_table "pulitzer_post_type_content_element_types", force: :cascade do |t|
114
- t.integer "post_type_version_id"
115
- t.integer "content_element_type_id"
116
- t.string "label"
117
- t.integer "height", default: 100
118
- t.integer "width", default: 100
119
- t.datetime "created_at", null: false
120
- t.datetime "updated_at", null: false
121
- t.string "text_editor"
122
- t.boolean "required", default: false
123
- t.integer "sort_order"
124
- t.string "clickable_kind", default: "any", null: false
122
+ t.integer "post_type_version_id"
123
+ t.integer "content_element_type_id"
124
+ t.string "label"
125
+ t.integer "height", default: 100
126
+ t.integer "width", default: 100
127
+ t.datetime "created_at", null: false
128
+ t.datetime "updated_at", null: false
129
+ t.string "text_editor"
130
+ t.boolean "required", default: false
131
+ t.integer "sort_order"
132
+ t.string "clickable_kind", default: "any", null: false
125
133
  end
126
134
 
127
135
  create_table "pulitzer_post_type_versions", force: :cascade do |t|
128
136
  t.integer "post_type_id"
129
- t.integer "version_number", default: 1, null: false
130
- t.string "status", default: "preview", null: false
137
+ t.integer "version_number", default: 1, null: false
138
+ t.string "status", default: "preview", null: false
131
139
  t.index ["post_type_id"], name: "index_pulitzer_post_type_versions_on_post_type_id"
132
140
  end
133
141
 
134
142
  create_table "pulitzer_post_types", force: :cascade do |t|
135
- t.string "name"
136
- t.datetime "created_at", null: false
137
- t.datetime "updated_at", null: false
138
- t.boolean "plural"
139
- t.integer "kind", default: 0
143
+ t.string "name"
144
+ t.datetime "created_at", null: false
145
+ t.datetime "updated_at", null: false
146
+ t.boolean "plural"
147
+ t.integer "kind", default: 0
140
148
  end
141
149
 
142
150
  create_table "pulitzer_posts", force: :cascade do |t|
143
- t.string "title"
144
- t.string "status", default: "unpublished"
145
- t.datetime "created_at", null: false
146
- t.datetime "updated_at", null: false
147
- t.string "slug"
148
- t.integer "post_type_version_id"
151
+ t.string "title"
152
+ t.string "status", default: "unpublished"
153
+ t.datetime "created_at", null: false
154
+ t.datetime "updated_at", null: false
155
+ t.string "slug"
156
+ t.integer "post_type_version_id"
149
157
  t.index ["post_type_version_id"], name: "index_pulitzer_posts_on_post_type_version_id"
150
158
  t.index ["slug"], name: "index_pulitzer_posts_on_slug", unique: true
151
159
  end
152
160
 
153
161
  create_table "pulitzer_sequence_flow_styles", force: :cascade do |t|
154
162
  t.integer "post_type_version_id"
155
- t.string "display_name"
156
- t.string "css_class_name"
163
+ t.string "display_name"
164
+ t.string "css_class_name"
157
165
  end
158
166
 
159
167
  create_table "pulitzer_styles", force: :cascade do |t|
160
168
  t.integer "post_type_content_element_type_id"
161
- t.string "display_name"
162
- t.string "css_class_name"
169
+ t.string "display_name"
170
+ t.string "css_class_name"
163
171
  end
164
172
 
165
173
  create_table "pulitzer_tags", force: :cascade do |t|
166
- t.string "name"
167
- t.datetime "created_at", null: false
168
- t.datetime "updated_at", null: false
169
- t.integer "parent_id"
170
- t.boolean "hierarchical", default: false, null: false
174
+ t.string "name"
175
+ t.datetime "created_at", null: false
176
+ t.datetime "updated_at", null: false
177
+ t.integer "parent_id"
178
+ t.boolean "hierarchical", default: false, null: false
171
179
  t.index ["hierarchical"], name: "index_pulitzer_tags_on_hierarchical"
172
180
  end
173
181
 
174
182
  create_table "pulitzer_versions", force: :cascade do |t|
175
- t.integer "status", default: 0
176
- t.integer "post_id"
177
- t.datetime "created_at", null: false
178
- t.datetime "updated_at", null: false
179
- t.text "cloning_errors"
183
+ t.integer "status", default: 0
184
+ t.integer "post_id"
185
+ t.datetime "created_at", null: false
186
+ t.datetime "updated_at", null: false
187
+ t.text "cloning_errors"
180
188
  end
181
189
 
182
190
  end
@@ -0,0 +1,939 @@
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
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
4
+  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
6
+ Migrating to CreatePulitzerPostTypes (20150618224344)
7
+  (0.1ms) begin transaction
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
+  (1.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
12
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]
13
+  (7.1ms) commit transaction
14
+ Migrating to CreatePulitzerContentElementTypes (20150618225402)
15
+  (0.1ms) begin transaction
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
+  (0.7ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
20
+ SQL (17.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]
21
+  (1.1ms) commit transaction
22
+ Migrating to CreatePulitzerPosts (20150619204615)
23
+  (3.6ms) begin transaction
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
+  (0.7ms) CREATE 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)
28
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]
29
+  (1.6ms) commit transaction
30
+ Migrating to CreatePulitzerContentElements (20150619204708)
31
+  (0.1ms) begin transaction
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
+  (0.6ms) CREATE 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)
36
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]
37
+  (0.9ms) commit transaction
38
+ Migrating to CreatePulitzerTags (20150619213436)
39
+  (0.1ms) begin transaction
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
+  (0.3ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
44
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]
45
+  (0.6ms) commit transaction
46
+ Migrating to CreatePulitzerPostTags (20150619213457)
47
+  (0.1ms) begin transaction
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
+  (0.4ms) CREATE 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)
52
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]
53
+  (1.0ms) commit transaction
54
+ Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
55
+  (0.1ms) begin transaction
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
+  (0.9ms) CREATE 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)
60
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]
61
+  (1.1ms) commit transaction
62
+ Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
63
+  (0.1ms) begin transaction
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
+  (0.8ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean
68
+  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean
69
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]
70
+  (0.8ms) commit transaction
71
+ Migrating to AddPulitzerContentElementTypes (20150702150819)
72
+  (0.2ms) begin transaction
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
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
77
+ SQL (0.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
78
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]]
79
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
80
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]
81
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
82
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]
83
+  (0.9ms) commit transaction
84
+ Migrating to AddSlugToPulitzerPosts (20150724150230)
85
+  (0.0ms) begin transaction
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
+  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar
90
+  (0.0ms) select sqlite_version(*)
91
+  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")
92
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]
93
+  (0.9ms) commit transaction
94
+ Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
95
+  (0.3ms) begin transaction
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
+  (0.2ms) CREATE 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)
100
+  (0.1ms) INSERT 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"
102
+  (0.4ms) DROP TABLE "pulitzer_post_tags"
103
+  (0.1ms) CREATE 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)
104
+  (0.1ms) INSERT 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"
106
+  (0.1ms) DROP TABLE "apulitzer_post_tags"
107
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]
108
+  (0.9ms) commit transaction
109
+ Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
110
+  (0.1ms) begin transaction
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
+  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
115
+ SQL (0.1ms) UPDATE "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)
116
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]
117
+  (0.7ms) commit transaction
118
+ Migrating to CreatePulitzerVersions (20151029194354)
119
+  (0.0ms) begin transaction
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
+  (0.7ms) CREATE 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)
124
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]
125
+  (0.8ms) commit transaction
126
+ Migrating to ChangePostElementsToVersions (20151029220558)
127
+  (0.1ms) begin transaction
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
+  (0.1ms) CREATE 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)
132
+  (0.1ms) INSERT 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"
134
+  (0.3ms) DROP TABLE "pulitzer_content_elements"
135
+  (0.1ms) CREATE 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)
136
+  (0.1ms) INSERT 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"
138
+  (0.1ms) DROP TABLE "apulitzer_content_elements"
139
+  (0.1ms) CREATE 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)
140
+  (0.1ms) INSERT 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"
142
+  (0.1ms) DROP TABLE "pulitzer_post_tags"
143
+  (0.2ms) CREATE 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)
144
+  (0.1ms) INSERT 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"
146
+  (0.1ms) DROP TABLE "apulitzer_post_tags"
147
+ Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
148
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]]
149
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]
150
+  (1.0ms) commit transaction
151
+ Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)
152
+  (0.1ms) begin transaction
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
+  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar
157
+  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100
158
+  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100
159
+  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer
160
+ Scoped order and limit are ignored, it's forced to be batch order and batch size.
161
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]]
162
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]
163
+  (0.9ms) commit transaction
164
+ Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)
165
+  (0.1ms) begin transaction
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
+  (0.1ms) CREATE 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)
170
+  (0.1ms) INSERT 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"
172
+  (0.4ms) DROP TABLE "pulitzer_post_types"
173
+  (0.1ms) CREATE 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)
174
+  (0.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural")
175
+ SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"
176
+  (0.1ms) DROP TABLE "apulitzer_post_types"
177
+  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0
178
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]
179
+  (0.9ms) commit transaction
180
+ Migrating to AddKindToPulitzerContentElements (20151118031237)
181
+  (0.1ms) begin transaction
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
+  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0
186
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]
187
+  (0.7ms) commit transaction
188
+ Migrating to AddErrorsToVersion (20160122204201)
189
+  (0.0ms) begin transaction
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
+  (0.3ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb
194
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]
195
+  (0.7ms) commit transaction
196
+ Migrating to CreatePartials (20160511192041)
197
+  (0.1ms) begin transaction
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
+  (0.4ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer)
202
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]
203
+  (0.9ms) commit transaction
204
+ Migrating to AddParentIdToPulitzerTag (20160511201527)
205
+  (0.0ms) begin transaction
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
+  (0.3ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer
210
+  (0.1ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL
211
+  (0.1ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")
212
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]
213
+  (0.8ms) commit transaction
214
+ Migrating to AddPartialToContentElement (20160512214545)
215
+  (0.0ms) begin transaction
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
+  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer
220
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]
221
+  (1.0ms) commit transaction
222
+ Migrating to CreateFreeFormSectionType (20160513153209)
223
+  (0.1ms) begin transaction
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
+  (0.3ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)
228
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]
229
+  (0.8ms) commit transaction
230
+ Migrating to CreateFreeFormSection (20160513153214)
231
+  (0.1ms) begin transaction
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
+  (0.5ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)
236
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]
237
+  (1.1ms) commit transaction
238
+ Migrating to FixPostTypeKinds (20160516150237)
239
+  (0.1ms) begin transaction
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
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2)
244
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]
245
+  (0.7ms) commit transaction
246
+ Migrating to CreateLayouts (20160517181706)
247
+  (0.0ms) begin transaction
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
+  (0.3ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)
252
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]
253
+  (0.9ms) commit transaction
254
+ Migrating to AddLayoutToPartial (20160517182500)
255
+  (0.0ms) begin transaction
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
+  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer
260
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]
261
+  (0.8ms) commit transaction
262
+ Migrating to AddLabelToPartial (20160519181030)
263
+  (0.0ms) begin transaction
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
+  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar
268
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]
269
+  (0.9ms) commit transaction
270
+ Migrating to RemoveTitleFromContentElements (20160609214139)
271
+  (0.1ms) begin transaction
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
+  (0.2ms) CREATE 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)
276
+  (0.1ms) INSERT 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"
278
+  (0.3ms) DROP TABLE "pulitzer_content_elements"
279
+  (0.1ms) CREATE 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)
280
+  (0.1ms) INSERT 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"
282
+  (0.1ms) DROP TABLE "apulitzer_content_elements"
283
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]
284
+  (0.9ms) commit transaction
285
+ Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)
286
+  (0.1ms) begin transaction
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
+  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false'
291
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]
292
+  (0.8ms) commit transaction
293
+ Migrating to AddSortToPostElements (20170502210827)
294
+  (0.1ms) begin transaction
295
+  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer
296
+  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer
297
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]
298
+  (0.9ms) commit transaction
299
+ Migrating to CreatePulitzerPartialTypes (20170508145431)
300
+  (0.0ms) begin transaction
301
+  (0.0ms) rollback transaction
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
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
305
+ Migrating to CreatePulitzerPartialTypes (20170508145431)
306
+  (0.1ms) begin transaction
307
+  (0.6ms) CREATE 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)
308
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]
309
+  (0.7ms) commit transaction
310
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
311
+  (0.1ms) begin transaction
312
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-05-08 17:23:45 UTC], ["updated_at", 2017-05-08 17:23:45 UTC]]
313
+  (0.7ms) commit transaction
314
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
315
+  (0.1ms)  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
+ 
323
+  (0.1ms)  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
+ 
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
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
334
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
335
+ Migrating to CreatePulitzerPartialTypes (20170508145431)
336
+  (0.2ms) begin transaction
337
+  (1.2ms) DROP TABLE "pulitzer_partial_types"
338
+ SQL (0.8ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20170508145431"]]
339
+  (0.7ms) commit transaction
340
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
341
+  (0.1ms)  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
+ 
349
+  (0.2ms)  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
+ 
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
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
360
+ Migrating to CreatePulitzerPartialTypes (20170508145431)
361
+  (0.1ms) begin transaction
362
+  (0.6ms) CREATE 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)
363
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]
364
+  (4.9ms) commit transaction
365
+ ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
366
+  (0.1ms) begin transaction
367
+  (0.1ms) commit transaction
368
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
369
+  (0.2ms)  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
+ 
377
+  (0.2ms)  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
+ 
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
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
388
+ ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
389
+  (0.1ms) begin transaction
390
+  (0.0ms) commit transaction
391
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
392
+  (0.1ms)  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
+ 
400
+  (0.1ms)  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
+ 
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
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
411
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]
412
+  (0.1ms) begin transaction
413
+  (0.1ms) commit transaction
414
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
415
+  (0.1ms)  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
+ 
423
+  (0.6ms)  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
+ 
431
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
432
+ Migrating to CreatePostTypeVersion (20170515230633)
433
+  (0.1ms) begin transaction
434
+  (1.7ms) CREATE 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)
435
+  (0.1ms) select sqlite_version(*)
436
+  (0.2ms) CREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id")
437
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170515230633"]]
438
+  (3.3ms) commit transaction
439
+ Migrating to ReconnectPostTypeToPost (20170515232938)
440
+  (0.1ms) begin transaction
441
+  (0.1ms) rollback transaction
442
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
443
+ Migrating to ReconnectPostTypeToPost (20170515232938)
444
+  (0.1ms) begin transaction
445
+  (0.1ms) rollback transaction
446
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
447
+ Migrating to ReconnectPostTypeToPost (20170515232938)
448
+  (0.1ms) begin transaction
449
+  (0.9ms) ALTER TABLE "pulitzer_posts" ADD "post_type_version_id" integer
450
+  (0.2ms) ALTER TABLE "pulitzer_background_styles" ADD "post_type_version_id" integer
451
+  (0.7ms) rollback transaction
452
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
453
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
454
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
455
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
456
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
457
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
458
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
459
+  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
460
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
461
+ Migrating to CreatePulitzerPostTypes (20150618224344)
462
+  (0.1ms) begin transaction
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
+  (1.0ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
467
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]
468
+  (1.1ms) commit transaction
469
+ Migrating to CreatePulitzerContentElementTypes (20150618225402)
470
+  (0.2ms) begin transaction
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
+  (0.4ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
475
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]
476
+  (1.0ms) commit transaction
477
+ Migrating to CreatePulitzerPosts (20150619204615)
478
+  (0.1ms) begin transaction
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
+  (0.7ms) CREATE 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)
483
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]
484
+  (0.7ms) commit transaction
485
+ Migrating to CreatePulitzerContentElements (20150619204708)
486
+  (0.1ms) begin transaction
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
+  (0.6ms) CREATE 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)
491
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]
492
+  (0.9ms) commit transaction
493
+ Migrating to CreatePulitzerTags (20150619213436)
494
+  (0.1ms) begin transaction
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
+  (1.0ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
499
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]
500
+  (0.8ms) commit transaction
501
+ Migrating to CreatePulitzerPostTags (20150619213457)
502
+  (0.1ms) begin transaction
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
+  (0.4ms) CREATE 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)
507
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]
508
+  (0.8ms) commit transaction
509
+ Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
510
+  (0.1ms) begin transaction
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
+  (0.9ms) CREATE 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)
515
+ SQL (5.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]
516
+  (0.7ms) commit transaction
517
+ Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
518
+  (0.1ms) begin transaction
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
+  (0.5ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean
523
+  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean
524
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]
525
+  (0.8ms) commit transaction
526
+ Migrating to AddPulitzerContentElementTypes (20150702150819)
527
+  (0.1ms) begin transaction
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
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
532
+ SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
533
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]]
534
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
535
+ Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]
536
+ SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
537
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]
538
+  (1.2ms) commit transaction
539
+ Migrating to AddSlugToPulitzerPosts (20150724150230)
540
+  (0.1ms) begin transaction
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
+  (0.5ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar
545
+  (0.1ms) select sqlite_version(*)
546
+  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")
547
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]
548
+  (0.7ms) commit transaction
549
+ Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
550
+  (0.1ms) begin transaction
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
+  (0.2ms) CREATE 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)
555
+  (0.1ms) INSERT 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"
557
+  (0.6ms) DROP TABLE "pulitzer_post_tags"
558
+  (0.1ms) CREATE 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)
559
+  (0.1ms) INSERT 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"
561
+  (0.2ms) DROP TABLE "apulitzer_post_tags"
562
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]
563
+  (1.1ms) commit transaction
564
+ Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
565
+  (0.1ms) begin transaction
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
+  (0.9ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
570
+ SQL (0.2ms) UPDATE "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)
571
+  (0.5ms) rollback transaction
572
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
573
+ Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
574
+  (0.1ms) begin transaction
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
+  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
579
+ SQL (0.2ms) UPDATE "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)
580
+  (0.4ms) rollback transaction
581
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
582
+  (3.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]]
583
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
584
+ Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
585
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
586
+ Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
587
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
588
+  (0.1ms) begin transaction
589
+ SQL (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-13 23:34:41.112286"], ["updated_at", "2017-09-13 23:34:41.112286"]]
590
+  (0.8ms) commit transaction
591
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
592
+  (0.1ms)  SELECT sql
593
+ FROM sqlite_master
594
+ WHERE name='index_pulitzer_posts_on_slug' AND type='index'
595
+ UNION ALL
596
+ SELECT sql
597
+ FROM sqlite_temp_master
598
+ WHERE name='index_pulitzer_posts_on_slug' AND type='index'
599
+ 
600
+  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
601
+  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
602
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
603
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
604
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
605
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
606
+  (0.1ms) SELECT sqlite_version(*)
607
+  (3.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
608
+  (4.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
609
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
610
+  (0.1ms) begin transaction
611
+ SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-18 15:57:25.177985"], ["updated_at", "2017-09-18 15:57:25.177985"]]
612
+  (0.8ms) commit transaction
613
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
614
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
615
+ Migrating to CreatePulitzerPostTypes (20150618224344)
616
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
617
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
618
+  (0.1ms) SELECT sqlite_version(*)
619
+  (4.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
620
+  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
621
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
622
+ Migrating to CreatePulitzerPostTypes (20150618224344)
623
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
624
+ Migrating to CreatePulitzerPostTypes (20150618224344)
625
+  (0.1ms) begin transaction
626
+  (0.2ms) SELECT sqlite_version(*)
627
+  (0.8ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
628
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]
629
+  (1.1ms) commit transaction
630
+ Migrating to CreatePulitzerContentElementTypes (20150618225402)
631
+  (0.1ms) begin transaction
632
+  (0.5ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
633
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]
634
+  (1.0ms) commit transaction
635
+ Migrating to CreatePulitzerPosts (20150619204615)
636
+  (0.1ms) begin transaction
637
+  (0.5ms) CREATE 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)
638
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]
639
+  (1.0ms) commit transaction
640
+ Migrating to CreatePulitzerContentElements (20150619204708)
641
+  (0.1ms) begin transaction
642
+  (0.6ms) CREATE 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)
643
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]
644
+  (0.9ms) commit transaction
645
+ Migrating to CreatePulitzerTags (20150619213436)
646
+  (0.1ms) begin transaction
647
+  (0.5ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
648
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]
649
+  (1.3ms) commit transaction
650
+ Migrating to CreatePulitzerPostTags (20150619213457)
651
+  (0.1ms) begin transaction
652
+  (3.7ms) CREATE 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)
653
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]
654
+  (1.5ms) commit transaction
655
+ Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
656
+  (0.1ms) begin transaction
657
+  (0.9ms) CREATE 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)
658
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]
659
+  (1.0ms) commit transaction
660
+ Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
661
+  (0.1ms) begin transaction
662
+  (0.6ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean
663
+  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean
664
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]]
665
+  (1.0ms) commit transaction
666
+ Migrating to AddPulitzerContentElementTypes (20150702150819)
667
+  (0.1ms) begin transaction
668
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]
669
+ SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2017-09-18 16:02:38.747317"], ["updated_at", "2017-09-18 16:02:38.747317"]]
670
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]]
671
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2017-09-18 16:02:38.750706"], ["updated_at", "2017-09-18 16:02:38.750706"]]
672
+ Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]
673
+ SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2017-09-18 16:02:38.753522"], ["updated_at", "2017-09-18 16:02:38.753522"]]
674
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]
675
+  (1.0ms) commit transaction
676
+ Migrating to AddSlugToPulitzerPosts (20150724150230)
677
+  (0.1ms) begin transaction
678
+  (0.7ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar
679
+  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")
680
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]
681
+  (1.4ms) commit transaction
682
+ Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
683
+  (0.1ms) begin transaction
684
+  (0.4ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer DEFAULT NULL, "label_id" integer DEFAULT NULL, "label_type" integer DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
685
+  (0.3ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
686
+ SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"
687
+  (0.6ms) DROP TABLE "pulitzer_post_tags"
688
+  (0.2ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer DEFAULT NULL, "label_id" integer DEFAULT NULL, "label_type" varchar DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
689
+  (0.2ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
690
+ SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"
691
+  (0.2ms) DROP TABLE "apulitzer_post_tags"
692
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]]
693
+  (0.8ms) commit transaction
694
+ Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
695
+  (0.1ms) begin transaction
696
+  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
697
+ SQL (0.3ms) UPDATE "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)
698
+  (0.5ms) rollback transaction
699
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
700
+ Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
701
+  (0.1ms) begin transaction
702
+  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
703
+ SQL (0.4ms) UPDATE "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)
704
+  (1.6ms) rollback transaction
705
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
706
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
707
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
708
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
709
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
710
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
711
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
712
+ Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
713
+  (0.1ms) begin transaction
714
+  (1.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
715
+ SQL (0.3ms) UPDATE "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)
716
+  (1.5ms) rollback transaction
717
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
718
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
719
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
720
+ Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
721
+  (0.1ms) begin transaction
722
+  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
723
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]
724
+  (3.4ms) commit transaction
725
+ Migrating to CreatePulitzerVersions (20151029194354)
726
+  (0.0ms) begin transaction
727
+  (0.1ms) SELECT sqlite_version(*)
728
+  (0.4ms) CREATE 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)
729
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]
730
+  (0.8ms) commit transaction
731
+ Migrating to ChangePostElementsToVersions (20151029220558)
732
+  (0.0ms) begin transaction
733
+  (0.4ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar DEFAULT NULL, "title" varchar DEFAULT NULL, "body" text DEFAULT NULL, "image" varchar DEFAULT NULL, "version_id" integer DEFAULT NULL, "post_type_content_element_type_id" integer DEFAULT NULL, "content_element_type_id" integer DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
734
+  (0.2ms) INSERT 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")
735
+ 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"
736
+  (0.4ms) DROP TABLE "pulitzer_content_elements"
737
+  (0.6ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar DEFAULT NULL, "title" varchar DEFAULT NULL, "body" text DEFAULT NULL, "image" varchar DEFAULT NULL, "version_id" integer DEFAULT NULL, "post_type_content_element_type_id" integer DEFAULT NULL, "content_element_type_id" integer DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
738
+  (0.2ms) INSERT 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")
739
+ 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"
740
+  (0.2ms) DROP TABLE "apulitzer_content_elements"
741
+  (0.3ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer DEFAULT NULL, "label_id" integer DEFAULT NULL, "label_type" varchar DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
742
+  (0.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at")
743
+ SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"
744
+  (0.1ms) DROP TABLE "pulitzer_post_tags"
745
+  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer DEFAULT NULL, "label_id" integer DEFAULT NULL, "label_type" varchar DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
746
+  (0.1ms) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at")
747
+ SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"
748
+  (0.1ms) DROP TABLE "apulitzer_post_tags"
749
+ Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]]
750
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]
751
+  (0.8ms) commit transaction
752
+ Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)
753
+  (0.1ms) begin transaction
754
+  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar
755
+  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100
756
+  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100
757
+  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer
758
+ Scoped order is ignored, it's forced to be batch order.
759
+ Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]]
760
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]
761
+  (0.7ms) commit transaction
762
+ Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)
763
+  (0.0ms) begin transaction
764
+  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean DEFAULT NULL, "template" boolean DEFAULT NULL)
765
+  (0.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template")
766
+ SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"
767
+  (0.3ms) DROP TABLE "pulitzer_post_types"
768
+  (0.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean DEFAULT NULL)
769
+  (0.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural")
770
+ SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"
771
+  (0.1ms) DROP TABLE "apulitzer_post_types"
772
+  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0
773
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]
774
+  (0.9ms) commit transaction
775
+ Migrating to AddKindToPulitzerContentElements (20151118031237)
776
+  (0.1ms) begin transaction
777
+  (0.7ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0
778
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]
779
+  (0.9ms) commit transaction
780
+ Migrating to AddErrorsToVersion (20160122204201)
781
+  (0.1ms) begin transaction
782
+  (0.6ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb
783
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]
784
+  (0.9ms) commit transaction
785
+ Migrating to CreatePartials (20160511192041)
786
+  (0.0ms) begin transaction
787
+  (0.3ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer)
788
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]
789
+  (0.8ms) commit transaction
790
+ Migrating to AddParentIdToPulitzerTag (20160511201527)
791
+  (0.1ms) begin transaction
792
+  (0.3ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer
793
+  (0.1ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL
794
+  (0.1ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")
795
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]]
796
+  (0.7ms) commit transaction
797
+ Migrating to AddPartialToContentElement (20160512214545)
798
+  (0.0ms) begin transaction
799
+  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer
800
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]]
801
+  (0.8ms) commit transaction
802
+ Migrating to CreateFreeFormSectionType (20160513153209)
803
+  (0.0ms) begin transaction
804
+  (0.4ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)
805
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]
806
+  (0.8ms) commit transaction
807
+ Migrating to CreateFreeFormSection (20160513153214)
808
+  (0.0ms) begin transaction
809
+  (0.3ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)
810
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]]
811
+  (0.7ms) commit transaction
812
+ Migrating to FixPostTypeKinds (20160516150237)
813
+  (0.0ms) begin transaction
814
+ Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2)
815
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]]
816
+  (0.8ms) commit transaction
817
+ Migrating to CreateLayouts (20160517181706)
818
+  (0.1ms) begin transaction
819
+  (0.5ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)
820
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]
821
+  (0.8ms) commit transaction
822
+ Migrating to AddLayoutToPartial (20160517182500)
823
+  (0.1ms) begin transaction
824
+  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer
825
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]]
826
+  (0.7ms) commit transaction
827
+ Migrating to AddLabelToPartial (20160519181030)
828
+  (0.1ms) begin transaction
829
+  (1.2ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar
830
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]]
831
+  (0.8ms) commit transaction
832
+ Migrating to RemoveTitleFromContentElements (20160609214139)
833
+  (0.0ms) begin transaction
834
+  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar DEFAULT NULL, "title" varchar DEFAULT NULL, "body" text DEFAULT NULL, "image" varchar DEFAULT NULL, "version_id" integer DEFAULT NULL, "post_type_content_element_type_id" integer DEFAULT NULL, "content_element_type_id" integer DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar DEFAULT NULL, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer DEFAULT NULL, "kind" integer DEFAULT 0, "partial_id" integer DEFAULT NULL)
835
+  (0.1ms) INSERT 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")
836
+ 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"
837
+  (0.6ms) DROP TABLE "pulitzer_content_elements"
838
+  (0.3ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar DEFAULT NULL, "body" text DEFAULT NULL, "image" varchar DEFAULT NULL, "version_id" integer DEFAULT NULL, "post_type_content_element_type_id" integer DEFAULT NULL, "content_element_type_id" integer DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar DEFAULT NULL, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer DEFAULT NULL, "kind" integer DEFAULT 0, "partial_id" integer DEFAULT NULL)
839
+  (0.2ms) INSERT 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")
840
+ 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"
841
+  (0.2ms) DROP TABLE "apulitzer_content_elements"
842
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]
843
+  (1.1ms) commit transaction
844
+ Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)
845
+  (0.1ms) begin transaction
846
+  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false'
847
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]
848
+  (0.8ms) commit transaction
849
+ Migrating to AddSortToPostElements (20170502210827)
850
+  (0.0ms) begin transaction
851
+  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer
852
+  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer
853
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]
854
+  (0.8ms) commit transaction
855
+ Migrating to CreatePulitzerPartialTypes (20170508145431)
856
+  (0.0ms) begin transaction
857
+  (0.3ms) CREATE 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)
858
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]]
859
+  (0.8ms) commit transaction
860
+ Migrating to CreatePostTypeVersion (20170515230633)
861
+  (0.1ms) begin transaction
862
+  (0.4ms) CREATE 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)
863
+  (0.1ms) CREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id")
864
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170515230633"]]
865
+  (1.0ms) commit transaction
866
+ Migrating to ReconnectPostTypeToPost (20170515232938)
867
+  (0.1ms) begin transaction
868
+  (0.0ms) rollback transaction
869
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
870
+ Migrating to ReconnectPostTypeToPost (20170515232938)
871
+  (0.1ms) begin transaction
872
+  (0.1ms) rollback transaction
873
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
874
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
875
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
876
+ Migrating to ReconnectPostTypeToPost (20170515232938)
877
+  (0.1ms) begin transaction
878
+  (0.1ms) rollback transaction
879
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
880
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
881
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
882
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
883
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
884
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
885
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
886
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
887
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
888
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
889
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
890
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
891
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
892
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
893
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
894
+ Migrating to ReconnectPostTypeToPost (20170515232938)
895
+  (0.1ms) begin transaction
896
+  (0.1ms) rollback transaction
897
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
898
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
899
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
900
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
901
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
902
+  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
903
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
904
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
905
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
906
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
907
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
908
+  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
909
+  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
910
+  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
911
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
912
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
913
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
914
+  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
915
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
916
+  (0.1ms)  SELECT sql
917
+ FROM sqlite_master
918
+ WHERE name='index_pulitzer_post_type_versions_on_post_type_id' AND type='index'
919
+ UNION ALL
920
+ SELECT sql
921
+ FROM sqlite_temp_master
922
+ WHERE name='index_pulitzer_post_type_versions_on_post_type_id' AND type='index'
923
+ 
924
+  (0.1ms)  SELECT sql
925
+ FROM sqlite_master
926
+ WHERE name='index_pulitzer_posts_on_slug' AND type='index'
927
+ UNION ALL
928
+ SELECT sql
929
+ FROM sqlite_temp_master
930
+ WHERE name='index_pulitzer_posts_on_slug' AND type='index'
931
+ 
932
+  (0.1ms)  SELECT sql
933
+ FROM sqlite_master
934
+ WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
935
+ UNION ALL
936
+ SELECT sql
937
+ FROM sqlite_temp_master
938
+ WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
939
+