pulitzer 0.15.19 → 0.15.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/pulitzer/partial_tags_controller.rb +13 -0
- data/app/interactions/pulitzer/partial_tags_controller/create_partial_tag.rb +19 -0
- data/app/models/pulitzer/partial.rb +4 -2
- data/app/models/pulitzer/partial_tag.rb +14 -0
- data/app/models/pulitzer/tag.rb +1 -0
- data/app/views/pulitzer/content_elements/_partial_index.html.erb +10 -1
- data/app/views/pulitzer/partial_tags/_new.html.erb +9 -0
- data/app/views/pulitzer/partial_tags/_show.html.erb +11 -0
- data/app/views/pulitzer/partial_tags/_show_wrapper.html.erb +3 -0
- data/app/views/pulitzer/partials/_form.html.erb +2 -2
- data/config/routes.rb +1 -0
- data/db/migrate/20170913214214_create_pulitzer_partial_tags.rb +11 -0
- data/lib/pulitzer/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +79 -71
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +939 -0
- data/spec/dummy/log/test.log +36799 -0
- data/spec/dummy/public/uploads/pulitzer/content_element/image/1/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/pulitzer/content_element/image/1/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/pulitzer/content_element/image/1/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/pulitzer/content_element/image/56/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/pulitzer/content_element/image/56/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/pulitzer/content_element/image/56/thumb_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/cms_sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/sam_and_snow.jpg +0 -0
- data/spec/dummy/public/uploads/tmp/1488229219-25395-0001-2311/thumb_sam_and_snow.jpg +0 -0
- metadata +105 -72
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eecf857a73cbd5488b6765aa9adefa7ed76919dc
|
4
|
+
data.tar.gz: 7cf60b8425d94e369e6cdfe178095e5e03b9ca3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/app/models/pulitzer/tag.rb
CHANGED
@@ -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>
|
@@ -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>
|
data/config/routes.rb
CHANGED
data/lib/pulitzer/version.rb
CHANGED
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -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:
|
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
|
18
|
-
t.string
|
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
|
24
|
-
t.string
|
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
|
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
|
35
|
-
t.string
|
36
|
-
t.text
|
37
|
-
t.string
|
38
|
-
t.integer
|
39
|
-
t.integer
|
40
|
-
t.integer
|
41
|
-
t.datetime "created_at",
|
42
|
-
t.datetime "updated_at",
|
43
|
-
t.string
|
44
|
-
t.integer
|
45
|
-
t.integer
|
46
|
-
t.integer
|
47
|
-
t.integer
|
48
|
-
t.integer
|
49
|
-
t.integer
|
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
|
59
|
-
t.string
|
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
|
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
|
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
|
77
|
-
t.string
|
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
|
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
|
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
|
102
|
-
t.integer
|
103
|
-
t.string
|
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
|
115
|
-
t.integer
|
116
|
-
t.string
|
117
|
-
t.integer
|
118
|
-
t.integer
|
119
|
-
t.datetime "created_at",
|
120
|
-
t.datetime "updated_at",
|
121
|
-
t.string
|
122
|
-
t.boolean
|
123
|
-
t.integer
|
124
|
-
t.string
|
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",
|
130
|
-
t.string
|
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
|
136
|
-
t.datetime "created_at",
|
137
|
-
t.datetime "updated_at",
|
138
|
-
t.boolean
|
139
|
-
t.integer
|
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
|
144
|
-
t.string
|
145
|
-
t.datetime "created_at",
|
146
|
-
t.datetime "updated_at",
|
147
|
-
t.string
|
148
|
-
t.integer
|
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
|
156
|
-
t.string
|
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
|
162
|
-
t.string
|
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
|
167
|
-
t.datetime "created_at",
|
168
|
-
t.datetime "updated_at",
|
169
|
-
t.integer
|
170
|
-
t.boolean
|
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
|
176
|
-
t.integer
|
177
|
-
t.datetime "created_at",
|
178
|
-
t.datetime "updated_at",
|
179
|
-
t.text
|
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
|
Binary file
|
@@ -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
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
4
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
5
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
6
|
+
Migrating to CreatePulitzerPostTypes (20150618224344)
|
7
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
9
|
+
|
10
|
+
class CreatePulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
11
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
12
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618224344"]]
|
13
|
+
[1m[35m (7.1ms)[0m [1m[36mcommit transaction[0m
|
14
|
+
Migrating to CreatePulitzerContentElementTypes (20150618225402)
|
15
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
16
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
17
|
+
|
18
|
+
class CreatePulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
19
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
20
|
+
[1m[35mSQL (17.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618225402"]]
|
21
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
22
|
+
Migrating to CreatePulitzerPosts (20150619204615)
|
23
|
+
[1m[35m (3.6ms)[0m [1m[36mbegin transaction[0m
|
24
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
25
|
+
|
26
|
+
class CreatePulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
27
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
28
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204615"]]
|
29
|
+
[1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
|
30
|
+
Migrating to CreatePulitzerContentElements (20150619204708)
|
31
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
32
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
33
|
+
|
34
|
+
class CreatePulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
35
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
36
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204708"]]
|
37
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
38
|
+
Migrating to CreatePulitzerTags (20150619213436)
|
39
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
40
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
41
|
+
|
42
|
+
class CreatePulitzerTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
43
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
44
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213436"]]
|
45
|
+
[1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
|
46
|
+
Migrating to CreatePulitzerPostTags (20150619213457)
|
47
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
48
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
49
|
+
|
50
|
+
class CreatePulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
51
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
52
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213457"]]
|
53
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
54
|
+
Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
|
55
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
56
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
57
|
+
|
58
|
+
class CreatePulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
59
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
60
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619215914"]]
|
61
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
62
|
+
Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
|
63
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
64
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
65
|
+
|
66
|
+
class AddPluralAndTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
67
|
+
[1m[35m (0.8ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "plural" boolean[0m
|
68
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "template" boolean[0m
|
69
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150629195832"]]
|
70
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
71
|
+
Migrating to AddPulitzerContentElementTypes (20150702150819)
|
72
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
73
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
74
|
+
|
75
|
+
class AddPulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
76
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
|
77
|
+
[1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
|
78
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Image"], ["LIMIT", 1]]
|
79
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
|
80
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Video"], ["LIMIT", 1]]
|
81
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
|
82
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150702150819"]]
|
83
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
84
|
+
Migrating to AddSlugToPulitzerPosts (20150724150230)
|
85
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
86
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
87
|
+
|
88
|
+
class AddSlugToPulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
89
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_posts" ADD "slug" varchar[0m
|
90
|
+
[1m[35m (0.0ms)[0m [1m[34mselect sqlite_version(*)[0m
|
91
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
|
92
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150724150230"]]
|
93
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
94
|
+
Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
|
95
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
96
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
97
|
+
|
98
|
+
class ChangeLabelTypeFromPulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
99
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
100
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
|
101
|
+
SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"[0m
|
102
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
|
103
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
104
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
|
105
|
+
SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"[0m
|
106
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_post_tags"[0m
|
107
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150902212741"]]
|
108
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
109
|
+
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
110
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
111
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
112
|
+
|
113
|
+
class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
114
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
|
115
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC)[0m
|
116
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151026180630"]]
|
117
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
118
|
+
Migrating to CreatePulitzerVersions (20151029194354)
|
119
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
120
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
121
|
+
|
122
|
+
class CreatePulitzerVersions < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
123
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
124
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029194354"]]
|
125
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
126
|
+
Migrating to ChangePostElementsToVersions (20151029220558)
|
127
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
128
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
129
|
+
|
130
|
+
class ChangePostElementsToVersions < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
131
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
132
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at")
|
133
|
+
SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"[0m
|
134
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE "pulitzer_content_elements"[0m
|
135
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
136
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at")
|
137
|
+
SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"[0m
|
138
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_content_elements"[0m
|
139
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
140
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at")
|
141
|
+
SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"[0m
|
142
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
|
143
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
144
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at")
|
145
|
+
SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"[0m
|
146
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_post_tags"[0m
|
147
|
+
Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
|
148
|
+
[1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
149
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029220558"]]
|
150
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
151
|
+
Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)
|
152
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
153
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
154
|
+
|
155
|
+
class AddPostTypeContentElementAttributesToContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
156
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar[0m
|
157
|
+
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100[0m
|
158
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100[0m
|
159
|
+
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer[0m
|
160
|
+
Scoped order and limit are ignored, it's forced to be batch order and batch size.
|
161
|
+
[1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
162
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151113183344"]]
|
163
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
164
|
+
Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)
|
165
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
166
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
167
|
+
|
168
|
+
class ChangeTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
169
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean)[0m
|
170
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template")
|
171
|
+
SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types"[0m
|
172
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE "pulitzer_post_types"[0m
|
173
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)[0m
|
174
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural")
|
175
|
+
SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"[0m
|
176
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_post_types"[0m
|
177
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0[0m
|
178
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151116162508"]]
|
179
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
180
|
+
Migrating to AddKindToPulitzerContentElements (20151118031237)
|
181
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
182
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
183
|
+
|
184
|
+
class AddKindToPulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
185
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0[0m
|
186
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151118031237"]]
|
187
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
188
|
+
Migrating to AddErrorsToVersion (20160122204201)
|
189
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
190
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
191
|
+
|
192
|
+
class AddErrorsToVersion < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
193
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb[0m
|
194
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160122204201"]]
|
195
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
196
|
+
Migrating to CreatePartials (20160511192041)
|
197
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
198
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
199
|
+
|
200
|
+
class CreatePartials < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
201
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer)[0m
|
202
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160511192041"]]
|
203
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
204
|
+
Migrating to AddParentIdToPulitzerTag (20160511201527)
|
205
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
206
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
207
|
+
|
208
|
+
class AddParentIdToPulitzerTag < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
209
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_tags" ADD "parent_id" integer[0m
|
210
|
+
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL[0m
|
211
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")[0m
|
212
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160511201527"]]
|
213
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
214
|
+
Migrating to AddPartialToContentElement (20160512214545)
|
215
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
216
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
217
|
+
|
218
|
+
class AddPartialToContentElement < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
219
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer[0m
|
220
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160512214545"]]
|
221
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
222
|
+
Migrating to CreateFreeFormSectionType (20160513153209)
|
223
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
224
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
225
|
+
|
226
|
+
class CreateFreeFormSectionType < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
227
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)[0m
|
228
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153209"]]
|
229
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
230
|
+
Migrating to CreateFreeFormSection (20160513153214)
|
231
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
232
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
233
|
+
|
234
|
+
class CreateFreeFormSection < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
235
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)[0m
|
236
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153214"]]
|
237
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
238
|
+
Migrating to FixPostTypeKinds (20160516150237)
|
239
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
240
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
241
|
+
|
242
|
+
class FixPostTypeKinds < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
243
|
+
[1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2)[0m
|
244
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160516150237"]]
|
245
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
246
|
+
Migrating to CreateLayouts (20160517181706)
|
247
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
248
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
249
|
+
|
250
|
+
class CreateLayouts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
251
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)[0m
|
252
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517181706"]]
|
253
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
254
|
+
Migrating to AddLayoutToPartial (20160517182500)
|
255
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
256
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
257
|
+
|
258
|
+
class AddLayoutToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
259
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "layout_id" integer[0m
|
260
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517182500"]]
|
261
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
262
|
+
Migrating to AddLabelToPartial (20160519181030)
|
263
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
264
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
265
|
+
|
266
|
+
class AddLabelToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
267
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "label" varchar[0m
|
268
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160519181030"]]
|
269
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
270
|
+
Migrating to RemoveTitleFromContentElements (20160609214139)
|
271
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
272
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
273
|
+
|
274
|
+
class RemoveTitleFromContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
275
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)[0m
|
276
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id")
|
277
|
+
SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"[0m
|
278
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE "pulitzer_content_elements"[0m
|
279
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)[0m
|
280
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id")
|
281
|
+
SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"[0m
|
282
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_content_elements"[0m
|
283
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160609214139"]]
|
284
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
285
|
+
Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)
|
286
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
287
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
288
|
+
|
289
|
+
class AddRequiredToPulitzerPostTypeContentElementType < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
290
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false'[0m
|
291
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160927160910"]]
|
292
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
293
|
+
Migrating to AddSortToPostElements (20170502210827)
|
294
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
295
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer[0m
|
296
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer[0m
|
297
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170502210827"]]
|
298
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
299
|
+
Migrating to CreatePulitzerPartialTypes (20170508145431)
|
300
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
301
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
302
|
+
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
|
303
|
+
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
|
304
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
305
|
+
Migrating to CreatePulitzerPartialTypes (20170508145431)
|
306
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
307
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type" integer)[0m
|
308
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170508145431"]]
|
309
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
310
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
311
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
312
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-05-08 17:23:45 UTC], ["updated_at", 2017-05-08 17:23:45 UTC]]
|
313
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
314
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
315
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
316
|
+
FROM sqlite_master
|
317
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
318
|
+
UNION ALL
|
319
|
+
SELECT sql
|
320
|
+
FROM sqlite_temp_master
|
321
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
322
|
+
[0m
|
323
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
324
|
+
FROM sqlite_master
|
325
|
+
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
326
|
+
UNION ALL
|
327
|
+
SELECT sql
|
328
|
+
FROM sqlite_temp_master
|
329
|
+
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
330
|
+
[0m
|
331
|
+
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
|
332
|
+
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
|
333
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
334
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
335
|
+
Migrating to CreatePulitzerPartialTypes (20170508145431)
|
336
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
337
|
+
[1m[35m (1.2ms)[0m [1m[35mDROP TABLE "pulitzer_partial_types"[0m
|
338
|
+
[1m[35mSQL (0.8ms)[0m [1m[31mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ?[0m [["version", "20170508145431"]]
|
339
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
340
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
341
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
342
|
+
FROM sqlite_master
|
343
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
344
|
+
UNION ALL
|
345
|
+
SELECT sql
|
346
|
+
FROM sqlite_temp_master
|
347
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
348
|
+
[0m
|
349
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
350
|
+
FROM sqlite_master
|
351
|
+
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
352
|
+
UNION ALL
|
353
|
+
SELECT sql
|
354
|
+
FROM sqlite_temp_master
|
355
|
+
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
356
|
+
[0m
|
357
|
+
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
|
358
|
+
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
|
359
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
360
|
+
Migrating to CreatePulitzerPartialTypes (20170508145431)
|
361
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
362
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer)[0m
|
363
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170508145431"]]
|
364
|
+
[1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
|
365
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
366
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
367
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
368
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
369
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
370
|
+
FROM sqlite_master
|
371
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
372
|
+
UNION ALL
|
373
|
+
SELECT sql
|
374
|
+
FROM sqlite_temp_master
|
375
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
376
|
+
[0m
|
377
|
+
[1m[35m (0.2ms)[0m [1m[34m SELECT sql
|
378
|
+
FROM sqlite_master
|
379
|
+
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
380
|
+
UNION ALL
|
381
|
+
SELECT sql
|
382
|
+
FROM sqlite_temp_master
|
383
|
+
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
384
|
+
[0m
|
385
|
+
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
|
386
|
+
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
|
387
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
388
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
389
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
390
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
391
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
392
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
393
|
+
FROM sqlite_master
|
394
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
395
|
+
UNION ALL
|
396
|
+
SELECT sql
|
397
|
+
FROM sqlite_temp_master
|
398
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
399
|
+
[0m
|
400
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
401
|
+
FROM sqlite_master
|
402
|
+
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
403
|
+
UNION ALL
|
404
|
+
SELECT sql
|
405
|
+
FROM sqlite_temp_master
|
406
|
+
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
407
|
+
[0m
|
408
|
+
DEPRECATION WARNING: ActiveRecord::Base.raise_in_transactional_callbacks= is deprecated, has no effect and will be removed without replacement. (called from <top (required)> at /Users/goma/Sites/work/pulitzer/spec/dummy/config/environment.rb:5)
|
409
|
+
DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/goma/Sites/work/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)
|
410
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
411
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
|
412
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
413
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
414
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
415
|
+
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
|
416
|
+
FROM sqlite_master
|
417
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
418
|
+
UNION ALL
|
419
|
+
SELECT sql
|
420
|
+
FROM sqlite_temp_master
|
421
|
+
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
|
422
|
+
[0m
|
423
|
+
[1m[35m (0.6ms)[0m [1m[34m SELECT sql
|
424
|
+
FROM sqlite_master
|
425
|
+
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
426
|
+
UNION ALL
|
427
|
+
SELECT sql
|
428
|
+
FROM sqlite_temp_master
|
429
|
+
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
|
430
|
+
[0m
|
431
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
432
|
+
Migrating to CreatePostTypeVersion (20170515230633)
|
433
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
434
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'incomplete' NOT NULL)[0m
|
435
|
+
[1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
|
436
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id")[0m
|
437
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170515230633"]]
|
438
|
+
[1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
|
439
|
+
Migrating to ReconnectPostTypeToPost (20170515232938)
|
440
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
441
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
442
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
443
|
+
Migrating to ReconnectPostTypeToPost (20170515232938)
|
444
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
445
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
446
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
447
|
+
Migrating to ReconnectPostTypeToPost (20170515232938)
|
448
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
449
|
+
[1m[35m (0.9ms)[0m [1m[35mALTER TABLE "pulitzer_posts" ADD "post_type_version_id" integer[0m
|
450
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_background_styles" ADD "post_type_version_id" integer[0m
|
451
|
+
[1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
|
452
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
453
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
|
454
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
455
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
|
456
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
457
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
|
458
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
459
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
460
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
461
|
+
Migrating to CreatePulitzerPostTypes (20150618224344)
|
462
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
463
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
464
|
+
|
465
|
+
class CreatePulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
466
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
467
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618224344"]]
|
468
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
469
|
+
Migrating to CreatePulitzerContentElementTypes (20150618225402)
|
470
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
471
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
472
|
+
|
473
|
+
class CreatePulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
474
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
475
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618225402"]]
|
476
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
477
|
+
Migrating to CreatePulitzerPosts (20150619204615)
|
478
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
479
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
480
|
+
|
481
|
+
class CreatePulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
482
|
+
[1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
483
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204615"]]
|
484
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
485
|
+
Migrating to CreatePulitzerContentElements (20150619204708)
|
486
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
487
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
488
|
+
|
489
|
+
class CreatePulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
490
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
491
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204708"]]
|
492
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
493
|
+
Migrating to CreatePulitzerTags (20150619213436)
|
494
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
495
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
496
|
+
|
497
|
+
class CreatePulitzerTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
498
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
499
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213436"]]
|
500
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
501
|
+
Migrating to CreatePulitzerPostTags (20150619213457)
|
502
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
503
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
504
|
+
|
505
|
+
class CreatePulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
506
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
507
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213457"]]
|
508
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
509
|
+
Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
|
510
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
511
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
512
|
+
|
513
|
+
class CreatePulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
514
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
515
|
+
[1m[35mSQL (5.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619215914"]]
|
516
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
517
|
+
Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
|
518
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
519
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
520
|
+
|
521
|
+
class AddPluralAndTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
522
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "plural" boolean[0m
|
523
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "template" boolean[0m
|
524
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150629195832"]]
|
525
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
526
|
+
Migrating to AddPulitzerContentElementTypes (20150702150819)
|
527
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
528
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
529
|
+
|
530
|
+
class AddPulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
531
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
|
532
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
|
533
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Image"], ["LIMIT", 1]]
|
534
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
|
535
|
+
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Video"], ["LIMIT", 1]]
|
536
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
|
537
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150702150819"]]
|
538
|
+
[1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
|
539
|
+
Migrating to AddSlugToPulitzerPosts (20150724150230)
|
540
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
541
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
542
|
+
|
543
|
+
class AddSlugToPulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
544
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_posts" ADD "slug" varchar[0m
|
545
|
+
[1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
|
546
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
|
547
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150724150230"]]
|
548
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
549
|
+
Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
|
550
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
551
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
552
|
+
|
553
|
+
class ChangeLabelTypeFromPulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
554
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
555
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
|
556
|
+
SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags"[0m
|
557
|
+
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
|
558
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
559
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at")
|
560
|
+
SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"[0m
|
561
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE "apulitzer_post_tags"[0m
|
562
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150902212741"]]
|
563
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
564
|
+
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
565
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
566
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
567
|
+
|
568
|
+
class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
569
|
+
[1m[35m (0.9ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
|
570
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC)[0m
|
571
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
572
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
573
|
+
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
574
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
575
|
+
DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
|
576
|
+
|
577
|
+
class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
|
578
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
|
579
|
+
[1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC)[0m
|
580
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
581
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
582
|
+
[1m[35m (3.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
|
583
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
584
|
+
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
585
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
586
|
+
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
587
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
588
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
589
|
+
[1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-13 23:34:41.112286"], ["updated_at", "2017-09-13 23:34:41.112286"]]
|
590
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
591
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
592
|
+
[1m[35m (0.1ms)[0m [1m[34m 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
|
+
[0m
|
600
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
601
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
602
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
603
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
604
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
605
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
606
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
607
|
+
[1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
608
|
+
[1m[35m (4.3ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
609
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
610
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
611
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2017-09-18 15:57:25.177985"], ["updated_at", "2017-09-18 15:57:25.177985"]]
|
612
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
613
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
614
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
615
|
+
Migrating to CreatePulitzerPostTypes (20150618224344)
|
616
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
617
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
618
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
619
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
620
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
621
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
622
|
+
Migrating to CreatePulitzerPostTypes (20150618224344)
|
623
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
624
|
+
Migrating to CreatePulitzerPostTypes (20150618224344)
|
625
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
626
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
627
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
628
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618224344"]]
|
629
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
630
|
+
Migrating to CreatePulitzerContentElementTypes (20150618225402)
|
631
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
632
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
633
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618225402"]]
|
634
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
635
|
+
Migrating to CreatePulitzerPosts (20150619204615)
|
636
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
637
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
638
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204615"]]
|
639
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
640
|
+
Migrating to CreatePulitzerContentElements (20150619204708)
|
641
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
642
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
643
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204708"]]
|
644
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
645
|
+
Migrating to CreatePulitzerTags (20150619213436)
|
646
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
647
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
648
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213436"]]
|
649
|
+
[1m[35m (1.3ms)[0m [1m[36mcommit transaction[0m
|
650
|
+
Migrating to CreatePulitzerPostTags (20150619213457)
|
651
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
652
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
653
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213457"]]
|
654
|
+
[1m[35m (1.5ms)[0m [1m[36mcommit transaction[0m
|
655
|
+
Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
|
656
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
657
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
658
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619215914"]]
|
659
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
660
|
+
Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
|
661
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
662
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "plural" boolean[0m
|
663
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "template" boolean[0m
|
664
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150629195832"]]
|
665
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
666
|
+
Migrating to AddPulitzerContentElementTypes (20150702150819)
|
667
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
668
|
+
[1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
|
669
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", "2017-09-18 16:02:38.747317"], ["updated_at", "2017-09-18 16:02:38.747317"]]
|
670
|
+
[1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Image"], ["LIMIT", 1]]
|
671
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", "2017-09-18 16:02:38.750706"], ["updated_at", "2017-09-18 16:02:38.750706"]]
|
672
|
+
[1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Video"], ["LIMIT", 1]]
|
673
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2017-09-18 16:02:38.753522"], ["updated_at", "2017-09-18 16:02:38.753522"]]
|
674
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150702150819"]]
|
675
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
676
|
+
Migrating to AddSlugToPulitzerPosts (20150724150230)
|
677
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
678
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "pulitzer_posts" ADD "slug" varchar[0m
|
679
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
|
680
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150724150230"]]
|
681
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
682
|
+
Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
|
683
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
684
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE 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)[0m
|
685
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT 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"[0m
|
687
|
+
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
|
688
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE 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)[0m
|
689
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT 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"[0m
|
691
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE "apulitzer_post_tags"[0m
|
692
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150902212741"]]
|
693
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
694
|
+
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
695
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
696
|
+
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
|
697
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC)[0m
|
698
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
699
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
700
|
+
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
701
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
702
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
|
703
|
+
[1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC)[0m
|
704
|
+
[1m[35m (1.6ms)[0m [1m[31mrollback transaction[0m
|
705
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
706
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
707
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
708
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
709
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
710
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
711
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
712
|
+
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
713
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
714
|
+
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
|
715
|
+
[1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC)[0m
|
716
|
+
[1m[35m (1.5ms)[0m [1m[31mrollback transaction[0m
|
717
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
718
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
719
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
720
|
+
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
|
721
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
722
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
|
723
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151026180630"]]
|
724
|
+
[1m[35m (3.4ms)[0m [1m[36mcommit transaction[0m
|
725
|
+
Migrating to CreatePulitzerVersions (20151029194354)
|
726
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
727
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
728
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
729
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029194354"]]
|
730
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
731
|
+
Migrating to ChangePostElementsToVersions (20151029220558)
|
732
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
733
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE 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)[0m
|
734
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at")
|
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"[0m
|
736
|
+
[1m[35m (0.4ms)[0m [1m[35mDROP TABLE "pulitzer_content_elements"[0m
|
737
|
+
[1m[35m (0.6ms)[0m [1m[35mCREATE 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)[0m
|
738
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at")
|
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"[0m
|
740
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE "apulitzer_content_elements"[0m
|
741
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE 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)[0m
|
742
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT 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"[0m
|
744
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
|
745
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE 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)[0m
|
746
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT 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"[0m
|
748
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_post_tags"[0m
|
749
|
+
[1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
750
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029220558"]]
|
751
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
752
|
+
Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)
|
753
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
754
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar[0m
|
755
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100[0m
|
756
|
+
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100[0m
|
757
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer[0m
|
758
|
+
Scoped order is ignored, it's forced to be batch order.
|
759
|
+
[1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
|
760
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151113183344"]]
|
761
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
762
|
+
Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)
|
763
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
764
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE 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)[0m
|
765
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT 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"[0m
|
767
|
+
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE "pulitzer_post_types"[0m
|
768
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE 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)[0m
|
769
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural")
|
770
|
+
SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"[0m
|
771
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_post_types"[0m
|
772
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0[0m
|
773
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151116162508"]]
|
774
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
775
|
+
Migrating to AddKindToPulitzerContentElements (20151118031237)
|
776
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
777
|
+
[1m[35m (0.7ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0[0m
|
778
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151118031237"]]
|
779
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
780
|
+
Migrating to AddErrorsToVersion (20160122204201)
|
781
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
782
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb[0m
|
783
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160122204201"]]
|
784
|
+
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
|
785
|
+
Migrating to CreatePartials (20160511192041)
|
786
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
787
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer)[0m
|
788
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160511192041"]]
|
789
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
790
|
+
Migrating to AddParentIdToPulitzerTag (20160511201527)
|
791
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
792
|
+
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_tags" ADD "parent_id" integer[0m
|
793
|
+
[1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL[0m
|
794
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")[0m
|
795
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160511201527"]]
|
796
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
797
|
+
Migrating to AddPartialToContentElement (20160512214545)
|
798
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
799
|
+
[1m[35m (0.6ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer[0m
|
800
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160512214545"]]
|
801
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
802
|
+
Migrating to CreateFreeFormSectionType (20160513153209)
|
803
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
804
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)[0m
|
805
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153209"]]
|
806
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
807
|
+
Migrating to CreateFreeFormSection (20160513153214)
|
808
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
809
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)[0m
|
810
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153214"]]
|
811
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
812
|
+
Migrating to FixPostTypeKinds (20160516150237)
|
813
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
814
|
+
[1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2)[0m
|
815
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160516150237"]]
|
816
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
817
|
+
Migrating to CreateLayouts (20160517181706)
|
818
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
819
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)[0m
|
820
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517181706"]]
|
821
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
822
|
+
Migrating to AddLayoutToPartial (20160517182500)
|
823
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
824
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "layout_id" integer[0m
|
825
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517182500"]]
|
826
|
+
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
|
827
|
+
Migrating to AddLabelToPartial (20160519181030)
|
828
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
829
|
+
[1m[35m (1.2ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "label" varchar[0m
|
830
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160519181030"]]
|
831
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
832
|
+
Migrating to RemoveTitleFromContentElements (20160609214139)
|
833
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
834
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE 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)[0m
|
835
|
+
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id")
|
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"[0m
|
837
|
+
[1m[35m (0.6ms)[0m [1m[35mDROP TABLE "pulitzer_content_elements"[0m
|
838
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE 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)[0m
|
839
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id")
|
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"[0m
|
841
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE "apulitzer_content_elements"[0m
|
842
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160609214139"]]
|
843
|
+
[1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
|
844
|
+
Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)
|
845
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
846
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false'[0m
|
847
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160927160910"]]
|
848
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
849
|
+
Migrating to AddSortToPostElements (20170502210827)
|
850
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
851
|
+
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer[0m
|
852
|
+
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer[0m
|
853
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170502210827"]]
|
854
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
855
|
+
Migrating to CreatePulitzerPartialTypes (20170508145431)
|
856
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
857
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer)[0m
|
858
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170508145431"]]
|
859
|
+
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
|
860
|
+
Migrating to CreatePostTypeVersion (20170515230633)
|
861
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
862
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'incomplete' NOT NULL)[0m
|
863
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id")[0m
|
864
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170515230633"]]
|
865
|
+
[1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
|
866
|
+
Migrating to ReconnectPostTypeToPost (20170515232938)
|
867
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
868
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
869
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
870
|
+
Migrating to ReconnectPostTypeToPost (20170515232938)
|
871
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
872
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
873
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
874
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
875
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
876
|
+
Migrating to ReconnectPostTypeToPost (20170515232938)
|
877
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
878
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
879
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
880
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
881
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
882
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
883
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
884
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
885
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
886
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
887
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
888
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
889
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
890
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
891
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
892
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
893
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
894
|
+
Migrating to ReconnectPostTypeToPost (20170515232938)
|
895
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
896
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
897
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
898
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
899
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
900
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
901
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
902
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
903
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
904
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
905
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
906
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
907
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
908
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
909
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
910
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
911
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
912
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
913
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
914
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
915
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
916
|
+
[1m[35m (0.1ms)[0m [1m[34m 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
|
+
[0m
|
924
|
+
[1m[35m (0.1ms)[0m [1m[34m 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
|
+
[0m
|
932
|
+
[1m[35m (0.1ms)[0m [1m[34m 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
|
+
[0m
|