spec/dummy/log/test.log in bit_player-0.3.0 vs spec/dummy/log/test.log in bit_player-0.4.0

- old
+ new

@@ -1,2071 +1,2658 @@ -  (12.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (5.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") - ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438) -  (0.3ms) BEGIN -  (14.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  - SQL (3.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] -  (1.0ms) COMMIT +  (0.2ms) BEGIN +  (6.5ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300) -  (0.6ms) BEGIN -  (8.0ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.6ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (8.4ms)  ALTER TABLE bit_player_content_providers - ADD CONSTRAINT fk_content_providers_modules - FOREIGN KEY (bit_player_content_module_id) - REFERENCES bit_player_content_modules(id) +  (0.4ms) BEGIN +  (5.4ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (3.6ms)  ALTER TABLE bit_player_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_player_content_module_id) + REFERENCES bit_player_content_modules(id)  - SQL (1.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] -  (1.0ms) COMMIT + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] +  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705) -  (0.7ms) BEGIN -  (5.3ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.6ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") - SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] -  (0.6ms) COMMIT +  (0.5ms) BEGIN +  (4.4ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.5ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] +  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706) -  (0.5ms) BEGIN -  (3.8ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.0ms) BEGIN +  (11.3ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] -  (0.6ms) COMMIT +  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327) -  (0.5ms) BEGIN -  (7.7ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.6ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (2.9ms) ALTER TABLE bit_player_slides - ADD CONSTRAINT fk_slides_slideshows - FOREIGN KEY (bit_player_slideshow_id) - REFERENCES bit_player_slideshows(id) +  (0.3ms) BEGIN +  (5.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.2ms) ALTER TABLE bit_player_slides + ADD CONSTRAINT fk_slides_slideshows + FOREIGN KEY (bit_player_slideshow_id) + REFERENCES bit_player_slideshows(id) -  (2.3ms)  ALTER TABLE bit_player_slides - ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) - DEFERRABLE INITIALLY IMMEDIATE +  (1.7ms)  ALTER TABLE bit_player_slides + ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE  - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.8ms) COMMIT + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (0.5ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) -  (0.7ms) BEGIN -  (5.7ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.8ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") +  (0.4ms) BEGIN +  (3.7ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] -  (1.0ms) COMMIT +  (0.6ms) COMMIT Migrating to ChangeModuleContextToTool (20140402225703)  (0.5ms) BEGIN -  (0.9ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.7ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.6ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (1.1ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (3.2ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) - - SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] -  (0.6ms) COMMIT - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) BEGIN +  (0.6ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer  (0.3ms) ROLLBACK -  (2.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586604" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (1.3ms) DELETE FROM "bit_player_tools" - Fixture Insert (1.4ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 836111569) - Fixture Delete (0.4ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (1.8ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-05-30 21:12:09', '2014-05-30 21:12:09', 437912910, 836111569) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-05-30 21:12:09', '2014-05-30 21:12:09', 511237275, 836111569) - Fixture Delete (0.7ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.3ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 555816777, 437912910) - Fixture Insert (0.6ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 46790607, 511237275) -  (0.4ms) COMMIT -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586604" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (1.1ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (1.6ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.9ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.2ms) ROLLBACK -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586604" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (0.4ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (0.5ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 504123193) - Fixture Delete (0.7ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.3ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 538050605, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 958091673, 504123193) - Fixture Insert (0.4ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 236740868, 504123193) -  (0.4ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586604" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -  (0.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER +  (4.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateBitPlayerContentModules (20140305200438) +  (0.2ms) BEGIN +  (6.2ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (0.4ms) COMMIT +Migrating to CreateBitPlayerContentProviders (20140305201300) +  (0.4ms) BEGIN +  (5.5ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (4.1ms)  ALTER TABLE bit_player_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_player_content_module_id) + REFERENCES bit_player_content_modules(id) + + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] +  (0.9ms) COMMIT +Migrating to CreateBitPlayerParticipantStatuses (20140305232705) +  (0.5ms) BEGIN +  (4.5ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] +  (0.5ms) COMMIT +Migrating to CreateBitPlayerSlideshows (20140305232706) +  (0.4ms) BEGIN +  (3.6ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.5ms) COMMIT +Migrating to CreateBitPlayerSlides (20140305234327)  (0.3ms) BEGIN -  (0.3ms) ROLLBACK +  (10.5ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (2.0ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.5ms) ALTER TABLE bit_player_slides + ADD CONSTRAINT fk_slides_slideshows + FOREIGN KEY (bit_player_slideshow_id) + REFERENCES bit_player_slideshows(id) + +  (2.3ms)  ALTER TABLE bit_player_slides + ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (0.7ms) COMMIT +Migrating to CreateBitPlayerTools (20140402224913) +  (0.5ms) BEGIN +  (4.2ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.5ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140619200219) +  (0.4ms) BEGIN +  (0.8ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text +  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]] +  (0.4ms) COMMIT +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.2ms) BEGIN + BitPlayer::Slideshow Load (0.9ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (1.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.7ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows + +  (1.2ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.7ms) DROP TABLE "bit_player_slides" +  (1.6ms) DROP TABLE "bit_player_slideshows" + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.3ms) COMMIT + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) BEGIN  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN - BitPlayer::Slide Load (0.9ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) SAVEPOINT active_record_1 -  (0.2ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (0.3ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.1ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.3ms) ROLLBACK  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 -  (0.2ms) ROLLBACK -  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN + BitCore::ContentModule Load (0.7ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1 +PG::UndefinedTable: ERROR: relation "bit_core_content_modules" does not exist +LINE 1: SELECT "bit_core_content_modules".* FROM "bit_core_content_... + ^ +: SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1 +  (0.3ms) ROLLBACK +  (4.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438) -  (0.2ms) BEGIN -  (6.0ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  - SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (0.3ms) BEGIN +  (6.3ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300)  (0.4ms) BEGIN -  (5.5ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (2.9ms)  ALTER TABLE bit_player_content_providers - ADD CONSTRAINT fk_content_providers_modules - FOREIGN KEY (bit_player_content_module_id) - REFERENCES bit_player_content_modules(id) +  (5.3ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (3.1ms)  ALTER TABLE bit_player_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_player_content_module_id) + REFERENCES bit_player_content_modules(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] -  (0.8ms) COMMIT +  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705) -  (0.4ms) BEGIN -  (3.5ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.1ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") +  (0.5ms) BEGIN +  (4.5ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] -  (0.5ms) COMMIT +  (0.6ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706) -  (0.3ms) BEGIN -  (3.3ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] -  (0.4ms) COMMIT +  (0.4ms) BEGIN +  (3.7ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327)  (0.3ms) BEGIN -  (5.0ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.1ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (1.9ms) ALTER TABLE bit_player_slides - ADD CONSTRAINT fk_slides_slideshows - FOREIGN KEY (bit_player_slideshow_id) - REFERENCES bit_player_slideshows(id) +  (6.8ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (2.3ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.3ms) ALTER TABLE bit_player_slides + ADD CONSTRAINT fk_slides_slideshows + FOREIGN KEY (bit_player_slideshow_id) + REFERENCES bit_player_slideshows(id) -  (1.5ms)  ALTER TABLE bit_player_slides - ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) - DEFERRABLE INITIALLY IMMEDIATE +  (2.5ms)  ALTER TABLE bit_player_slides + ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.6ms) COMMIT + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (0.8ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) -  (0.4ms) BEGIN -  (3.6ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") +  (0.5ms) BEGIN +  (4.4ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.8ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] -  (0.5ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) -  (0.3ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.5ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.7ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.7ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) - - SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] +  (0.6ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140619200219) +  (0.5ms) BEGIN +  (0.6ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text +  (0.7ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]]  (0.4ms) COMMIT - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.2ms) BEGIN + BitPlayer::Slideshow Load (0.5ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.1ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows + +  (0.6ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.5ms) DROP TABLE "bit_player_slides" +  (1.6ms) DROP TABLE "bit_player_slideshows" + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN + BitCore::ContentModule Load (0.6ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1 +PG::UndefinedTable: ERROR: relation "bit_core_content_modules" does not exist +LINE 1: SELECT "bit_core_content_modules".* FROM "bit_core_content_... + ^ +: SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1 +  (0.3ms) ROLLBACK +  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438)  (0.2ms) BEGIN -  (6.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  - SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] -  (0.5ms) COMMIT +  (6.3ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (0.6ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300)  (0.3ms) BEGIN  (5.2ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (2.9ms)  ALTER TABLE bit_player_content_providers - ADD CONSTRAINT fk_content_providers_modules - FOREIGN KEY (bit_player_content_module_id) - REFERENCES bit_player_content_modules(id) +  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (3.3ms)  ALTER TABLE bit_player_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_player_content_module_id) + REFERENCES bit_player_content_modules(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] -  (0.7ms) COMMIT +  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705)  (0.4ms) BEGIN -  (3.3ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.1ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") +  (4.2ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.5ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706) -  (0.3ms) BEGIN -  (3.3ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (0.4ms) BEGIN +  (4.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327)  (0.6ms) BEGIN -  (8.0ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.1ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (1.9ms) ALTER TABLE bit_player_slides - ADD CONSTRAINT fk_slides_slideshows - FOREIGN KEY (bit_player_slideshow_id) - REFERENCES bit_player_slideshows(id) +  (8.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.8ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.6ms) ALTER TABLE bit_player_slides + ADD CONSTRAINT fk_slides_slideshows + FOREIGN KEY (bit_player_slideshow_id) + REFERENCES bit_player_slideshows(id) -  (1.5ms)  ALTER TABLE bit_player_slides - ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) - DEFERRABLE INITIALLY IMMEDIATE +  (2.1ms)  ALTER TABLE bit_player_slides + ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.6ms) COMMIT +  (0.7ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) -  (0.4ms) BEGIN +  (0.5ms) BEGIN  (3.6ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.1ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") +  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]  (0.6ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) -  (0.3ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.5ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.8ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.6ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.5ms) BEGIN + BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (0.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.2ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows  - SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] +  (0.7ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.2ms) DROP TABLE "bit_player_slides" +  (1.2ms) DROP TABLE "bit_player_slideshows" + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (1.9ms) COMMIT +Migrating to CreateBitCoreTools (20140620205608) +  (0.3ms) BEGIN +  (3.7ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.4ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205608"]]  (0.5ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620205609) +  (0.4ms) BEGIN +  (4.9ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.7ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.5ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205609"]] +  (0.7ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620205610) +  (0.6ms) BEGIN +  (7.5ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.7ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.1ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205610"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620205611) +  (0.5ms) BEGIN +  (4.1ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205611"]] +  (0.5ms) COMMIT +Migrating to CreateBitCoreSlides (20140620205612) +  (0.4ms) BEGIN +  (6.0ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.5ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.2ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205612"]] +  (0.7ms) COMMIT +Migrating to AddOptionsToSlides (20140620205613) +  (0.7ms) BEGIN +  (0.8ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205613"]] +  (0.4ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140620205614) +  (0.2ms) BEGIN +  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205614"]] +  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN + BitCore::ContentModule Load (0.7ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1 +PG::UndefinedColumn: ERROR: column bit_core_content_modules.bit_player_tool_id does not exist +LINE 1: ...modules".* FROM "bit_core_content_modules" WHERE "bit_core_... + ^ +: SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1 +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438)  (0.2ms) BEGIN -  (6.0ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  - SQL (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] -  (0.6ms) COMMIT +  (6.2ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300)  (0.4ms) BEGIN -  (5.1ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (3.0ms)  ALTER TABLE bit_player_content_providers - ADD CONSTRAINT fk_content_providers_modules - FOREIGN KEY (bit_player_content_module_id) - REFERENCES bit_player_content_modules(id) +  (5.2ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (3.3ms)  ALTER TABLE bit_player_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_player_content_module_id) + REFERENCES bit_player_content_modules(id)  - SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] -  (0.8ms) COMMIT + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] +  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705) -  (0.3ms) BEGIN -  (3.3ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") +  (0.5ms) BEGIN +  (4.8ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706) -  (0.3ms) BEGIN -  (3.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (0.4ms) BEGIN +  (4.3ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] -  (0.5ms) COMMIT +  (0.4ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327) -  (0.3ms) BEGIN -  (4.8ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (1.8ms) ALTER TABLE bit_player_slides - ADD CONSTRAINT fk_slides_slideshows - FOREIGN KEY (bit_player_slideshow_id) - REFERENCES bit_player_slideshows(id) +  (0.4ms) BEGIN +  (6.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.6ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.7ms) ALTER TABLE bit_player_slides + ADD CONSTRAINT fk_slides_slideshows + FOREIGN KEY (bit_player_slideshow_id) + REFERENCES bit_player_slideshows(id) -  (1.5ms)  ALTER TABLE bit_player_slides - ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) - DEFERRABLE INITIALLY IMMEDIATE +  (2.4ms)  ALTER TABLE bit_player_slides + ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913)  (0.4ms) BEGIN -  (3.6ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.1ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (5.0ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]  (0.5ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) -  (0.3ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.3ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.6ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.0ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.5ms) BEGIN + BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (0.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.1ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows  - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] +  (0.6ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.1ms) DROP TABLE "bit_player_slides" +  (1.2ms) DROP TABLE "bit_player_slideshows" + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.4ms) COMMIT +Migrating to CreateBitCoreTools (20140620205608) +  (0.3ms) BEGIN +  (4.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (2.4ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205608"]] +  (0.8ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620205609) +  (0.7ms) BEGIN +  (4.9ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.6ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.9ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205609"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620205610) +  (0.5ms) BEGIN +  (5.0ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.8ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.2ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205610"]] +  (0.8ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620205611) +  (0.5ms) BEGIN +  (3.9ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205611"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreSlides (20140620205612) +  (0.4ms) BEGIN +  (8.5ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.0ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.7ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205612"]] +  (0.6ms) COMMIT +Migrating to AddOptionsToSlides (20140620205613) +  (0.5ms) BEGIN +  (0.7ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205613"]]  (0.4ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140620205614) +  (0.2ms) BEGIN +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205614"]] +  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.2ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438)  (0.2ms) BEGIN -  (5.9ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  - SQL (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (6.4ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300) -  (0.4ms) BEGIN -  (5.1ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (3.0ms)  ALTER TABLE bit_player_content_providers - ADD CONSTRAINT fk_content_providers_modules - FOREIGN KEY (bit_player_content_module_id) - REFERENCES bit_player_content_modules(id) +  (0.3ms) BEGIN +  (5.3ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (3.4ms)  ALTER TABLE bit_player_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_player_content_module_id) + REFERENCES bit_player_content_modules(id)  - SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] -  (0.8ms) COMMIT + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] +  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705) -  (0.4ms) BEGIN -  (3.2ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.1ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") +  (0.5ms) BEGIN +  (4.1ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706)  (0.4ms) BEGIN -  (3.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] -  (0.4ms) COMMIT +  (5.6ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.8ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327) -  (0.3ms) BEGIN -  (4.8ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.1ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (1.9ms) ALTER TABLE bit_player_slides - ADD CONSTRAINT fk_slides_slideshows - FOREIGN KEY (bit_player_slideshow_id) - REFERENCES bit_player_slideshows(id) +  (0.5ms) BEGIN +  (8.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.8ms) ALTER TABLE bit_player_slides + ADD CONSTRAINT fk_slides_slideshows + FOREIGN KEY (bit_player_slideshow_id) + REFERENCES bit_player_slideshows(id) -  (1.5ms)  ALTER TABLE bit_player_slides - ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) - DEFERRABLE INITIALLY IMMEDIATE +  (1.9ms)  ALTER TABLE bit_player_slides + ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.5ms) COMMIT +  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913)  (0.4ms) BEGIN -  (3.4ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.1ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") +  (3.8ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]  (0.5ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.4ms) BEGIN + BitPlayer::Slideshow Load (0.5ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (0.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.7ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows + +  (0.7ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.2ms) DROP TABLE "bit_player_slides" +  (1.2ms) DROP TABLE "bit_player_slideshows" + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.6ms) COMMIT +Migrating to CreateBitCoreTools (20140620205608) +  (0.3ms) BEGIN +  (4.5ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.4ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205608"]] +  (0.5ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620205609)  (0.3ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.4ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.8ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.6ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) +  (3.6ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.7ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.0ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id)  - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205609"]] +  (0.9ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620205610) +  (0.9ms) BEGIN +  (7.5ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.7ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (3.3ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205610"]] +  (0.7ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620205611) +  (0.5ms) BEGIN +  (4.9ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205611"]]  (0.5ms) COMMIT - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.3ms) BEGIN -  (0.2ms) ROLLBACK -  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586964" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER +Migrating to CreateBitCoreSlides (20140620205612) +  (0.4ms) BEGIN +  (5.9ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.8ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.1ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205612"]] +  (0.6ms) COMMIT +Migrating to AddOptionsToSlides (20140620205613) +  (0.4ms) BEGIN +  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205613"]] +  (0.6ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140620205614) +  (0.3ms) BEGIN +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205614"]] +  (0.4ms) COMMIT + ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN - Fixture Delete (0.7ms) DELETE FROM "bit_player_tools" - Fixture Insert (1.5ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 836111569) - Fixture Delete (0.5ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (1.3ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-05-30 21:16:01', '2014-05-30 21:16:01', 437912910, 836111569) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-05-30 21:16:01', '2014-05-30 21:16:01', 511237275, 836111569) - Fixture Delete (0.8ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.5ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 555816777, 437912910) - Fixture Insert (0.6ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 46790607, 511237275) -  (0.4ms) COMMIT -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586964" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (1.3ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (1.4ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.7ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 -  (0.3ms) ROLLBACK -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586964" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER -  (0.3ms) BEGIN - Fixture Delete (0.6ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (0.9ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 504123193) - Fixture Delete (0.7ms) DELETE FROM "bit_player_slides" - Fixture Insert (2.2ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 538050605, 504123193) - Fixture Insert (0.6ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 958091673, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 236740868, 504123193) -  (0.4ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586964" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER -  (0.1ms) BEGIN - BitPlayer::Slide Load (0.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) SAVEPOINT active_record_1 -  (0.3ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (0.3ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.2ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) ROLLBACK -  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.3ms) ROLLBACK +  (4.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438)  (0.2ms) BEGIN -  (6.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  - SQL (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] -  (0.5ms) COMMIT +  (6.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (0.6ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300)  (0.4ms) BEGIN -  (5.2ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (3.1ms)  ALTER TABLE bit_player_content_providers - ADD CONSTRAINT fk_content_providers_modules - FOREIGN KEY (bit_player_content_module_id) - REFERENCES bit_player_content_modules(id) +  (5.4ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (4.0ms)  ALTER TABLE bit_player_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_player_content_module_id) + REFERENCES bit_player_content_modules(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] -  (0.8ms) COMMIT +  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705)  (0.5ms) BEGIN -  (3.6ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.1ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") +  (4.2ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] -  (0.4ms) COMMIT +  (0.6ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706)  (0.3ms) BEGIN -  (3.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (4.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327) -  (0.3ms) BEGIN -  (4.9ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (1.9ms) ALTER TABLE bit_player_slides - ADD CONSTRAINT fk_slides_slideshows - FOREIGN KEY (bit_player_slideshow_id) - REFERENCES bit_player_slideshows(id) +  (0.8ms) BEGIN +  (8.6ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (2.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (3.3ms) ALTER TABLE bit_player_slides + ADD CONSTRAINT fk_slides_slideshows + FOREIGN KEY (bit_player_slideshow_id) + REFERENCES bit_player_slideshows(id) -  (1.5ms)  ALTER TABLE bit_player_slides - ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) - DEFERRABLE INITIALLY IMMEDIATE +  (2.5ms)  ALTER TABLE bit_player_slides + ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.6ms) COMMIT + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (1.0ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) +  (0.8ms) BEGIN +  (4.9ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.8ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.5ms) COMMIT +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)  (0.4ms) BEGIN -  (3.6ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.1ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] + BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (1.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (2.9ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows + +  (1.4ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.8ms) DROP TABLE "bit_player_slides" +  (2.2ms) DROP TABLE "bit_player_slideshows" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.2ms) COMMIT +Migrating to CreateBitCoreTools (20140620205608) +  (0.4ms) BEGIN +  (5.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.4ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205608"]] +  (0.5ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620205609) +  (0.3ms) BEGIN +  (4.2ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.9ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.3ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205609"]]  (0.6ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) -  (0.4ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.4ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.7ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.1ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) +Migrating to CreateBitCoreContentProviders (20140620205610) +  (0.5ms) BEGIN +  (8.8ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.6ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (3.7ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id)  - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205610"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620205611) +  (0.6ms) BEGIN +  (4.4ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205611"]]  (0.5ms) COMMIT - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875094" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER +Migrating to CreateBitCoreSlides (20140620205612) +  (0.3ms) BEGIN +  (5.3ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.6ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.4ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205612"]] +  (0.6ms) COMMIT +Migrating to AddOptionsToSlides (20140620205613) +  (0.4ms) BEGIN +  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205613"]] +  (0.4ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140620205614) +  (0.2ms) BEGIN +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205614"]] +  (0.5ms) COMMIT + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN - Fixture Delete (0.5ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (0.8ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 504123193) - Fixture Delete (0.7ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.3ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 538050605, 504123193) - Fixture Insert (0.4ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 958091673, 504123193) - Fixture Insert (0.4ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 236740868, 504123193) -  (0.5ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875094" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER -  (0.2ms) BEGIN -  (0.3ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::Slide Load (1.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) SAVEPOINT active_record_1 -  (0.3ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.6ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.2ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.3ms) ROLLBACK -  (0.1ms) BEGIN -  (0.3ms) ROLLBACK -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875094" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (0.6ms) DELETE FROM "bit_player_tools" - Fixture Insert (0.8ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 836111569) - Fixture Delete (0.4ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (1.1ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 19:35:29', '2014-06-19 19:35:29', 437912910, 836111569) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 19:35:29', '2014-06-19 19:35:29', 511237275, 836111569) - Fixture Delete (0.6ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.0ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 555816777, 437912910) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 46790607, 511237275) -  (0.4ms) COMMIT -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875094" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (2.0ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.4ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.9ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 -  (0.3ms) ROLLBACK -  (4.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + BitCore::ContentModule Load (1.8ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1 +  (0.5ms) ROLLBACK +  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438) -  (0.3ms) BEGIN -  (6.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] -  (0.6ms) COMMIT +  (0.2ms) BEGIN +  (6.4ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300)  (0.4ms) BEGIN -  (5.2ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (2.9ms)  ALTER TABLE bit_player_content_providers +  (5.4ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (3.6ms)  ALTER TABLE bit_player_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_player_content_module_id) REFERENCES bit_player_content_modules(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] -  (0.8ms) COMMIT +  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705) -  (0.4ms) BEGIN -  (3.3ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") +  (0.5ms) BEGIN +  (4.2ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.6ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] -  (0.5ms) COMMIT +  (0.6ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706) -  (0.3ms) BEGIN -  (3.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.4ms) BEGIN +  (3.7ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327)  (0.3ms) BEGIN -  (6.5ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (2.2ms) ALTER TABLE bit_player_slides +  (7.4ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.6ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (3.4ms) ALTER TABLE bit_player_slides ADD CONSTRAINT fk_slides_slideshows FOREIGN KEY (bit_player_slideshow_id) REFERENCES bit_player_slideshows(id) -  (1.6ms)  ALTER TABLE bit_player_slides +  (15.3ms)  ALTER TABLE bit_player_slides ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.6ms) COMMIT +  (4.7ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) -  (0.4ms) BEGIN -  (3.6ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.5ms) BEGIN +  (6.8ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.9ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]  (0.5ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)  (0.4ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.4ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.7ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.1ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) + BitPlayer::Slideshow Load (0.9ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (1.1ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.5ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] +  (1.0ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.5ms) DROP TABLE "bit_player_slides" +  (1.6ms) DROP TABLE "bit_player_slideshows" + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.3ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614) +  (0.5ms) BEGIN +  (6.0ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.9ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620222615) +  (0.6ms) BEGIN +  (4.5ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.2ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.8ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]] +  (0.8ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620222616) +  (0.5ms) BEGIN +  (7.5ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.8ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (3.5ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]] +  (0.8ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620222617) +  (0.6ms) BEGIN +  (4.8ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]  (0.5ms) COMMIT - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875184" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -  (1.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER -  (0.3ms) BEGIN - Fixture Delete (0.5ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (1.0ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 504123193) - Fixture Delete (0.7ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.3ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 538050605, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 958091673, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 236740868, 504123193) -  (0.4ms) COMMIT -  (0.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875184" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER -  (0.3ms) BEGIN -  (0.2ms) ROLLBACK +Migrating to CreateBitCoreSlides (20140620222618) +  (0.5ms) BEGIN +  (8.2ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.0ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.9ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (0.6ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.4ms) BEGIN +  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]] +  (0.4ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140620222620) +  (0.2ms) BEGIN +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]] +  (0.4ms) COMMIT + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.3ms) SAVEPOINT active_record_1 -  (0.4ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.7ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.1ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) ROLLBACK -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875184" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER -  (0.3ms) BEGIN - Fixture Delete (1.0ms) DELETE FROM "bit_player_tools" - Fixture Insert (1.0ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 836111569) - Fixture Delete (0.5ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (1.0ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 19:45:01', '2014-06-19 19:45:01', 437912910, 836111569) - Fixture Insert (0.6ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 19:45:01', '2014-06-19 19:45:01', 511237275, 836111569) - Fixture Delete (0.7ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.2ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 555816777, 437912910) - Fixture Insert (0.6ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 46790607, 511237275) -  (8.3ms) COMMIT -  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875184" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.8ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.3ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.4ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 + BitCore::ContentModule Load (1.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1 +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN  (0.3ms) ROLLBACK -  (4.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") - ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (12.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (18.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438)  (0.2ms) BEGIN -  (7.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (7.4ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300)  (0.3ms) BEGIN -  (5.1ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (5.4ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")  (3.8ms)  ALTER TABLE bit_player_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_player_content_module_id) REFERENCES bit_player_content_modules(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] -  (0.8ms) COMMIT +  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705)  (0.4ms) BEGIN -  (3.8ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] -  (0.4ms) COMMIT +  (4.2ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.8ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] +  (0.6ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706) -  (0.3ms) BEGIN +  (0.4ms) BEGIN  (3.7ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) - SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] -  (0.6ms) COMMIT + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.8ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327) -  (0.5ms) BEGIN -  (6.0ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.1ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (2.5ms) ALTER TABLE bit_player_slides +  (0.8ms) BEGIN +  (7.4ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (2.1ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.8ms) ALTER TABLE bit_player_slides ADD CONSTRAINT fk_slides_slideshows FOREIGN KEY (bit_player_slideshow_id) REFERENCES bit_player_slideshows(id) -  (1.8ms)  ALTER TABLE bit_player_slides +  (2.1ms)  ALTER TABLE bit_player_slides ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.6ms) COMMIT + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (0.7ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) -  (0.4ms) BEGIN -  (4.5ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.5ms) BEGIN +  (5.1ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") + SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.7ms) COMMIT +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.6ms) BEGIN + BitPlayer::Slideshow Load (0.8ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (1.2ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.4ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows + +  (0.8ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.5ms) DROP TABLE "bit_player_slides" +  (2.1ms) DROP TABLE "bit_player_slideshows" + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (1.9ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614) +  (0.3ms) BEGIN +  (6.4ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.9ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620222615) +  (0.6ms) BEGIN +  (4.9ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.3ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.9ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]] +  (0.7ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620222616) +  (0.6ms) BEGIN +  (5.5ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.7ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.2ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]] +  (0.8ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620222617) +  (1.0ms) BEGIN +  (5.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]  (0.5ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) +Migrating to CreateBitCoreSlides (20140620222618)  (0.4ms) BEGIN -  (0.8ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.8ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (1.0ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (1.6ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.5ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) +  (4.9ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.5ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (1.9ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id)  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (0.8ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.6ms) BEGIN +  (0.8ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]  (0.4ms) COMMIT - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875274" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER -  (0.3ms) BEGIN - Fixture Delete (0.6ms) DELETE FROM "bit_player_tools" - Fixture Insert (1.1ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 836111569) - Fixture Delete (0.5ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (1.2ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 19:50:05', '2014-06-19 19:50:05', 437912910, 836111569) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 19:50:05', '2014-06-19 19:50:05', 511237275, 836111569) - Fixture Delete (0.6ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.1ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 555816777, 437912910) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 46790607, 511237275) -  (0.6ms) COMMIT -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875274" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.8ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.5ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.5ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.1ms) ROLLBACK -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875274" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (0.5ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (0.6ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 504123193) - Fixture Delete (0.6ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.1ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 538050605, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 958091673, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 236740868, 504123193) -  (0.5ms) COMMIT -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875274" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER -  (0.2ms) BEGIN -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::Slide Load (1.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) SAVEPOINT active_record_1 -  (0.3ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (0.3ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.1ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.9ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 -  (0.3ms) ROLLBACK -  (4.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +Migrating to AddConfigFieldsToProviders (20140620222620) +  (0.2ms) BEGIN +  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]] +  (0.6ms) COMMIT +Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851) +  (0.4ms) BEGIN + BitPlayer::Tool Load (1.1ms) SELECT "bit_player_tools".* FROM "bit_player_tools" + BitPlayer::ContentModule Load (0.9ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" +  (0.4ms) ROLLBACK +  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438) -  (0.2ms) BEGIN -  (5.9ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (0.3ms) BEGIN +  (6.4ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300) -  (0.3ms) BEGIN +  (0.4ms) BEGIN  (5.3ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")  (3.1ms)  ALTER TABLE bit_player_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_player_content_module_id) REFERENCES bit_player_content_modules(id)  - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705)  (0.4ms) BEGIN -  (3.8ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") +  (4.1ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] -  (0.5ms) COMMIT +  (0.6ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706) -  (0.3ms) BEGIN -  (3.6ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] -  (0.4ms) COMMIT +  (0.4ms) BEGIN +  (4.1ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.6ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327)  (0.4ms) BEGIN -  (7.3ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (1.9ms) ALTER TABLE bit_player_slides +  (8.5ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.9ms) ALTER TABLE bit_player_slides ADD CONSTRAINT fk_slides_slideshows FOREIGN KEY (bit_player_slideshow_id) REFERENCES bit_player_slideshows(id) -  (1.6ms)  ALTER TABLE bit_player_slides +  (2.9ms)  ALTER TABLE bit_player_slides ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.6ms) COMMIT + SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (1.0ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) -  (0.4ms) BEGIN -  (3.7ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.8ms) BEGIN +  (5.7ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.3ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]  (0.5ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)  (0.4ms) BEGIN -  (0.6ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.4ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.7ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.2ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) + BitPlayer::Slideshow Load (0.5ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.1ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows  - SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] +  (0.7ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.8ms) DROP TABLE "bit_player_slides" +  (1.3ms) DROP TABLE "bit_player_slideshows" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.0ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614) +  (0.4ms) BEGIN +  (4.3ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (2.0ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620222615) +  (0.4ms) BEGIN +  (3.9ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.7ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (1.9ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]  (0.8ms) COMMIT - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875364" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (0.6ms) DELETE FROM "bit_player_tools" - Fixture Insert (1.0ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 19:56:21', '2014-06-19 19:56:21', 836111569) - Fixture Delete (0.5ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (1.5ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 19:56:21', '2014-06-19 19:56:21', 437912910, 836111569) - Fixture Insert (1.0ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 19:56:21', '2014-06-19 19:56:21', 511237275, 836111569) - Fixture Delete (0.6ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.0ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:56:21', '2014-06-19 19:56:21', 555816777, 437912910) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:56:21', '2014-06-19 19:56:21', 46790607, 511237275) -  (0.5ms) COMMIT -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875364" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.9ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.5ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.5ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.3ms) ROLLBACK -  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875364" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (0.4ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (0.5ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 19:56:21', '2014-06-19 19:56:21', 504123193) - Fixture Delete (0.7ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.2ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 19:56:22', '2014-06-19 19:56:22', 538050605, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 19:56:22', '2014-06-19 19:56:22', 958091673, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 19:56:22', '2014-06-19 19:56:22', 236740868, 504123193) -  (0.5ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875364" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER -  (0.2ms) BEGIN -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) SAVEPOINT active_record_1 -  (0.2ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (1.2ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.3ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.9ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 -  (0.4ms) ROLLBACK -  (1.3ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL -  (0.3ms) BEGIN - Fixture Delete (0.7ms) DELETE FROM "bit_player_tools" - Fixture Insert (1.2ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 836111569) - Fixture Delete (0.5ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (0.6ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 20:12:10', '2014-06-19 20:12:10', 437912910, 836111569) - Fixture Insert (0.3ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 20:12:10', '2014-06-19 20:12:10', 511237275, 836111569) - Fixture Delete (0.9ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (0.7ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 555816777, 437912910) - Fixture Insert (0.4ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 46790607, 511237275) +Migrating to CreateBitCoreContentProviders (20140620222616) +  (0.8ms) BEGIN +  (6.5ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.4ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (3.1ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]] +  (1.0ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620222617) +  (0.7ms) BEGIN +  (5.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]  (0.5ms) COMMIT -  (0.5ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.6ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.5ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.9ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 -  (0.3ms) ROLLBACK -  (0.6ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL -  (0.3ms) BEGIN - Fixture Delete (0.6ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (0.7ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 504123193) - Fixture Delete (0.7ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.4ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 538050605, 504123193) - Fixture Insert (1.0ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 958091673, 504123193) - Fixture Insert (0.6ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 236740868, 504123193) -  (0.4ms) COMMIT -  (0.5ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL -  (0.1ms) BEGIN - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) SAVEPOINT active_record_1 -  (0.4ms) SET CONSTRAINTS bit_player_slide_position DEFERRED -PG::UndefinedObject: ERROR: constraint "bit_player_slide_position" does not exist -: SET CONSTRAINTS bit_player_slide_position DEFERRED -  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.3ms) ROLLBACK +Migrating to CreateBitCoreSlides (20140620222618) +  (0.4ms) BEGIN +  (6.0ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.8ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.8ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (0.6ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.5ms) BEGIN +  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]] +  (0.5ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140620222620)  (0.2ms) BEGIN -  (0.2ms) ROLLBACK +  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]] +  (0.4ms) COMMIT +Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)  (0.2ms) BEGIN + BitPlayer::Tool Load (0.8ms) SELECT "bit_player_tools".* FROM "bit_player_tools" + BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" + BitPlayer::ContentProvider Load (0.5ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" +  (0.6ms) ALTER TABLE bit_player_content_modules + DROP CONSTRAINT fk_content_modules_tools + +PG::UndefinedObject: ERROR: constraint "fk_content_modules_tools" of relation "bit_player_content_modules" does not exist +: ALTER TABLE bit_player_content_modules + DROP CONSTRAINT fk_content_modules_tools +  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.6ms) ROLLBACK -  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") - ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438) -  (0.2ms) BEGIN -  (6.8ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  - SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (0.3ms) BEGIN +  (6.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300) -  (0.4ms) BEGIN -  (5.1ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (3.2ms)  ALTER TABLE bit_player_content_providers +  (0.3ms) BEGIN +  (5.5ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (3.9ms)  ALTER TABLE bit_player_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_player_content_module_id) REFERENCES bit_player_content_modules(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] -  (0.9ms) COMMIT +  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705) -  (0.4ms) BEGIN -  (4.3ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.5ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] -  (0.6ms) COMMIT +  (0.5ms) BEGIN +  (7.6ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.8ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] +  (6.4ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706)  (0.5ms) BEGIN  (3.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] -  (0.5ms) COMMIT + SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (1.4ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327) -  (0.3ms) BEGIN -  (4.9ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (2.0ms) ALTER TABLE bit_player_slides +  (1.1ms) BEGIN +  (12.8ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (2.7ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.2ms) ALTER TABLE bit_player_slides ADD CONSTRAINT fk_slides_slideshows FOREIGN KEY (bit_player_slideshow_id) REFERENCES bit_player_slideshows(id) -  (1.5ms)  ALTER TABLE bit_player_slides +  (1.8ms)  ALTER TABLE bit_player_slides ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.5ms) COMMIT +  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) +  (0.5ms) BEGIN +  (4.1ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.6ms) COMMIT +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)  (0.4ms) BEGIN -  (3.6ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.1ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] -  (0.5ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) -  (0.4ms) BEGIN -  (0.6ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.4ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.7ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.3ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) + BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.1ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] +  (0.6ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (1.9ms) DROP TABLE "bit_player_slides" +  (1.1ms) DROP TABLE "bit_player_slideshows" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (3.5ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614) +  (0.8ms) BEGIN +  (7.8ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (3.9ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]] +  (1.2ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620222615) +  (1.2ms) BEGIN +  (4.8ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.8ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.5ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]] +  (0.7ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620222616) +  (0.5ms) BEGIN +  (10.9ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (3.6ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (4.5ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]] +  (0.9ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620222617) +  (0.4ms) BEGIN +  (3.5ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]  (0.5ms) COMMIT -Migrating to AddConfigFieldsToProviders (20140619200219) -  (0.2ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255) -  (0.5ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255) -  (0.5ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]] +Migrating to CreateBitCoreSlides (20140620222618) +  (0.3ms) BEGIN +  (5.6ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.5ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.0ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (0.6ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.3ms) BEGIN +  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]  (0.4ms) COMMIT - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875558" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (0.5ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (1.3ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 504123193) - Fixture Delete (0.7ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.3ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 538050605, 504123193) - Fixture Insert (0.4ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 958091673, 504123193) - Fixture Insert (0.4ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 236740868, 504123193) -  (0.5ms) COMMIT -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875558" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.1ms) BEGIN - BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.3ms) SAVEPOINT active_record_1 -  (0.3ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.2ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) ROLLBACK -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875558" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (0.6ms) DELETE FROM "bit_player_tools" - Fixture Insert (0.7ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 836111569) - Fixture Delete (0.4ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (0.9ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 20:13:18', '2014-06-19 20:13:18', 437912910, 836111569) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 20:13:18', '2014-06-19 20:13:18', 511237275, 836111569) - Fixture Delete (0.6ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.0ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 555816777, 437912910) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 46790607, 511237275) -  (0.5ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875558" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.7ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.9ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.6ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.4ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.7ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 -  (0.2ms) ROLLBACK +Migrating to AddConfigFieldsToProviders (20140620222620)  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (4.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (2.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]] +  (0.5ms) COMMIT +Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851) +  (0.3ms) BEGIN + BitPlayer::Tool Load (1.1ms) SELECT "bit_player_tools".* FROM "bit_player_tools" + BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" + BitPlayer::ContentProvider Load (0.8ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" +  (0.3ms) ALTER TABLE bit_player_content_modules + DROP CONSTRAINT IF EXISTS fk_content_modules_tools + +  (0.8ms)  ALTER TABLE bit_player_content_providers + DROP CONSTRAINT IF EXISTS fk_content_providers_modules + +  (1.7ms) DROP TABLE "bit_player_tools" +  (2.0ms) DROP TABLE "bit_player_content_modules" +  (1.9ms) DROP TABLE "bit_player_content_providers" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]] +  (3.0ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.1ms) BEGIN + BitCore::ContentModule Load (1.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1 +  (0.4ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438)  (0.3ms) BEGIN -  (6.7ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  - SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] -  (0.6ms) COMMIT +  (6.8ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300)  (0.4ms) BEGIN -  (5.4ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (3.3ms)  ALTER TABLE bit_player_content_providers +  (5.1ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (3.5ms)  ALTER TABLE bit_player_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_player_content_module_id) REFERENCES bit_player_content_modules(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] -  (0.8ms) COMMIT +  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705)  (0.6ms) BEGIN  (4.0ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") +  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706)  (0.4ms) BEGIN -  (3.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] -  (0.5ms) COMMIT +  (3.8ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.6ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327) -  (0.3ms) BEGIN -  (5.2ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (2.0ms) ALTER TABLE bit_player_slides +  (0.7ms) BEGIN +  (7.8ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.3ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.3ms) ALTER TABLE bit_player_slides ADD CONSTRAINT fk_slides_slideshows FOREIGN KEY (bit_player_slideshow_id) REFERENCES bit_player_slideshows(id) -  (1.6ms)  ALTER TABLE bit_player_slides +  (2.1ms)  ALTER TABLE bit_player_slides ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.6ms) COMMIT + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (0.7ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913)  (0.5ms) BEGIN -  (4.4ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.3ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") +  (5.1ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]  (0.6ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) -  (0.6ms) BEGIN -  (0.6ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.5ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.8ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.3ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.4ms) BEGIN + BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (1.2ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.3ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] +  (0.7ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.2ms) DROP TABLE "bit_player_slides" +  (1.2ms) DROP TABLE "bit_player_slideshows" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.0ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614) +  (0.3ms) BEGIN +  (4.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.5ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]  (0.5ms) COMMIT -Migrating to AddConfigFieldsToProviders (20140619200219) -  (0.2ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255) -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255) -  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text -  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean -  (0.5ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]] -  (0.4ms) COMMIT - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateBitCoreContentModules (20140620222615) +  (0.4ms) BEGIN +  (4.9ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.6ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (3.6ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]] +  (0.7ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620222616) +  (0.7ms) BEGIN +  (7.3ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.4ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.1ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620222617) +  (0.5ms) BEGIN +  (5.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]] +  (0.8ms) COMMIT +Migrating to CreateBitCoreSlides (20140620222618) +  (0.5ms) BEGIN +  (8.6ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.3ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (4.8ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (1.1ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.9ms) BEGIN +  (1.0ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]] +  (0.7ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140620222620) +  (0.3ms) BEGIN +  (1.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]] +  (0.6ms) COMMIT +Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851) +  (0.4ms) BEGIN + BitPlayer::Tool Load (1.3ms) SELECT "bit_player_tools".* FROM "bit_player_tools" + BitPlayer::ContentModule Load (1.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" + BitPlayer::ContentProvider Load (1.0ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" +  (0.4ms) ALTER TABLE bit_player_content_modules + DROP CONSTRAINT IF EXISTS fk_content_modules_tools + +  (1.3ms)  ALTER TABLE bit_player_content_providers + DROP CONSTRAINT IF EXISTS fk_content_providers_modules + +  (2.6ms) DROP TABLE "bit_player_tools" +  (3.0ms) DROP TABLE "bit_player_content_modules" +  (3.0ms) DROP TABLE "bit_player_content_providers" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]] +  (2.3ms) COMMIT + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN - BitPlayer::ContentModule Load (1.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875648" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (0.7ms) DELETE FROM "bit_player_tools" - Fixture Insert (1.0ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 836111569) - Fixture Delete (0.2ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (1.1ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 20:56:38', '2014-06-19 20:56:38', 437912910, 836111569) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 20:56:38', '2014-06-19 20:56:38', 511237275, 836111569) - Fixture Delete (0.7ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.9ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 555816777, 437912910) - Fixture Insert (0.8ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 46790607, 511237275) -  (0.5ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875648" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.7ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.5ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.2ms) ROLLBACK -  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875648" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER -  (0.3ms) BEGIN - Fixture Delete (0.5ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (0.6ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 504123193) - Fixture Delete (0.7ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.2ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 538050605, 504123193) - Fixture Insert (0.6ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 958091673, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 236740868, 504123193) -  (0.5ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875648" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) SAVEPOINT active_record_1 -  (0.3ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.2ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.3ms) ROLLBACK -  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (0.5ms) ROLLBACK +  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438)  (0.2ms) BEGIN -  (6.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (6.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300) -  (0.4ms) BEGIN -  (5.2ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (3.2ms)  ALTER TABLE bit_player_content_providers +  (0.3ms) BEGIN +  (5.4ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (3.1ms)  ALTER TABLE bit_player_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_player_content_module_id) REFERENCES bit_player_content_modules(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705)  (0.5ms) BEGIN -  (4.1ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") +  (5.3ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] -  (0.5ms) COMMIT +  (0.7ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706) -  (0.3ms) BEGIN -  (4.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] -  (0.6ms) COMMIT +  (0.6ms) BEGIN +  (5.3ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.8ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327) -  (0.4ms) BEGIN -  (5.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (2.0ms) ALTER TABLE bit_player_slides +  (0.7ms) BEGIN +  (6.9ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.8ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.9ms) ALTER TABLE bit_player_slides ADD CONSTRAINT fk_slides_slideshows FOREIGN KEY (bit_player_slideshow_id) REFERENCES bit_player_slideshows(id) -  (1.6ms)  ALTER TABLE bit_player_slides +  (2.5ms)  ALTER TABLE bit_player_slides ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.5ms) COMMIT + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (0.7ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) -  (0.4ms) BEGIN +  (0.5ms) BEGIN  (3.8ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.3ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]  (0.5ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)  (0.4ms) BEGIN -  (0.6ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.5ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.8ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (3.1ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) + BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.2ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] +  (0.6ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (1.9ms) DROP TABLE "bit_player_slides" +  (1.1ms) DROP TABLE "bit_player_slideshows" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (1.9ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614) +  (0.3ms) BEGIN +  (4.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.7ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620222615) +  (0.6ms) BEGIN +  (4.2ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.9ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.1ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]] +  (0.8ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620222616) +  (0.7ms) BEGIN +  (7.6ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.1ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.7ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]  (0.5ms) COMMIT -Migrating to AddConfigFieldsToProviders (20140619200219) +Migrating to CreateBitCoreSlideshows (20140620222617) +  (0.4ms) BEGIN +  (3.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]] +  (0.5ms) COMMIT +Migrating to CreateBitCoreSlides (20140620222618)  (0.3ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255) -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255) -  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text -  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean -  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]] +  (5.1ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.5ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.0ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (0.5ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.4ms) BEGIN +  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]  (0.4ms) COMMIT - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875738" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER +Migrating to AddConfigFieldsToProviders (20140620222620) +  (0.2ms) BEGIN +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]] +  (0.4ms) COMMIT +Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851) +  (0.3ms) BEGIN + BitPlayer::Tool Load (0.9ms) SELECT "bit_player_tools".* FROM "bit_player_tools" + BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" + BitPlayer::ContentProvider Load (0.7ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" +  (0.3ms) ALTER TABLE bit_player_content_modules + DROP CONSTRAINT IF EXISTS fk_content_modules_tools + +  (0.8ms)  ALTER TABLE bit_player_content_providers + DROP CONSTRAINT IF EXISTS fk_content_providers_modules + +  (2.6ms) DROP TABLE "bit_player_tools" +  (2.5ms) DROP TABLE "bit_player_content_modules" +  (2.9ms) DROP TABLE "bit_player_content_providers" + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]] +  (2.3ms) COMMIT + ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN - Fixture Delete (0.7ms) DELETE FROM "bit_player_tools" - Fixture Insert (1.4ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 836111569) - Fixture Delete (0.5ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (1.1ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 20:57:36', '2014-06-19 20:57:36', 437912910, 836111569) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 20:57:36', '2014-06-19 20:57:36', 511237275, 836111569) - Fixture Delete (1.1ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.7ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 555816777, 437912910) - Fixture Insert (0.8ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 46790607, 511237275) -  (0.5ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875738" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.9ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.6ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]  (0.3ms) ROLLBACK -  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875738" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER -  (0.3ms) BEGIN - Fixture Delete (0.6ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (0.6ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 504123193) - Fixture Delete (0.9ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.6ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 538050605, 504123193) - Fixture Insert (0.8ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 958091673, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 236740868, 504123193) -  (0.5ms) COMMIT -  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875738" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.2ms) BEGIN - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) SAVEPOINT active_record_1 -  (0.2ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.3ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (0.3ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.1ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.3ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.9ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.4ms) ROLLBACK -  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (4.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438)  (0.2ms) BEGIN -  (6.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (6.5ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300)  (0.3ms) BEGIN -  (5.2ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (3.3ms)  ALTER TABLE bit_player_content_providers +  (5.3ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (4.0ms)  ALTER TABLE bit_player_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_player_content_module_id) REFERENCES bit_player_content_modules(id)  - SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705) -  (0.5ms) BEGIN -  (4.3ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.6ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] +  (0.4ms) BEGIN +  (4.0ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706) -  (0.5ms) BEGIN -  (3.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (0.4ms) BEGIN +  (4.0ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327)  (0.3ms) BEGIN -  (5.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.1ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (1.9ms) ALTER TABLE bit_player_slides +  (5.0ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (3.2ms) ALTER TABLE bit_player_slides ADD CONSTRAINT fk_slides_slideshows FOREIGN KEY (bit_player_slideshow_id) REFERENCES bit_player_slideshows(id) -  (1.5ms)  ALTER TABLE bit_player_slides +  (2.5ms)  ALTER TABLE bit_player_slides ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.6ms) COMMIT + SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (1.0ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) +  (0.7ms) BEGIN +  (4.0ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (2.0ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.6ms) COMMIT +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)  (0.4ms) BEGIN -  (3.5ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] + BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (0.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.3ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows + +  (0.6ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.4ms) DROP TABLE "bit_player_slides" +  (1.3ms) DROP TABLE "bit_player_slideshows" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (1.9ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614) +  (0.3ms) BEGIN +  (4.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.9ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]] +  (0.7ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620222615) +  (0.4ms) BEGIN +  (3.5ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.9ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (3.2ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]  (0.6ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) +Migrating to CreateBitCoreContentProviders (20140620222616) +  (0.6ms) BEGIN +  (7.4ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.3ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (3.7ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]] +  (0.7ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620222617) +  (0.6ms) BEGIN +  (3.9ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreSlides (20140620222618)  (0.4ms) BEGIN -  (0.6ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.5ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.7ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.1ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) +  (5.9ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.9ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.0ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id)  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (0.5ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.4ms) BEGIN +  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]  (0.4ms) COMMIT -Migrating to AddConfigFieldsToProviders (20140619200219) +Migrating to AddConfigFieldsToProviders (20140620222620)  (0.2ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255) -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255) -  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]] -  (0.4ms) COMMIT - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875828" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]] +  (0.7ms) COMMIT +Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851) +  (0.4ms) BEGIN + BitPlayer::Tool Load (1.3ms) SELECT "bit_player_tools".* FROM "bit_player_tools" + BitPlayer::ContentModule Load (0.7ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" + BitPlayer::ContentProvider Load (0.7ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" +  (0.3ms) ALTER TABLE bit_player_content_modules + DROP CONSTRAINT IF EXISTS fk_content_modules_tools + +  (1.0ms)  ALTER TABLE bit_player_content_providers + DROP CONSTRAINT IF EXISTS fk_content_providers_modules + +  (2.0ms) DROP TABLE "bit_player_tools" +  (2.2ms) DROP TABLE "bit_player_content_modules" +  (2.4ms) DROP TABLE "bit_player_content_providers" + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]] +  (2.4ms) COMMIT + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN - Fixture Delete (0.7ms) DELETE FROM "bit_player_tools" - Fixture Insert (1.4ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 836111569) - Fixture Delete (0.5ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (1.3ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 20:59:13', '2014-06-19 20:59:13', 437912910, 836111569) - Fixture Insert (0.6ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 20:59:13', '2014-06-19 20:59:13', 511237275, 836111569) - Fixture Delete (0.8ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.1ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 555816777, 437912910) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 46790607, 511237275) -  (0.4ms) COMMIT -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875828" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.9ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.4ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.5ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]  (0.3ms) ROLLBACK -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875828" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER  (0.2ms) BEGIN - Fixture Delete (0.5ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (0.7ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 504123193) - Fixture Delete (0.7ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 538050605, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 958091673, 504123193) - Fixture Insert (0.4ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 236740868, 504123193) -  (0.5ms) COMMIT -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875828" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.2ms) BEGIN  (0.3ms) ROLLBACK +  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateBitPlayerContentModules (20140305200438) +  (0.2ms) BEGIN +  (6.3ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (0.5ms) COMMIT +Migrating to CreateBitPlayerContentProviders (20140305201300) +  (0.3ms) BEGIN +  (7.5ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (4.0ms)  ALTER TABLE bit_player_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_player_content_module_id) + REFERENCES bit_player_content_modules(id) + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] +  (0.9ms) COMMIT +Migrating to CreateBitPlayerParticipantStatuses (20140305232705) +  (0.5ms) BEGIN +  (4.5ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] +  (0.7ms) COMMIT +Migrating to CreateBitPlayerSlideshows (20140305232706) +  (0.6ms) BEGIN +  (5.8ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (1.1ms) COMMIT +Migrating to CreateBitPlayerSlides (20140305234327) +  (0.9ms) BEGIN +  (7.8ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.8ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.3ms) ALTER TABLE bit_player_slides + ADD CONSTRAINT fk_slides_slideshows + FOREIGN KEY (bit_player_slideshow_id) + REFERENCES bit_player_slideshows(id) + +  (1.7ms)  ALTER TABLE bit_player_slides + ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (0.5ms) COMMIT +Migrating to CreateBitPlayerTools (20140402224913) +  (0.4ms) BEGIN +  (3.9ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.5ms) COMMIT +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.5ms) BEGIN + BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (0.9ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.3ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows + +  (0.7ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.3ms) DROP TABLE "bit_player_slides" +  (1.2ms) DROP TABLE "bit_player_slideshows" + SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.1ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614) +  (0.3ms) BEGIN +  (4.7ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (2.1ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]] +  (1.1ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620222615) +  (1.2ms) BEGIN +  (6.0ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.5ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (3.2ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]] +  (0.7ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620222616) +  (0.6ms) BEGIN +  (4.9ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.6ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (4.3ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]] +  (0.5ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620222617) +  (0.4ms) BEGIN +  (5.6ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]] +  (0.5ms) COMMIT +Migrating to CreateBitCoreSlides (20140620222618) +  (0.5ms) BEGIN +  (6.1ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.2ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.2ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (0.6ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.5ms) BEGIN +  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]] +  (0.4ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140620222620) +  (0.2ms) BEGIN +  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]] +  (0.9ms) COMMIT +Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851) +  (0.4ms) BEGIN + BitPlayer::Tool Load (1.0ms) SELECT "bit_player_tools".* FROM "bit_player_tools" + BitPlayer::ContentModule Load (0.9ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" + BitPlayer::ContentProvider Load (1.4ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" +  (0.5ms) ALTER TABLE bit_player_content_modules + DROP CONSTRAINT IF EXISTS fk_content_modules_tools + +  (1.6ms)  ALTER TABLE bit_player_content_providers + DROP CONSTRAINT IF EXISTS fk_content_providers_modules + +  (2.7ms) DROP TABLE "bit_player_tools" +  (2.3ms) DROP TABLE "bit_player_content_modules" +  (2.4ms) DROP TABLE "bit_player_content_providers" + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]] +  (3.2ms) COMMIT + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) SAVEPOINT active_record_1 -  (0.3ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (0.3ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.3ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (1.1ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 + BitCore::ContentModule Load (2.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1  (0.3ms) ROLLBACK  (0.1ms) BEGIN -  (0.2ms) ROLLBACK -  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (0.3ms) ROLLBACK +  (5.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438)  (0.2ms) BEGIN -  (6.4ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  - SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (6.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300) -  (0.4ms) BEGIN -  (5.6ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (3.5ms)  ALTER TABLE bit_player_content_providers +  (0.3ms) BEGIN +  (5.2ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (3.3ms)  ALTER TABLE bit_player_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_player_content_module_id) REFERENCES bit_player_content_modules(id)  - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705) -  (0.4ms) BEGIN -  (4.6ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] +  (0.5ms) BEGIN +  (4.0ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706) -  (0.3ms) BEGIN -  (3.6ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) - SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] -  (1.0ms) COMMIT +  (0.4ms) BEGIN +  (4.3ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327) -  (0.5ms) BEGIN -  (5.8ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.1ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (2.0ms) ALTER TABLE bit_player_slides +  (0.3ms) BEGIN +  (4.9ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.7ms) ALTER TABLE bit_player_slides ADD CONSTRAINT fk_slides_slideshows FOREIGN KEY (bit_player_slideshow_id) REFERENCES bit_player_slideshows(id) -  (1.7ms)  ALTER TABLE bit_player_slides +  (2.8ms)  ALTER TABLE bit_player_slides ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE  - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.6ms) COMMIT + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (0.9ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) -  (0.4ms) BEGIN -  (4.0ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.3ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.8ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") +  (0.8ms) BEGIN +  (4.5ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.9ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.8ms) COMMIT +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.5ms) BEGIN + BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (1.0ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.4ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows + +  (0.8ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.4ms) DROP TABLE "bit_player_slides" +  (1.5ms) DROP TABLE "bit_player_slideshows" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.1ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614) +  (0.3ms) BEGIN +  (4.3ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.7ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]  (0.6ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) +Migrating to CreateBitCoreContentModules (20140620222615) +  (0.4ms) BEGIN +  (4.6ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (3.3ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (3.0ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]] +  (0.9ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620222616)  (0.5ms) BEGIN -  (0.6ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.4ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.8ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.3ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) +  (7.2ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.7ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.9ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id)  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]] +  (0.8ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620222617) +  (0.7ms) BEGIN +  (4.0ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]  (0.5ms) COMMIT -Migrating to AddConfigFieldsToProviders (20140619200219) +Migrating to CreateBitCoreSlides (20140620222618) +  (0.4ms) BEGIN +  (6.1ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.2ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.4ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (0.6ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.5ms) BEGIN +  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]] +  (0.5ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140620222620)  (0.2ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255) -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255) -  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]] -  (0.4ms) COMMIT - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (1.0ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]] +  (0.9ms) COMMIT +Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851) +  (0.4ms) BEGIN + BitPlayer::Tool Load (1.3ms) SELECT "bit_player_tools".* FROM "bit_player_tools" + BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" + BitPlayer::ContentProvider Load (0.7ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" +  (0.3ms) ALTER TABLE bit_player_content_modules + DROP CONSTRAINT IF EXISTS fk_content_modules_tools + +  (1.1ms)  ALTER TABLE bit_player_content_providers + DROP CONSTRAINT IF EXISTS fk_content_providers_modules + +  (2.2ms) DROP TABLE "bit_player_tools" +  (2.2ms) DROP TABLE "bit_player_content_modules" +  (2.7ms) DROP TABLE "bit_player_content_providers" + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]] +  (3.5ms) COMMIT + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -  (0.5ms) ROLLBACK -  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875918" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (0.7ms) DELETE FROM "bit_player_tools" - Fixture Insert (1.0ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 836111569) - Fixture Delete (0.5ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (1.1ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 21:01:17', '2014-06-19 21:01:17', 437912910, 836111569) - Fixture Insert (0.6ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 21:01:17', '2014-06-19 21:01:17', 511237275, 836111569) - Fixture Delete (0.7ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.2ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 555816777, 437912910) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 46790607, 511237275) -  (0.4ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875918" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.7ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.5ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875918" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (0.4ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (0.5ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 504123193) - Fixture Delete (0.7ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.2ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 538050605, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 958091673, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 236740868, 504123193) -  (0.5ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875918" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.2ms) BEGIN - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.3ms) SAVEPOINT active_record_1 -  (0.3ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (0.6ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.2ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.3ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK -  (0.3ms) BEGIN -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.7ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 -  (0.3ms) ROLLBACK -  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") - ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (4.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438)  (0.3ms) BEGIN -  (6.2ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  - SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] -  (0.6ms) COMMIT +  (6.3ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300)  (0.4ms) BEGIN -  (5.5ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (5.2ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")  (3.1ms)  ALTER TABLE bit_player_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_player_content_module_id) REFERENCES bit_player_content_modules(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705)  (0.5ms) BEGIN -  (3.9ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") +  (4.3ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706) -  (0.5ms) BEGIN -  (5.1ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.4ms) BEGIN +  (4.0ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327)  (0.3ms) BEGIN -  (5.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.1ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (2.0ms) ALTER TABLE bit_player_slides +  (7.7ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (2.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.9ms) ALTER TABLE bit_player_slides ADD CONSTRAINT fk_slides_slideshows FOREIGN KEY (bit_player_slideshow_id) REFERENCES bit_player_slideshows(id) -  (1.7ms)  ALTER TABLE bit_player_slides +  (2.4ms)  ALTER TABLE bit_player_slides ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.5ms) COMMIT + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (1.0ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) -  (0.4ms) BEGIN -  (3.8ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") -  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") +  (0.9ms) BEGIN +  (5.8ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.0ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]  (0.5ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) -  (0.4ms) BEGIN -  (0.6ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.7ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.9ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (1.1ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.6ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.5ms) BEGIN + BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (0.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.2ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows  - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] -  (0.5ms) COMMIT -Migrating to AddConfigFieldsToProviders (20140619200219) -  (0.2ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255) -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255) -  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]] -  (0.4ms) COMMIT - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876008" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER +  (0.7ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.3ms) DROP TABLE "bit_player_slides" +  (1.5ms) DROP TABLE "bit_player_slideshows" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (1.9ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614)  (0.3ms) BEGIN - Fixture Delete (0.7ms) DELETE FROM "bit_player_tools" - Fixture Insert (1.2ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 836111569) - Fixture Delete (0.6ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (1.2ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 21:13:56', '2014-06-19 21:13:56', 437912910, 836111569) - Fixture Insert (0.4ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 21:13:56', '2014-06-19 21:13:56', 511237275, 836111569) - Fixture Delete (0.9ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.1ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 555816777, 437912910) - Fixture Insert (0.4ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 46790607, 511237275) -  (0.5ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876008" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.8ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.5ms) ROLLBACK +  (3.6ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.4ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]] +  (0.5ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620222615) +  (0.7ms) BEGIN +  (6.0ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (3.0ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.5ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]] +  (0.8ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620222616) +  (0.8ms) BEGIN +  (8.4ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.2ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.4ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620222617) +  (0.5ms) BEGIN +  (3.9ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]] +  (0.5ms) COMMIT +Migrating to CreateBitCoreSlides (20140620222618) +  (0.4ms) BEGIN +  (7.9ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.8ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.1ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (0.6ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.4ms) BEGIN +  (0.7ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]] +  (0.6ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140620222620) +  (0.5ms) BEGIN +  (1.0ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (1.2ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]] +  (0.7ms) COMMIT +Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851) +  (0.5ms) BEGIN + BitPlayer::Tool Load (1.7ms) SELECT "bit_player_tools".* FROM "bit_player_tools" + BitPlayer::ContentModule Load (1.0ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" + BitPlayer::ContentProvider Load (1.3ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" +  (0.5ms) ALTER TABLE bit_player_content_modules + DROP CONSTRAINT IF EXISTS fk_content_modules_tools + +  (1.0ms)  ALTER TABLE bit_player_content_providers + DROP CONSTRAINT IF EXISTS fk_content_providers_modules + +  (1.8ms) DROP TABLE "bit_player_tools" +  (1.8ms) DROP TABLE "bit_player_content_modules" +  (2.0ms) DROP TABLE "bit_player_content_providers" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]] +  (2.2ms) COMMIT + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.5ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN - BitPlayer::ContentModule Load (0.8ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 + BitCore::ContentModule Load (2.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1  (0.3ms) ROLLBACK -  (0.1ms) BEGIN -  (0.3ms) ROLLBACK -  (0.1ms) BEGIN -  (0.3ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876008" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER +  (4.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateBitPlayerContentModules (20140305200438)  (0.2ms) BEGIN - Fixture Delete (0.5ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (0.6ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 504123193) - Fixture Delete (1.0ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.7ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 538050605, 504123193) - Fixture Insert (0.5ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 958091673, 504123193) - Fixture Insert (0.4ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 236740868, 504123193) +  (6.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]  (0.5ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876008" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER +Migrating to CreateBitPlayerContentProviders (20140305201300) +  (0.4ms) BEGIN +  (5.1ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (4.0ms)  ALTER TABLE bit_player_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_player_content_module_id) + REFERENCES bit_player_content_modules(id) + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] +  (0.8ms) COMMIT +Migrating to CreateBitPlayerParticipantStatuses (20140305232705) +  (0.5ms) BEGIN +  (5.2ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] +  (0.5ms) COMMIT +Migrating to CreateBitPlayerSlideshows (20140305232706) +  (0.4ms) BEGIN +  (3.9ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.5ms) COMMIT +Migrating to CreateBitPlayerSlides (20140305234327) +  (0.3ms) BEGIN +  (6.3ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.8ms) ALTER TABLE bit_player_slides + ADD CONSTRAINT fk_slides_slideshows + FOREIGN KEY (bit_player_slideshow_id) + REFERENCES bit_player_slideshows(id) + +  (2.7ms)  ALTER TABLE bit_player_slides + ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (0.9ms) COMMIT +Migrating to CreateBitPlayerTools (20140402224913) +  (0.8ms) BEGIN +  (5.9ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.5ms) COMMIT +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.5ms) BEGIN + BitPlayer::Slideshow Load (0.8ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (0.9ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.5ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows + +  (0.7ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.2ms) DROP TABLE "bit_player_slides" +  (1.7ms) DROP TABLE "bit_player_slideshows" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.0ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614) +  (0.3ms) BEGIN +  (3.7ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.5ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620222615) +  (0.3ms) BEGIN +  (5.0ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.1ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.3ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]] +  (0.7ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620222616) +  (0.6ms) BEGIN +  (7.8ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.7ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.9ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]] +  (0.7ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620222617) +  (0.5ms) BEGIN +  (4.2ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]] +  (0.5ms) COMMIT +Migrating to CreateBitCoreSlides (20140620222618) +  (0.5ms) BEGIN +  (6.0ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.8ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.1ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (0.6ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.4ms) BEGIN +  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]] +  (0.4ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140620222620)  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.2ms) ROLLBACK -  (0.1ms) BEGIN - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) SAVEPOINT active_record_1 -  (0.3ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.2ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]] +  (0.4ms) COMMIT +Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851) +  (0.3ms) BEGIN + BitPlayer::Tool Load (1.2ms) SELECT "bit_player_tools".* FROM "bit_player_tools" + BitPlayer::ContentModule Load (0.9ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" + BitPlayer::ContentProvider Load (1.1ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" +  (0.6ms) ALTER TABLE bit_player_content_modules + DROP CONSTRAINT IF EXISTS fk_content_modules_tools + +  (1.2ms)  ALTER TABLE bit_player_content_providers + DROP CONSTRAINT IF EXISTS fk_content_providers_modules + +  (2.3ms) DROP TABLE "bit_player_tools" +  (2.6ms) DROP TABLE "bit_player_content_modules" +  (3.4ms) DROP TABLE "bit_player_content_providers" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]] +  (2.3ms) COMMIT + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN + BitCore::ContentModule Load (1.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +  (0.3ms) ROLLBACK  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  -  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") +  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305200438) -  (0.2ms) BEGIN -  (6.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (0.3ms) BEGIN +  (6.5ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] -  (0.6ms) COMMIT +  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305201300) -  (0.5ms) BEGIN -  (6.0ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.7ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") -  (4.6ms)  ALTER TABLE bit_player_content_providers +  (0.3ms) BEGIN +  (5.5ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (4.3ms)  ALTER TABLE bit_player_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_player_content_module_id) REFERENCES bit_player_content_modules(id)  - SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] -  (1.0ms) COMMIT + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] +  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305232705) -  (0.6ms) BEGIN -  (3.8ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (2.1ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") - SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] -  (0.6ms) COMMIT -Migrating to CreateBitPlayerSlideshows (20140305232706) -  (0.5ms) BEGIN -  (3.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.5ms) BEGIN +  (5.1ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]  (0.5ms) COMMIT +Migrating to CreateBitPlayerSlideshows (20140305232706) +  (0.4ms) BEGIN +  (5.1ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (1.0ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327) -  (0.3ms) BEGIN -  (4.9ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) -  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") -  (2.0ms) ALTER TABLE bit_player_slides +  (0.4ms) BEGIN +  (8.3ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.5ms) ALTER TABLE bit_player_slides ADD CONSTRAINT fk_slides_slideshows FOREIGN KEY (bit_player_slideshow_id) REFERENCES bit_player_slideshows(id) -  (1.7ms)  ALTER TABLE bit_player_slides +  (2.2ms)  ALTER TABLE bit_player_slides ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] -  (0.6ms) COMMIT +  (0.5ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913) -  (0.4ms) BEGIN -  (4.0ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  -  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (0.3ms) BEGIN +  (3.8ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.3ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.6ms) COMMIT +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.5ms) BEGIN + BitPlayer::Slideshow Load (0.7ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (0.9ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.2ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT fk_slides_slideshows + +  (0.7ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.2ms) DROP TABLE "bit_player_slides" +  (1.2ms) DROP TABLE "bit_player_slideshows" + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.6ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614) +  (0.4ms) BEGIN +  (4.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.6ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]] +  (0.9ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620222615) +  (0.6ms) BEGIN +  (4.2ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.4ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (3.1ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]] +  (0.8ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620222616) +  (0.7ms) BEGIN +  (7.3ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.8ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.7ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620222617) +  (0.5ms) BEGIN +  (4.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]  (0.5ms) COMMIT -Migrating to ChangeModuleContextToTool (20140402225703) -  (0.3ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer - BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" -  (0.5ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL -  (0.7ms) ALTER TABLE "bit_player_content_modules" DROP "context" -  (2.2ms)  ALTER TABLE bit_player_content_modules - ADD CONSTRAINT fk_content_modules_tools - FOREIGN KEY (bit_player_tool_id) - REFERENCES bit_player_tools(id) +Migrating to CreateBitCoreSlides (20140620222618) +  (0.4ms) BEGIN +  (6.1ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.7ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.2ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id)  - SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]] + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (0.5ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.4ms) BEGIN +  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]  (0.4ms) COMMIT -Migrating to AddConfigFieldsToProviders (20140619200219) +Migrating to AddConfigFieldsToProviders (20140620222620)  (0.2ms) BEGIN -  (0.5ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255) -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255) -  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text -  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean -  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text - SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]] +  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]  (0.4ms) COMMIT - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851) +  (0.3ms) BEGIN + BitPlayer::Tool Load (1.1ms) SELECT "bit_player_tools".* FROM "bit_player_tools" + BitPlayer::ContentModule Load (0.8ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" + BitPlayer::ContentProvider Load (1.0ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" +  (0.6ms) ALTER TABLE bit_player_content_modules + DROP CONSTRAINT IF EXISTS fk_content_modules_tools + +  (1.6ms)  ALTER TABLE bit_player_content_providers + DROP CONSTRAINT IF EXISTS fk_content_providers_modules + +  (2.3ms) DROP TABLE "bit_player_tools" +  (3.5ms) DROP TABLE "bit_player_content_modules" +  (2.7ms) DROP TABLE "bit_player_content_providers" + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]] +  (2.9ms) COMMIT + ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876098" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (0.6ms) DELETE FROM "bit_player_slideshows" - Fixture Insert (0.9ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 504123193) - Fixture Delete (1.0ms) DELETE FROM "bit_player_slides" - Fixture Insert (1.8ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 538050605, 504123193) - Fixture Insert (0.6ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 958091673, 504123193) - Fixture Insert (0.8ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 236740868, 504123193) -  (0.4ms) COMMIT -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876098" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.3ms) BEGIN - BitPlayer::Slide Load (1.0ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) SAVEPOINT active_record_1 -  (0.3ms) SET CONSTRAINTS bit_player_slide_position DEFERRED - SQL (0.6ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 - SQL (0.5ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 - SQL (0.4ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673 -  (0.1ms) RELEASE SAVEPOINT active_record_1 - BitPlayer::Slide Load (0.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] - BitPlayer::Slide Load (0.5ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] - BitPlayer::Slide Load (0.4ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]] -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.2ms) ROLLBACK -  (0.2ms) BEGIN -  (0.1ms) ROLLBACK -  (0.1ms) BEGIN -  (0.1ms) ROLLBACK -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876098" is a system trigger -: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER -  (0.2ms) BEGIN - Fixture Delete (0.7ms) DELETE FROM "bit_player_tools" - Fixture Insert (0.8ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 836111569) - Fixture Delete (0.4ms) DELETE FROM "bit_player_content_modules" - Fixture Insert (1.0ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 21:14:45', '2014-06-19 21:14:45', 437912910, 836111569) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 21:14:45', '2014-06-19 21:14:45', 511237275, 836111569) - Fixture Delete (0.7ms) DELETE FROM "bit_player_content_providers" - Fixture Insert (1.1ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 555816777, 437912910) - Fixture Insert (0.5ms) INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 46790607, 511237275) -  (0.8ms) COMMIT -  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876098" is a system trigger -: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL -  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (1.0ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]] - BitPlayer::ContentProvider Load (0.7ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]] -  (0.3ms) ROLLBACK -  (0.2ms) BEGIN - BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 + BitCore::ContentModule Load (1.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1 +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN  (0.3ms) ROLLBACK