(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.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305231316)  (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 (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (0.4ms) BEGIN  (5.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.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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]]  (1.0ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (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.2ms) 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", "20140305233110"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (0.3ms) BEGIN  (3.2ms) 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", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (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)  (1.6ms)  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", "20140306000537"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140402225224)  (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.3ms) 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", "20140402225224"]]  (0.6ms) COMMIT Migrating to ChangeModuleContextToTool (20140403181300)  (0.4ms) BEGIN  (0.6ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer NOT NULL BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"  (0.9ms) 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", "20140403181300"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN BitPlayer::Tool Load (1.6ms) SELECT "bit_player_tools".* FROM "bit_player_tools" WHERE "bit_player_tools"."title" = 'a' LIMIT 1 BitPlayer::ContentModule Load (1.1ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" IS NULL AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1  (0.2ms) ROLLBACK  (0.6ms) 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_179718" 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.7ms) 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.3ms) DELETE FROM "bit_player_tools" Fixture Insert (1.8ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-07 16:48:55', '2014-04-07 16:48:55', 836111569) Fixture Delete (0.4ms) DELETE FROM "bit_player_content_modules" Fixture Insert (2.0ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-04-07 16:48:55', '2014-04-07 16:48:55', 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-04-07 16:48:55', '2014-04-07 16:48:55', 511237275, 836111569) Fixture Delete (0.6ms) 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-04-07 16:48:55', '2014-04-07 16:48:55', 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-04-07 16:48:55', '2014-04-07 16:48:55', 46790607, 511237275)  (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_179718" 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 (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.1ms) 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.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.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.6ms) 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_179718" 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.8ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-07 16:48:55', '2014-04-07 16:48:55', 504123193) Fixture Delete (0.8ms) 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-04-07 16:48:55', '2014-04-07 16:48:55', 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-04-07 16:48:55', '2014-04-07 16:48:55', 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-04-07 16:48:55', '2014-04-07 16:48:55', 236740868, 504123193)  (1.9ms) 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_179718" 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.7ms) 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::Slide Load (1.2ms) 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.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.4ms) SET CONSTRAINTS bit_player_slide_position DEFERRED SQL (1.0ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 SQL (0.6ms) 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.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) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (3.6ms) 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 (20140305231316)  (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", "20140305231316"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (0.4ms) BEGIN  (4.9ms) 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)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]]  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (0.4ms) BEGIN  (3.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.1ms) 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", "20140305233110"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (0.3ms) BEGIN  (5.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")  (1.9ms) 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  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140306000537"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140402225224)  (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.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", "20140402225224"]]  (0.5ms) COMMIT Migrating to ChangeModuleContextToTool (20140407165808)  (0.4ms) BEGIN  (0.5ms) 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.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)  SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140407165808"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN BitPlayer::Tool Load (1.9ms) SELECT "bit_player_tools".* FROM "bit_player_tools" WHERE "bit_player_tools"."title" = 'a' LIMIT 1 BitPlayer::ContentModule Load (1.2ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" IS NULL AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1  (0.3ms) ROLLBACK  (0.8ms) 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_180667" 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.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_player_slideshows" Fixture Insert (1.0ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-07 16:58:20', '2014-04-07 16:58:20', 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-04-07 16:58:20', '2014-04-07 16:58:20', 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-04-07 16:58:20', '2014-04-07 16:58:20', 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-04-07 16:58:20', '2014-04-07 16:58:20', 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_180667" 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.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) 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.7ms) 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.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.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) 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_180667" 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.3ms) DELETE FROM "bit_player_tools" Fixture Insert (0.9ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-07 16:58:20', '2014-04-07 16:58:20', 836111569) Fixture Delete (0.2ms) 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-04-07 16:58:20', '2014-04-07 16:58:20', 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-04-07 16:58:20', '2014-04-07 16:58:20', 511237275, 836111569) Fixture Delete (0.6ms) 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-04-07 16:58:20', '2014-04-07 16:58:20', 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-04-07 16:58:20', '2014-04-07 16:58:20', 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_180667" 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.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 (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" = 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.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  (3.7ms) 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 (20140305231316)  (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", "20140305231316"]]  (0.7ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (0.4ms) BEGIN  (5.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.3ms) 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)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (0.4ms) BEGIN  (3.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.2ms) 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", "20140305233110"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (0.4ms) 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", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (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")  (1.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 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", "20140306000537"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140402225224)  (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.3ms) 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", "20140402225224"]]  (0.5ms) COMMIT Migrating to ChangeModuleContextToTool (20140407165808)  (0.4ms) BEGIN  (0.5ms) 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.4ms) 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.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.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140407165808"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitPlayer::Tool Load (1.6ms) SELECT "bit_player_tools".* FROM "bit_player_tools" WHERE "bit_player_tools"."title" = 'a' LIMIT 1 BitPlayer::ContentModule Load (1.2ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" IS NULL AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1  (0.3ms) ROLLBACK  (0.7ms) 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_181641" 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  (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-04-07 17:13:57', '2014-04-07 17:13:57', 504123193) Fixture Delete (0.8ms) 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-04-07 17:13:57', '2014-04-07 17:13:57', 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-04-07 17:13:57', '2014-04-07 17:13:57', 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-04-07 17:13:57', '2014-04-07 17:13:57', 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_181641" 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.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitPlayer::Slide Load (1.2ms) 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.2ms) 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.6ms) 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.8ms) 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.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (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_181641" 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.3ms) DELETE FROM "bit_player_tools" Fixture Insert (0.9ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-07 17:13:57', '2014-04-07 17:13:57', 836111569) Fixture Delete (0.3ms) DELETE FROM "bit_player_content_modules" Fixture Insert (1.4ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-04-07 17:13:57', '2014-04-07 17:13:57', 437912910, 836111569) Fixture Insert (0.8ms) 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-07 17:13:57', '2014-04-07 17:13:57', 511237275, 836111569) Fixture Delete (1.0ms) 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-04-07 17:13:57', '2014-04-07 17:13:57', 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-04-07 17:13:57', '2014-04-07 17:13:57', 46790607, 511237275)  (0.4ms) 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_181641" 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.7ms) 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.0ms) 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.2ms) 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.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  (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" Migrating to CreateBitPlayerContentModules (20140305231316)  (0.3ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (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.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", "20140305231317"]]  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (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") SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305233110"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (0.3ms) 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", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (0.4ms) 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.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)  (1.6ms)  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", "20140306000537"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140402225224)  (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.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", "20140402225224"]]  (0.5ms) COMMIT Migrating to ChangeModuleContextToTool (20140407165808)  (0.3ms) BEGIN  (0.5ms) 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.9ms) 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)  SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140407165808"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) 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_188602" 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  (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-04-07 19:16:39', '2014-04-07 19:16:39', 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-04-07 19:16:39', '2014-04-07 19:16:39', 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-04-07 19:16:39', '2014-04-07 19:16:39', 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-04-07 19:16:39', '2014-04-07 19:16:39', 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-04-07 19:16:39', '2014-04-07 19:16:39', 46790607, 511237275)  (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_188602" 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 (1.2ms) 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.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.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" = 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_188602" 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.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-04-07 19:16:39', '2014-04-07 19:16:39', 504123193) Fixture Delete (0.8ms) 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-04-07 19:16:39', '2014-04-07 19:16:39', 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-04-07 19:16:39', '2014-04-07 19:16:39', 958091673, 504123193) Fixture Insert (0.7ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-07 19:16:39', '2014-04-07 19:16:39', 236740868, 504123193)  (0.5ms) 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_188602" 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.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) 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.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.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.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.2ms) ROLLBACK  (0.1ms) BEGIN BitPlayer::Tool Load (1.3ms) SELECT "bit_player_tools".* FROM "bit_player_tools" WHERE "bit_player_tools"."title" = 'a' LIMIT 1 BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" IS NULL 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") ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305231316)  (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.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (0.3ms) 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.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")  (3.2ms)  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", "20140305231317"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (0.4ms) BEGIN  (3.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.2ms) 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", "20140305233110"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (0.3ms) BEGIN  (3.2ms) 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", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (0.3ms) BEGIN  (5.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.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 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", "20140306000537"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140402225224)  (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.3ms) 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", "20140402225224"]]  (0.5ms) COMMIT Migrating to ChangeModuleContextToTool (20140407165808)  (0.3ms) 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.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.3ms)  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", "20140407165808"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) 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_188692" 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.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_player_slideshows" Fixture Insert (1.1ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-07 19:17:11', '2014-04-07 19:17:11', 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-04-07 19:17:11', '2014-04-07 19:17:11', 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-04-07 19:17:11', '2014-04-07 19:17:11', 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-04-07 19:17:11', '2014-04-07 19:17:11', 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_188692" 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.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitPlayer::Slide Load (1.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.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.7ms) 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.6ms) 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.7ms) 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.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_188692" 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_tools" Fixture Insert (0.7ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-07 19:17:11', '2014-04-07 19:17:11', 836111569) Fixture Delete (0.5ms) 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-04-07 19:17:11', '2014-04-07 19:17:11', 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-04-07 19:17:11', '2014-04-07 19:17:11', 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-04-07 19:17:11', '2014-04-07 19:17:11', 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-04-07 19:17:11', '2014-04-07 19:17:11', 46790607, 511237275)  (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_188692" 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.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 (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" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]  (0.3ms) ROLLBACK  (0.3ms) 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.2ms) BEGIN BitPlayer::Tool Load (1.3ms) SELECT "bit_player_tools".* FROM "bit_player_tools" WHERE "bit_player_tools"."title" = 'a' LIMIT 1 BitPlayer::ContentModule Load (0.7ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" IS NULL AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1  (0.4ms) ROLLBACK  (0.2ms) BEGIN BitPlayer::Tool Load (0.5ms) SELECT "bit_player_tools".* FROM "bit_player_tools" WHERE "bit_player_tools"."title" = 'a' LIMIT 1 BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" IS NULL AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1  (0.2ms) ROLLBACK  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305231316)  (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", "20140305231316"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (0.4ms) BEGIN  (5.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.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)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (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") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305233110"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (0.3ms) BEGIN  (3.2ms) 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", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (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)  (1.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", "20140306000537"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140402225224)  (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.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", "20140402225224"]]  (0.5ms) COMMIT Migrating to ChangeModuleContextToTool (20140407165808)  (0.4ms) BEGIN  (0.6ms) 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"  (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.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", "20140407165808"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN BitPlayer::Tool Load (1.5ms) SELECT "bit_player_tools".* FROM "bit_player_tools" WHERE "bit_player_tools"."title" = 'a' LIMIT 1 BitPlayer::ContentModule Load (1.2ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" IS NULL AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1  (0.4ms) ROLLBACK  (0.2ms) BEGIN BitPlayer::Tool Load (0.6ms) SELECT "bit_player_tools".* FROM "bit_player_tools" WHERE "bit_player_tools"."title" = 'a' LIMIT 1 BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" IS NULL AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1  (0.2ms) ROLLBACK  (0.7ms) 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_188782" 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.7ms) 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_tools" Fixture Insert (1.2ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-07 19:17:48', '2014-04-07 19:17:48', 836111569) Fixture Delete (0.2ms) 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-04-07 19:17:48', '2014-04-07 19:17:48', 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-04-07 19:17:48', '2014-04-07 19:17:48', 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-04-07 19:17:48', '2014-04-07 19:17:48', 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-04-07 19:17:48', '2014-04-07 19:17:48', 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_188782" 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.1ms) 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.2ms) 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.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.4ms) 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_188782" 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.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "bit_player_slideshows" Fixture Insert (0.6ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-07 19:17:48', '2014-04-07 19:17:48', 504123193) Fixture Delete (0.6ms) 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-04-07 19:17:48', '2014-04-07 19:17:48', 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-04-07 19:17:48', '2014-04-07 19:17:48', 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-04-07 19:17:48', '2014-04-07 19:17:48', 236740868, 504123193)  (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_188782" 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::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.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.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.4ms) 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) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (3.9ms) 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.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305231316)  (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.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (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.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", "20140305231317"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (0.4ms) BEGIN  (3.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.2ms) 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", "20140305233110"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (0.3ms) BEGIN  (5.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 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  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140306000537"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerTools (20140402225224)  (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", "20140402225224"]]  (0.6ms) COMMIT Migrating to ChangeModuleContextToTool (20140407165808)  (0.3ms) BEGIN  (0.5ms) 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  (1.0ms) 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.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140407165808"]]  (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_188872" 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.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_player_slideshows" Fixture Insert (0.9ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-07 19:18:12', '2014-04-07 19:18:12', 504123193) Fixture Delete (0.7ms) 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-04-07 19:18:12', '2014-04-07 19:18:12', 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-04-07 19:18:12', '2014-04-07 19:18:12', 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-04-07 19:18:12', '2014-04-07 19:18:12', 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_188872" 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.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) 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.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.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.4ms) 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.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitPlayer::Tool Load (1.4ms) SELECT "bit_player_tools".* FROM "bit_player_tools" WHERE "bit_player_tools"."title" = 'a' LIMIT 1 BitPlayer::ContentModule Load (1.0ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" IS NULL AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitPlayer::Tool Load (0.5ms) SELECT "bit_player_tools".* FROM "bit_player_tools" WHERE "bit_player_tools"."title" = 'a' LIMIT 1 BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" IS NULL AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1  (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_188872" 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.3ms) DELETE FROM "bit_player_tools" Fixture Insert (10.5ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-07 19:18:13', '2014-04-07 19:18:13', 836111569) Fixture Delete (0.4ms) DELETE FROM "bit_player_content_modules" Fixture Insert (1.4ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-04-07 19:18:13', '2014-04-07 19:18: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-04-07 19:18:13', '2014-04-07 19:18:13', 511237275, 836111569) Fixture Delete (0.8ms) DELETE FROM "bit_player_content_providers" Fixture Insert (9.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-04-07 19:18:13', '2014-04-07 19:18:13', 555816777, 437912910) 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-04-07 19:18:13', '2014-04-07 19:18:13', 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_188872" 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.8ms) 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" = 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.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" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]  (0.2ms) ROLLBACK  (3.7ms) 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 (20140305231316)  (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 (1.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (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)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (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") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305233110"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (0.4ms) 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", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (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.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)  (1.5ms)  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", "20140306000537"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140402225224)  (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.3ms) 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", "20140402225224"]]  (0.6ms) COMMIT Migrating to ChangeModuleContextToTool (20140407165808)  (0.4ms) BEGIN  (0.5ms) 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.4ms) 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.1ms)  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.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140407165808"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) 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_188962" 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.9ms) DELETE FROM "bit_player_tools" Fixture Insert (1.0ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-07 19:20:53', '2014-04-07 19:20:53', 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-04-07 19:20:53', '2014-04-07 19:20:53', 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-04-07 19:20:53', '2014-04-07 19:20:53', 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-04-07 19:20:53', '2014-04-07 19:20:53', 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-04-07 19:20:53', '2014-04-07 19:20:53', 46790607, 511237275)  (0.6ms) 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_188962" 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.2ms) 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.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.4ms) 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.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  (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_188962" 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.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-04-07 19:20:53', '2014-04-07 19:20:53', 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-04-07 19:20:53', '2014-04-07 19:20:53', 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-04-07 19:20:53', '2014-04-07 19:20:53', 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-04-07 19:20:53', '2014-04-07 19:20:53', 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_188962" 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  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) 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.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.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.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.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.3ms) ROLLBACK  (0.1ms) BEGIN BitPlayer::Tool Load (1.2ms) SELECT "bit_player_tools".* FROM "bit_player_tools" WHERE "bit_player_tools"."title" = 'a' LIMIT 1  (0.2ms) 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 (20140305231316)  (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.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (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)   (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)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305233110"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (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", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (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.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)  (1.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", "20140306000537"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerTools (20140402225224)  (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", "20140402225224"]]  (0.5ms) COMMIT Migrating to ChangeModuleContextToTool (20140407165808)  (0.3ms) BEGIN  (0.5ms) 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"  (0.5ms) ALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL  (0.9ms) 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", "20140407165808"]]  (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_189052" 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  (0.3ms) 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-04-07 19:23:36', '2014-04-07 19:23:36', 836111569) Fixture Delete (0.4ms) 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-04-07 19:23:36', '2014-04-07 19:23: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-04-07 19:23:36', '2014-04-07 19:23:36', 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-04-07 19:23:36', '2014-04-07 19:23:36', 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-04-07 19:23:36', '2014-04-07 19:23:36', 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_189052" 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 (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.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" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]  (0.3ms) ROLLBACK  (0.3ms) 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" = 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.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.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_189052" 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.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-04-07 19:23:37', '2014-04-07 19:23:37', 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-04-07 19:23:37', '2014-04-07 19:23:37', 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-04-07 19:23:37', '2014-04-07 19:23:37', 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-04-07 19:23:37', '2014-04-07 19:23:37', 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_189052" 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.7ms) 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 BitPlayer::Slide Load (1.2ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitPlayer::Slide Load (0.9ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitPlayer::Slide Load (1.3ms) 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.7ms) UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868 SQL (0.6ms) UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605 SQL (0.7ms) UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673  (0.3ms) 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.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitPlayer::Slide Load (0.7ms) 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.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) 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_189052" 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 (2.3ms) DELETE FROM "bit_player_tools" PG::ForeignKeyViolation: ERROR: update or delete on table "bit_player_tools" violates foreign key constraint "fk_content_modules_tools" on table "bit_player_content_modules" DETAIL: Key (id)=(836111569) is still referenced from table "bit_player_content_modules". : DELETE FROM "bit_player_tools"  (0.2ms) ROLLBACK  (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_189052" 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.6ms) 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_189052" 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.7ms) 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.9ms) DELETE FROM "bit_player_tools" PG::ForeignKeyViolation: ERROR: update or delete on table "bit_player_tools" violates foreign key constraint "fk_content_modules_tools" on table "bit_player_content_modules" DETAIL: Key (id)=(836111569) is still referenced from table "bit_player_content_modules". : DELETE FROM "bit_player_tools"  (0.2ms) ROLLBACK  (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_189052" 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.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_189052" 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 (1.5ms) DELETE FROM "bit_player_slideshows" PG::ForeignKeyViolation: ERROR: update or delete on table "bit_player_slideshows" violates foreign key constraint "fk_slides_slideshows" on table "bit_player_slides" DETAIL: Key (id)=(504123193) is still referenced from table "bit_player_slides". : DELETE FROM "bit_player_slideshows"  (0.2ms) ROLLBACK  (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_189052" 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.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_189052" 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.4ms) BEGIN Fixture Delete (1.3ms) DELETE FROM "bit_player_slideshows" PG::ForeignKeyViolation: ERROR: update or delete on table "bit_player_slideshows" violates foreign key constraint "fk_slides_slideshows" on table "bit_player_slides" DETAIL: Key (id)=(504123193) is still referenced from table "bit_player_slides". : DELETE FROM "bit_player_slideshows"  (0.2ms) ROLLBACK  (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_189052" 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.7ms) 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.6ms) 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_189052" 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 (1.0ms) DELETE FROM "bit_player_slideshows" PG::ForeignKeyViolation: ERROR: update or delete on table "bit_player_slideshows" violates foreign key constraint "fk_slides_slideshows" on table "bit_player_slides" DETAIL: Key (id)=(504123193) is still referenced from table "bit_player_slides". : DELETE FROM "bit_player_slideshows"  (0.2ms) ROLLBACK  (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_189052" 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.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_189052" 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.7ms) DELETE FROM "bit_player_slideshows" PG::ForeignKeyViolation: ERROR: update or delete on table "bit_player_slideshows" violates foreign key constraint "fk_slides_slideshows" on table "bit_player_slides" DETAIL: Key (id)=(504123193) is still referenced from table "bit_player_slides". : DELETE FROM "bit_player_slideshows"  (0.2ms) ROLLBACK  (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_189052" 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.3ms) BEGIN BitPlayer::ContentModule Load (1.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.3ms) 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.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305231316)  (0.2ms) BEGIN  (7.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 (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (0.4ms) BEGIN  (5.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.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)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (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") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305233110"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (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", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (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.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)  (1.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", "20140306000537"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140402225224)  (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.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", "20140402225224"]]  (0.5ms) COMMIT Migrating to ChangeModuleContextToTool (20140407165808)  (0.4ms) BEGIN  (0.5ms) 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.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)  SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140407165808"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) 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_195803" 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  (0.3ms) 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-04-07 20:10:36', '2014-04-07 20:10:36', 836111569) Fixture Delete (0.7ms) DELETE FROM "bit_player_content_modules" Fixture Insert (1.6ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-04-07 20:10:36', '2014-04-07 20:10:36', 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-04-07 20:10:36', '2014-04-07 20:10:36', 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-04-07 20:10:36', '2014-04-07 20:10:36', 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-04-07 20:10:36', '2014-04-07 20:10:36', 46790607, 511237275)  (0.5ms) 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_195803" 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 BitPlayer::ContentModule Load (1.2ms) 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" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]  (0.3ms) ROLLBACK  (0.3ms) 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.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.2ms) ROLLBACK  (0.6ms) 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_195803" 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.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_player_slideshows" Fixture Insert (0.5ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-07 20:10:36', '2014-04-07 20:10:36', 504123193) Fixture Delete (0.8ms) 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-04-07 20:10:36', '2014-04-07 20:10:36', 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-04-07 20:10:36', '2014-04-07 20:10: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-04-07 20:10:36', '2014-04-07 20:10:36', 236740868, 504123193)  (0.4ms) 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_195803" 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::Slide Load (1.2ms) 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.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.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (3.6ms) 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.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305231316)  (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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (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.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", "20140305231317"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (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.2ms) 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", "20140305233110"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (0.3ms) BEGIN  (3.2ms) 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", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (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.1ms) 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)  (1.6ms)  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", "20140306000537"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140407201524)  (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.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", "20140407201524"]]  (0.5ms) COMMIT Migrating to ChangeModuleContextToTool (20140407201525)  (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.5ms)  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", "20140407201525"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) 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_196877" 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.4ms) DELETE FROM "bit_player_slideshows" Fixture Insert (0.8ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-07 20:15:33', '2014-04-07 20:15:33', 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-04-07 20:15:33', '2014-04-07 20:15:33', 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-04-07 20:15:33', '2014-04-07 20:15:33', 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-04-07 20:15:33', '2014-04-07 20:15:33', 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_196877" 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  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitPlayer::Slide Load (1.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.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.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.4ms) 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) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitPlayer::ContentModule Load (1.0ms) 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_196877" 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.8ms) DELETE FROM "bit_player_tools" Fixture Insert (0.8ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-07 20:15:34', '2014-04-07 20:15:34', 836111569) Fixture Delete (0.4ms) DELETE FROM "bit_player_content_modules" Fixture Insert (1.4ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-04-07 20:15:34', '2014-04-07 20:15:34', 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-04-07 20:15:34', '2014-04-07 20:15:34', 511237275, 836111569) Fixture Delete (0.7ms) 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-04-07 20:15:34', '2014-04-07 20:15:34', 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-04-07 20:15:34', '2014-04-07 20:15:34', 46790607, 511237275)  (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_196877" 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.9ms) 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.2ms) 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.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  (4.0ms) 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.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305231316)  (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)  SQL (1.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (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.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", "20140305231317"]]  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (0.4ms) BEGIN  (3.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.1ms) 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", "20140305233110"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (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", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (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.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")  (2.1ms) 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  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140306000537"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140407201524)  (0.4ms) BEGIN  (3.3ms) 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", "20140407201524"]]  (0.5ms) COMMIT Migrating to ChangeModuleContextToTool (20140407201525)  (0.3ms) BEGIN  (0.5ms) 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.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.8ms)  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", "20140407201525"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (2.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_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  (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.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_player_tools" Fixture Insert (1.1ms) INSERT 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) 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-04-09 03:22:14', '2014-04-09 03:22:14', 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-04-09 03:22:14', '2014-04-09 03:22:14', 511237275, 836111569) Fixture Delete (0.7ms) 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-04-09 03:22:14', '2014-04-09 03:22:14', 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-04-09 03:22:14', '2014-04-09 03:22:14', 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_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  (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 (1.2ms) 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" = 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.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.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.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_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  (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.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-04-09 03:22:14', '2014-04-09 03:22:14', 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-04-09 03:22:14', '2014-04-09 03:22:14', 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-04-09 03:22:14', '2014-04-09 03:22:14', 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-04-09 03:22:14', '2014-04-09 03:22:14', 236740868, 504123193)  (0.5ms) 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_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  (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::Slide Load (1.1ms) 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.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.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.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) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) 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.8ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305231316)  (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 (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (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.3ms) 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)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]]  (0.9ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (0.4ms) BEGIN  (3.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.2ms) 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", "20140305233110"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (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", "20140305234757"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (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.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)  (1.5ms)  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", "20140306000537"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140407201524)  (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.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", "20140407201524"]]  (0.6ms) COMMIT Migrating to ChangeModuleContextToTool (20140407201525)  (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.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)  SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140407201525"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitPlayer::ContentModule Load (1.3ms) 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  (2.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_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  (0.7ms) 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 (1.0ms) 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) 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-04-10 17:49:34', '2014-04-10 17:49:34', 538050605, 504123193) Fixture Insert (0.7ms) INSERT 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) Fixture Insert (0.7ms) 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)  (0.6ms) 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_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  (0.7ms) 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.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN BitPlayer::Slide Load (2.2ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitPlayer::Slide Load (0.8ms) 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.2ms) SAVEPOINT active_record_1  (0.5ms) 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.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.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (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_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  (0.7ms) 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.9ms) DELETE FROM "bit_player_tools" Fixture Insert (0.9ms) 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) Fixture Delete (0.3ms) 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-04-10 17:49:34', '2014-04-10 17:49:34', 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-04-10 17:49:34', '2014-04-10 17:49:34', 511237275, 836111569) Fixture Delete (0.6ms) DELETE FROM "bit_player_content_providers" Fixture Insert (1.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-04-10 17:49:34', '2014-04-10 17:49:34', 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-04-10 17:49:34', '2014-04-10 17:49:34', 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_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  (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.9ms) 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" = 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"."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" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations" PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations : SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_player_tools" does not exist LINE 5: WHERE a.attrelid = '"bit_player_tools"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"bit_player_tools"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (9.4ms) 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 (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerContentModules (20140305231316)  (0.3ms) BEGIN  (10.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 (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerContentProviders (20140305231317)  (0.3ms) BEGIN  (4.9ms) 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")  (6.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", "20140305231317"]]  (0.8ms) COMMIT Migrating to CreateBitPlayerParticipantStatuses (20140305233110)  (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") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305233110"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305234757)  (0.3ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234757"]]  (0.5ms) COMMIT Migrating to CreateBitPlayerSlides (20140306000537)  (0.3ms) 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.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)  (1.7ms)  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", "20140306000537"]]  (0.6ms) COMMIT Migrating to CreateBitPlayerTools (20140407201524)  (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.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", "20140407201524"]]  (0.5ms) COMMIT Migrating to ChangeModuleContextToTool (20140407201525)  (0.3ms) 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.9ms) 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)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140407201525"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.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  (0.3ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "bit_player_slideshows" Fixture Insert (0.8ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-24 16:47:07', '2014-04-24 16:47:07', 504123193) Fixture Delete (2.6ms) DELETE FROM "bit_player_slides" Fixture Insert (0.9ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-24 16:47:07', '2014-04-24 16:47:07', 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-04-24 16:47:07', '2014-04-24 16:47:07', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-24 16:47:07', '2014-04-24 16:47:07', 236740868, 504123193)  (0.5ms) COMMIT  (1.3ms) 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.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN BitPlayer::Slide Load (1.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.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (1.0ms) 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.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.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) ROLLBACK  (1.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  (0.3ms) 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-04-24 16:47:07', '2014-04-24 16:47:07', 836111569) Fixture Delete (0.4ms) DELETE FROM "bit_player_content_modules" Fixture Insert (2.4ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-04-24 16:47:07', '2014-04-24 16:47:07', 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-04-24 16:47:07', '2014-04-24 16:47:07', 511237275, 836111569) Fixture Delete (0.6ms) DELETE FROM "bit_player_content_providers" Fixture Insert (2.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-04-24 16:47:07', '2014-04-24 16:47:07', 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-04-24 16:47:07', '2014-04-24 16:47:07', 46790607, 511237275)  (0.5ms) COMMIT  (1.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  (0.3ms) 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.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.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" = 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.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 ActiveRecord::SchemaMigration Load (3.3ms) SELECT "schema_migrations".* FROM "schema_migrations" PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations : SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_player_tools" does not exist LINE 5: WHERE a.attrelid = '"bit_player_tools"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"bit_player_tools"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations : SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER PG::InsufficientPrivilege: ERROR: must be owner of relation schema_migrations : ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_player_tools" does not exist LINE 5: WHERE a.attrelid = '"bit_player_tools"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"bit_player_tools"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (14.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 (1.6ms) DELETE FROM "bit_player_slideshows" Fixture Insert (2.6ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-25 20:17:34', '2014-04-25 20:17:34', 504123193) Fixture Delete (0.9ms) DELETE FROM "bit_player_slides" Fixture Insert (1.0ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-25 20:17:34', '2014-04-25 20:17:34', 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-04-25 20:17:34', '2014-04-25 20:17:34', 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-04-25 20:17:34', '2014-04-25 20:17:34', 236740868, 504123193)  (0.5ms) COMMIT  (0.4ms) 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 (2.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]]  (1.0ms) SAVEPOINT active_record_1  (0.5ms) 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.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN BitPlayer::ContentModule Load (1.0ms) 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.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_player_tools" Fixture Insert (0.7ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-25 20:17:34', '2014-04-25 20:17:34', 836111569) Fixture Delete (0.3ms) DELETE FROM "bit_player_content_modules" Fixture Insert (0.5ms) INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-04-25 20:17:34', '2014-04-25 20:17:34', 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-04-25 20:17:34', '2014-04-25 20:17:34', 511237275, 836111569) Fixture Delete (3.0ms) DELETE FROM "bit_player_content_providers" Fixture Insert (1.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-04-25 20:17:34', '2014-04-25 20:17:34', 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-04-25 20:17:34', '2014-04-25 20:17:34', 46790607, 511237275)  (0.7ms) COMMIT  (0.6ms) 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 (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.1ms) 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.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.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) 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.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 (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]  (0.4ms) 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.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.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.5ms) COMMIT Migrating to CreateBitPlayerSlideshows (20140305232706)  (0.3ms) BEGIN  (4.9ms) 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.7ms) COMMIT Migrating to CreateBitPlayerSlides (20140305234327)  (0.5ms) 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)  (1.7ms) 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.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 Migrating to CreateBitPlayerTools (20140402224913)  (0.4ms) BEGIN  (4.3ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]  (0.6ms) 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.8ms) 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.6ms) ALTER TABLE "bit_player_content_modules" DROP "context"  (3.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 ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitPlayer::ContentModule Load (1.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  (0.7ms) 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_345597" 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.7ms) 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.8ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-25 20:18:12', '2014-04-25 20:18:12', 504123193) Fixture Delete (0.6ms) 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-04-25 20:18:12', '2014-04-25 20:18:12', 538050605, 504123193) Fixture Insert (0.7ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-25 20:18:12', '2014-04-25 20:18:12', 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-04-25 20:18:12', '2014-04-25 20:18:12', 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_345597" 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.3ms) ROLLBACK  (0.2ms) BEGIN BitPlayer::Slide Load (1.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.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.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.4ms) 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.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_345597" 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  (0.6ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "bit_player_tools" Fixture Insert (0.8ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-25 20:18:12', '2014-04-25 20:18:12', 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-04-25 20:18:12', '2014-04-25 20:18:12', 437912910, 836111569) Fixture Insert (0.9ms) 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-25 20:18:12', '2014-04-25 20:18:12', 511237275, 836111569) Fixture Delete (1.3ms) DELETE FROM "bit_player_content_providers" Fixture Insert (2.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-04-25 20:18:12', '2014-04-25 20:18:12', 555816777, 437912910) 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-04-25 20:18:12', '2014-04-25 20:18:12', 46790607, 511237275)  (0.6ms) 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_345597" 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.8ms) 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" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]  (0.4ms) ROLLBACK  (0.3ms) BEGIN BitPlayer::ContentModule Load (0.8ms) 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.2ms) 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  (4.0ms) 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.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_player_tools" does not exist LINE 5: WHERE a.attrelid = '"bit_player_tools"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"bit_player_tools"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_player_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_player_slideshows"':... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"bit_player_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_player_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_player_slideshows"':... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"bit_player_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_player_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_player_slideshows"':... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"bit_player_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_player_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_player_slideshows"':... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"bit_player_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_player_tools" does not exist LINE 5: WHERE a.attrelid = '"bit_player_tools"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"bit_player_tools"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_player_tools" does not exist LINE 5: WHERE a.attrelid = '"bit_player_tools"'::regc... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"bit_player_tools"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (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.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.1ms) 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)   (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)  SQL (0.4ms) 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") 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) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]  (0.5ms) 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")  (2.7ms) 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 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.7ms) COMMIT Migrating to CreateBitPlayerTools (20140402224913)  (0.3ms) 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"]]  (0.5ms) COMMIT Migrating to ChangeModuleContextToTool (20140402225703)  (0.5ms) 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.0ms)  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.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]  (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_345692" 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  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_player_tools" Fixture Insert (0.9ms) INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-04-25 20:19:30', '2014-04-25 20:19:30', 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-04-25 20:19:30', '2014-04-25 20:19:30', 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-04-25 20:19:30', '2014-04-25 20:19:30', 511237275, 836111569) Fixture Delete (0.6ms) DELETE FROM "bit_player_content_providers" Fixture Insert (0.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-04-25 20:19:30', '2014-04-25 20:19:30', 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-04-25 20:19:30', '2014-04-25 20:19:30', 46790607, 511237275)  (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_345692" 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 (1.2ms) 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.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" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]  (0.3ms) ROLLBACK  (0.4ms) 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.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  (0.2ms) BEGIN  (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_345692" 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.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_player_slideshows" Fixture Insert (0.5ms) INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-25 20:19:30', '2014-04-25 20:19:30', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_player_slides" Fixture Insert (1.0ms) INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-25 20:19:30', '2014-04-25 20:19:30', 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-04-25 20:19:30', '2014-04-25 20:19:30', 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-04-25 20:19:30', '2014-04-25 20:19:30', 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_345692" 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.7ms) 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::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.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.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.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.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.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.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK