spec/dummy/log/test.log in bit_player-0.2.0 vs spec/dummy/log/test.log in bit_player-0.2.1
- old
+ new
@@ -1568,5 +1568,271 @@
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.2ms)[0m BEGIN
[1m[36mBitPlayer::ContentModule Load (0.5ms)[0m [1mSELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
[1m[35mBitPlayer::ContentProvider Load (0.9ms)[0m 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]]
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[36m (4.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateBitPlayerContentModules (20140305231316)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (7.1ms)[0m [1mCREATE 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) [0m
+ [1m[35mSQL (1.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerContentProviders (20140305231317)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (5.1ms)[0m [1mCREATE 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) [0m
+ [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.1ms)[0m [1m 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)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerParticipantStatuses (20140305233110)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (3.4ms)[0m [1mCREATE 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) [0m
+ [1m[35m (1.1ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305233110"]]
+ [1m[35m (0.5ms)[0m COMMIT
+Migrating to CreateBitPlayerSlideshows (20140305234757)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (3.3ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305234757"]]
+ [1m[35m (0.5ms)[0m COMMIT
+Migrating to CreateBitPlayerSlides (20140306000537)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (5.0ms)[0m 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)
+ [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.1ms)[0m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT fk_slides_slideshows
+ FOREIGN KEY (bit_player_slideshow_id)
+ REFERENCES bit_player_slideshows(id)
+
+ [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140306000537"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerTools (20140407201524)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (3.3ms)[0m [1mCREATE 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) [0m
+ [1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140407201524"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to ChangeModuleContextToTool (20140407201525)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
+ [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
+ [1m[36m (2.8ms)[0m [1m ALTER TABLE bit_player_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_player_tool_id)
+ REFERENCES bit_player_tools(id)
+[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140407201525"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (2.4ms)[0m [1mALTER 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[0m
+PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_205618" 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
+ [1m[35m (0.9ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_tools"
+ [1m[36mFixture Insert (1.1ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-09 03:22:14', '2014-04-09 03:22:14', 836111569)[0m
+ [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_content_modules"
+ [1m[36mFixture Insert (1.3ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-04-09 03:22:14', '2014-04-09 03:22:14', 437912910, 836111569)[0m
+ [1m[35mFixture Insert (0.5ms)[0m 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-04-09 03:22:14', '2014-04-09 03:22:14', 511237275, 836111569)
+ [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
+ [1m[35mFixture Insert (1.0ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-04-09 03:22:14', '2014-04-09 03:22:14', 555816777, 437912910)
+ [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-04-09 03:22:14', '2014-04-09 03:22:14', 46790607, 511237275)[0m
+ [1m[35m (0.4ms)[0m COMMIT
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_205618" 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
+ [1m[35m (0.4ms)[0m 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
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mBitPlayer::ContentModule Load (1.2ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
+ [1m[36mBitPlayer::ContentProvider Load (1.6ms)[0m [1mSELECT "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[0m [["bit_player_content_module_id", 437912910]]
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
+ [1m[36mBitPlayer::ContentProvider Load (0.7ms)[0m [1mSELECT "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[0m [["bit_player_content_module_id", 437912910]]
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m 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
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.5ms)[0m 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_205618" 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
+ [1m[36m (0.4ms)[0m [1mALTER 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[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "bit_player_slideshows"[0m
+ [1m[35mFixture Insert (0.7ms)[0m INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-09 03:22:14', '2014-04-09 03:22:14', 504123193)
+ [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_player_slides"[0m
+ [1m[35mFixture Insert (1.4ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-09 03:22:14', '2014-04-09 03:22:14', 538050605, 504123193)
+ [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-09 03:22:14', '2014-04-09 03:22:14', 958091673, 504123193)[0m
+ [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-09 03:22:14', '2014-04-09 03:22:14', 236740868, 504123193)
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.6ms)[0m 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_205618" 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
+ [1m[36m (0.6ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mBitPlayer::Slide Load (1.1ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
+ [1m[35mBitPlayer::Slide Load (0.7ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
+ [1m[36mBitPlayer::Slide Load (0.5ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.3ms)[0m [1mSET CONSTRAINTS bit_player_slide_position DEFERRED[0m
+ [1m[35mSQL (0.5ms)[0m UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868
+ [1m[36mSQL (0.4ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605[0m
+ [1m[35mSQL (0.4ms)[0m UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
+ [1m[36mBitPlayer::Slide Load (0.5ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
+ [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.1ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36m (4.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateBitPlayerContentModules (20140305231316)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (6.2ms)[0m [1mCREATE 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) [0m
+ [1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerContentProviders (20140305231317)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (5.1ms)[0m [1mCREATE 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) [0m
+ [1m[35m (1.3ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.0ms)[0m [1m 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)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerParticipantStatuses (20140305233110)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (3.4ms)[0m [1mCREATE 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) [0m
+ [1m[35m (1.2ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305233110"]]
+ [1m[35m (0.5ms)[0m COMMIT
+Migrating to CreateBitPlayerSlideshows (20140305234757)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (3.3ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305234757"]]
+ [1m[35m (0.6ms)[0m COMMIT
+Migrating to CreateBitPlayerSlides (20140306000537)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (5.0ms)[0m 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)
+ [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (1.9ms)[0m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT fk_slides_slideshows
+ FOREIGN KEY (bit_player_slideshow_id)
+ REFERENCES bit_player_slideshows(id)
+
+ [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140306000537"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerTools (20140407201524)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (3.7ms)[0m [1mCREATE 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) [0m
+ [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140407201524"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to ChangeModuleContextToTool (20140407201525)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
+ [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
+ [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_player_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_player_tool_id)
+ REFERENCES bit_player_tools(id)
+[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140407201525"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mBitPlayer::ContentModule Load (1.3ms)[0m 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
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (2.0ms)[0m 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_237382" 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
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "bit_player_slideshows"[0m
+ [1m[35mFixture Insert (1.0ms)[0m INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-10 17:49:34', '2014-04-10 17:49:34', 504123193)
+ [1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM "bit_player_slides"[0m
+ [1m[35mFixture Insert (1.8ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-10 17:49:34', '2014-04-10 17:49:34', 538050605, 504123193)
+ [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-10 17:49:34', '2014-04-10 17:49:34', 958091673, 504123193)[0m
+ [1m[35mFixture Insert (0.7ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-10 17:49:34', '2014-04-10 17:49:34', 236740868, 504123193)
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.6ms)[0m 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_237382" 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
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mBitPlayer::Slide Load (2.2ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
+ [1m[35mBitPlayer::Slide Load (0.8ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
+ [1m[36mBitPlayer::Slide Load (0.6ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
+ [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
+ [1m[36m (0.5ms)[0m [1mSET CONSTRAINTS bit_player_slide_position DEFERRED[0m
+ [1m[35mSQL (0.5ms)[0m UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868
+ [1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605[0m
+ [1m[35mSQL (0.4ms)[0m UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673
+ [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35mBitPlayer::Slide Load (0.4ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
+ [1m[36mBitPlayer::Slide Load (0.6ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
+ [1m[35mBitPlayer::Slide Load (0.7ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.5ms)[0m 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_237382" 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
+ [1m[36m (0.7ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "bit_player_tools"[0m
+ [1m[35mFixture Insert (0.9ms)[0m INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-10 17:49:34', '2014-04-10 17:49:34', 836111569)
+ [1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "bit_player_content_modules"[0m
+ [1m[35mFixture Insert (1.1ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-04-10 17:49:34', '2014-04-10 17:49:34', 437912910, 836111569)
+ [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-04-10 17:49:34', '2014-04-10 17:49:34', 511237275, 836111569)[0m
+ [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_player_content_providers"
+ [1m[36mFixture Insert (1.4ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-04-10 17:49:34', '2014-04-10 17:49:34', 555816777, 437912910)[0m
+ [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-04-10 17:49:34', '2014-04-10 17:49:34', 46790607, 511237275)
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.4ms)[0m 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_237382" 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
+ [1m[36m (0.5ms)[0m [1mALTER 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[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mBitPlayer::ContentModule Load (0.9ms)[0m [1mSELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
+ [1m[35mBitPlayer::ContentProvider Load (1.0ms)[0m 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]]
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mBitPlayer::ContentModule Load (0.6ms)[0m [1mSELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
+ [1m[35mBitPlayer::ContentProvider Load (0.8ms)[0m 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]]
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m