spec/dummy/log/test.log in bit_player-0.3.0 vs spec/dummy/log/test.log in bit_player-0.4.0
- old
+ new
@@ -1,2071 +1,2658 @@
- [1m[36m (12.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (5.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36mActiveRecord::SchemaMigration Load (1.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (4.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (14.6ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (3.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
- [1m[36m (1.0ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (6.5ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
- [1m[35m (0.6ms)[0m BEGIN
- [1m[36m (8.0ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.6ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (8.4ms)[0m [1m ALTER TABLE bit_player_content_providers
- ADD CONSTRAINT fk_content_providers_modules
- FOREIGN KEY (bit_player_content_module_id)
- REFERENCES bit_player_content_modules(id)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (5.4ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.6ms)[0m [1m ALTER TABLE bit_player_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_player_content_module_id)
+ REFERENCES bit_player_content_modules(id)
[0m
- [1m[35mSQL (1.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
- [1m[36m (1.0ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [1m[35m (0.7ms)[0m BEGIN
- [1m[36m (5.3ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.6ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
- [1m[35m (0.6ms)[0m COMMIT
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.4ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.5ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
+ [1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.5ms)[0m [1mBEGIN[0m
- [1m[35m (3.8ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.0ms)[0m [1mBEGIN[0m
+ [1m[35m (11.3ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
- [1m[35m (0.6ms)[0m COMMIT
+ [1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
- [1m[36m (0.5ms)[0m [1mBEGIN[0m
- [1m[35m (7.7ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.6ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (2.9ms)[0m ALTER TABLE bit_player_slides
- ADD CONSTRAINT fk_slides_slideshows
- FOREIGN KEY (bit_player_slideshow_id)
- REFERENCES bit_player_slideshows(id)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (5.1ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.2ms)[0m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT fk_slides_slideshows
+ FOREIGN KEY (bit_player_slideshow_id)
+ REFERENCES bit_player_slideshows(id)
- [1m[36m (2.3ms)[0m [1m ALTER TABLE bit_player_slides
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
- DEFERRABLE INITIALLY IMMEDIATE
+ [1m[36m (1.7ms)[0m [1m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
- [1m[35m (0.7ms)[0m BEGIN
- [1m[36m (5.7ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.8ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (3.7ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
- [1m[36m (1.0ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
Migrating to ChangeModuleContextToTool (20140402225703)
[1m[35m (0.5ms)[0m BEGIN
- [1m[36m (0.9ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.7ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (1.1ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (3.2ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
-[0m
- [1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
[1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (2.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586604" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
- [1m[35m (1.1ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (1.3ms)[0m DELETE FROM "bit_player_tools"
- [1m[36mFixture Insert (1.4ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 836111569)[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_player_content_modules"
- [1m[36mFixture Insert (1.8ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-05-30 21:12:09', '2014-05-30 21:12:09', 437912910, 836111569)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-05-30 21:12:09', '2014-05-30 21:12:09', 511237275, 836111569)
- [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
- [1m[35mFixture Insert (1.3ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 555816777, 437912910)
- [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 46790607, 511237275)[0m
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586604" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (1.1ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (1.6ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.9ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586604" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_player_slideshows"
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 504123193)[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_slides"
- [1m[36mFixture Insert (1.3ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 538050605, 504123193)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 958091673, 504123193)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-05-30 21:12:09', '2014-05-30 21:12:09', 236740868, 504123193)[0m
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586604" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
- [1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER
+ [1m[36m (4.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateBitPlayerContentModules (20140305200438)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (6.2ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerContentProviders (20140305201300)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (5.5ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.3ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (4.1ms)[0m [1m ALTER TABLE bit_player_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_player_content_module_id)
+ REFERENCES bit_player_content_modules(id)
+[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.5ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.3ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
+ [1m[35m (0.5ms)[0m COMMIT
+Migrating to CreateBitPlayerSlideshows (20140305232706)
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (3.6ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (0.5ms)[0m COMMIT
+Migrating to CreateBitPlayerSlides (20140305234327)
[1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[35m (10.5ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (2.0ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.5ms)[0m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT fk_slides_slideshows
+ FOREIGN KEY (bit_player_slideshow_id)
+ REFERENCES bit_player_slideshows(id)
+
+ [1m[36m (2.3ms)[0m [1m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerTools (20140402224913)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.2ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140619200219)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (0.8ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.3ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.9ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (1.3ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.7ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
+[0m
+ [1m[35m (1.2ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.7ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.6ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.3ms)[0m COMMIT
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::Slide Load (0.9ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.5ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.4ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.2ms)[0m SET CONSTRAINTS bit_player_slide_position DEFERRED
- [1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868[0m
- [1m[35mSQL (0.4ms)[0m UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605
- [1m[36mSQL (0.3ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.5ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[36m (3.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mBitCore::ContentModule Load (0.7ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
+PG::UndefinedTable: ERROR: relation "bit_core_content_modules" does not exist
+LINE 1: SELECT "bit_core_content_modules".* FROM "bit_core_content_...
+ ^
+: SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[36m (4.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (6.0ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (6.3ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (5.5ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (2.9ms)[0m [1m ALTER TABLE bit_player_content_providers
- ADD CONSTRAINT fk_content_providers_modules
- FOREIGN KEY (bit_player_content_module_id)
- REFERENCES bit_player_content_modules(id)
+ [1m[36m (5.3ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.1ms)[0m [1m ALTER TABLE bit_player_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_player_content_module_id)
+ REFERENCES bit_player_content_modules(id)
[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
- [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.5ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.1ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.5ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
- [1m[35m (0.5ms)[0m COMMIT
+ [1m[35m (0.6ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (3.3ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (3.7ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
[1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (5.0ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.1ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (1.9ms)[0m ALTER TABLE bit_player_slides
- ADD CONSTRAINT fk_slides_slideshows
- FOREIGN KEY (bit_player_slideshow_id)
- REFERENCES bit_player_slideshows(id)
+ [1m[35m (6.8ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (2.3ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.3ms)[0m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT fk_slides_slideshows
+ FOREIGN KEY (bit_player_slideshow_id)
+ REFERENCES bit_player_slideshows(id)
- [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_player_slides
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
- DEFERRABLE INITIALLY IMMEDIATE
+ [1m[36m (2.5ms)[0m [1m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.6ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.4ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.7ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.7ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
-[0m
- [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140619200219)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]]
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (3.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.5ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.7ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.1ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
+[0m
+ [1m[35m (0.6ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.5ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.6ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.4ms)[0m COMMIT
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mBitCore::ContentModule Load (0.6ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
+PG::UndefinedTable: ERROR: relation "bit_core_content_modules" does not exist
+LINE 1: SELECT "bit_core_content_modules".* FROM "bit_core_content_...
+ ^
+: SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[36m (4.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (6.1ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (1.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[36m (6.3ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
[1m[35m (0.3ms)[0m BEGIN
[1m[36m (5.2ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.1ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (2.9ms)[0m [1m ALTER TABLE bit_player_content_providers
- ADD CONSTRAINT fk_content_providers_modules
- FOREIGN KEY (bit_player_content_module_id)
- REFERENCES bit_player_content_modules(id)
+ [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.3ms)[0m [1m ALTER TABLE bit_player_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_player_content_module_id)
+ REFERENCES bit_player_content_modules(id)
[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
- [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.3ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.1ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36m (4.2ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.5ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
[1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (3.3ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (4.5ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
[1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
[1m[36m (0.6ms)[0m [1mBEGIN[0m
- [1m[35m (8.0ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.1ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (1.9ms)[0m ALTER TABLE bit_player_slides
- ADD CONSTRAINT fk_slides_slideshows
- FOREIGN KEY (bit_player_slideshow_id)
- REFERENCES bit_player_slideshows(id)
+ [1m[35m (8.1ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.8ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.6ms)[0m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT fk_slides_slideshows
+ FOREIGN KEY (bit_player_slideshow_id)
+ REFERENCES bit_player_slideshows(id)
- [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_player_slides
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
- DEFERRABLE INITIALLY IMMEDIATE
+ [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
- [1m[35m (0.4ms)[0m BEGIN
+ [1m[35m (0.5ms)[0m BEGIN
[1m[36m (3.6ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.8ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.6ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.6ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.8ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.2ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
[0m
- [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35m (0.7ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.2ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.2ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (1.9ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620205608)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (3.7ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.4ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205608"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620205609)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (4.9ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.7ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.5ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205609"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620205610)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (7.5ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.7ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205610"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620205611)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.1ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205611"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlides (20140620205612)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (6.0ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.5ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.2ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205612"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620205613)
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36m (0.8ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205613"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140620205614)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.9ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205614"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (3.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mBitCore::ContentModule Load (0.7ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
+PG::UndefinedColumn: ERROR: column bit_core_content_modules.bit_player_tool_id does not exist
+LINE 1: ...modules".* FROM "bit_core_content_modules" WHERE "bit_core_...
+ ^
+: SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36m (4.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (6.0ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (1.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[36m (6.2ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (5.1ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (3.0ms)[0m [1m ALTER TABLE bit_player_content_providers
- ADD CONSTRAINT fk_content_providers_modules
- FOREIGN KEY (bit_player_content_module_id)
- REFERENCES bit_player_content_modules(id)
+ [1m[36m (5.2ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.3ms)[0m [1m ALTER TABLE bit_player_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_player_content_module_id)
+ REFERENCES bit_player_content_modules(id)
[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
- [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (3.3ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.8ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
[1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (3.4ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (4.3ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
- [1m[35m (0.5ms)[0m COMMIT
+ [1m[35m (0.4ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (4.8ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (1.8ms)[0m ALTER TABLE bit_player_slides
- ADD CONSTRAINT fk_slides_slideshows
- FOREIGN KEY (bit_player_slideshow_id)
- REFERENCES bit_player_slideshows(id)
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (6.1ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.6ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.7ms)[0m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT fk_slides_slideshows
+ FOREIGN KEY (bit_player_slideshow_id)
+ REFERENCES bit_player_slideshows(id)
- [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_player_slides
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
- DEFERRABLE INITIALLY IMMEDIATE
+ [1m[36m (2.4ms)[0m [1m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.6ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36m (5.0ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.3ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.6ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.0ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.6ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.8ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.1ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35m (0.6ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.1ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.2ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.4ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620205608)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (4.2ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (2.4ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205608"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620205609)
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36m (4.9ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.6ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.9ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205609"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620205610)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (5.0ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.8ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.2ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205610"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620205611)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (3.9ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205611"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlides (20140620205612)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (8.5ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.0ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.7ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205612"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620205613)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205613"]]
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140620205614)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205614"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (3.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35m (0.2ms)[0m ROLLBACK
+ [1m[36m (3.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (5.9ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (6.4ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (5.1ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.1ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (3.0ms)[0m [1m ALTER TABLE bit_player_content_providers
- ADD CONSTRAINT fk_content_providers_modules
- FOREIGN KEY (bit_player_content_module_id)
- REFERENCES bit_player_content_modules(id)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (5.3ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.3ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.4ms)[0m [1m ALTER TABLE bit_player_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_player_content_module_id)
+ REFERENCES bit_player_content_modules(id)
[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
- [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.2ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.1ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.1ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
[1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
[1m[36m (0.4ms)[0m [1mBEGIN[0m
- [1m[35m (3.4ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[35m (5.6ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (0.8ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (4.8ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.1ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (1.9ms)[0m ALTER TABLE bit_player_slides
- ADD CONSTRAINT fk_slides_slideshows
- FOREIGN KEY (bit_player_slideshow_id)
- REFERENCES bit_player_slideshows(id)
+ [1m[36m (0.5ms)[0m [1mBEGIN[0m
+ [1m[35m (8.1ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.4ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.8ms)[0m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT fk_slides_slideshows
+ FOREIGN KEY (bit_player_slideshow_id)
+ REFERENCES bit_player_slideshows(id)
- [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_player_slides
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
- DEFERRABLE INITIALLY IMMEDIATE
+ [1m[36m (1.9ms)[0m [1m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.4ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[36m (3.8ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.5ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.8ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.7ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
+[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.2ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.2ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.6ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620205608)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (4.5ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.4ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205608"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620205609)
[1m[35m (0.3ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.8ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.6ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+ [1m[36m (3.6ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.7ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.0ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205609"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620205610)
+ [1m[35m (0.9ms)[0m BEGIN
+ [1m[36m (7.5ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.7ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (3.3ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205610"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620205611)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.9ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205611"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.9ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586964" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
- [1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER
+Migrating to CreateBitCoreSlides (20140620205612)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (5.9ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.8ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205612"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620205613)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205613"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140620205614)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.6ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.9ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205614"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.7ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_tools"
- [1m[36mFixture Insert (1.5ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 836111569)[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_content_modules"
- [1m[36mFixture Insert (1.3ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-05-30 21:16:01', '2014-05-30 21:16:01', 437912910, 836111569)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-05-30 21:16:01', '2014-05-30 21:16:01', 511237275, 836111569)
- [1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
- [1m[35mFixture Insert (1.5ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 555816777, 437912910)
- [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 46790607, 511237275)[0m
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586964" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
- [1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (1.3ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (1.4ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.7ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
[1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586964" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "bit_player_slideshows"[0m
- [1m[35mFixture Insert (0.9ms)[0m INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 504123193)
- [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_player_slides"[0m
- [1m[35mFixture Insert (2.2ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 538050605, 504123193)
- [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 958091673, 504123193)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-05-30 21:16:01', '2014-05-30 21:16:01', 236740868, 504123193)
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_586964" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
- [1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mBitPlayer::Slide Load (0.8ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.6ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.3ms)[0m [1mSET CONSTRAINTS bit_player_slide_position DEFERRED[0m
- [1m[35mSQL (0.5ms)[0m UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868
- [1m[36mSQL (0.4ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605[0m
- [1m[35mSQL (0.3ms)[0m UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.5ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.6ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[36m (3.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (4.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (6.1ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[36m (6.6ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (5.2ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.1ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (3.1ms)[0m [1m ALTER TABLE bit_player_content_providers
- ADD CONSTRAINT fk_content_providers_modules
- FOREIGN KEY (bit_player_content_module_id)
- REFERENCES bit_player_content_modules(id)
+ [1m[36m (5.4ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.3ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (4.0ms)[0m [1m ALTER TABLE bit_player_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_player_content_module_id)
+ REFERENCES bit_player_content_modules(id)
[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
- [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
[1m[35m (0.5ms)[0m BEGIN
- [1m[36m (3.6ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.1ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36m (4.2ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.3ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[35m (0.6ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
[1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (3.4ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[35m (4.5ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
[1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (4.9ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (1.9ms)[0m ALTER TABLE bit_player_slides
- ADD CONSTRAINT fk_slides_slideshows
- FOREIGN KEY (bit_player_slideshow_id)
- REFERENCES bit_player_slideshows(id)
+ [1m[36m (0.8ms)[0m [1mBEGIN[0m
+ [1m[35m (8.6ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (2.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (3.3ms)[0m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT fk_slides_slideshows
+ FOREIGN KEY (bit_player_slideshow_id)
+ REFERENCES bit_player_slideshows(id)
- [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_player_slides
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
- DEFERRABLE INITIALLY IMMEDIATE
+ [1m[36m (2.5ms)[0m [1m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (1.0ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
+ [1m[35m (0.8ms)[0m BEGIN
+ [1m[36m (4.9ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.8ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.6ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36mBitPlayer::Slideshow Load (0.6ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (1.8ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (2.9ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
+[0m
+ [1m[35m (1.4ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.8ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (2.2ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.2ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620205608)
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (5.2ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.4ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205608"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620205609)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (4.2ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.9ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.3ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205609"]]
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.7ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+Migrating to CreateBitCoreContentProviders (20140620205610)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (8.8ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.6ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (3.7ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205610"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620205611)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (4.4ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205611"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (0.9ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875094" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
- [1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER
+Migrating to CreateBitCoreSlides (20140620205612)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (5.3ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.6ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.4ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205612"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620205613)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205613"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140620205614)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205614"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_slideshows"
- [1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 504123193)[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_slides"
- [1m[36mFixture Insert (1.3ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 538050605, 504123193)[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 958091673, 504123193)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 236740868, 504123193)[0m
- [1m[35m (0.5ms)[0m COMMIT
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875094" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
- [1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::Slide Load (1.4ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.5ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m SET CONSTRAINTS bit_player_slide_position DEFERRED
- [1m[36mSQL (0.6ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868[0m
- [1m[35mSQL (0.5ms)[0m UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605
- [1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mBitPlayer::Slide Load (0.5ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.4ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875094" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
- [1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_player_tools"
- [1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 836111569)[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_player_content_modules"
- [1m[36mFixture Insert (1.1ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 19:35:29', '2014-06-19 19:35:29', 437912910, 836111569)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 19:35:29', '2014-06-19 19:35:29', 511237275, 836111569)
- [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
- [1m[35mFixture Insert (1.0ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 555816777, 437912910)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:35:29', '2014-06-19 19:35:29', 46790607, 511237275)[0m
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875094" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
- [1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (2.0ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.9ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[36m (4.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[35mBitCore::ContentModule Load (1.8ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
+ [1m[36m (0.5ms)[0m [1mROLLBACK[0m
+ [1m[36m (3.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (6.1ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (6.4ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (5.2ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.1ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (2.9ms)[0m [1m ALTER TABLE bit_player_content_providers
+ [1m[36m (5.4ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.3ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.6ms)[0m [1m ALTER TABLE bit_player_content_providers
ADD CONSTRAINT fk_content_providers_modules
FOREIGN KEY (bit_player_content_module_id)
REFERENCES bit_player_content_modules(id)
[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
- [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.3ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.2ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.6ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
- [1m[35m (0.5ms)[0m COMMIT
+ [1m[35m (0.6ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (3.4ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (3.7ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
[1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
[1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (6.5ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (2.2ms)[0m ALTER TABLE bit_player_slides
+ [1m[35m (7.4ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.6ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (3.4ms)[0m ALTER TABLE bit_player_slides
ADD CONSTRAINT fk_slides_slideshows
FOREIGN KEY (bit_player_slideshow_id)
REFERENCES bit_player_slideshows(id)
- [1m[36m (1.6ms)[0m [1m ALTER TABLE bit_player_slides
+ [1m[36m (15.3ms)[0m [1m ALTER TABLE bit_player_slides
ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
DEFERRABLE INITIALLY IMMEDIATE
[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[36m (4.7ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.6ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (6.8ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.9ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.7ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+ [1m[36mBitPlayer::Slideshow Load (0.9ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (1.1ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35m (1.0ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.5ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.6ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.3ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
+ [1m[36m (0.5ms)[0m [1mBEGIN[0m
+ [1m[35m (6.0ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.9ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (4.5ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.2ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.8ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620222616)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (7.5ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.8ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (3.5ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (4.8ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (1.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875184" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
- [1m[35m (1.4ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_slideshows"
- [1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 504123193)[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_slides"
- [1m[36mFixture Insert (1.3ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 538050605, 504123193)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 958091673, 504123193)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 236740868, 504123193)[0m
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.7ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875184" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
+Migrating to CreateBitCoreSlides (20140620222618)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (8.2ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.0ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.9ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140620222620)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::Slide Load (0.6ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.4ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
- [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.4ms)[0m SET CONSTRAINTS bit_player_slide_position DEFERRED
- [1m[36mSQL (0.7ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868[0m
- [1m[35mSQL (0.4ms)[0m UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605
- [1m[36mSQL (0.4ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mBitPlayer::Slide Load (0.3ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.3ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875184" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "bit_player_tools"
- [1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 836111569)[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_content_modules"
- [1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 19:45:01', '2014-06-19 19:45:01', 437912910, 836111569)[0m
- [1m[35mFixture Insert (0.6ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 19:45:01', '2014-06-19 19:45:01', 511237275, 836111569)
- [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
- [1m[35mFixture Insert (1.2ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 555816777, 437912910)
- [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:45:01', '2014-06-19 19:45:01', 46790607, 511237275)[0m
- [1m[35m (8.3ms)[0m COMMIT
- [1m[36m (0.6ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875184" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.8ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.4ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
+ [1m[35mBitCore::ContentModule Load (1.5ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[36m (4.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (12.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (18.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (7.1ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[36m (7.4ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
[1m[35m (0.3ms)[0m BEGIN
- [1m[36m (5.1ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[36m (5.4ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
[1m[36m (3.8ms)[0m [1m ALTER TABLE bit_player_content_providers
ADD CONSTRAINT fk_content_providers_modules
FOREIGN KEY (bit_player_content_module_id)
REFERENCES bit_player_content_modules(id)
[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
- [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.8ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36m (4.2ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.8ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
+ [1m[35m (0.6ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
[1m[35m (3.7ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
- [1m[35m (0.6ms)[0m COMMIT
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (0.8ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
- [1m[36m (0.5ms)[0m [1mBEGIN[0m
- [1m[35m (6.0ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.1ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (2.5ms)[0m ALTER TABLE bit_player_slides
+ [1m[36m (0.8ms)[0m [1mBEGIN[0m
+ [1m[35m (7.4ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (2.1ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.8ms)[0m ALTER TABLE bit_player_slides
ADD CONSTRAINT fk_slides_slideshows
FOREIGN KEY (bit_player_slideshow_id)
REFERENCES bit_player_slideshows(id)
- [1m[36m (1.8ms)[0m [1m ALTER TABLE bit_player_slides
+ [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_player_slides
ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
DEFERRABLE INITIALLY IMMEDIATE
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (4.5ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (5.1ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.8ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (1.2ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.4ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
+[0m
+ [1m[35m (0.8ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.5ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (2.1ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (1.9ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (6.4ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.9ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (4.9ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.3ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.9ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620222616)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (5.5ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.7ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.2ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (1.0ms)[0m BEGIN
+ [1m[36m (5.3ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
+Migrating to CreateBitCoreSlides (20140620222618)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (0.8ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.8ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (1.0ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (1.6ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.5ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+ [1m[36m (4.9ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.5ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (1.9ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (0.8ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (0.9ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875274" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
- [1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_player_tools"
- [1m[36mFixture Insert (1.1ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 836111569)[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_content_modules"
- [1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 19:50:05', '2014-06-19 19:50:05', 437912910, 836111569)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 19:50:05', '2014-06-19 19:50:05', 511237275, 836111569)
- [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
- [1m[35mFixture Insert (1.1ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 555816777, 437912910)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 46790607, 511237275)[0m
- [1m[35m (0.6ms)[0m COMMIT
- [1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875274" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.8ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.5ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875274" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
- [1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_slideshows"
- [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 504123193)[0m
- [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_player_slides"
- [1m[36mFixture Insert (1.1ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 538050605, 504123193)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 958091673, 504123193)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 19:50:05', '2014-06-19 19:50:05', 236740868, 504123193)[0m
- [1m[35m (0.5ms)[0m COMMIT
- [1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875274" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::Slide Load (1.3ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.6ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m SET CONSTRAINTS bit_player_slide_position DEFERRED
- [1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868[0m
- [1m[35mSQL (0.4ms)[0m UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605
- [1m[36mSQL (0.3ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mBitPlayer::Slide Load (0.3ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.3ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.3ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.9ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[36m (4.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+Migrating to AddConfigFieldsToProviders (20140620222620)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.8ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.6ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.8ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mBitPlayer::Tool Load (1.1ms)[0m [1mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[35mBitPlayer::ContentModule Load (0.9ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[36m (4.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (5.9ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (6.4ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
- [1m[35m (0.3ms)[0m BEGIN
+ [1m[35m (0.4ms)[0m BEGIN
[1m[36m (5.3ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[35m (1.1ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
[1m[36m (3.1ms)[0m [1m ALTER TABLE bit_player_content_providers
ADD CONSTRAINT fk_content_providers_modules
FOREIGN KEY (bit_player_content_module_id)
REFERENCES bit_player_content_modules(id)
[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.8ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.3ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36m (4.1ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
- [1m[35m (0.5ms)[0m COMMIT
+ [1m[35m (0.6ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (3.6ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
- [1m[35m (0.4ms)[0m COMMIT
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (4.1ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (0.6ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
[1m[36m (0.4ms)[0m [1mBEGIN[0m
- [1m[35m (7.3ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (1.9ms)[0m ALTER TABLE bit_player_slides
+ [1m[35m (8.5ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.5ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.9ms)[0m ALTER TABLE bit_player_slides
ADD CONSTRAINT fk_slides_slideshows
FOREIGN KEY (bit_player_slideshow_id)
REFERENCES bit_player_slideshows(id)
- [1m[36m (1.6ms)[0m [1m ALTER TABLE bit_player_slides
+ [1m[36m (2.9ms)[0m [1m ALTER TABLE bit_player_slides
ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
DEFERRABLE INITIALLY IMMEDIATE
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (1.0ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.7ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[35m (0.8ms)[0m BEGIN
+ [1m[36m (5.7ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.7ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.2ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+ [1m[36mBitPlayer::Slideshow Load (0.5ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.6ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.1ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
[0m
- [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35m (0.7ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.8ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.3ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.0ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (4.3ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (2.0ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (3.9ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.7ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (1.9ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (1.0ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875364" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
- [1m[35m (1.0ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_player_tools"
- [1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 19:56:21', '2014-06-19 19:56:21', 836111569)[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_content_modules"
- [1m[36mFixture Insert (1.5ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 19:56:21', '2014-06-19 19:56:21', 437912910, 836111569)[0m
- [1m[35mFixture Insert (1.0ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 19:56:21', '2014-06-19 19:56:21', 511237275, 836111569)
- [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
- [1m[35mFixture Insert (1.0ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:56:21', '2014-06-19 19:56:21', 555816777, 437912910)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 19:56:21', '2014-06-19 19:56:21', 46790607, 511237275)[0m
- [1m[35m (0.5ms)[0m COMMIT
- [1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875364" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
- [1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.9ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.5ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875364" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_player_slideshows"
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 19:56:21', '2014-06-19 19:56:21', 504123193)[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_slides"
- [1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 19:56:22', '2014-06-19 19:56:22', 538050605, 504123193)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 19:56:22', '2014-06-19 19:56:22', 958091673, 504123193)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 19:56:22', '2014-06-19 19:56:22', 236740868, 504123193)[0m
- [1m[35m (0.5ms)[0m COMMIT
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_c_875364" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::Slide Load (0.6ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.4ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.2ms)[0m SET CONSTRAINTS bit_player_slide_position DEFERRED
- [1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868[0m
- [1m[35mSQL (0.5ms)[0m UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605
- [1m[36mSQL (1.2ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673[0m
- [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mBitPlayer::Slide Load (0.7ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.7ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.9ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[36m (1.3ms)[0m [1mALTER 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[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_player_tools"[0m
- [1m[35mFixture Insert (1.2ms)[0m INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 836111569)
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "bit_player_content_modules"[0m
- [1m[35mFixture Insert (0.6ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 20:12:10', '2014-06-19 20:12:10', 437912910, 836111569)
- [1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 20:12:10', '2014-06-19 20:12:10', 511237275, 836111569)[0m
- [1m[35mFixture Delete (0.9ms)[0m DELETE FROM "bit_player_content_providers"
- [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 555816777, 437912910)[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 46790607, 511237275)
+Migrating to CreateBitCoreContentProviders (20140620222616)
+ [1m[35m (0.8ms)[0m BEGIN
+ [1m[36m (6.5ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.4ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (3.1ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
+ [1m[36m (1.0ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36m (5.3ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
- [1m[35m (0.5ms)[0m 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
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.6ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.5ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.9ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.6ms)[0m 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
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_player_slideshows"
- [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 504123193)[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_slides"
- [1m[36mFixture Insert (1.4ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 538050605, 504123193)[0m
- [1m[35mFixture Insert (1.0ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 958091673, 504123193)
- [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 20:12:10', '2014-06-19 20:12:10', 236740868, 504123193)[0m
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.5ms)[0m [1mALTER 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[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mBitPlayer::Slide Load (0.5ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.3ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.3ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.4ms)[0m [1mSET CONSTRAINTS bit_player_slide_position DEFERRED[0m
-PG::UndefinedObject: ERROR: constraint "bit_player_slide_position" does not exist
-: SET CONSTRAINTS bit_player_slide_position DEFERRED
- [1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+Migrating to CreateBitCoreSlides (20140620222618)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (6.0ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.8ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.8ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140620222620)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
[1m[35m (0.2ms)[0m BEGIN
+ [1m[36mBitPlayer::Tool Load (0.8ms)[0m [1mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[35mBitPlayer::ContentModule Load (0.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36mBitPlayer::ContentProvider Load (0.5ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers"[0m
+ [1m[35m (0.6ms)[0m ALTER TABLE bit_player_content_modules
+ DROP CONSTRAINT fk_content_modules_tools
+
+PG::UndefinedObject: ERROR: constraint "fk_content_modules_tools" of relation "bit_player_content_modules" does not exist
+: ALTER TABLE bit_player_content_modules
+ DROP CONSTRAINT fk_content_modules_tools
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mROLLBACK[0m
- [1m[36m (4.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (4.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (6.8ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (6.6ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (5.1ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (3.2ms)[0m [1m ALTER TABLE bit_player_content_providers
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (5.5ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.3ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.9ms)[0m [1m ALTER TABLE bit_player_content_providers
ADD CONSTRAINT fk_content_providers_modules
FOREIGN KEY (bit_player_content_module_id)
REFERENCES bit_player_content_modules(id)
[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
- [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (4.3ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.5ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
- [1m[35m (0.6ms)[0m COMMIT
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (7.6ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.8ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
+ [1m[35m (6.4ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
[1m[36m (0.5ms)[0m [1mBEGIN[0m
[1m[35m (3.5ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
- [1m[35m (0.5ms)[0m COMMIT
+ [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (1.4ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (4.9ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (2.0ms)[0m ALTER TABLE bit_player_slides
+ [1m[36m (1.1ms)[0m [1mBEGIN[0m
+ [1m[35m (12.8ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (2.7ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.2ms)[0m ALTER TABLE bit_player_slides
ADD CONSTRAINT fk_slides_slideshows
FOREIGN KEY (bit_player_slideshow_id)
REFERENCES bit_player_slideshows(id)
- [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_player_slides
+ [1m[36m (1.8ms)[0m [1m ALTER TABLE bit_player_slides
ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
DEFERRABLE INITIALLY IMMEDIATE
[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.1ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.6ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.7ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.3ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+ [1m[36mBitPlayer::Slideshow Load (0.6ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.7ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.1ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35m (0.6ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (1.9ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.1ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (3.5ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
+ [1m[36m (0.8ms)[0m [1mBEGIN[0m
+ [1m[35m (7.8ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (3.9ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
+ [1m[36m (1.2ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (1.2ms)[0m BEGIN
+ [1m[36m (4.8ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.8ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.5ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620222616)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (10.9ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (3.6ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (4.5ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (3.5ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to AddConfigFieldsToProviders (20140619200219)
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255)[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255)
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean
- [1m[36m (0.3ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]]
+Migrating to CreateBitCoreSlides (20140620222618)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (5.6ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.5ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.0ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (1.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875558" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_slideshows"
- [1m[36mFixture Insert (1.3ms)[0m [1mINSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 504123193)[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_slides"
- [1m[36mFixture Insert (1.3ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 538050605, 504123193)[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 958091673, 504123193)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 236740868, 504123193)[0m
- [1m[35m (0.5ms)[0m COMMIT
- [1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875558" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::Slide Load (0.7ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.4ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
- [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m SET CONSTRAINTS bit_player_slide_position DEFERRED
- [1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868[0m
- [1m[35mSQL (0.4ms)[0m UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605
- [1m[36mSQL (0.4ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.6ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.5ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875558" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_player_tools"
- [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 836111569)[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_player_content_modules"
- [1m[36mFixture Insert (0.9ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 20:13:18', '2014-06-19 20:13:18', 437912910, 836111569)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 20:13:18', '2014-06-19 20:13:18', 511237275, 836111569)
- [1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
- [1m[35mFixture Insert (1.0ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 555816777, 437912910)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:13:18', '2014-06-19 20:13:18', 46790607, 511237275)[0m
- [1m[35m (0.5ms)[0m COMMIT
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875558" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.7ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.9ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.6ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.7ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+Migrating to AddConfigFieldsToProviders (20140620222620)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[36m (4.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (2.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.5ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mBitPlayer::Tool Load (1.1ms)[0m [1mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36mBitPlayer::ContentProvider Load (0.8ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers"[0m
+ [1m[35m (0.3ms)[0m ALTER TABLE bit_player_content_modules
+ DROP CONSTRAINT IF EXISTS fk_content_modules_tools
+
+ [1m[36m (0.8ms)[0m [1m ALTER TABLE bit_player_content_providers
+ DROP CONSTRAINT IF EXISTS fk_content_providers_modules
+[0m
+ [1m[35m (1.7ms)[0m DROP TABLE "bit_player_tools"
+ [1m[36m (2.0ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
+ [1m[35m (1.9ms)[0m DROP TABLE "bit_player_content_providers"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620222851"]]
+ [1m[35m (3.0ms)[0m COMMIT
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (0.1ms)[0m [1mBEGIN[0m
+ [1m[35mBitCore::ContentModule Load (1.5ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
+ [1m[36m (0.4ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.1ms)[0m BEGIN
+ [1m[36m (0.2ms)[0m [1mROLLBACK[0m
+ [1m[36m (4.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
[1m[35m (0.3ms)[0m BEGIN
- [1m[36m (6.7ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (0.8ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[36m (6.8ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (5.4ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.4ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (3.3ms)[0m [1m ALTER TABLE bit_player_content_providers
+ [1m[36m (5.1ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.5ms)[0m [1m ALTER TABLE bit_player_content_providers
ADD CONSTRAINT fk_content_providers_modules
FOREIGN KEY (bit_player_content_module_id)
REFERENCES bit_player_content_modules(id)
[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
- [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
[1m[35m (0.6ms)[0m BEGIN
[1m[36m (4.0ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[35m (1.3ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
[1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
[1m[36m (0.4ms)[0m [1mBEGIN[0m
- [1m[35m (3.4ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
- [1m[35m (0.5ms)[0m COMMIT
+ [1m[35m (3.8ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (0.6ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (5.2ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (2.0ms)[0m ALTER TABLE bit_player_slides
+ [1m[36m (0.7ms)[0m [1mBEGIN[0m
+ [1m[35m (7.8ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.3ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.3ms)[0m ALTER TABLE bit_player_slides
ADD CONSTRAINT fk_slides_slideshows
FOREIGN KEY (bit_player_slideshow_id)
REFERENCES bit_player_slideshows(id)
- [1m[36m (1.6ms)[0m [1m ALTER TABLE bit_player_slides
+ [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_player_slides
ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
DEFERRABLE INITIALLY IMMEDIATE
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
[1m[35m (0.5ms)[0m BEGIN
- [1m[36m (4.4ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[36m (5.1ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
- [1m[35m (0.6ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.8ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.3ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.6ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (1.2ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.3ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35m (0.7ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.2ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.2ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.0ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (4.2ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to AddConfigFieldsToProviders (20140619200219)
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255)[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255)
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]]
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (4.9ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.6ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (3.6ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620222616)
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36m (7.3ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.4ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (5.3ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlides (20140620222618)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (8.6ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.3ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (4.8ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (1.1ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.9ms)[0m BEGIN
+ [1m[36m (1.0ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140620222620)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (1.8ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.8ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mBitPlayer::Tool Load (1.3ms)[0m [1mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[35mBitPlayer::ContentModule Load (1.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36mBitPlayer::ContentProvider Load (1.0ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers"[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE bit_player_content_modules
+ DROP CONSTRAINT IF EXISTS fk_content_modules_tools
+
+ [1m[36m (1.3ms)[0m [1m ALTER TABLE bit_player_content_providers
+ DROP CONSTRAINT IF EXISTS fk_content_providers_modules
+[0m
+ [1m[35m (2.6ms)[0m DROP TABLE "bit_player_tools"
+ [1m[36m (3.0ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
+ [1m[35m (3.0ms)[0m DROP TABLE "bit_player_content_providers"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620222851"]]
+ [1m[35m (2.3ms)[0m COMMIT
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36m (0.1ms)[0m [1mBEGIN[0m
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (1.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875648" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[36m (0.7ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_player_tools"[0m
- [1m[35mFixture Insert (1.0ms)[0m INSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 836111569)
- [1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "bit_player_content_modules"[0m
- [1m[35mFixture Insert (1.1ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 20:56:38', '2014-06-19 20:56:38', 437912910, 836111569)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 20:56:38', '2014-06-19 20:56:38', 511237275, 836111569)[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_content_providers"
- [1m[36mFixture Insert (1.9ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 555816777, 437912910)[0m
- [1m[35mFixture Insert (0.8ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 46790607, 511237275)
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875648" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mBitPlayer::ContentModule Load (0.5ms)[0m [1mSELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
- [1m[35mBitPlayer::ContentProvider Load (0.7ms)[0m SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mBitPlayer::ContentModule Load (0.5ms)[0m [1mSELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
- [1m[35mBitPlayer::ContentProvider Load (0.5ms)[0m SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1 [["bit_player_content_module_id", 437912910]]
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.7ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875648" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[36m (0.8ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER[0m
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "bit_player_slideshows"[0m
- [1m[35mFixture Insert (0.6ms)[0m INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 504123193)
- [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_player_slides"[0m
- [1m[35mFixture Insert (1.2ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 538050605, 504123193)
- [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 958091673, 504123193)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 20:56:38', '2014-06-19 20:56:38', 236740868, 504123193)
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875648" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36mBitPlayer::Slide Load (0.7ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.4ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.3ms)[0m [1mSET CONSTRAINTS bit_player_slide_position DEFERRED[0m
- [1m[35mSQL (0.5ms)[0m UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868
- [1m[36mSQL (0.4ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605[0m
- [1m[35mSQL (0.4ms)[0m UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.6ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[36m (4.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[36m (3.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (6.1ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[36m (6.6ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (5.2ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (3.2ms)[0m [1m ALTER TABLE bit_player_content_providers
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (5.4ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.1ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.1ms)[0m [1m ALTER TABLE bit_player_content_providers
ADD CONSTRAINT fk_content_providers_modules
FOREIGN KEY (bit_player_content_module_id)
REFERENCES bit_player_content_modules(id)
[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
[1m[35m (0.5ms)[0m BEGIN
- [1m[36m (4.1ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36m (5.3ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
- [1m[35m (0.5ms)[0m COMMIT
+ [1m[35m (0.7ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (4.5ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
- [1m[35m (0.6ms)[0m COMMIT
+ [1m[36m (0.6ms)[0m [1mBEGIN[0m
+ [1m[35m (5.3ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (0.8ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
- [1m[36m (0.4ms)[0m [1mBEGIN[0m
- [1m[35m (5.1ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (2.0ms)[0m ALTER TABLE bit_player_slides
+ [1m[36m (0.7ms)[0m [1mBEGIN[0m
+ [1m[35m (6.9ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.8ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.9ms)[0m ALTER TABLE bit_player_slides
ADD CONSTRAINT fk_slides_slideshows
FOREIGN KEY (bit_player_slideshow_id)
REFERENCES bit_player_slideshows(id)
- [1m[36m (1.6ms)[0m [1m ALTER TABLE bit_player_slides
+ [1m[36m (2.5ms)[0m [1m ALTER TABLE bit_player_slides
ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
DEFERRABLE INITIALLY IMMEDIATE
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
- [1m[35m (0.4ms)[0m BEGIN
+ [1m[35m (0.5ms)[0m BEGIN
[1m[36m (3.8ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.8ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (3.1ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+ [1m[36mBitPlayer::Slideshow Load (0.6ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.7ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.2ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35m (0.6ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (1.9ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.1ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (1.9ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (4.2ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.7ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (4.2ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.9ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620222616)
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36m (7.6ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.1ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.7ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to AddConfigFieldsToProviders (20140619200219)
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (3.3ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlides (20140620222618)
[1m[35m (0.3ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255)[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255)
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]]
+ [1m[36m (5.1ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.5ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.0ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (1.1ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875738" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[35m (0.9ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER
+Migrating to AddConfigFieldsToProviders (20140620222620)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mBitPlayer::Tool Load (0.9ms)[0m [1mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36mBitPlayer::ContentProvider Load (0.7ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers"[0m
+ [1m[35m (0.3ms)[0m ALTER TABLE bit_player_content_modules
+ DROP CONSTRAINT IF EXISTS fk_content_modules_tools
+
+ [1m[36m (0.8ms)[0m [1m ALTER TABLE bit_player_content_providers
+ DROP CONSTRAINT IF EXISTS fk_content_providers_modules
+[0m
+ [1m[35m (2.6ms)[0m DROP TABLE "bit_player_tools"
+ [1m[36m (2.5ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
+ [1m[35m (2.9ms)[0m DROP TABLE "bit_player_content_providers"
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620222851"]]
+ [1m[35m (2.3ms)[0m COMMIT
+ [1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_tools"
- [1m[36mFixture Insert (1.4ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 836111569)[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_content_modules"
- [1m[36mFixture Insert (1.1ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 20:57:36', '2014-06-19 20:57:36', 437912910, 836111569)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 20:57:36', '2014-06-19 20:57:36', 511237275, 836111569)
- [1m[36mFixture Delete (1.1ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
- [1m[35mFixture Insert (1.7ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 555816777, 437912910)
- [1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 46790607, 511237275)[0m
- [1m[35m (0.5ms)[0m COMMIT
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875738" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.9ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
[1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.6ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
[1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.7ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875738" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[35m (0.6ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_player_slideshows"
- [1m[36mFixture Insert (0.6ms)[0m [1mINSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 504123193)[0m
- [1m[35mFixture Delete (0.9ms)[0m DELETE FROM "bit_player_slides"
- [1m[36mFixture Insert (1.6ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 538050605, 504123193)[0m
- [1m[35mFixture Insert (0.8ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 958091673, 504123193)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 20:57:36', '2014-06-19 20:57:36', 236740868, 504123193)[0m
- [1m[35m (0.5ms)[0m COMMIT
- [1m[36m (0.6ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875738" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::Slide Load (0.6ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.4ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.2ms)[0m SET CONSTRAINTS bit_player_slide_position DEFERRED
- [1m[36mSQL (0.4ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868[0m
- [1m[35mSQL (0.3ms)[0m UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605
- [1m[36mSQL (0.3ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mBitPlayer::Slide Load (0.3ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.7ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.9ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.4ms)[0m [1mROLLBACK[0m
- [1m[36m (4.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (2.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (4.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (6.1ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (6.5ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
[1m[35m (0.3ms)[0m BEGIN
- [1m[36m (5.2ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (3.3ms)[0m [1m ALTER TABLE bit_player_content_providers
+ [1m[36m (5.3ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.1ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (4.0ms)[0m [1m ALTER TABLE bit_player_content_providers
ADD CONSTRAINT fk_content_providers_modules
FOREIGN KEY (bit_player_content_module_id)
REFERENCES bit_player_content_modules(id)
[0m
- [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
[1m[36m (0.9ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [1m[35m (0.5ms)[0m BEGIN
- [1m[36m (4.3ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.6ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (4.0ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.3ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
[1m[35m (0.6ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.5ms)[0m [1mBEGIN[0m
- [1m[35m (3.4ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (4.0ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
[1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
[1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (5.1ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.1ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (1.9ms)[0m ALTER TABLE bit_player_slides
+ [1m[35m (5.0ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.5ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (3.2ms)[0m ALTER TABLE bit_player_slides
ADD CONSTRAINT fk_slides_slideshows
FOREIGN KEY (bit_player_slideshow_id)
REFERENCES bit_player_slideshows(id)
- [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_player_slides
+ [1m[36m (2.5ms)[0m [1m ALTER TABLE bit_player_slides
ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
DEFERRABLE INITIALLY IMMEDIATE
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (1.0ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36m (4.0ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.7ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (2.0ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.5ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36mBitPlayer::Slideshow Load (0.6ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.8ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.3ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
+[0m
+ [1m[35m (0.6ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.4ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.3ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (1.9ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (4.2ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.9ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (3.5ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.9ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (3.2ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
+Migrating to CreateBitCoreContentProviders (20140620222616)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (7.4ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.3ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (3.7ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (3.9ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlides (20140620222618)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.7ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+ [1m[36m (5.9ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.9ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.0ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
-Migrating to AddConfigFieldsToProviders (20140619200219)
+Migrating to AddConfigFieldsToProviders (20140620222620)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255)[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255)
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean
- [1m[36m (0.3ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]]
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (1.0ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875828" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.8ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mBitPlayer::Tool Load (1.3ms)[0m [1mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[35mBitPlayer::ContentModule Load (0.7ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36mBitPlayer::ContentProvider Load (0.7ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers"[0m
+ [1m[35m (0.3ms)[0m ALTER TABLE bit_player_content_modules
+ DROP CONSTRAINT IF EXISTS fk_content_modules_tools
+
+ [1m[36m (1.0ms)[0m [1m ALTER TABLE bit_player_content_providers
+ DROP CONSTRAINT IF EXISTS fk_content_providers_modules
+[0m
+ [1m[35m (2.0ms)[0m DROP TABLE "bit_player_tools"
+ [1m[36m (2.2ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
+ [1m[35m (2.4ms)[0m DROP TABLE "bit_player_content_providers"
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620222851"]]
+ [1m[35m (2.4ms)[0m COMMIT
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_tools"
- [1m[36mFixture Insert (1.4ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 836111569)[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_content_modules"
- [1m[36mFixture Insert (1.3ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 20:59:13', '2014-06-19 20:59:13', 437912910, 836111569)[0m
- [1m[35mFixture Insert (0.6ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 20:59:13', '2014-06-19 20:59:13', 511237275, 836111569)
- [1m[36mFixture Delete (0.8ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
- [1m[35mFixture Insert (1.1ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 555816777, 437912910)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 46790607, 511237275)[0m
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875828" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.9ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.4ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.5ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
[1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875828" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_slideshows"
- [1m[36mFixture Insert (0.7ms)[0m [1mINSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 504123193)[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_slides"
- [1m[36mFixture Insert (1.5ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 538050605, 504123193)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 958091673, 504123193)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 20:59:13', '2014-06-19 20:59:13', 236740868, 504123193)[0m
- [1m[35m (0.5ms)[0m COMMIT
- [1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875828" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.3ms)[0m ROLLBACK
+ [1m[36m (4.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateBitPlayerContentModules (20140305200438)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (6.3ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerContentProviders (20140305201300)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (7.5ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (4.0ms)[0m [1m ALTER TABLE bit_player_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_player_content_module_id)
+ REFERENCES bit_player_content_modules(id)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.5ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
+ [1m[35m (0.7ms)[0m COMMIT
+Migrating to CreateBitPlayerSlideshows (20140305232706)
+ [1m[36m (0.6ms)[0m [1mBEGIN[0m
+ [1m[35m (5.8ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (1.1ms)[0m COMMIT
+Migrating to CreateBitPlayerSlides (20140305234327)
+ [1m[36m (0.9ms)[0m [1mBEGIN[0m
+ [1m[35m (7.8ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.8ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.3ms)[0m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT fk_slides_slideshows
+ FOREIGN KEY (bit_player_slideshow_id)
+ REFERENCES bit_player_slideshows(id)
+
+ [1m[36m (1.7ms)[0m [1m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerTools (20140402224913)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (3.9ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.6ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.9ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.3ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
+[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.3ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.2ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.1ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (4.7ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
+ [1m[36m (1.1ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (1.2ms)[0m BEGIN
+ [1m[36m (6.0ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.5ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (3.2ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620222616)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (4.9ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.6ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (4.3ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (5.6ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlides (20140620222618)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (6.1ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.2ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.2ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140620222620)
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.8ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.9ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mBitPlayer::Tool Load (1.0ms)[0m [1mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[35mBitPlayer::ContentModule Load (0.9ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36mBitPlayer::ContentProvider Load (1.4ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers"[0m
+ [1m[35m (0.5ms)[0m ALTER TABLE bit_player_content_modules
+ DROP CONSTRAINT IF EXISTS fk_content_modules_tools
+
+ [1m[36m (1.6ms)[0m [1m ALTER TABLE bit_player_content_providers
+ DROP CONSTRAINT IF EXISTS fk_content_providers_modules
+[0m
+ [1m[35m (2.7ms)[0m DROP TABLE "bit_player_tools"
+ [1m[36m (2.3ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
+ [1m[35m (2.4ms)[0m DROP TABLE "bit_player_content_providers"
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620222851"]]
+ [1m[35m (3.2ms)[0m COMMIT
+ [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::Slide Load (0.6ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m SET CONSTRAINTS bit_player_slide_position DEFERRED
- [1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868[0m
- [1m[35mSQL (0.4ms)[0m UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605
- [1m[36mSQL (0.3ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673[0m
- [1m[35m (0.3ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mBitPlayer::Slide Load (0.3ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.3ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.3ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (1.1ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
+ [1m[35mBitCore::ContentModule Load (2.5ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[36m (3.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[36m (5.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
[1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (6.4ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (6.6ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (5.6ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.3ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (3.5ms)[0m [1m ALTER TABLE bit_player_content_providers
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (5.2ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.1ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (3.3ms)[0m [1m ALTER TABLE bit_player_content_providers
ADD CONSTRAINT fk_content_providers_modules
FOREIGN KEY (bit_player_content_module_id)
REFERENCES bit_player_content_modules(id)
[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (4.6ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.3ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.0ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
[1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (3.6ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
- [1m[35m (1.0ms)[0m COMMIT
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (4.3ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
- [1m[36m (0.5ms)[0m [1mBEGIN[0m
- [1m[35m (5.8ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.1ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (2.0ms)[0m ALTER TABLE bit_player_slides
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (4.9ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.7ms)[0m ALTER TABLE bit_player_slides
ADD CONSTRAINT fk_slides_slideshows
FOREIGN KEY (bit_player_slideshow_id)
REFERENCES bit_player_slideshows(id)
- [1m[36m (1.7ms)[0m [1m ALTER TABLE bit_player_slides
+ [1m[36m (2.8ms)[0m [1m ALTER TABLE bit_player_slides
ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
DEFERRABLE INITIALLY IMMEDIATE
[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (4.0ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.8ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35m (0.8ms)[0m BEGIN
+ [1m[36m (4.5ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.9ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.6ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (1.0ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.4ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
+[0m
+ [1m[35m (0.8ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.4ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.5ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.1ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (4.3ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.7ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (4.6ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (3.3ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (3.0ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620222616)
[1m[35m (0.5ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.8ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.3ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+ [1m[36m (7.2ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.7ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.9ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36m (4.0ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to AddConfigFieldsToProviders (20140619200219)
+Migrating to CreateBitCoreSlides (20140620222618)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (6.1ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.2ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.4ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140620222620)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255)[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255)
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean
- [1m[36m (0.3ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]]
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.8ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (1.0ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36mBitPlayer::Tool Load (1.3ms)[0m [1mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36mBitPlayer::ContentProvider Load (0.7ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers"[0m
+ [1m[35m (0.3ms)[0m ALTER TABLE bit_player_content_modules
+ DROP CONSTRAINT IF EXISTS fk_content_modules_tools
+
+ [1m[36m (1.1ms)[0m [1m ALTER TABLE bit_player_content_providers
+ DROP CONSTRAINT IF EXISTS fk_content_providers_modules
+[0m
+ [1m[35m (2.2ms)[0m DROP TABLE "bit_player_tools"
+ [1m[36m (2.2ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
+ [1m[35m (2.7ms)[0m DROP TABLE "bit_player_content_providers"
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620222851"]]
+ [1m[35m (3.5ms)[0m COMMIT
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.5ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
[1m[35m (0.3ms)[0m ROLLBACK
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.8ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875918" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_tools"
- [1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 836111569)[0m
- [1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_player_content_modules"
- [1m[36mFixture Insert (1.1ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 21:01:17', '2014-06-19 21:01:17', 437912910, 836111569)[0m
- [1m[35mFixture Insert (0.6ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 21:01:17', '2014-06-19 21:01:17', 511237275, 836111569)
- [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
- [1m[35mFixture Insert (1.2ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 555816777, 437912910)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 46790607, 511237275)[0m
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875918" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.7ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.4ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.5ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875918" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_player_slideshows"
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 504123193)[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_slides"
- [1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 538050605, 504123193)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 958091673, 504123193)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 21:01:17', '2014-06-19 21:01:17', 236740868, 504123193)[0m
- [1m[35m (0.5ms)[0m COMMIT
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_875918" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::Slide Load (0.6ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.6ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.6ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
- [1m[36m (0.3ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m SET CONSTRAINTS bit_player_slide_position DEFERRED
- [1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868[0m
- [1m[35mSQL (0.5ms)[0m UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605
- [1m[36mSQL (0.6ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673[0m
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mBitPlayer::Slide Load (0.5ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.5ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
[1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.7ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[36m (4.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
- [1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (4.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
[1m[35m (0.3ms)[0m BEGIN
- [1m[36m (6.2ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[36m (6.3ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
[1m[35m (0.4ms)[0m BEGIN
- [1m[36m (5.5ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[36m (5.2ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
[1m[36m (3.1ms)[0m [1m ALTER TABLE bit_player_content_providers
ADD CONSTRAINT fk_content_providers_modules
FOREIGN KEY (bit_player_content_module_id)
REFERENCES bit_player_content_modules(id)
[0m
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
[1m[36m (0.9ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
[1m[35m (0.5ms)[0m BEGIN
- [1m[36m (3.9ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.3ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36m (4.3ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
[1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.5ms)[0m [1mBEGIN[0m
- [1m[35m (5.1ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (4.0ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
[1m[35m (0.5ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
[1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (5.1ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.1ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (2.0ms)[0m ALTER TABLE bit_player_slides
+ [1m[35m (7.7ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (2.4ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.9ms)[0m ALTER TABLE bit_player_slides
ADD CONSTRAINT fk_slides_slideshows
FOREIGN KEY (bit_player_slideshow_id)
REFERENCES bit_player_slideshows(id)
- [1m[36m (1.7ms)[0m [1m ALTER TABLE bit_player_slides
+ [1m[36m (2.4ms)[0m [1m ALTER TABLE bit_player_slides
ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
DEFERRABLE INITIALLY IMMEDIATE
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (1.0ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (3.8ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35m (0.9ms)[0m BEGIN
+ [1m[36m (5.8ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.0ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.7ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.9ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (1.1ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.6ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.6ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.8ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.2ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to AddConfigFieldsToProviders (20140619200219)
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255)[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255)
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean
- [1m[36m (0.3ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]]
- [1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (0.9ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876008" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER
+ [1m[35m (0.7ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.3ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.5ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (1.9ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
[1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_tools"
- [1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 836111569)[0m
- [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_player_content_modules"
- [1m[36mFixture Insert (1.2ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 21:13:56', '2014-06-19 21:13:56', 437912910, 836111569)[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 21:13:56', '2014-06-19 21:13:56', 511237275, 836111569)
- [1m[36mFixture Delete (0.9ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
- [1m[35mFixture Insert (1.1ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 555816777, 437912910)
- [1m[36mFixture Insert (0.4ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 46790607, 511237275)[0m
- [1m[35m (0.5ms)[0m COMMIT
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876008" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[35m (0.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.8ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.5ms)[0m ROLLBACK
+ [1m[35m (3.6ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.4ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36m (6.0ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (3.0ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.5ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620222616)
+ [1m[35m (0.8ms)[0m BEGIN
+ [1m[36m (8.4ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.2ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.4ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (3.9ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlides (20140620222618)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (7.9ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.8ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140620222620)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (1.0ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (1.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.8ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.5ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mBitPlayer::Tool Load (1.7ms)[0m [1mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[35mBitPlayer::ContentModule Load (1.0ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36mBitPlayer::ContentProvider Load (1.3ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers"[0m
+ [1m[35m (0.5ms)[0m ALTER TABLE bit_player_content_modules
+ DROP CONSTRAINT IF EXISTS fk_content_modules_tools
+
+ [1m[36m (1.0ms)[0m [1m ALTER TABLE bit_player_content_providers
+ DROP CONSTRAINT IF EXISTS fk_content_providers_modules
+[0m
+ [1m[35m (1.8ms)[0m DROP TABLE "bit_player_tools"
+ [1m[36m (1.8ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
+ [1m[35m (2.0ms)[0m DROP TABLE "bit_player_content_providers"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620222851"]]
+ [1m[35m (2.2ms)[0m COMMIT
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.5ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
[1m[35m (0.2ms)[0m ROLLBACK
[1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.8ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
+ [1m[35mBitCore::ContentModule Load (2.5ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876008" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER[0m
+ [1m[36m (4.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
+ [1m[35m (2.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateBitPlayerContentModules (20140305200438)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "bit_player_slideshows"[0m
- [1m[35mFixture Insert (0.6ms)[0m INSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 504123193)
- [1m[36mFixture Delete (1.0ms)[0m [1mDELETE FROM "bit_player_slides"[0m
- [1m[35mFixture Insert (1.7ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 538050605, 504123193)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 958091673, 504123193)[0m
- [1m[35mFixture Insert (0.4ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 21:13:56', '2014-06-19 21:13:56', 236740868, 504123193)
+ [1m[36m (6.6ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876008" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER[0m
+Migrating to CreateBitPlayerContentProviders (20140305201300)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (5.1ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (4.0ms)[0m [1m ALTER TABLE bit_player_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_player_content_module_id)
+ REFERENCES bit_player_content_modules(id)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (5.2ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
+ [1m[35m (0.5ms)[0m COMMIT
+Migrating to CreateBitPlayerSlideshows (20140305232706)
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (3.9ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (0.5ms)[0m COMMIT
+Migrating to CreateBitPlayerSlides (20140305234327)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (6.3ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.5ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.8ms)[0m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT fk_slides_slideshows
+ FOREIGN KEY (bit_player_slideshow_id)
+ REFERENCES bit_player_slideshows(id)
+
+ [1m[36m (2.7ms)[0m [1m ALTER TABLE bit_player_slides
+ ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitPlayerTools (20140402224913)
+ [1m[35m (0.8ms)[0m BEGIN
+ [1m[36m (5.9ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[36m (1.7ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.8ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.9ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
+[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.2ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.7ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.0ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
+ [1m[36m (0.3ms)[0m [1mBEGIN[0m
+ [1m[35m (3.7ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.5ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (5.0ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.1ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.3ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620222616)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (7.8ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.7ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.9ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
+ [1m[36m (0.7ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.2ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlides (20140620222618)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (6.0ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.8ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.1ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
+[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Migrating to AddConfigFieldsToProviders (20140620222620)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.1ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36m (0.2ms)[0m [1mROLLBACK[0m
- [1m[35m (0.1ms)[0m BEGIN
- [1m[36mBitPlayer::Slide Load (0.6ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.6ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36m (0.3ms)[0m [1mSET CONSTRAINTS bit_player_slide_position DEFERRED[0m
- [1m[35mSQL (0.5ms)[0m UPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868
- [1m[36mSQL (0.4ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605[0m
- [1m[35mSQL (0.4ms)[0m UPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673
- [1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35mBitPlayer::Slide Load (0.6ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.5ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.6ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.9ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
+ [1m[36m (0.4ms)[0m [1mCOMMIT[0m
+Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mBitPlayer::Tool Load (1.2ms)[0m [1mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[35mBitPlayer::ContentModule Load (0.9ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36mBitPlayer::ContentProvider Load (1.1ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers"[0m
+ [1m[35m (0.6ms)[0m ALTER TABLE bit_player_content_modules
+ DROP CONSTRAINT IF EXISTS fk_content_modules_tools
+
+ [1m[36m (1.2ms)[0m [1m ALTER TABLE bit_player_content_providers
+ DROP CONSTRAINT IF EXISTS fk_content_providers_modules
+[0m
+ [1m[35m (2.3ms)[0m DROP TABLE "bit_player_tools"
+ [1m[36m (2.6ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
+ [1m[35m (3.4ms)[0m DROP TABLE "bit_player_content_providers"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620222851"]]
+ [1m[35m (2.3ms)[0m COMMIT
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mBitCore::ContentModule Load (1.5ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
[1m[36m (4.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
- [1m[35m (0.2ms)[0m BEGIN
- [1m[36m (6.1ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (6.5ms)[0m [1mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerContentProviders (20140305201300)
- [1m[35m (0.5ms)[0m BEGIN
- [1m[36m (6.0ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.7ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (4.6ms)[0m [1m ALTER TABLE bit_player_content_providers
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (5.5ms)[0m [1mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
+ [1m[36m (4.3ms)[0m [1m ALTER TABLE bit_player_content_providers
ADD CONSTRAINT fk_content_providers_modules
FOREIGN KEY (bit_player_content_module_id)
REFERENCES bit_player_content_modules(id)
[0m
- [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
- [1m[36m (1.0ms)[0m [1mCOMMIT[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [1m[35m (0.6ms)[0m BEGIN
- [1m[36m (3.8ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (2.1ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
- [1m[35m (0.6ms)[0m COMMIT
-Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.5ms)[0m [1mBEGIN[0m
- [1m[35m (3.4ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (5.1ms)[0m [1mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
[1m[35m (0.5ms)[0m COMMIT
+Migrating to CreateBitPlayerSlideshows (20140305232706)
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (5.1ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232706"]]
+ [1m[35m (1.0ms)[0m COMMIT
Migrating to CreateBitPlayerSlides (20140305234327)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (4.9ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
- [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
- [1m[35m (2.0ms)[0m ALTER TABLE bit_player_slides
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (8.3ms)[0m CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.5ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.5ms)[0m ALTER TABLE bit_player_slides
ADD CONSTRAINT fk_slides_slideshows
FOREIGN KEY (bit_player_slideshow_id)
REFERENCES bit_player_slideshows(id)
- [1m[36m (1.7ms)[0m [1m ALTER TABLE bit_player_slides
+ [1m[36m (2.2ms)[0m [1m ALTER TABLE bit_player_slides
ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
DEFERRABLE INITIALLY IMMEDIATE
[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
Migrating to CreateBitPlayerTools (20140402224913)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (4.0ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
- [1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36m (3.8ms)[0m [1mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36mBitPlayer::Slideshow Load (0.7ms)[0m [1mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[35mBitPlayer::Slide Load (0.9ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
+ [1m[36m (1.2ms)[0m [1m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT fk_slides_slideshows
+[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS bit_player_slide_position
+
+ [1m[36m (2.2ms)[0m [1mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (1.2ms)[0m DROP TABLE "bit_player_slideshows"
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
+ [1m[35m (2.6ms)[0m COMMIT
+Migrating to CreateBitCoreTools (20140620222614)
+ [1m[36m (0.4ms)[0m [1mBEGIN[0m
+ [1m[35m (4.2ms)[0m CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
+ [1m[36m (1.6ms)[0m [1m ALTER TABLE bit_core_tools
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
+ DEFERRABLE INITIALLY IMMEDIATE
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
+ [1m[36m (0.9ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentModules (20140620222615)
+ [1m[35m (0.6ms)[0m BEGIN
+ [1m[36m (4.2ms)[0m [1mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.4ms)[0m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (3.1ms)[0m [1m ALTER TABLE bit_core_content_modules
+ ADD CONSTRAINT fk_content_modules_tools
+ FOREIGN KEY (bit_core_tool_id)
+ REFERENCES bit_core_tools(id)
+[0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
+ [1m[36m (0.8ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreContentProviders (20140620222616)
+ [1m[35m (0.7ms)[0m BEGIN
+ [1m[36m (7.3ms)[0m [1mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (2.8ms)[0m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.7ms)[0m [1m ALTER TABLE bit_core_content_providers
+ ADD CONSTRAINT fk_content_providers_modules
+ FOREIGN KEY (bit_core_content_module_id)
+ REFERENCES bit_core_content_modules(id)
+[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
+ [1m[36m (0.6ms)[0m [1mCOMMIT[0m
+Migrating to CreateBitCoreSlideshows (20140620222617)
+ [1m[35m (0.5ms)[0m BEGIN
+ [1m[36m (4.3ms)[0m [1mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer[0m
- [1m[35mBitPlayer::ContentModule Load (0.5ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_modules" ALTER "bit_player_tool_id" SET NOT NULL[0m
- [1m[35m (0.7ms)[0m ALTER TABLE "bit_player_content_modules" DROP "context"
- [1m[36m (2.2ms)[0m [1m ALTER TABLE bit_player_content_modules
- ADD CONSTRAINT fk_content_modules_tools
- FOREIGN KEY (bit_player_tool_id)
- REFERENCES bit_player_tools(id)
+Migrating to CreateBitCoreSlides (20140620222618)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (6.1ms)[0m [1mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
+ [1m[35m (1.7ms)[0m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
+ DEFERRABLE INITIALLY IMMEDIATE
+
+ [1m[36m (2.2ms)[0m [1m ALTER TABLE bit_core_slides
+ ADD CONSTRAINT fk_slideshows_slides
+ FOREIGN KEY (bit_core_slideshow_id)
+ REFERENCES bit_core_slideshows(id)
[0m
- [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402225703"]]
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
+ [1m[36m (0.5ms)[0m [1mCOMMIT[0m
+Migrating to AddOptionsToSlides (20140620222619)
+ [1m[35m (0.4ms)[0m BEGIN
+ [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
-Migrating to AddConfigFieldsToProviders (20140619200219)
+Migrating to AddConfigFieldsToProviders (20140620222620)
[1m[35m (0.2ms)[0m BEGIN
- [1m[36m (0.5ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255)[0m
- [1m[35m (0.3ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255)
- [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text[0m
- [1m[35m (0.4ms)[0m ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean
- [1m[36m (0.3ms)[0m [1mALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text[0m
- [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]]
+ [1m[36m (0.8ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
+ [1m[35m (0.7ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
+ [1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
+ [1m[35m (0.5ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
+ [1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
- [1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
+ [1m[35m (0.3ms)[0m BEGIN
+ [1m[36mBitPlayer::Tool Load (1.1ms)[0m [1mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[35mBitPlayer::ContentModule Load (0.8ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
+ [1m[36mBitPlayer::ContentProvider Load (1.0ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers"[0m
+ [1m[35m (0.6ms)[0m ALTER TABLE bit_player_content_modules
+ DROP CONSTRAINT IF EXISTS fk_content_modules_tools
+
+ [1m[36m (1.6ms)[0m [1m ALTER TABLE bit_player_content_providers
+ DROP CONSTRAINT IF EXISTS fk_content_providers_modules
+[0m
+ [1m[35m (2.3ms)[0m DROP TABLE "bit_player_tools"
+ [1m[36m (3.5ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
+ [1m[35m (2.7ms)[0m DROP TABLE "bit_player_content_providers"
+ [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620222851"]]
+ [1m[35m (2.9ms)[0m COMMIT
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
[1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (1.0ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876098" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[35m (0.8ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_player_slideshows"
- [1m[36mFixture Insert (0.9ms)[0m [1mINSERT INTO "bit_player_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 504123193)[0m
- [1m[35mFixture Delete (1.0ms)[0m DELETE FROM "bit_player_slides"
- [1m[36mFixture Insert (1.8ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 538050605, 504123193)[0m
- [1m[35mFixture Insert (0.6ms)[0m INSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 958091673, 504123193)
- [1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "bit_player_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_player_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 236740868, 504123193)[0m
- [1m[35m (0.4ms)[0m COMMIT
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876098" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[35m (1.4ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::Slide Load (1.0ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
- [1m[36mBitPlayer::Slide Load (0.6ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
- [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35m (0.3ms)[0m SET CONSTRAINTS bit_player_slide_position DEFERRED
- [1m[36mSQL (0.6ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 1 WHERE "bit_player_slides"."id" = 236740868[0m
- [1m[35mSQL (0.5ms)[0m UPDATE "bit_player_slides" SET "position" = 2 WHERE "bit_player_slides"."id" = 538050605
- [1m[36mSQL (0.4ms)[0m [1mUPDATE "bit_player_slides" SET "position" = 3 WHERE "bit_player_slides"."id" = 958091673[0m
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36mBitPlayer::Slide Load (0.3ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
- [1m[35mBitPlayer::Slide Load (0.5ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
- [1m[36mBitPlayer::Slide Load (0.4ms)[0m [1mSELECT "bit_player_slides".* FROM "bit_player_slides" WHERE "bit_player_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.1ms)[0m ROLLBACK
- [1m[36m (0.5ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876098" is a system trigger
-: ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_player_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_player_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_player_tools"
- [1m[36mFixture Insert (0.8ms)[0m [1mINSERT INTO "bit_player_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 836111569)[0m
- [1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_player_content_modules"
- [1m[36mFixture Insert (1.0ms)[0m [1mINSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('Landing', 1, '2014-06-19 21:14:45', '2014-06-19 21:14:45', 437912910, 836111569)[0m
- [1m[35mFixture Insert (0.5ms)[0m INSERT INTO "bit_player_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_player_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-19 21:14:45', '2014-06-19 21:14:45', 511237275, 836111569)
- [1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_player_content_providers"[0m
- [1m[35mFixture Insert (1.1ms)[0m INSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 555816777, 437912910)
- [1m[36mFixture Insert (0.5ms)[0m [1mINSERT INTO "bit_player_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_player_content_module_id") VALUES (1, 'BitPlayer::ContentProviders::SlideshowProvider', '2014-06-19 21:14:45', '2014-06-19 21:14:45', 46790607, 511237275)[0m
- [1m[35m (0.8ms)[0m COMMIT
- [1m[36m (0.6ms)[0m [1mALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL[0m
-PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_876098" is a system trigger
-: ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL
- [1m[35m (0.5ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_player_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_player_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER USER
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (1.0ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 8 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
- [1m[36mBitPlayer::ContentProvider Load (0.7ms)[0m [1mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers" WHERE "bit_player_content_providers"."bit_player_content_module_id" = $1 AND "bit_player_content_providers"."position" = 1 ORDER BY "bit_player_content_providers"."id" ASC LIMIT 1[0m [["bit_player_content_module_id", 437912910]]
- [1m[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35mBitPlayer::ContentModule Load (0.6ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."bit_player_tool_id" = 1 AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1
+ [1m[35mBitCore::ContentModule Load (1.5ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
+ [1m[36m (0.3ms)[0m [1mROLLBACK[0m
+ [1m[35m (0.2ms)[0m BEGIN
[1m[36m (0.3ms)[0m [1mROLLBACK[0m