spec/dummy/log/development.log in pulitzer-0.15.10 vs spec/dummy/log/development.log in pulitzer-0.15.11
- old
+ new
@@ -1,480 +1,135 @@
- [1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
- [1m[35m (0.1ms)[0m select sqlite_version(*)
- [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
-Migrating to CreatePulitzerPostTypes (20150618224344)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618224344"]]
- [1m[36m (0.8ms)[0m [1mcommit transaction[0m
-Migrating to CreatePulitzerContentElementTypes (20150618225402)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.4ms)[0m [1mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618225402"]]
- [1m[36m (0.7ms)[0m [1mcommit transaction[0m
-Migrating to CreatePulitzerPosts (20150619204615)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.4ms)[0m [1mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204615"]]
- [1m[36m (0.8ms)[0m [1mcommit transaction[0m
-Migrating to CreatePulitzerContentElements (20150619204708)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.4ms)[0m [1mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619204708"]]
- [1m[36m (0.8ms)[0m [1mcommit transaction[0m
-Migrating to CreatePulitzerTags (20150619213436)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.4ms)[0m [1mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213436"]]
- [1m[36m (0.8ms)[0m [1mcommit transaction[0m
-Migrating to CreatePulitzerPostTags (20150619213457)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.3ms)[0m [1mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619213457"]]
- [1m[36m (0.8ms)[0m [1mcommit transaction[0m
-Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.4ms)[0m [1mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150619215914"]]
- [1m[36m (0.9ms)[0m [1mcommit transaction[0m
-Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (1.8ms)[0m [1mALTER TABLE "pulitzer_post_types" ADD "plural" boolean[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "pulitzer_post_types" ADD "template" boolean
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150629195832"]]
- [1m[35m (0.8ms)[0m commit transaction
-Migrating to AddPulitzerContentElementTypes (20150702150819)
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Text' LIMIT 1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", "2016-05-11 18:39:29.746442"], ["updated_at", "2016-05-11 18:39:29.746442"]]
- [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Image' LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", "2016-05-11 18:39:29.749178"], ["updated_at", "2016-05-11 18:39:29.749178"]]
- [1m[35mPulitzer::ContentElementType Exists (0.1ms)[0m SELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = 'Video' LIMIT 1
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", "2016-05-11 18:39:29.750811"], ["updated_at", "2016-05-11 18:39:29.750811"]]
- [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150702150819"]]
- [1m[36m (0.8ms)[0m [1mcommit transaction[0m
-Migrating to AddSlugToPulitzerPosts (20150724150230)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.7ms)[0m [1mALTER TABLE "pulitzer_posts" ADD "slug" varchar[0m
- [1m[35m (0.1ms)[0m select sqlite_version(*)
- [1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150724150230"]]
- [1m[36m (2.4ms)[0m [1mcommit transaction[0m
-Migrating to CreateSearchLocations (20150901153531)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "search_locations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150901153531"]]
- [1m[36m (2.9ms)[0m [1mcommit transaction[0m
-Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.0ms)[0m SELECT * FROM "pulitzer_post_tags"
- [1m[36m (0.3ms)[0m [1mDROP TABLE "pulitzer_post_tags"[0m
- [1m[35m (0.1ms)[0m 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)
- [1m[36m (0.0ms)[0m [1mSELECT * FROM "apulitzer_post_tags"[0m
- [1m[35m (0.3ms)[0m DROP TABLE "apulitzer_post_tags"
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150902212741"]]
- [1m[35m (1.0ms)[0m commit transaction
-Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar
- [1m[36mSQL (0.1ms)[0m [1mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC)[0m
- [1m[35mSQL (1.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151026180630"]]
- [1m[36m (1.1ms)[0m [1mcommit transaction[0m
-Migrating to CreatePulitzerVersions (20151029194354)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.7ms)[0m [1mCREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029194354"]]
- [1m[36m (2.9ms)[0m [1mcommit transaction[0m
-Migrating to ChangePostElementsToVersions (20151029220558)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m SELECT * FROM "pulitzer_content_elements"
- [1m[36m (0.2ms)[0m [1mDROP TABLE "pulitzer_content_elements"[0m
- [1m[35m (0.1ms)[0m 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)
- [1m[36m (0.0ms)[0m [1mSELECT * FROM "apulitzer_content_elements"[0m
- [1m[35m (0.1ms)[0m DROP TABLE "apulitzer_content_elements"
- [1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (0.1ms)[0m SELECT * FROM "pulitzer_post_tags"
- [1m[36m (1.0ms)[0m [1mDROP TABLE "pulitzer_post_tags"[0m
- [1m[35m (0.7ms)[0m 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)
- [1m[36m (0.3ms)[0m [1mSELECT * FROM "apulitzer_post_tags"[0m
- [1m[35m (0.4ms)[0m DROP TABLE "apulitzer_post_tags"
- [1m[36mPulitzer::Post Load (0.1ms)[0m [1mSELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT 1000[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151029220558"]]
- [1m[36m (1.0ms)[0m [1mcommit transaction[0m
-Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.4ms)[0m [1mALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100
- [1m[36m (0.2ms)[0m [1mALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100[0m
- [1m[35m (0.2ms)[0m 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
- [1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT 1000[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151113183344"]]
- [1m[36m (0.7ms)[0m [1mcommit transaction[0m
-Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean) [0m
- [1m[35m (0.2ms)[0m SELECT * FROM "pulitzer_post_types"
- [1m[36m (0.8ms)[0m [1mDROP TABLE "pulitzer_post_types"[0m
- [1m[35m (0.2ms)[0m 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)
- [1m[36m (0.0ms)[0m [1mSELECT * FROM "apulitzer_post_types"[0m
- [1m[35m (0.1ms)[0m DROP TABLE "apulitzer_post_types"
- [1m[36m (0.1ms)[0m [1mALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151116162508"]]
- [1m[36m (0.7ms)[0m [1mcommit transaction[0m
-Migrating to AddKindToPulitzerContentElements (20151118031237)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.4ms)[0m [1mALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20151118031237"]]
- [1m[36m (0.7ms)[0m [1mcommit transaction[0m
-Migrating to AddErrorsToVersion (20160122204201)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.6ms)[0m [1mALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122204201"]]
- [1m[36m (0.7ms)[0m [1mcommit transaction[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (0.1ms)[0m [1m 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'
-[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
-
-
-Started GET "/pulitzer" for ::1 at 2016-05-20 13:59:46 -0600
- [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
-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=="}
- [1m[35mPulitzer::PostType Load (1.3ms)[0m 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)
- [1m[36m (1.3ms)[0m [1mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (1.1ms)[0m 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)
- [1m[36m (0.8ms)[0m [1mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) [0m
- [1m[35m (0.8ms)[0m CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)
- [1m[36m (0.9ms)[0m [1mCREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar) [0m
- [1m[35m (1.1ms)[0m 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)
- [1m[36m (0.9ms)[0m [1mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
- [1m[35m (1.0ms)[0m 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')
- [1m[36m (0.8ms)[0m [1mCREATE 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) [0m
- [1m[35m (0.8ms)[0m 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)
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")
- [1m[36m (0.8ms)[0m [1mCREATE 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) [0m
- [1m[35m (0.7ms)[0m CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")
- [1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
- [1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36m (0.2ms)[0m [1mSELECT version FROM "schema_migrations"[0m
- [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160927160910')
- [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
-Migrating to CreatePartials (20160511192041)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer) [0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160511192041"]]
- [1m[36m (0.7ms)[0m [1mcommit transaction[0m
-Migrating to AddParentIdToPulitzerTag (20160511201527)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.4ms)[0m [1mALTER TABLE "pulitzer_tags" ADD "parent_id" integer[0m
- [1m[35m (0.2ms)[0m ALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL
- [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
- [1m[35m (0.6ms)[0m CREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160511201527"]]
- [1m[35m (0.6ms)[0m commit transaction
-Migrating to AddPartialToContentElement (20160512214545)
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160512214545"]]
- [1m[35m (0.6ms)[0m commit transaction
-Migrating to CreateFreeFormSectionType (20160513153209)
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153209"]]
- [1m[35m (0.7ms)[0m commit transaction
-Migrating to CreateFreeFormSection (20160513153214)
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.4ms)[0m CREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153214"]]
- [1m[35m (0.7ms)[0m commit transaction
-Migrating to FixPostTypeKinds (20160516150237)
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35mPulitzer::PostType Load (0.1ms)[0m SELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2)
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160516150237"]]
- [1m[35m (0.7ms)[0m commit transaction
-Migrating to CreateLayouts (20160517181706)
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.5ms)[0m CREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517181706"]]
- [1m[35m (0.8ms)[0m commit transaction
-Migrating to AddLayoutToPartial (20160517182500)
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "pulitzer_partials" ADD "layout_id" integer
- [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517182500"]]
- [1m[35m (3.6ms)[0m commit transaction
-Migrating to AddLabelToPartial (20160519181030)
- [1m[36m (0.1ms)[0m [1mbegin transaction[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "pulitzer_partials" ADD "label" varchar
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160519181030"]]
- [1m[35m (0.7ms)[0m commit transaction
-Migrating to RemoveTitleFromContentElements (20160609214139)
- [1m[36m (0.4ms)[0m [1mbegin transaction[0m
- [1m[35m (0.9ms)[0m 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)
- [1m[36m (0.7ms)[0m [1mSELECT * FROM "pulitzer_content_elements"[0m
- [1m[35m (0.9ms)[0m DROP TABLE "pulitzer_content_elements"
- [1m[36m (0.7ms)[0m [1mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer) [0m
- [1m[35m (0.1ms)[0m SELECT * FROM "apulitzer_content_elements"
- [1m[36m (0.1ms)[0m [1mDROP TABLE "apulitzer_content_elements"[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160609214139"]]
- [1m[36m (0.7ms)[0m [1mcommit transaction[0m
-Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)
- [1m[35m (0.1ms)[0m begin transaction
- [1m[36m (0.5ms)[0m [1mALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false'[0m
- [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160927160910"]]
- [1m[36m (0.8ms)[0m [1mcommit transaction[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (0.2ms)[0m [1m 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'
-[0m
- [1m[35m (0.1ms)[0m 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'
-
- [1m[36m (1.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
- [1m[35m (0.1ms)[0m select sqlite_version(*)
- [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m 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)
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.0ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)[0m
- [1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)[0m
- [1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)[0m
- [1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)[0m
- [1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar)[0m
- [1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "required" boolean DEFAULT 'f')[0m
- [1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)[0m
- [1m[35m (0.8ms)[0m [1m[35mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)[0m
- [1m[35m (0.0ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (0.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL)[0m
- [1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20160927160910')[0m
+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)
+ [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
[1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-05-03 21:47:20 UTC], ["updated_at", 2017-05-03 21:47:20 UTC]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
-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)
- [1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-05-03 21:52:18 UTC], ["updated_at", 2017-05-03 21:52:18 UTC]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
-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)
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
-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)
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreatePulitzerPostTypes (20150618224344)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618224344"]]
- [1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
+ class CreatePulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618224344"]]
+ [1m[35m (7.1ms)[0m [1m[36mcommit transaction[0m
Migrating to CreatePulitzerContentElementTypes (20150618225402)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618225402"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ class CreatePulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (17.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618225402"]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
Migrating to CreatePulitzerPosts (20150619204615)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (3.6ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204615"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ class CreatePulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204615"]]
+ [1m[35m (1.6ms)[0m [1m[36mcommit transaction[0m
Migrating to CreatePulitzerContentElements (20150619204708)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204708"]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ class CreatePulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204708"]]
+ [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
Migrating to CreatePulitzerTags (20150619213436)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ class CreatePulitzerTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213436"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
Migrating to CreatePulitzerPostTags (20150619213457)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
+ class CreatePulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213457"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213457"]]
+ [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619215914"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ class CreatePulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619215914"]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "plural" boolean[0m
- [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "template" boolean[0m
+ class AddPluralAndTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.8ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "plural" boolean[0m
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "template" boolean[0m
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150629195832"]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
Migrating to AddPulitzerContentElementTypes (20150702150819)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
+ class AddPulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-05-03 22:00:53 UTC], ["updated_at", 2017-05-03 22:00:53 UTC]]
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Image"], ["LIMIT", 1]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", 2017-05-03 22:00:53 UTC], ["updated_at", 2017-05-03 22:00:53 UTC]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
[1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Video"], ["LIMIT", 1]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", 2017-05-03 22:00:53 UTC], ["updated_at", 2017-05-03 22:00:53 UTC]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", 2017-05-08 17:22:07 UTC], ["updated_at", 2017-05-08 17:22:07 UTC]]
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150702150819"]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
Migrating to AddSlugToPulitzerPosts (20150724150230)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_posts" ADD "slug" varchar[0m
- [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
+ class AddSlugToPulitzerPosts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_posts" ADD "slug" varchar[0m
+ [1m[35m (0.0ms)[0m [1m[34mselect sqlite_version(*)[0m
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150724150230"]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
+ class ChangeLabelTypeFromPulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
[1m[35m (0.2ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[32mINSERT 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"[0m
- [1m[35m (0.3ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
+ [1m[35m (0.4ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[32mINSERT 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"[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_post_tags"[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150902212741"]]
- [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150902212741"]]
+ [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
- [1m[35m (0.5ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.7ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
+ class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.6ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."id" ASC)[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151026180630"]]
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151026180630"]]
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
Migrating to CreatePulitzerVersions (20151029194354)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029194354"]]
+ class CreatePulitzerVersions < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029194354"]]
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
Migrating to ChangePostElementsToVersions (20151029220558)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
+ class ChangePostElementsToVersions < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
[1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at")
SELECT "id","label","title","body","image","post_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "pulitzer_content_elements"[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE "pulitzer_content_elements"[0m
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
@@ -482,192 +137,183 @@
SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at" FROM "apulitzer_content_elements"[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_content_elements"[0m
[1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[32mINSERT 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"[0m
- [1m[35m (0.2ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
[1m[35m (0.1ms)[0m [1m[32mINSERT 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"[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_post_tags"[0m
Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
[1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" ORDER BY "pulitzer_posts"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151029220558"]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
Migrating to AddPostTypeContentElementAttributesToContentElements (20151113183344)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar[0m
- [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100[0m
+ class AddPostTypeContentElementAttributesToContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "text_editor" varchar[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "height" integer DEFAULT 100[0m
[1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "width" integer DEFAULT 100[0m
- [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "sort_order" integer[0m
Scoped order and limit are ignored, it's forced to be batch order and batch size.
[1m[36mPulitzer::ContentElement Load (0.1ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" ORDER BY "pulitzer_content_elements"."id" ASC LIMIT ?[0m [["LIMIT", 1000]]
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151113183344"]]
- [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
Migrating to ChangeTemplateToPulitzerPostTypes (20151116162508)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
+ class ChangeTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
[1m[35m (0.1ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "template" boolean)[0m
[1m[35m (0.1ms)[0m [1m[32mINSERT 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"[0m
- [1m[35m (0.3ms)[0m [1m[35mDROP TABLE "pulitzer_post_types"[0m
+ [1m[35m (0.4ms)[0m [1m[35mDROP TABLE "pulitzer_post_types"[0m
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean)[0m
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("id","name","created_at","updated_at","plural")
SELECT "id","name","created_at","updated_at","plural" FROM "apulitzer_post_types"[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_post_types"[0m
- [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "kind" integer DEFAULT 0[0m
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151116162508"]]
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
Migrating to AddKindToPulitzerContentElements (20151118031237)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
+ class AddKindToPulitzerContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
[1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "kind" integer DEFAULT 0[0m
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20151118031237"]]
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
Migrating to AddErrorsToVersion (20160122204201)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
+ class AddErrorsToVersion < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
[1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_versions" ADD "cloning_errors" jsonb[0m
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160122204201"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
Migrating to CreatePartials (20160511192041)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer)[0m
+ class CreatePartials < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer)[0m
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160511192041"]]
- [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
Migrating to AddParentIdToPulitzerTag (20160511201527)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_tags" ADD "parent_id" integer[0m
- [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL[0m
+ class AddParentIdToPulitzerTag < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_tags" ADD "parent_id" integer[0m
+ [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_tags" ADD "hierarchical" boolean DEFAULT 'f' NOT NULL[0m
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")[0m
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160511201527"]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
Migrating to AddPartialToContentElement (20160512214545)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160512214545"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ class AddPartialToContentElement < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.3ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "partial_id" integer[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160512214545"]]
+ [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
Migrating to CreateFreeFormSectionType (20160513153209)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153209"]]
+ class CreateFreeFormSectionType < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153209"]]
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
Migrating to CreateFreeFormSection (20160513153214)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)[0m
+ class CreateFreeFormSection < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)[0m
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160513153214"]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
Migrating to FixPostTypeKinds (20160516150237)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
+ class FixPostTypeKinds < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
[1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."kind" IN (1, 2)[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160516150237"]]
- [1m[35m (2.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160516150237"]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
Migrating to CreateLayouts (20160517181706)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)[0m
- [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517181706"]]
+ class CreateLayouts < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar)[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517181706"]]
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
Migrating to AddLayoutToPartial (20160517182500)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "layout_id" integer[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517182500"]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ class AddLayoutToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "layout_id" integer[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160517182500"]]
+ [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
Migrating to AddLabelToPartial (20160519181030)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.8ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "label" varchar[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160519181030"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ class AddLabelToPartial < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.6ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "label" varchar[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160519181030"]]
+ [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
Migrating to RemoveTitleFromContentElements (20160609214139)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
+ class RemoveTitleFromContentElements < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
[1m[35m (0.2ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)[0m
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "apulitzer_content_elements" ("id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id")
SELECT "id","label","title","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "pulitzer_content_elements"[0m
[1m[35m (0.3ms)[0m [1m[35mDROP TABLE "pulitzer_content_elements"[0m
- [1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "kind" integer DEFAULT 0, "partial_id" integer)[0m
[1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id")
SELECT "id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","kind","partial_id" FROM "apulitzer_content_elements"[0m
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_content_elements"[0m
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160609214139"]]
- [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
Migrating to AddRequiredToPulitzerPostTypeContentElementType (20160927160910)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
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/eric/.rvm/gems/ruby-2.3.1/bin/rake:23)
- [1m[35m (0.6ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false'[0m
+ class AddRequiredToPulitzerPostTypeContentElementType < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "required" boolean DEFAULT 'false'[0m
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160927160910"]]
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
Migrating to AddSortToPostElements (20170502210827)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "sort_order" integer[0m
- [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170502210827"]]
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_free_form_section_types" ADD "sort_order" integer[0m
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170502210827"]]
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+Migrating to CreatePulitzerPartialTypes (20170508145431)
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
-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)
+ [1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
+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)
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerPartialTypes (20170508145431)
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type" integer)[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170508145431"]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-05-08 17:23:45 UTC], ["updated_at", 2017-05-08 17:23:45 UTC]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
UNION ALL
SELECT sql
@@ -680,102 +326,71 @@
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
[0m
-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/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)
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerPartialTypes (20170508145431)
+ [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (1.2ms)[0m [1m[35mDROP TABLE "pulitzer_partial_types"[0m
+ [1m[35mSQL (0.8ms)[0m [1m[31mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ?[0m [["version", "20170508145431"]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34m 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'
[0m
- [1m[35m (0.1ms)[0m [1m[34m SELECT sql
+ [1m[35m (0.2ms)[0m [1m[34m 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'
[0m
-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)
- [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
-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/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)
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
-Migrating to CreatePulitzerBackgroundClasses (20170518142411)
+Migrating to CreatePulitzerPartialTypes (20170508145431)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170518142411"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
-Migrating to CreatePulitzerJustificationClasses (20170518144418)
+ [1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer)[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170508145431"]]
+ [1m[35m (4.9ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170518144418"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
-Migrating to CreatePulitzerSequenceFlowClasses (20170518144449)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170518144449"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
-Migrating to CreatePulitzerArrangementClasses (20170518144515)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "view_file_name" varchar)[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170518144515"]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
-Migrating to ConvertPulitzerLayouts (20170518145318)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "background_style_id" integer[0m
- [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "justification_style_id" integer[0m
- [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "sequence_flow_style_id" integer[0m
- [1m[35m (0.1ms)[0m [1m[35mALTER TABLE "pulitzer_partials" ADD "arrangement_style_id" integer[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170518145318"]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34m SELECT sql
+ [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.2ms)[0m [1m[34m 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'
[0m
- [1m[35m (0.3ms)[0m [1m[34m SELECT sql
+ [1m[35m (0.2ms)[0m [1m[34m 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'
[0m
-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)
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+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)
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34m SELECT sql
FROM sqlite_master
WHERE name='index_pulitzer_posts_on_slug' AND type='index'
UNION ALL
SELECT sql
@@ -788,708 +403,180 @@
UNION ALL
SELECT sql
FROM sqlite_temp_master
WHERE name='index_pulitzer_tags_on_hierarchical' AND type='index'
[0m
-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/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)
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
-Migrating to CreatePulitzerPartialTypes (20170508145431)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer)[0m
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170508145431"]]
- [1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[35m (0.1ms)[0m [1m[34m 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'
[0m
- [1m[35m (0.1ms)[0m [1m[34m SELECT sql
+ [1m[35m (0.6ms)[0m [1m[34m 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'
[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[36mPulitzer::PostType Load (0.3ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ?[0m [["name", "Welcome"], ["LIMIT", 1]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePostTypeVersion (20170515230633)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Welcome"], ["created_at", 2017-05-23 18:19:17 UTC], ["updated_at", 2017-05-23 18:19:17 UTC], ["plural", true]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'incomplete' NOT NULL)[0m
+ [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
+ [1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id")[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170515230633"]]
+ [1m[35m (3.3ms)[0m [1m[36mcommit transaction[0m
+Migrating to ReconnectPostTypeToPost (20170515232938)
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to ReconnectPostTypeToPost (20170515232938)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Image"], ["LIMIT", 1]]
- [1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[36mPulitzer::ContentElementType Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Video"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[36mPulitzer::PostTypeContentElementType Load (0.2ms)[0m [1m[34mSELECT "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[0m [["post_type_id", 1]]
- [1m[36mPulitzer::FreeFormSectionType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ?[0m [["post_type_id", 1]]
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to ReconnectPostTypeToPost (20170515232938)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.9ms)[0m [1m[35mALTER TABLE "pulitzer_posts" ADD "post_type_version_id" integer[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_background_styles" ADD "post_type_version_id" integer[0m
+ [1m[35m (0.7ms)[0m [1m[31mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
+ [1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
+ [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreatePulitzerPostTypes (20150618224344)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+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)
+ [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618224344"]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Migrating to CreatePulitzerContentElementTypes (20150618225402)
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+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)
+ [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150618225402"]]
+ [1m[35m (1.0ms)[0m [1m[36mcommit transaction[0m
+Migrating to CreatePulitzerPosts (20150619204615)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+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)
+ [1m[35m (0.7ms)[0m [1m[35mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204615"]]
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Migrating to CreatePulitzerContentElements (20150619204708)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_type_content_element_types" ("post_type_id", "label", "created_at", "updated_at", "sort_order") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?)[0m [["post_type_id", 1], ["name", "Main Content"], ["sort_order", 11]]
+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)
+ [1m[35m (0.6ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "post_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619204708"]]
[1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
+Migrating to CreatePulitzerTags (20150619213436)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_free_form_section_types" ("post_type_id", "name", "sort_order") VALUES (?, ?, ?)[0m [["post_type_id", 1], ["name", "Handpicked Homes"], ["sort_order", 12]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "welcome"], ["LIMIT", 1]]
- [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "welcome"], ["LIMIT", 1]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
- [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 1], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
- [1m[35m (1.5ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Version Load (0.2ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
-Creating scope :free_form. Overwriting existing method Pulitzer::ContentElement.free_form.
- [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+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)
+ [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213436"]]
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+Migrating to CreatePulitzerPostTags (20150619213457)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+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)
+ [1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619213457"]]
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+Migrating to CreatePulitzerPostTypeContentElementTypes (20150619215914)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Version Load (0.2ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Version Load (0.3ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Version Load (0.3ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
+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)
+ [1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35mSQL (5.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150619215914"]]
[1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
+Migrating to AddPluralAndTemplateToPulitzerPostTypes (20150629195832)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("label", "version_id", "post_type_content_element_type_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?)[0m [["version_id", 1], ["free_form_section_type_id", 1], ["name", "Main Content"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_free_form_sections" ("version_id", "free_form_section_type_id", "name") VALUES (?, ?, ?)[0m [["version_id", 1], ["free_form_section_type_id", 2], ["name", "Handpicked Homes"]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Travel Guides"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["plural", true]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]]
- [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "complete-guide-to-breckenridge"], ["LIMIT", 1]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 2], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
- [1m[35m (1.7ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "Travel Articles"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["plural", true]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[36mPulitzer::Post Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "ski-jump-competition"], ["LIMIT", 1]]
- [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "ski-jump-competition"], ["LIMIT", 1]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 3], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_post_types" ("name", "created_at", "updated_at", "plural") VALUES (?, ?, ?, ?)[0m [["name", "External Articles"], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC], ["plural", true]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE ("pulitzer_posts"."id" IS NOT NULL) AND "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "why-visit-breckenridge"], ["LIMIT", 1]]
- [1m[36mPulitzer::Post Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_posts" WHERE "pulitzer_posts"."slug" = ? LIMIT ?[0m [["slug", "why-visit-breckenridge"], ["LIMIT", 1]]
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "pulitzer_posts" ("title", "post_type_id", "created_at", "updated_at", "slug") VALUES (?, ?, ?, ?, ?)[0m [["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"]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("post_id", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["post_id", 4], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Post Load (0.2ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."title" = ? LIMIT ?[0m [["title", "Welcome"], ["LIMIT", 1]]
- [1m[36mPulitzer::Version Load (0.2ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 0], ["LIMIT", 1]]
- [1m[36mPulitzer::Version Load (0.2ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ?[0m [["post_id", 1], ["status", 1], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pulitzer_versions" SET "status" = ?, "updated_at" = ? WHERE "pulitzer_versions"."id" = ?[0m [["status", 1], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 1]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::Tag Load (0.2ms)[0m [1m[34mSELECT "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" = ?[0m [["version_id", 1], ["label_type", "Pulitzer::Tag"]]
- [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pulitzer_versions" ("status", "post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["status", 4], ["post_id", 1], ["created_at", 2017-05-23 18:19:18 UTC], ["updated_at", 2017-05-23 18:19:18 UTC]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
-[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>>
- [1m[36mPulitzer::Version Load (0.5ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mPulitzer::Post Load (0.1ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["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>>
- [1m[36mPulitzer::Version Load (0.3ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
-[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] [1m[36mPulitzer::Post Load (0.2ms)[0m [1m[34mSELECT "pulitzer_posts".* FROM "pulitzer_posts" WHERE "pulitzer_posts"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? LIMIT ?[0m [["post_id", 1], ["status", 1], ["LIMIT", 1]]
-[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Pulitzer::CloneVersion !!!
- [1m[36mPulitzer::ContentElement Load (0.2ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
-[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] bin/rails
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
-[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] [1m[36mPulitzer::Version Load (0.1ms)[0m [1m[34mSELECT "pulitzer_versions".* FROM "pulitzer_versions" WHERE "pulitzer_versions"."post_id" = ? AND "pulitzer_versions"."status" = ? ORDER BY "pulitzer_versions"."id" DESC LIMIT ?[0m [["post_id", 1], ["status", 4], ["LIMIT", 1]]
- [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["body", "Hero Title 1"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 1]]
-[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] [1m[36mPulitzer::ContentElement Load (0.2ms)[0m [1m[34mSELECT "pulitzer_content_elements".* FROM "pulitzer_content_elements" WHERE "pulitzer_content_elements"."version_id" = ? ORDER BY "pulitzer_content_elements"."id" ASC[0m [["version_id", 1]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
-[ActiveJob] [Pulitzer::CloneVersionJob] [7f59cbe8-cae9-47ab-83e1-eddbc8921397] Performed Pulitzer::CloneVersionJob from Async(default) in 16.83ms
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["body", "Hero Title 2"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 2]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["body", "Hero Title 3"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 3]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["body", "Guest Title"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 4]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["body", "Guest Text"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 5]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["body", "Footer Title"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 6]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.5ms)[0m [1m[33mUPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["body", "Footer Text"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 7]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.4ms)[0m [1m[33mUPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["body", "Metadata title"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 8]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["body", "Metadata description"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 9]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[33mUPDATE "pulitzer_content_elements" SET "body" = ?, "updated_at" = ? WHERE "pulitzer_content_elements"."id" = ?[0m [["body", "Metadata keywords"], ["updated_at", 2017-05-23 18:19:18 UTC], ["id", 10]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
- [1m[36mPulitzer::PostType Load (0.2ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ?[0m [["name", "Welcome"], ["LIMIT", 1]]
- [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ?[0m [["name", "Welcome"], ["LIMIT", 1]]
- [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ?[0m [["name", "Welcome"], ["LIMIT", 1]]
- [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ?[0m [["name", "Welcome"], ["LIMIT", 1]]
- [1m[36mPulitzer::PostTypeContentElementType Load (0.2ms)[0m [1m[34mSELECT "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[0m [["post_type_id", 1]]
- [1m[36mPulitzer::FreeFormSectionType Load (0.2ms)[0m [1m[34mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ?[0m [["post_type_id", 1]]
- [1m[36mPulitzer::PostType Load (0.2ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ?[0m [["name", "Welcome"], ["LIMIT", 1]]
- [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ?[0m [["name", "Welcome"], ["LIMIT", 1]]
- [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ?[0m [["name", "Welcome"], ["LIMIT", 1]]
- [1m[36mPulitzer::PostType Load (0.1ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types" WHERE "pulitzer_post_types"."name" = ? LIMIT ?[0m [["name", "Welcome"], ["LIMIT", 1]]
- [1m[36mPulitzer::PostTypeContentElementType Load (0.2ms)[0m [1m[34mSELECT "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[0m [["post_type_id", 1]]
- [1m[36mPulitzer::FreeFormSectionType Load (0.2ms)[0m [1m[34mSELECT "pulitzer_free_form_section_types".* FROM "pulitzer_free_form_section_types" WHERE "pulitzer_free_form_section_types"."post_type_id" = ?[0m [["post_type_id", 1]]
- [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
-Migrating to CreatePulitzerCustomOption (20170526212313)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar)[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170526212313"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
-Migrating to CreatePulitzerCustomOptionList (20170526212330)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170526212330"]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
-Migrating to AddLayoutToContentElements (20170530145657)
- [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.4ms)[0m [1m[32mINSERT 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"[0m
- [1m[35m (0.6ms)[0m [1m[35mDROP TABLE "pulitzer_content_elements"[0m
- [1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer)[0m
- [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","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"[0m
- [1m[35m (0.2ms)[0m [1m[35mDROP TABLE "apulitzer_content_elements"[0m
- [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "layout_id" integer[0m
- [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_content_elements" ADD "custom_option_id" integer[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170530145657"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
-Migrating to ConvertLayouts (20170530164044)
- [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.3ms)[0m [1m[35mDROP TABLE "pulitzer_layouts"[0m
- [1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[36mPulitzer::ContentElementType Load (0.5ms)[0m [1m[34mSELECT "pulitzer_content_element_types".* FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Clickable"], ["LIMIT", 1]]
- [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Clickable"], ["LIMIT", 1]]
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Clickable"], ["created_at", 2017-06-05 15:39:37 UTC], ["updated_at", 2017-06-05 15:39:37 UTC]]
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170530164044"]]
- [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
-Migrating to CreatePostTypeCustomOptionList (20170531164349)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.4ms)[0m [1m[35mCREATE 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)[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170531164349"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
-Migrating to AddClickableTypeToPtcet (20170601195822)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "clickable_kind" varchar DEFAULT 'any' NOT NULL[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170601195822"]]
- [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
-Migrating to AddStyleToContentElement (20170602204900)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.1ms)[0m [1m[32mINSERT 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"[0m
- [1m[35m (0.3ms)[0m [1m[35mDROP TABLE "pulitzer_content_elements"[0m
- [1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer)[0m
- [1m[35m (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_elements" ("id","label","body","image","version_id","post_type_content_element_type_id","content_element_type_id","created_at","updated_at","text_editor","height","width","sort_order","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"[0m
- [1m[35m (0.1ms)[0m [1m[35mDROP TABLE "apulitzer_content_elements"[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170602204900"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "view_file_name" varchar)[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer)[0m
- [1m[35m (2.3ms)[0m [1m[35mCREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)[0m
- [1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar, "sort_order" integer)[0m
- [1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)[0m
- [1m[35m (2.5ms)[0m [1m[35mCREATE TABLE "pulitzer_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (3.8ms)[0m [1m[35mCREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer)[0m
- [1m[35m (1.6ms)[0m [1m[35mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar, "background_style_id" integer, "justification_style_id" integer, "sequence_flow_style_id" integer, "arrangement_style_id" integer)[0m
- [1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35m (1.6ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (1.6ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "required" boolean DEFAULT 'f', "sort_order" integer, "clickable_kind" varchar DEFAULT 'any' NOT NULL)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)[0m
- [1m[35m (2.0ms)[0m [1m[35mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)[0m
- [1m[35m (0.8ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (4.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
- [1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL)[0m
- [1m[35m (1.8ms)[0m [1m[35mCREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")[0m
- [1m[35m (48.9ms)[0m [1m[35mCREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "cloning_errors" text)[0m
- [1m[35m (2.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.3ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (11.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20170602204900')[0m
- [1m[35m (16.1ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES
-('20170526212313'),
-('20170526212330'),
-('20170530145657'),
-('20170530164044'),
-('20170531164349'),
-('20170601195822');
+DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
-[0m
- [1m[35m (2.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.7ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (3.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-06-05 15:46:18 UTC], ["updated_at", 2017-06-05 15:46:18 UTC]]
+ class AddPluralAndTemplateToPulitzerPostTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "plural" boolean[0m
+ [1m[35m (0.2ms)[0m [1m[35mALTER TABLE "pulitzer_post_types" ADD "template" boolean[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150629195832"]]
[1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+Migrating to AddPulitzerContentElementTypes (20150702150819)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "view_file_name" varchar)[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (1.4ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar)[0m
- [1m[35m (3.5ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar, "sort_order" integer)[0m
- [1m[35m (1.5ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)[0m
- [1m[35m (7.7ms)[0m [1m[35mCREATE TABLE "pulitzer_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (1.9ms)[0m [1m[35mCREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar, "background_style_id" integer, "justification_style_id" integer, "sequence_flow_style_id" integer, "arrangement_style_id" integer)[0m
- [1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35m (8.5ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "required" boolean DEFAULT 'f', "sort_order" integer, "clickable_kind" varchar DEFAULT 'any' NOT NULL)[0m
- [1m[35m (3.6ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)[0m
- [1m[35m (5.1ms)[0m [1m[35mCREATE TABLE "pulitzer_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "post_type_id" integer, "status" varchar DEFAULT 'unpublished', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "slug" varchar)[0m
- [1m[35m (0.2ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (3.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
- [1m[35m (6.0ms)[0m [1m[35mCREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL)[0m
- [1m[35m (2.2ms)[0m [1m[35mCREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")[0m
- [1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "cloning_errors" text)[0m
- [1m[35m (1.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (3.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20170602204900')[0m
- [1m[35m (1.2ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES
-('20170526212313'),
-('20170526212330'),
-('20170530145657'),
-('20170530164044'),
-('20170531164349'),
-('20170601195822');
+DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
-[0m
- [1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ class AddPulitzerContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Text"], ["LIMIT", 1]]
+ [1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Text"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Image"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Image"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
+ [1m[36mPulitzer::ContentElementType Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "pulitzer_content_element_types" WHERE "pulitzer_content_element_types"."name" = ? LIMIT ?[0m [["name", "Video"], ["LIMIT", 1]]
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "pulitzer_content_element_types" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Video"], ["created_at", 2017-07-03 16:55:34 UTC], ["updated_at", 2017-07-03 16:55:34 UTC]]
+ [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150702150819"]]
+ [1m[35m (1.2ms)[0m [1m[36mcommit transaction[0m
+Migrating to AddSlugToPulitzerPosts (20150724150230)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-06-05 15:46:18 UTC], ["updated_at", 2017-06-05 15:46:18 UTC]]
- [1m[35m (0.6ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
-Migrating to CreatePostTypeVersion (20170515230633)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.6ms)[0m [1m[35mCREATE 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)[0m
+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)
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_posts" ADD "slug" varchar[0m
[1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_pulitzer_post_type_versions_on_pulitzer_post_type_id" ON "pulitzer_post_type_versions" ("pulitzer_post_type_id")[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170515230633"]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
-Migrating to ReconnectPostTypeToPost (20170515232938)
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.4ms)[0m [1m[35mALTER TABLE "pulitzer_posts" ADD "post_type_version_id" integer[0m
- [1m[36mPulitzer::PostType Load (0.2ms)[0m [1m[34mSELECT "pulitzer_post_types".* FROM "pulitzer_post_types"[0m
- [1m[35m (0.4ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "tindex_apulitzer_posts_on_slug" ON "apulitzer_posts" ("slug")[0m
- [1m[35m (0.3ms)[0m [1m[32mINSERT 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"[0m
- [1m[35m (0.4ms)[0m [1m[35mDROP TABLE "pulitzer_posts"[0m
- [1m[35m (0.1ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
- [1m[35m (0.2ms)[0m [1m[32mINSERT 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"[0m
- [1m[35m (0.2ms)[0m [1m[35mDROP TABLE "apulitzer_posts"[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.2ms)[0m [1m[35mCREATE INDEX "index_pulitzer_posts_on_post_type_version_id" ON "pulitzer_posts" ("post_type_version_id")[0m
- [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20170515232938"]]
- [1m[35m (0.9ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.4ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.2ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.2ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.2ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
- [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "view_file_name" varchar)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer)[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar)[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar, "sort_order" integer)[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar, "background_style_id" integer, "justification_style_id" integer, "sequence_flow_style_id" integer, "arrangement_style_id" integer)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "required" boolean DEFAULT 'f', "sort_order" integer, "clickable_kind" varchar DEFAULT 'any' NOT NULL)[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'preview' NOT NULL)[0m
- [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id")[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)[0m
- [1m[35m (1.7ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_pulitzer_posts_on_post_type_version_id" ON "pulitzer_posts" ("post_type_version_id")[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL)[0m
- [1m[35m (1.9ms)[0m [1m[35mCREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")[0m
- [1m[35m (2.1ms)[0m [1m[35mCREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "cloning_errors" text)[0m
- [1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20170602204900')[0m
- [1m[35m (0.9ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES
-('20170515230633'),
-('20170515232938');
+ [1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150724150230"]]
+ [1m[35m (0.7ms)[0m [1m[36mcommit transaction[0m
+Migrating to ChangeLabelTypeFromPulitzerPostTags (20150902212741)
+ [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
+DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
-[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+ class ChangeLabelTypeFromPulitzerPostTags < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.2ms)[0m [1m[35mCREATE TEMPORARY TABLE "apulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT 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"[0m
+ [1m[35m (0.6ms)[0m [1m[35mDROP TABLE "pulitzer_post_tags"[0m
+ [1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (0.1ms)[0m [1m[32mINSERT 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"[0m
+ [1m[35m (0.2ms)[0m [1m[35mDROP TABLE "apulitzer_post_tags"[0m
+ [1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150902212741"]]
+ [1m[35m (1.1ms)[0m [1m[36mcommit transaction[0m
+Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-06-07 00:28:00 UTC], ["updated_at", 2017-06-07 00:28:00 UTC]]
- [1m[35m (0.8ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
+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)
+ [1m[35m (0.9ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC)[0m
+ [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to AddTextEditorToPulitzerPostTypeContentElementTypes (20151026180630)
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_arrangement_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "view_file_name" varchar)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_background_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_content_elements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar, "title" varchar, "body" text, "image" varchar, "version_id" integer, "post_type_content_element_type_id" integer, "content_element_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "sort_order" integer, "partial_id" integer, "style_id" integer, "custom_option_id" integer)[0m
- [1m[35m (2.1ms)[0m [1m[35mCREATE TABLE "pulitzer_custom_option_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)[0m
- [1m[35m (1.8ms)[0m [1m[35mCREATE TABLE "pulitzer_custom_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "custom_option_list_id" integer, "display" varchar, "value" varchar)[0m
- [1m[35m (2.0ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_section_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "name" varchar, "sort_order" integer)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_free_form_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "free_form_section_type_id" integer, "name" varchar)[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE TABLE "pulitzer_justification_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_partial_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "free_form_section_type_id" integer, "label" varchar, "sort_order" integer, "layout_id" integer, "post_type_id" integer)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_partials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "free_form_section_id" integer, "sort_order" integer, "layout_id" integer, "label" varchar, "background_style_id" integer, "justification_style_id" integer, "sequence_flow_style_id" integer, "arrangement_style_id" integer)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_post_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version_id" integer, "label_id" integer, "label_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_content_element_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "content_element_type_id" integer, "label" varchar, "height" integer DEFAULT 100, "width" integer DEFAULT 100, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "text_editor" varchar, "required" boolean DEFAULT 'f', "sort_order" integer, "clickable_kind" varchar DEFAULT 'any' NOT NULL)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_type_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "version_number" integer DEFAULT 1 NOT NULL, "status" varchar DEFAULT 'preview' NOT NULL)[0m
- [1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_pulitzer_post_type_versions_on_post_type_id" ON "pulitzer_post_type_versions" ("post_type_id")[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_post_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "plural" boolean, "kind" integer DEFAULT 0)[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE 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)[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pulitzer_posts_on_post_type_version_id" ON "pulitzer_posts" ("post_type_version_id")[0m
- [1m[35m (0.1ms)[0m [1m[34m 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'
-[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_pulitzer_posts_on_slug" ON "pulitzer_posts" ("slug")[0m
- [1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "pulitzer_sequence_flow_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE TABLE "pulitzer_styles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "post_type_content_element_type_id" integer, "display_name" varchar, "css_class_name" varchar)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "parent_id" integer, "hierarchical" boolean DEFAULT 'f' NOT NULL)[0m
- [1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_pulitzer_tags_on_hierarchical" ON "pulitzer_tags" ("hierarchical")[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "pulitzer_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" integer DEFAULT 0, "post_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "cloning_errors" text)[0m
- [1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
- [1m[35m (0.1ms)[0m [1m[34mSELECT version FROM "schema_migrations"[0m
- [1m[35m (2.8ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES ('20170602204900')[0m
- [1m[35m (1.0ms)[0m [1m[32mINSERT INTO schema_migrations (version) VALUES
-('20170515230633'),
-('20170515232938');
+DEPRECATION WARNING: Directly inheriting from ActiveRecord::Migration is deprecated. Please specify the Rails release the migration was written for:
-[0m
- [1m[35m (1.8ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
- [1m[35mSQL (1.0ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", 2017-06-07 00:28:00 UTC], ["updated_at", 2017-06-07 00:28:00 UTC]]
- [1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", :environment], ["LIMIT", 1]]
- [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ class AddTextEditorToPulitzerPostTypeContentElementTypes < ActiveRecord::Migration[4.2] (called from load at /Users/goma/.rbenv/versions/2.3.1/bin/rake:23)
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "pulitzer_post_type_content_element_types" ADD "text_editor" varchar[0m
+ [1m[35mSQL (0.2ms)[0m [1m[33mUPDATE "pulitzer_post_type_content_element_types" SET "text_editor" = 'None' WHERE "pulitzer_post_type_content_element_types"."id" IN (SELECT "pulitzer_post_type_content_element_types"."id" FROM "pulitzer_post_type_content_element_types" ORDER BY "pulitzer_post_type_content_element_types"."sort_order" ASC)[0m
+ [1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (3.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", :environment]]