(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 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 at /Users/eric/projects/pulitzer/spec/dummy/app/controllers/application_controller.rb:2)