spec/dummy/log/development.log in pulitzer-0.15.20 vs spec/dummy/log/development.log in pulitzer-0.15.21

- old
+ new

@@ -1,135 +1,480 @@ -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) -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) -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  +  (0.1ms) select sqlite_version(*) +  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreatePulitzerPostTypes (20150618224344) +  (0.1ms) begin transaction +  (0.5ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerContentElementTypes (20150618225402) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]] +  (0.7ms) commit transaction +Migrating to CreatePulitzerPosts (20150619204615) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerContentElements (20150619204708) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerTags (20150619213436) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerPostTags (20150619213457) +  (0.1ms) begin transaction +  (0.3ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]] +  (0.9ms) commit transaction +Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832) +  (0.1ms) begin transaction +  (1.8ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean +  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]] +  (0.8ms) commit transaction +Migrating to AddPulitzerContentElementTypes (20150702150819) +  (0.1ms) begin transaction + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1 + SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2016-05-11 18:39:29.746442"], ["updated_at", "2016-05-11 18:39:29.746442"]] + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2016-05-11 18:39:29.749178"], ["updated_at", "2016-05-11 18:39:29.749178"]] + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1 + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2016-05-11 18:39:29.750811"], ["updated_at", "2016-05-11 18:39:29.750811"]] + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]] +  (0.8ms) commit transaction +Migrating to AddSlugToPulitzerPosts (20150724150230) +  (0.1ms) begin transaction +  (0.7ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar +  (0.1ms) select sqlite_version(*) +  (0.4ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]] +  (2.4ms) commit transaction +Migrating to CreateSearchLocations (20150901153531) +  (0.1ms) begin transaction +  (0.5ms) CREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150901153531"]] +  (2.9ms) commit transaction +Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741) +  (0.1ms) begin transaction +  (0.4ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.0ms) SELECT * FROM "pulitzer_post_tags" +  (0.3ms) DROP TABLE "pulitzer_post_tags" +  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) SELECT * FROM "apulitzer_post_tags" +  (0.3ms) DROP TABLE "apulitzer_post_tags" + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]] +  (1.0ms) commit transaction +Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630) +  (0.1ms) begin transaction +  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar + SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC) + SQL (1.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]] +  (1.1ms) commit transaction +Migrating to CreatePulitzerVersions (20151029194354) +  (0.1ms) begin transaction +  (0.7ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]] +  (2.9ms) commit transaction +Migrating to ChangePostElementsToVersions (20151029220558) +  (0.1ms) begin transaction +  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.1ms) SELECT * FROM "pulitzer_content_elements" +  (0.2ms) DROP TABLE "pulitzer_content_elements" +  (0.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.0ms) SELECT * FROM "apulitzer_content_elements" +  (0.1ms) DROP TABLE "apulitzer_content_elements" +  (0.1ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (0.1ms) SELECT * FROM "pulitzer_post_tags" +  (1.0ms) DROP TABLE "pulitzer_post_tags" +  (0.7ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.3ms) SELECT * FROM "apulitzer_post_tags" +  (0.4ms) DROP TABLE "apulitzer_post_tags" + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1000 + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]] +  (1.0ms) commit transaction +Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar +  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100 +  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100 +  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer +Scoped order and limit are ignored, it's forced to be batch order and batch size + Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000 + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]] +  (0.7ms) commit transaction +Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508) +  (0.1ms) begin transaction +  (0.4ms) CREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean)  +  (0.2ms) SELECT * FROM "pulitzer_post_types" +  (0.8ms) DROP TABLE "pulitzer_post_types" +  (0.2ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean) +  (0.0ms) SELECT * FROM "apulitzer_post_types" +  (0.1ms) DROP TABLE "apulitzer_post_types" +  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]] +  (0.7ms) commit transaction +Migrating to AddKindToPulitzerContentElements (20151118031237) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]] +  (0.7ms) commit transaction +Migrating to AddErrorsToVersion (20160122204201) +  (0.1ms) begin transaction +  (0.6ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]] +  (0.7ms) commit transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + + +Started GET "/pulitzer" for ::1 at 2016-05-20 13:59:46 -0600 + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by Pulitzer::PostTypesController#index as HTML + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_types/index.html.erb within layouts/application (2.5ms) +Completed 200 OK in 411ms (Views: 409.1ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application-2057cc134437d2a378b92e4d575e8a4a.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600 + + +Started GET "/assets/pulitzer-c9bbd5abe46f01f06a16fea87c66b734.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600 + + +Started GET "/assets/select2-3dd5f7c039d1d49a7a5971e99aa4aa60.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600 + + +Started GET "/assets/wysihtml-219d179d5b749a26305a8047a994df6c.css?body=1" for ::1 at 2016-05-20 13:59:47 -0600 + + +Started GET "/assets/jquery-74b99f07eb9a26506961e66ac99d1ca2.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 + + +Started GET "/assets/thin_man-da7569df64068b77b371e6287ce0d1a2.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 + + +Started GET "/assets/hooch-89036e5a7f988083ae4ce49fe161319d.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 + + +Started GET "/assets/pulitzer-33af45d7375ad91993093cee313a88cf.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 + + +Started GET "/assets/select2-c10dbdbc4d97fc8adbad2bb987ca61c8.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 + + +Started GET "/assets/wysihtml-toolbar-59685f71cfa39b74ed2f54c267153113.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 + + +Started GET "/assets/application-020d978092bb3eeec19daa73739b9a9c.js?body=1" for ::1 at 2016-05-20 13:59:47 -0600 + + +Started GET "/pulitzer/post_types?post_type_kind=template&authenticity_token=jQOxkclNFp5Qg9m6RZMrXkiDVzvFEE58vwT50CSqgC%2BY2%2ByLs1ZAna%2FPNDAdkah4uEYW3WDg%2FvcMSdnMR7jkLw%3D%3D" for ::1 at 2016-05-20 13:59:48 -0600 +Processing by Pulitzer::PostTypesController#index as */* + Parameters: {"post_type_kind"=>"template", "authenticity_token"=>"jQOxkclNFp5Qg9m6RZMrXkiDVzvFEE58vwT50CSqgC+Y2+yLs1ZAna/PNDAdkah4uEYW3WDg/vcMSdnMR7jkLw=="} + Pulitzer::PostType Load (1.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" = ? [["kind", 0]] + Rendered /Users/eric/projects/pulitzer/app/views/pulitzer/post_types/_index.html.erb (9.2ms) +Completed 200 OK in 62ms (Views: 38.2ms | ActiveRecord: 1.4ms) +  (1.3ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (1.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer) +  (0.8ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)  +  (0.8ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) +  (0.9ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)  +  (1.1ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar) +  (0.9ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  +  (1.0ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "required" boolean DEFAULT 'f') +  (0.8ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)  +  (0.8ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar) +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") +  (0.8ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL)  +  (0.7ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") +  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  +  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.2ms) SELECT version FROM "schema_migrations" +  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160927160910') + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreatePartials (20160511192041) +  (0.1ms) begin transaction +  (0.5ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer)  + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]] +  (0.7ms) commit transaction +Migrating to AddParentIdToPulitzerTag (20160511201527) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer +  (0.2ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL +  (0.1ms) select sqlite_version(*) +  (0.6ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]] +  (0.6ms) commit transaction +Migrating to AddPartialToContentElement (20160512214545) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]] +  (0.6ms) commit transaction +Migrating to CreateFreeFormSectionType (20160513153209) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]] +  (0.7ms) commit transaction +Migrating to CreateFreeFormSection (20160513153214) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]] +  (0.7ms) commit transaction +Migrating to FixPostTypeKinds (20160516150237) +  (0.1ms) begin transaction + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]] +  (0.7ms) commit transaction +Migrating to CreateLayouts (20160517181706) +  (0.1ms) begin transaction +  (0.5ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]] +  (0.8ms) commit transaction +Migrating to AddLayoutToPartial (20160517182500) +  (0.1ms) begin transaction +  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]] +  (3.6ms) commit transaction +Migrating to AddLabelToPartial (20160519181030) +  (0.1ms) begin transaction +  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]] +  (0.7ms) commit transaction +Migrating to RemoveTitleFromContentElements (20160609214139) +  (0.4ms) begin transaction +  (0.9ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer) +  (0.7ms) SELECT * FROM "pulitzer_content_elements" +  (0.9ms) DROP TABLE "pulitzer_content_elements" +  (0.7ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)  +  (0.1ms) SELECT * FROM "apulitzer_content_elements" +  (0.1ms) DROP TABLE "apulitzer_content_elements" + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]] +  (0.7ms) commit transaction +Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910) +  (0.1ms) begin transaction +  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]] +  (0.8ms) commit transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.1ms) SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + +  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)  +  (0.1ms) select sqlite_version(*) +  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +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/eric/projects/pulitzer/spec/dummy/config/environment.rb:5) +DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) +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/eric/projects/pulitzer/spec/dummy/config/environment.rb:5) +DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (1.2ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer) +  (0.8ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) +  (0.8ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) +  (0.8ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) +  (0.8ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar) +  (0.8ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.8ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "required" boolean DEFAULT 'f') +  (0.8ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0) +  (0.8ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar) +  (0.0ms) select sqlite_version(*) +  (0.8ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") +  (0.9ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL) +  (0.8ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") +  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.1ms) SELECT version FROM "schema_migrations" +  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20160927160910')  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-05-03 21:47:20 UTC], ["updated_at", 2017-05-03 21:47:20 UTC]] +  (0.8ms) commit transaction + ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +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/eric/projects/pulitzer/spec/dummy/config/environment.rb:5) +DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) +  (2.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-05-03 21:52:18 UTC], ["updated_at", 2017-05-03 21:52:18 UTC]] +  (0.7ms) commit transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +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/eric/projects/pulitzer/spec/dummy/config/environment.rb:5) +DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +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/eric/projects/pulitzer/spec/dummy/config/environment.rb:5) +DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePulitzerPostTypes (20150618224344)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class CreatePulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (1.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]] -  (7.1ms) commit transaction + class CreatePulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.4ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]] +  (1.6ms) commit transaction Migrating to CreatePulitzerContentElementTypes (20150618225402)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class CreatePulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.7ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (17.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]] -  (1.1ms) commit transaction + class CreatePulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.5ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]] +  (0.8ms) commit transaction Migrating to CreatePulitzerPosts (20150619204615) -  (3.6ms) begin transaction +  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class CreatePulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.7ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]] -  (1.6ms) commit transaction + class CreatePulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.4ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]] +  (0.8ms) commit transaction Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class CreatePulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.6ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]] -  (0.9ms) commit transaction + class CreatePulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.4ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]] +  (0.7ms) commit transaction Migrating to CreatePulitzerTags (20150619213436)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class CreatePulitzerTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.3ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + class CreatePulitzerTags < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.4ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]] -  (0.6ms) commit transaction +  (0.8ms) commit transaction Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class CreatePulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) + class CreatePulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)  (0.4ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]] -  (1.0ms) commit transaction + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]] +  (0.8ms) commit transaction Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class CreatePulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.9ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]] -  (1.1ms) commit transaction + class CreatePulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.3ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]] +  (0.8ms) commit transaction Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class AddPluralAndTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.8ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean -  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean + class AddPluralAndTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.4ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean +  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]] -  (0.8ms) commit transaction +  (0.7ms) commit transaction Migrating to AddPulitzerContentElementTypes (20150702150819) -  (0.2ms) begin transaction +  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class AddPulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) + class AddPulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] - SQL (0.7ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]] + SQL (0.3ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-05-03 22:00:53 UTC], ["updated_at", 2017-05-03 22:00:53 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] - SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]] + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-05-03 22:00:53 UTC], ["updated_at", 2017-05-03 22:00:53 UTC]] Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] - SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]] + SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-05-03 22:00:53 UTC], ["updated_at", 2017-05-03 22:00:53 UTC]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]] -  (0.9ms) commit transaction +  (0.7ms) commit transaction Migrating to AddSlugToPulitzerPosts (20150724150230) -  (0.0ms) begin transaction +  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class AddSlugToPulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.3ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar -  (0.0ms) select sqlite_version(*) + class AddSlugToPulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.5ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar +  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]] -  (0.9ms) commit transaction +  (0.7ms) commit transaction Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741) -  (0.3ms) begin transaction +  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class ChangeLabelTypeFromPulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) + class ChangeLabelTypeFromPulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags" -  (0.4ms) DROP TABLE "pulitzer_post_tags" +  (0.3ms) DROP TABLE "pulitzer_post_tags"  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]] -  (0.9ms) commit transaction + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]] +  (1.1ms) commit transaction Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630) -  (0.1ms) begin transaction +  (0.5ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar + class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.7ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar SQL (0.1ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]] + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]  (0.7ms) commit transaction Migrating to CreatePulitzerVersions (20151029194354) -  (0.0ms) begin transaction +  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class CreatePulitzerVersions < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.7ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]] + class CreatePulitzerVersions < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.4ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]  (0.8ms) commit transaction Migrating to ChangePostElementsToVersions (20151029220558)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class ChangePostElementsToVersions < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) + class ChangePostElementsToVersions < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)  (0.1ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") 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"  (0.3ms) DROP TABLE "pulitzer_content_elements"  (0.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) @@ -137,183 +482,192 @@ 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"  (0.1ms) DROP TABLE "apulitzer_content_elements"  (0.1ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags" -  (0.1ms) DROP TABLE "pulitzer_post_tags" +  (0.2ms) DROP TABLE "pulitzer_post_tags"  (0.2ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags"  (0.1ms) DROP TABLE "apulitzer_post_tags" Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]] -  (1.0ms) commit transaction +  (0.9ms) commit transaction Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class AddPostTypeContentElementAttributesToContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.5ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar -  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100 + class AddPostTypeContentElementAttributesToContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar +  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100 -  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer +  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer Scoped order and limit are ignored, it's forced to be batch order and batch size. Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]] SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]] -  (0.9ms) commit transaction +  (1.2ms) commit transaction Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class ChangeTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) + class ChangeTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)  (0.1ms) CREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean)  (0.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types" -  (0.4ms) DROP TABLE "pulitzer_post_types" +  (0.3ms) DROP TABLE "pulitzer_post_types"  (0.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)  (0.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"  (0.1ms) DROP TABLE "apulitzer_post_types" -  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 +  (0.1ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]  (0.9ms) commit transaction Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class AddKindToPulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) + class AddKindToPulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]  (0.7ms) commit transaction Migrating to AddErrorsToVersion (20160122204201) -  (0.0ms) begin transaction +  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class AddErrorsToVersion < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) + class AddErrorsToVersion < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)  (0.3ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]] -  (0.7ms) commit transaction +  (0.8ms) commit transaction Migrating to CreatePartials (20160511192041)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class CreatePartials < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.4ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer) + class CreatePartials < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.3ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]] -  (0.9ms) commit transaction +  (1.2ms) commit transaction Migrating to AddParentIdToPulitzerTag (20160511201527) -  (0.0ms) begin transaction +  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class AddParentIdToPulitzerTag < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.3ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer -  (0.1ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL + class AddParentIdToPulitzerTag < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.4ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer +  (0.2ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL  (0.1ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]] -  (0.8ms) commit transaction +  (0.9ms) commit transaction Migrating to AddPartialToContentElement (20160512214545) -  (0.0ms) begin transaction +  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class AddPartialToContentElement < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.3ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]] -  (1.0ms) commit transaction + class AddPartialToContentElement < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]] +  (0.8ms) commit transaction Migrating to CreateFreeFormSectionType (20160513153209)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class CreateFreeFormSectionType < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.3ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]] + class CreateFreeFormSectionType < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.6ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]]  (0.8ms) commit transaction Migrating to CreateFreeFormSection (20160513153214)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class CreateFreeFormSection < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.5ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) + class CreateFreeFormSection < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (1.1ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]] -  (1.1ms) commit transaction +  (0.9ms) commit transaction Migrating to FixPostTypeKinds (20160516150237)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class FixPostTypeKinds < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) + class FixPostTypeKinds < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2) - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]] -  (0.7ms) commit transaction + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]] +  (2.0ms) commit transaction Migrating to CreateLayouts (20160517181706) -  (0.0ms) begin transaction +  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class CreateLayouts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.3ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]] + class CreateLayouts < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (1.2ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) + SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]]  (0.9ms) commit transaction Migrating to AddLayoutToPartial (20160517182500) -  (0.0ms) begin transaction +  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class AddLayoutToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.5ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]] -  (0.8ms) commit transaction + class AddLayoutToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]] +  (0.7ms) commit transaction Migrating to AddLabelToPartial (20160519181030) -  (0.0ms) begin transaction +  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class AddLabelToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.6ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]] -  (0.9ms) commit transaction + class AddLabelToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.8ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]] +  (0.8ms) commit transaction Migrating to RemoveTitleFromContentElements (20160609214139)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class RemoveTitleFromContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) + class RemoveTitleFromContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)  (0.1ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") 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"  (0.3ms) DROP TABLE "pulitzer_content_elements" -  (0.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer) +  (0.3ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)  (0.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") 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"  (0.1ms) DROP TABLE "apulitzer_content_elements" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]] -  (0.9ms) commit transaction +  (1.0ms) commit transaction Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)  (0.1ms) begin transaction DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - class AddRequiredToPulitzerPostTypeContentElementType < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' + class AddRequiredToPulitzerPostTypeContentElementType < ActiveRecord::Migration[4.2] (called from load at /Users/eric/.rvm/gems/ruby-2.3.1/bin/rake:23) +  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]  (0.8ms) commit transaction Migrating to AddSortToPostElements (20170502210827)  (0.1ms) begin transaction  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer -  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]] +  (0.4ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]]  (0.9ms) commit transaction -Migrating to CreatePulitzerPartialTypes (20170508145431) + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.0ms) begin transaction -  (0.0ms) rollback transaction -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) -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) +  (0.0ms) commit transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + +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/eric/projects/pulitzer/spec/dummy/config/environment.rb:5) +DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) +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/eric/projects/pulitzer/spec/dummy/config/environment.rb:5) +DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to CreatePulitzerPartialTypes (20170508145431) -  (0.1ms) begin transaction -  (0.6ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type" integer) - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-05-08 17:23:45 UTC], ["updated_at", 2017-05-08 17:23:45 UTC]] -  (0.7ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql @@ -326,71 +680,102 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'  -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) -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) - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to CreatePulitzerPartialTypes (20170508145431) -  (0.2ms) begin transaction -  (1.2ms) DROP TABLE "pulitzer_partial_types" - SQL (0.8ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20170508145431"]] -  (0.7ms) commit transaction +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/eric/projects/pulitzer/spec/dummy/config/environment.rb:5) +DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index'  -  (0.2ms)  SELECT sql +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'  -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) -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) +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/eric/projects/pulitzer/spec/dummy/config/environment.rb:5) +DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + +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/eric/projects/pulitzer/spec/dummy/config/environment.rb:5) +DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to CreatePulitzerPartialTypes (20170508145431) +Migrating to CreatePulitzerBackgroundClasses (20170518142411)  (0.1ms) begin transaction -  (0.6ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]] -  (4.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.5ms) CREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) + SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170518142411"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerJustificationClasses (20170518144418)  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170518144418"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerSequenceFlowClasses (20170518144449) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170518144449"]] +  (0.8ms) commit transaction +Migrating to CreatePulitzerArrangementClasses (20170518144515) +  (0.1ms) begin transaction +  (0.4ms) CREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "view_file_name" varchar) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170518144515"]] +  (0.9ms) commit transaction +Migrating to ConvertPulitzerLayouts (20170518145318) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "background_style_id" integer +  (0.2ms) ALTER TABLE "pulitzer_partials" ADD "justification_style_id" integer +  (0.2ms) ALTER TABLE "pulitzer_partials" ADD "sequence_flow_style_id" integer +  (0.1ms) ALTER TABLE "pulitzer_partials" ADD "arrangement_style_id" integer + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170518145318"]] +  (0.9ms) commit transaction + ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms)  SELECT sql + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index'  -  (0.2ms)  SELECT sql +  (0.3ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'  -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) -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) - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::InternalMetadata Load (0.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +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/eric/projects/pulitzer/spec/dummy/config/environment.rb:5) +DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql @@ -403,520 +788,967 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'  -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) -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) +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/eric/projects/pulitzer/spec/dummy/config/environment.rb:5) +DEPRECATION WARNING: before_filter is deprecated and will be removed in Rails 5.1. Use before_action instead. (called from <class:ApplicationController> at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2) ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreatePulitzerPartialTypes (20170508145431) +  (0.1ms) begin transaction +  (0.5ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]] +  (1.4ms) commit transaction ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index'  -  (0.6ms)  SELECT sql +  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'  - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to CreatePostTypeVersion (20170515230633) + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + + Pulitzer::PostType Load (0.3ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]]  (0.1ms) begin transaction -  (1.7ms) CREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'incomplete' NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.2ms) CREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id") - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170515230633"]] -  (3.3ms) commit transaction -Migrating to ReconnectPostTypeToPost (20170515232938) -  (0.1ms) begin transaction + SQL (0.5ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Welcome"], ["created_at", 2017-05-23 18:19:17 UTC], ["updated_at", 2017-05-23 18:19:17 UTC], ["plural", true]] +  (0.8ms) commit transaction +  (0.0ms) begin transaction + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]]  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to ReconnectPostTypeToPost (20170515232938)  (0.1ms) begin transaction + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] +  (0.2ms) rollback transaction +  (0.1ms) begin transaction + Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]]  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to ReconnectPostTypeToPost (20170515232938) +  (0.0ms) begin transaction + Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.1ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Hero Title 1"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 1]] +  (0.8ms) commit transaction  (0.1ms) begin transaction -  (0.9ms) ALTER TABLE "pulitzer_posts" ADD "post_type_version_id" integer -  (0.2ms) ALTER TABLE "pulitzer_background_styles" ADD "post_type_version_id" integer -  (0.7ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to CreatePulitzerPostTypes (20150618224344) + SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Hero Title 2"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 2]] +  (0.7ms) commit transaction  (0.1ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class CreatePulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (1.0ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]] -  (1.1ms) commit transaction -Migrating to CreatePulitzerContentElementTypes (20150618225402) + SQL (0.9ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Hero Title 3"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 3]] +  (1.2ms) commit transaction  (0.2ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class CreatePulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.4ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]] -  (1.0ms) commit transaction -Migrating to CreatePulitzerPosts (20150619204615) -  (0.1ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class CreatePulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.7ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]] + SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Guest Title"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 4]]  (0.7ms) commit transaction -Migrating to CreatePulitzerContentElements (20150619204708)  (0.1ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class CreatePulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.6ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]] -  (0.9ms) commit transaction -Migrating to CreatePulitzerTags (20150619213436) -  (0.1ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class CreatePulitzerTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (1.0ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]] + SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Guest Text"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 5]]  (0.8ms) commit transaction -Migrating to CreatePulitzerPostTags (20150619213457)  (0.1ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class CreatePulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.4ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]] -  (0.8ms) commit transaction -Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914) + SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Footer Title"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 6]] +  (0.7ms) commit transaction  (0.1ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class CreatePulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.9ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (5.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]] + SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Footer Text"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 7]]  (0.7ms) commit transaction -Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)  (0.1ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class AddPluralAndTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.5ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean -  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]] + SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Metadata title"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 8]]  (0.8ms) commit transaction -Migrating to AddPulitzerContentElementTypes (20150702150819)  (0.1ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class AddPulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] - SQL (0.4ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]] - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] - SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]] - Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] - SQL (0.1ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]] - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]] -  (1.2ms) commit transaction -Migrating to AddSlugToPulitzerPosts (20150724150230) -  (0.1ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class AddSlugToPulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.5ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar -  (0.1ms) select sqlite_version(*) -  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]] + SQL (0.3ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Metadata description"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 9]]  (0.7ms) commit transaction -Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741) +  (0.0ms) begin transaction + SQL (0.4ms) INSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?) [["post_type_id", 1], ["label", "Metadata keywords"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["sort_order", 10]] +  (0.7ms) commit transaction  (0.1ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class ChangeLabelTypeFromPulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") - SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags" -  (0.6ms) DROP TABLE "pulitzer_post_tags" -  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") - SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags" -  (0.2ms) DROP TABLE "apulitzer_post_tags" - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]] -  (1.1ms) commit transaction -Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630) + SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]] +  (0.9ms) commit transaction  (0.1ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.9ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar - SQL (0.2ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC) -  (0.5ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" -Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630) + SQL (0.4ms) INSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?) [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]] +  (0.7ms) commit transaction  (0.1ms) begin transaction -DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for: - - class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23) -  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar - SQL (0.2ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC) -  (0.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (3.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630) -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630) - ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-13 23:34:41.112286"], ["updated_at", "2017-09-13 23:34:41.112286"]] + Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "welcome"], ["LIMIT", 1]] + SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Welcome"], ["post_type_id", 1], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["slug", "welcome"]] + SQL (0.2ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 1], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]] +  (1.5ms) commit transaction + Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] +Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form. +  (0.0ms) begin transaction + SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Hero Title 1"], ["version_id", 1], ["post_type_content_element_type_id", 1], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]  (0.8ms) commit transaction -  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_pulitzer_posts_on_slug' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_pulitzer_posts_on_slug' AND type='index' - -  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.1ms) SELECT sqlite_version(*) -  (3.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (4.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-18 15:57:25.177985"], ["updated_at", "2017-09-18 15:57:25.177985"]] -  (0.8ms) commit transaction -  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -Migrating to CreatePulitzerPostTypes (20150618224344) -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT sqlite_version(*) -  (4.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -Migrating to CreatePulitzerPostTypes (20150618224344) -  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -Migrating to CreatePulitzerPostTypes (20150618224344) + SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Hero Title 2"], ["version_id", 1], ["post_type_content_element_type_id", 2], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]] +  (0.7ms) commit transaction + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction -  (0.2ms) SELECT sqlite_version(*) -  (0.8ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]] -  (1.1ms) commit transaction -Migrating to CreatePulitzerContentElementTypes (20150618225402) + SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Hero Title 3"], ["version_id", 1], ["post_type_content_element_type_id", 3], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]] +  (0.7ms) commit transaction + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction -  (0.5ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]] -  (1.0ms) commit transaction -Migrating to CreatePulitzerPosts (20150619204615) + SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Guest Title"], ["version_id", 1], ["post_type_content_element_type_id", 4], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]] +  (0.8ms) commit transaction + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction -  (0.5ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]] -  (1.0ms) commit transaction -Migrating to CreatePulitzerContentElements (20150619204708) -  (0.1ms) begin transaction -  (0.6ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]] + SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Guest Text"], ["version_id", 1], ["post_type_content_element_type_id", 5], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]  (0.9ms) commit transaction -Migrating to CreatePulitzerTags (20150619213436) + Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction -  (0.5ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]] -  (1.3ms) commit transaction -Migrating to CreatePulitzerPostTags (20150619213457) + SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Footer Title"], ["version_id", 1], ["post_type_content_element_type_id", 6], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]] +  (0.8ms) commit transaction + Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction -  (3.7ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]] -  (1.5ms) commit transaction -Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914) + SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Footer Text"], ["version_id", 1], ["post_type_content_element_type_id", 7], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]] +  (0.8ms) commit transaction + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction -  (0.9ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]] -  (1.0ms) commit transaction -Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832) + SQL (0.6ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Metadata title"], ["version_id", 1], ["post_type_content_element_type_id", 8], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]] +  (1.4ms) commit transaction + Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction -  (0.6ms) ALTER TABLE "pulitzer_post_types" ADD "plural" boolean -  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "template" boolean - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150629195832"]] -  (1.0ms) commit transaction -Migrating to AddPulitzerContentElementTypes (20150702150819) + SQL (0.4ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Metadata description"], ["version_id", 1], ["post_type_content_element_type_id", 9], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]] +  (0.7ms) commit transaction + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Text"], ["LIMIT", 1]] - SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Text"], ["created_at", "2017-09-18 16:02:38.747317"], ["updated_at", "2017-09-18 16:02:38.747317"]] - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Image"], ["LIMIT", 1]] - SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Image"], ["created_at", "2017-09-18 16:02:38.750706"], ["updated_at", "2017-09-18 16:02:38.750706"]] - Pulitzer::ContentElementType Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Video"], ["LIMIT", 1]] - SQL (0.2ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Video"], ["created_at", "2017-09-18 16:02:38.753522"], ["updated_at", "2017-09-18 16:02:38.753522"]] - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]] -  (1.0ms) commit transaction -Migrating to AddSlugToPulitzerPosts (20150724150230) + SQL (0.3ms) INSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["label", "Metadata keywords"], ["version_id", 1], ["post_type_content_element_type_id", 10], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]] +  (0.7ms) commit transaction + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction -  (0.7ms) ALTER TABLE "pulitzer_posts" ADD "slug" varchar -  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]] -  (1.4ms) commit transaction -Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741) -  (0.1ms) begin transaction -  (0.4ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer DEFAULT NULL, "label_id" integer DEFAULT NULL, "label_type" integer DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.3ms) INSERT INTO "apulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") - SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags" -  (0.6ms) DROP TABLE "pulitzer_post_tags" -  (0.2ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer DEFAULT NULL, "label_id" integer DEFAULT NULL, "label_type" varchar DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.2ms) INSERT INTO "pulitzer_post_tags" ("id","post_id","label_id","label_type","created_at","updated_at") - SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags" -  (0.2ms) DROP TABLE "apulitzer_post_tags" - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150902212741"]] + SQL (0.4ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]  (0.8ms) commit transaction -Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630) + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]]  (0.1ms) begin transaction -  (0.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar - SQL (0.3ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC) -  (0.5ms) rollback transaction -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630) + SQL (0.3ms) INSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?) [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]] +  (0.7ms) commit transaction  (0.1ms) begin transaction -  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar - SQL (0.4ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC) -  (1.6ms) rollback transaction -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630) + SQL (0.4ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Guides"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["plural", true]] +  (0.8ms) commit transaction  (0.1ms) begin transaction -  (1.5ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar - SQL (0.3ms) UPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC) -  (1.5ms) rollback transaction -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630) + Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]] + SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Complete Guide to Breckenridge"], ["post_type_id", 2], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["slug", "complete-guide-to-breckenridge"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 2], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]] +  (1.7ms) commit transaction  (0.1ms) begin transaction -  (0.6ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]] -  (3.4ms) commit transaction -Migrating to CreatePulitzerVersions (20151029194354) -  (0.0ms) begin transaction -  (0.1ms) SELECT sqlite_version(*) -  (0.4ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]] + SQL (0.9ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "Travel Articles"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["plural", true]]  (0.8ms) commit transaction -Migrating to ChangePostElementsToVersions (20151029220558) -  (0.0ms) begin transaction -  (0.4ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar DEFAULT NULL, "title" varchar DEFAULT NULL, "body" text DEFAULT NULL, "image" varchar DEFAULT NULL, "version_id" integer DEFAULT NULL, "post_type_content_element_type_id" integer DEFAULT NULL, "content_element_type_id" integer DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.2ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") - 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" -  (0.4ms) DROP TABLE "pulitzer_content_elements" -  (0.6ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar DEFAULT NULL, "title" varchar DEFAULT NULL, "body" text DEFAULT NULL, "image" varchar DEFAULT NULL, "version_id" integer DEFAULT NULL, "post_type_content_element_type_id" integer DEFAULT NULL, "content_element_type_id" integer DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at") - 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" -  (0.2ms) DROP TABLE "apulitzer_content_elements" -  (0.3ms) CREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer DEFAULT NULL, "label_id" integer DEFAULT NULL, "label_type" varchar DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) INSERT INTO "apulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") - SELECT "id","post_id","label_id","label_type","created_at","updated_at" FROM "pulitzer_post_tags" -  (0.1ms) DROP TABLE "pulitzer_post_tags" -  (0.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer DEFAULT NULL, "label_id" integer DEFAULT NULL, "label_type" varchar DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) INSERT INTO "pulitzer_post_tags" ("id","version_id","label_id","label_type","created_at","updated_at") - SELECT "id","version_id","label_id","label_type","created_at","updated_at" FROM "apulitzer_post_tags" -  (0.1ms) DROP TABLE "apulitzer_post_tags" - Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ? [["LIMIT", 1000]] - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]] +  (0.1ms) begin transaction + Pulitzer::Post Exists (0.2ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "ski-jump-competition"], ["LIMIT", 1]] + SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Ski Jump Competition"], ["post_type_id", 3], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["slug", "ski-jump-competition"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 3], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]  (0.8ms) commit transaction -Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)  (0.1ms) begin transaction -  (0.4ms) ALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar -  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100 -  (0.1ms) ALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100 -  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer -Scoped order is ignored, it's forced to be batch order. - Pulitzer::ContentElement Load (0.1ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ? [["LIMIT", 1000]] - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]] + SQL (0.3ms) INSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?) [["name", "External Articles"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["plural", true]]  (0.7ms) commit transaction -Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508) -  (0.0ms) begin transaction -  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean DEFAULT NULL, "template" boolean DEFAULT NULL) -  (0.1ms) INSERT INTO "apulitzer_post_types" ("id","name","created_at","updated_at","plural","template") - SELECT "id","name","created_at","updated_at","plural","template" FROM "pulitzer_post_types" -  (0.3ms) DROP TABLE "pulitzer_post_types" -  (0.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean DEFAULT NULL) -  (0.1ms) INSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural") - SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types" -  (0.1ms) DROP TABLE "apulitzer_post_types" -  (0.2ms) ALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0 - SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]] -  (0.9ms) commit transaction -Migrating to AddKindToPulitzerContentElements (20151118031237)  (0.1ms) begin transaction -  (0.7ms) ALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0 - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]] -  (0.9ms) commit transaction -Migrating to AddErrorsToVersion (20160122204201) -  (0.1ms) begin transaction -  (0.6ms) ALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]] -  (0.9ms) commit transaction -Migrating to CreatePartials (20160511192041) -  (0.0ms) begin transaction -  (0.3ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]] + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] + Pulitzer::Post Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ? [["slug", "why-visit-breckenridge"], ["LIMIT", 1]] + SQL (0.3ms) INSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?) [["title", "Why visit Breckenridge"], ["post_type_id", 4], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["slug", "why-visit-breckenridge"]] + SQL (0.1ms) INSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?) [["post_id", 4], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]  (0.8ms) commit transaction -Migrating to AddParentIdToPulitzerTag (20160511201527) + Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ? [["title", "Welcome"], ["LIMIT", 1]] + Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 0], ["LIMIT", 1]] + Pulitzer::Version Load (0.2ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]]  (0.1ms) begin transaction -  (0.3ms) ALTER TABLE "pulitzer_tags" ADD "parent_id" integer -  (0.1ms) ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL -  (0.1ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511201527"]] + SQL (0.4ms) UPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ? [["status", 1], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 1]]  (0.7ms) commit transaction -Migrating to AddPartialToContentElement (20160512214545) + Pulitzer::Tag Load (0.2ms) SELECT "pulitzer_tags".* FROM "pulitzer_tags" INNER JOIN "pulitzer_post_tags" ON "pulitzer_tags"."id" = "pulitzer_post_tags"."label_id" WHERE "pulitzer_post_tags"."version_id" = ? AND "pulitzer_post_tags"."label_type" = ? [["version_id", 1], ["label_type", "Pulitzer::Tag"]]  (0.0ms) begin transaction -  (0.6ms) ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160512214545"]] + SQL (0.5ms) INSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["status", 4], ["post_id", 1], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]] +  (0.9ms) commit transaction +[ActiveJob] Enqueued Pulitzer::CloneVersionJob (Job ID: 7f59cbe8-cae9-47ab-83e1-eddbc8921397) to Async(default) with arguments: #<GlobalID:0x007f852ae6f148 @uri=#<URI::GID gid://dummy/Pulitzer::Version/1>> + Pulitzer::Version Load (0.5ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Pulitzer::Post Load (0.1ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Performing Pulitzer::CloneVersionJob from Async(default) with arguments: #<GlobalID:0x007f85278e6440 @uri=#<URI::GID gid://dummy/Pulitzer::Version/1>> + Pulitzer::Version Load (0.3ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ? [["id", 5], ["LIMIT", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Pulitzer::Post Load (0.2ms) SELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] + Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ? [["post_id", 1], ["status", 1], ["LIMIT", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Pulitzer::CloneVersion !!! + Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] bin/rails +  (0.1ms) begin transaction +[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Pulitzer::Version Load (0.1ms) SELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ? [["post_id", 1], ["status", 4], ["LIMIT", 1]] + SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 1"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 1]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Pulitzer::ContentElement Load (0.2ms) SELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC [["version_id", 1]]  (0.8ms) commit transaction -Migrating to CreateFreeFormSectionType (20160513153209) -  (0.0ms) begin transaction -  (0.4ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153209"]] +[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Performed Pulitzer::CloneVersionJob from Async(default) in 16.83ms +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 2"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 2]]  (0.8ms) commit transaction -Migrating to CreateFreeFormSection (20160513153214) -  (0.0ms) begin transaction -  (0.3ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160513153214"]] -  (0.7ms) commit transaction -Migrating to FixPostTypeKinds (20160516150237) -  (0.0ms) begin transaction - Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2) - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160516150237"]] +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Hero Title 3"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 3]]  (0.8ms) commit transaction -Migrating to CreateLayouts (20160517181706)  (0.1ms) begin transaction -  (0.5ms) CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517181706"]] + SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Title"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 4]] +  (0.7ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Guest Text"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 5]]  (0.8ms) commit transaction -Migrating to AddLayoutToPartial (20160517182500)  (0.1ms) begin transaction -  (0.4ms) ALTER TABLE "pulitzer_partials" ADD "layout_id" integer - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160517182500"]] + SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Title"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 6]]  (0.7ms) commit transaction -Migrating to AddLabelToPartial (20160519181030)  (0.1ms) begin transaction -  (1.2ms) ALTER TABLE "pulitzer_partials" ADD "label" varchar - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160519181030"]] + SQL (0.5ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Footer Text"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 7]] +  (0.7ms) commit transaction +  (0.1ms) begin transaction + SQL (0.4ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata title"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 8]] +  (0.7ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata description"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 9]] +  (0.7ms) commit transaction +  (0.1ms) begin transaction + SQL (0.3ms) UPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ? [["body", "Metadata keywords"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 10]] +  (0.7ms) commit transaction + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] + Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] + Pulitzer::PostType Load (0.1ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ? [["name", "Welcome"], ["LIMIT", 1]] + Pulitzer::PostTypeContentElementType Load (0.2ms) SELECT "pulitzer_post_type_content_element_types".* FROM "pulitzer_post_type_content_element_types" WHERE "pulitzer_post_type_content_element_types"."post_type_id" = ? ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC [["post_type_id", 1]] + Pulitzer::FreeFormSectionType Load (0.2ms) SELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ? [["post_type_id", 1]] + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreatePulitzerCustomOption (20170526212313) +  (0.1ms) begin transaction +  (0.5ms) CREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar) + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170526212313"]]  (0.8ms) commit transaction -Migrating to RemoveTitleFromContentElements (20160609214139) +Migrating to CreatePulitzerCustomOptionList (20170526212330) +  (0.1ms) begin transaction +  (0.3ms) CREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170526212330"]] +  (0.7ms) commit transaction +Migrating to AddLayoutToContentElements (20170530145657)  (0.0ms) begin transaction -  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar DEFAULT NULL, "title" varchar DEFAULT NULL, "body" text DEFAULT NULL, "image" varchar DEFAULT NULL, "version_id" integer DEFAULT NULL, "post_type_content_element_type_id" integer DEFAULT NULL, "content_element_type_id" integer DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar DEFAULT NULL, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer DEFAULT NULL, "kind" integer DEFAULT 0, "partial_id" integer DEFAULT NULL) -  (0.1ms) INSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") - 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" +  (0.2ms) CREATE TEMPORARY TABLE "apulitzer_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) +  (0.4ms) INSERT INTO "apulitzer_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") + 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 "pulitzer_content_elements"  (0.6ms) DROP TABLE "pulitzer_content_elements" -  (0.3ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar DEFAULT NULL, "body" text DEFAULT NULL, "image" varchar DEFAULT NULL, "version_id" integer DEFAULT NULL, "post_type_content_element_type_id" integer DEFAULT NULL, "content_element_type_id" integer DEFAULT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar DEFAULT NULL, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer DEFAULT NULL, "kind" integer DEFAULT 0, "partial_id" integer DEFAULT NULL) -  (0.2ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id") - 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" +  (0.2ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer) +  (0.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","partial_id") + 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","partial_id" FROM "apulitzer_content_elements"  (0.2ms) DROP TABLE "apulitzer_content_elements" - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]] +  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "layout_id" integer +  (0.2ms) ALTER TABLE "pulitzer_content_elements" ADD "custom_option_id" integer + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170530145657"]] +  (0.8ms) commit transaction +Migrating to ConvertLayouts (20170530164044) +  (0.0ms) begin transaction +  (0.3ms) DROP TABLE "pulitzer_layouts" +  (0.1ms) CREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar) + Pulitzer::ContentElementType Load (0.5ms) SELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]] + Pulitzer::ContentElementType Exists (0.1ms) SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ? [["name", "Clickable"], ["LIMIT", 1]] + SQL (0.5ms) INSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Clickable"], ["created_at", 2017-06-05 15:39:37 UTC], ["updated_at", 2017-06-05 15:39:37 UTC]] + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170530164044"]]  (1.1ms) commit transaction -Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910) +Migrating to CreatePostTypeCustomOptionList (20170531164349)  (0.1ms) begin transaction -  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false' - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]] +  (0.4ms) CREATE TABLE "pulitzer_post_type_content_element_type_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "custom_option_list_id" integer) + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170531164349"]]  (0.8ms) commit transaction -Migrating to AddSortToPostElements (20170502210827) -  (0.0ms) begin transaction -  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer -  (0.2ms) ALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170502210827"]] +Migrating to AddClickableTypeToPtcet (20170601195822) +  (0.1ms) begin transaction +  (0.4ms) ALTER TABLE "pulitzer_post_type_content_element_types" ADD "clickable_kind" varchar DEFAULT 'any' NOT NULL + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170601195822"]] +  (0.7ms) commit transaction +Migrating to AddStyleToContentElement (20170602204900) +  (0.1ms) begin transaction +  (0.1ms) CREATE TEMPORARY TABLE "apulitzer_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, "partial_id" integer, "style_id" integer, "custom_option_id" integer) +  (0.1ms) INSERT INTO "apulitzer_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","partial_id","style_id","custom_option_id") + 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","partial_id","layout_id","custom_option_id" FROM "pulitzer_content_elements" +  (0.3ms) DROP TABLE "pulitzer_content_elements" +  (0.2ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer) +  (0.1ms) INSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","partial_id","style_id","custom_option_id") + 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","partial_id","style_id","custom_option_id" FROM "apulitzer_content_elements" +  (0.1ms) DROP TABLE "apulitzer_content_elements" + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170602204900"]]  (0.8ms) commit transaction -Migrating to CreatePulitzerPartialTypes (20170508145431) -  (0.0ms) begin transaction -  (0.3ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170508145431"]] + ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + + ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] +  (1.2ms) CREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "view_file_name" varchar) +  (1.3ms) CREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (0.9ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.2ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer) +  (2.3ms) CREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) +  (2.4ms) CREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar) +  (1.1ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar, "sort_order" integer) +  (1.7ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) +  (2.5ms) CREATE TABLE "pulitzer_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (3.8ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) +  (1.6ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar, "background_style_id" integer, "justification_style_id" integer, "sequence_flow_style_id" integer, "arrangement_style_id" integer) +  (4.8ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.6ms) CREATE TABLE "pulitzer_post_type_content_element_type_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "custom_option_list_id" integer) +  (1.6ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "required" boolean DEFAULT 'f', "sort_order" integer, "clickable_kind" varchar DEFAULT 'any' NOT NULL) +  (1.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0) +  (2.0ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar) +  (0.8ms) select sqlite_version(*) +  (4.5ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") +  (1.7ms) CREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (1.0ms) CREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (1.7ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL) +  (1.8ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") +  (48.9ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "cloning_errors" text) +  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.3ms) SELECT version FROM "schema_migrations" +  (11.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20170602204900') +  (16.1ms) INSERT INTO schema_migrations (version) VALUES +('20170526212313'), +('20170526212330'), +('20170530145657'), +('20170530164044'), +('20170531164349'), +('20170601195822'); + + +  (2.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (3.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-06-05 15:46:18 UTC], ["updated_at", 2017-06-05 15:46:18 UTC]]  (0.8ms) commit transaction + ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.9ms) CREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "view_file_name" varchar) +  (1.2ms) CREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (1.4ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (2.4ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer) +  (1.1ms) CREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) +  (1.0ms) CREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar) +  (3.5ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar, "sort_order" integer) +  (1.5ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) +  (7.7ms) CREATE TABLE "pulitzer_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (1.9ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) +  (1.1ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar, "background_style_id" integer, "justification_style_id" integer, "sequence_flow_style_id" integer, "arrangement_style_id" integer) +  (3.7ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (8.5ms) CREATE TABLE "pulitzer_post_type_content_element_type_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "custom_option_list_id" integer) +  (1.3ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "required" boolean DEFAULT 'f', "sort_order" integer, "clickable_kind" varchar DEFAULT 'any' NOT NULL) +  (3.6ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0) +  (5.1ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar) +  (0.2ms) select sqlite_version(*) +  (3.3ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") +  (6.0ms) CREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (1.3ms) CREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (5.6ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL) +  (2.2ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") +  (4.6ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "cloning_errors" text) +  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.2ms) SELECT version FROM "schema_migrations" +  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20170602204900') +  (1.2ms) INSERT INTO schema_migrations (version) VALUES +('20170526212313'), +('20170526212330'), +('20170530145657'), +('20170530164044'), +('20170531164349'), +('20170601195822'); + + +  (7.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-06-05 15:46:18 UTC], ["updated_at", 2017-06-05 15:46:18 UTC]] +  (0.6ms) commit transaction + ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePostTypeVersion (20170515230633)  (0.1ms) begin transaction -  (0.4ms) CREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'incomplete' NOT NULL) -  (0.1ms) CREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id") - SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170515230633"]] -  (1.0ms) commit transaction +  (0.6ms) CREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pulitzer_post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'preview' NOT NULL) +  (0.1ms) select sqlite_version(*) +  (0.1ms) CREATE INDEX "index_pulitzer_post_type_versions_on_pulitzer_post_type_id" ON "pulitzer_post_type_versions" ("pulitzer_post_type_id") + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170515230633"]] +  (0.8ms) commit transaction Migrating to ReconnectPostTypeToPost (20170515232938)  (0.1ms) begin transaction -  (0.0ms) rollback transaction -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -Migrating to ReconnectPostTypeToPost (20170515232938) +  (0.4ms) ALTER TABLE "pulitzer_posts" ADD "post_type_version_id" integer + Pulitzer::PostType Load (0.2ms) SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" +  (0.4ms) CREATE TEMPORARY TABLE "apulitzer_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, "slug" varchar, "post_type_version_id" integer) +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.2ms) CREATE UNIQUE INDEX "tindex_apulitzer_posts_on_slug" ON "apulitzer_posts" ("slug") +  (0.3ms) INSERT INTO "apulitzer_posts" ("id","title","post_type_id","status","created_at","updated_at","slug","post_type_version_id") + SELECT "id","title","post_type_id","status","created_at","updated_at","slug","post_type_version_id" FROM "pulitzer_posts" +  (0.4ms) DROP TABLE "pulitzer_posts" +  (0.1ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar, "post_type_version_id" integer) +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='tindex_apulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='tindex_apulitzer_posts_on_slug' AND type='index' + +  (0.2ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") +  (0.2ms) INSERT INTO "pulitzer_posts" ("id","title","status","created_at","updated_at","slug","post_type_version_id") + SELECT "id","title","status","created_at","updated_at","slug","post_type_version_id" FROM "apulitzer_posts" +  (0.2ms) DROP TABLE "apulitzer_posts" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.2ms) CREATE INDEX "index_pulitzer_posts_on_post_type_version_id" ON "pulitzer_posts" ("post_type_version_id") + SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170515232938"]] +  (0.9ms) commit transaction + ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.4ms) begin transaction +  (0.2ms) commit transaction + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_post_type_versions_on_pulitzer_post_type_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_post_type_versions_on_pulitzer_post_type_id' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_post_type_versions_on_pulitzer_post_type_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_post_type_versions_on_pulitzer_post_type_id' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_post_type_versions_on_pulitzer_post_type_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_post_type_versions_on_pulitzer_post_type_id' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] + ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] +  (1.1ms) CREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "view_file_name" varchar) +  (1.0ms) CREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (0.9ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.1ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer) +  (1.2ms) CREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) +  (1.1ms) CREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar) +  (0.9ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar, "sort_order" integer) +  (0.9ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) +  (0.9ms) CREATE TABLE "pulitzer_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (1.0ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) +  (1.0ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar, "background_style_id" integer, "justification_style_id" integer, "sequence_flow_style_id" integer, "arrangement_style_id" integer) +  (1.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.0ms) CREATE TABLE "pulitzer_post_type_content_element_type_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "custom_option_list_id" integer) +  (1.1ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "required" boolean DEFAULT 'f', "sort_order" integer, "clickable_kind" varchar DEFAULT 'any' NOT NULL) +  (0.9ms) CREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'preview' NOT NULL) +  (0.1ms) select sqlite_version(*) +  (1.0ms) CREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id") +  (1.0ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0) +  (1.7ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar, "post_type_version_id" integer) +  (1.2ms) CREATE INDEX "index_pulitzer_posts_on_post_type_version_id" ON "pulitzer_posts" ("post_type_version_id") +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + +  (1.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") +  (1.1ms) CREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (1.0ms) CREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (2.7ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL) +  (1.9ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") +  (2.1ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "cloning_errors" text) +  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.2ms) SELECT version FROM "schema_migrations" +  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20170602204900') +  (0.9ms) INSERT INTO schema_migrations (version) VALUES +('20170515230633'), +('20170515232938'); + + +  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -Migrating to ReconnectPostTypeToPost (20170515232938) + SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-06-07 00:28:00 UTC], ["updated_at", 2017-06-07 00:28:00 UTC]] +  (0.8ms) commit transaction + ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]]  (0.1ms) begin transaction -  (0.1ms) rollback transaction -  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.1ms) commit transaction +  (1.0ms) CREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "view_file_name" varchar) +  (1.1ms) CREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (1.0ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.0ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer) +  (2.1ms) CREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) +  (1.8ms) CREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar) +  (2.0ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar, "sort_order" integer) +  (1.0ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) +  (0.9ms) CREATE TABLE "pulitzer_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (1.0ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer) +  (1.0ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar, "background_style_id" integer, "justification_style_id" integer, "sequence_flow_style_id" integer, "arrangement_style_id" integer) +  (1.0ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (1.0ms) CREATE TABLE "pulitzer_post_type_content_element_type_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "custom_option_list_id" integer) +  (1.0ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "required" boolean DEFAULT 'f', "sort_order" integer, "clickable_kind" varchar DEFAULT 'any' NOT NULL) +  (1.1ms) CREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'preview' NOT NULL) +  (0.1ms) select sqlite_version(*) +  (1.1ms) CREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id") +  (1.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0) +  (0.9ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar, "post_type_version_id" integer) +  (0.9ms) CREATE INDEX "index_pulitzer_posts_on_post_type_version_id" ON "pulitzer_posts" ("post_type_version_id") +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + +  (1.1ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") +  (2.6ms) CREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (1.1ms) CREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (1.0ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL) +  (0.9ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") +  (1.0ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "cloning_errors" text) +  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) +  (0.1ms) SELECT version FROM "schema_migrations" +  (2.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20170602204900') +  (1.0ms) INSERT INTO schema_migrations (version) VALUES +('20170515230633'), +('20170515232938'); + + +  (1.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.5ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.2ms) begin transaction + SQL (1.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", 2017-06-07 00:28:00 UTC], ["updated_at", 2017-06-07 00:28:00 UTC]] +  (1.4ms) commit transaction + ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] +  (0.0ms) begin transaction +  (0.0ms) commit transaction +  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to CreatePulitzerPartialTags (20170913214214) +  (0.1ms) begin transaction +  (0.1ms) SELECT sqlite_version(*) +  (0.7ms) CREATE TABLE "pulitzer_partial_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "partial_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170913214214"]] +  (0.8ms) commit transaction + ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.8ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_post_type_versions_on_post_type_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_post_type_versions_on_post_type_id' AND type='index' + +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' +  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_post_type_versions_on_post_type_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_post_type_versions_on_post_type_id' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + +  (0.1ms) DROP TABLE IF EXISTS "pulitzer_arrangement_styles" +  (2.9ms) SELECT sqlite_version(*) +  (1.3ms) CREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "display_name" varchar, "view_file_name" varchar) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_background_styles" +  (1.0ms) CREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "display_name" varchar, "css_class_name" varchar) +  (0.3ms) DROP TABLE IF EXISTS "pulitzer_content_element_types" +  (2.8ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.3ms) DROP TABLE IF EXISTS "pulitzer_content_elements" +  (3.0ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_custom_option_lists" +  (1.4ms) CREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) +  (1.0ms) DROP TABLE IF EXISTS "pulitzer_custom_options" +  (1.1ms) CREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_free_form_section_types" +  (1.8ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "name" varchar, "sort_order" integer) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_free_form_sections" +  (1.0ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_justification_styles" +  (1.1ms) CREATE TABLE "pulitzer_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "display_name" varchar, "css_class_name" varchar) +  (0.3ms) DROP TABLE IF EXISTS "pulitzer_partial_types" +  (1.0ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_version_id" integer) +  (0.3ms) DROP TABLE IF EXISTS "pulitzer_partials" +  (1.4ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar, "background_style_id" integer, "justification_style_id" integer, "sequence_flow_style_id" integer, "arrangement_style_id" integer) +  (0.4ms) DROP TABLE IF EXISTS "pulitzer_post_tags" +  (1.6ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_post_type_content_element_type_custom_option_lists" +  (1.3ms) CREATE TABLE "pulitzer_post_type_content_element_type_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "custom_option_list_id" integer) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_post_type_content_element_types" +  (1.4ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_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, "text_editor" varchar, "required" boolean DEFAULT 'f', "sort_order" integer, "clickable_kind" varchar DEFAULT 'any' NOT NULL) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_post_type_versions" +  (3.9ms) CREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'preview' NOT NULL) +  (1.2ms) CREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id") +  (0.3ms) DROP TABLE IF EXISTS "pulitzer_post_types" +  (1.7ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_posts" +  (1.1ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar, "post_type_version_id" integer) +  (1.1ms) CREATE INDEX "index_pulitzer_posts_on_post_type_version_id" ON "pulitzer_posts" ("post_type_version_id") +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + +  (1.3ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_sequence_flow_styles" +  (3.3ms) CREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "display_name" varchar, "css_class_name" varchar) +  (0.7ms) DROP TABLE IF EXISTS "pulitzer_styles" +  (2.7ms) CREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (1.3ms) DROP TABLE IF EXISTS "pulitzer_tags" +  (2.4ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL) +  (1.2ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_versions" +  (4.2ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "cloning_errors" text) +  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -Migrating to ReconnectPostTypeToPost (20170515232938) +  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES (20170602204900) +  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]  (0.1ms) begin transaction -  (0.1ms) rollback transaction + SQL (1.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-19 19:05:46.015108"], ["updated_at", "2017-09-19 19:05:46.015108"]] +  (1.8ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.0ms) commit transaction +  (0.1ms) DROP TABLE IF EXISTS "pulitzer_arrangement_styles" +  (0.2ms) SELECT sqlite_version(*) +  (3.1ms) CREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "display_name" varchar, "view_file_name" varchar) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_background_styles" +  (1.3ms) CREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "display_name" varchar, "css_class_name" varchar) +  (0.1ms) DROP TABLE IF EXISTS "pulitzer_content_element_types" +  (0.9ms) CREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.1ms) DROP TABLE IF EXISTS "pulitzer_content_elements" +  (0.9ms) CREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_custom_option_lists" +  (1.1ms) CREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_custom_options" +  (1.1ms) CREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar) +  (0.1ms) DROP TABLE IF EXISTS "pulitzer_free_form_section_types" +  (1.1ms) CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "name" varchar, "sort_order" integer) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_free_form_sections" +  (1.3ms) CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_justification_styles" +  (1.0ms) CREATE TABLE "pulitzer_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "display_name" varchar, "css_class_name" varchar) +  (0.1ms) DROP TABLE IF EXISTS "pulitzer_partial_types" +  (1.0ms) CREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_version_id" integer) +  (0.1ms) DROP TABLE IF EXISTS "pulitzer_partials" +  (1.5ms) CREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar, "background_style_id" integer, "justification_style_id" integer, "sequence_flow_style_id" integer, "arrangement_style_id" integer) +  (0.1ms) DROP TABLE IF EXISTS "pulitzer_post_tags" +  (2.1ms) CREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_post_type_content_element_type_custom_option_lists" +  (1.2ms) CREATE TABLE "pulitzer_post_type_content_element_type_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "custom_option_list_id" integer) +  (0.1ms) DROP TABLE IF EXISTS "pulitzer_post_type_content_element_types" +  (0.9ms) CREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_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, "text_editor" varchar, "required" boolean DEFAULT 'f', "sort_order" integer, "clickable_kind" varchar DEFAULT 'any' NOT NULL) +  (0.1ms) DROP TABLE IF EXISTS "pulitzer_post_type_versions" +  (0.9ms) CREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'preview' NOT NULL) +  (3.4ms) CREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id") +  (0.5ms) DROP TABLE IF EXISTS "pulitzer_post_types" +  (4.1ms) CREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_posts" +  (2.1ms) CREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar, "post_type_version_id" integer) +  (1.1ms) CREATE INDEX "index_pulitzer_posts_on_post_type_version_id" ON "pulitzer_posts" ("post_type_version_id") +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + +  (3.5ms) CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug") +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_sequence_flow_styles" +  (1.2ms) CREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_version_id" integer, "display_name" varchar, "css_class_name" varchar) +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_styles" +  (1.3ms) CREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar) +  (0.6ms) DROP TABLE IF EXISTS "pulitzer_tags" +  (4.1ms) CREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL) +  (1.1ms) CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical") +  (0.2ms) DROP TABLE IF EXISTS "pulitzer_versions" +  (3.7ms) CREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "cloning_errors" text) +  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]] -  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (20170602204900) +  (1.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction + SQL (3.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2017-09-19 19:05:46.111873"], ["updated_at", "2017-09-19 19:05:46.111873"]] +  (5.0ms) commit transaction + ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.1ms) commit transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +Migrating to CreatePulitzerPartialTags (20170913214214) +  (0.1ms) begin transaction +  (0.1ms) SELECT sqlite_version(*) +  (0.6ms) CREATE TABLE "pulitzer_partial_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "partial_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170913214214"]] +  (1.4ms) commit transaction + ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]] +  (0.1ms) begin transaction +  (0.2ms) commit transaction +  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_post_type_versions_on_post_type_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_post_type_versions_on_post_type_id' AND type='index' + +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.2ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' +  (0.1ms)  SELECT sql FROM sqlite_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' + +  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC +  (0.1ms)  SELECT sql + FROM sqlite_master WHERE name='index_pulitzer_post_type_versions_on_post_type_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_post_type_versions_on_post_type_id' AND type='index' @@ -926,9 +1758,17 @@ WHERE name='index_pulitzer_posts_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_pulitzer_posts_on_slug' AND type='index' + +  (0.1ms)  SELECT sql + FROM sqlite_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index' + UNION ALL + SELECT sql + FROM sqlite_temp_master + WHERE name='index_pulitzer_posts_on_post_type_version_id' AND type='index'   (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index' UNION ALL