spec/dummy/log/test.log in bit_player-0.4.4 vs spec/dummy/log/test.log in bit_player-0.4.9
- old
+ new
@@ -1,3298 +1,268 @@
- [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
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[36mBitCore::ContentModule Load (5.7ms)[0m [1m[34mSELECT "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" = $2 ORDER BY "bit_core_content_modules"."id" ASC LIMIT $3[0m [["bit_core_tool_id", 1], ["position", 1], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mBitCore::ContentModule Load (1.7ms)[0m [1m[34mSELECT "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" = $2 ORDER BY "bit_core_content_modules"."id" ASC LIMIT $3[0m [["bit_core_tool_id", 1], ["position", 1], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[36mBitCore::ContentModule Load (1.6ms)[0m [1m[34mSELECT "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" = $2 ORDER BY "bit_core_content_modules"."id" ASC LIMIT $3[0m [["bit_core_tool_id", 1], ["position", 1], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[36mActiveRecord::SchemaMigration Load (7.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (2.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", :environment]]
+ [1m[35m (138.1ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
+ [1m[35m (0.3ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
+ [1m[35m (530.7ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'unicode'[0m
+ [1m[35m (30.3ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)[0m
+ [1m[35m (9.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT pg_try_advisory_lock(2735718569030447490);[0m
+ [1m[36mActiveRecord::SchemaMigration Load (1.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
Migrating to CreateBitPlayerContentModules (20140305200438)
- [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
+ [1m[35m (1.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (14.2ms)[0m [1m[35mCREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "context" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)[0m
+ [1m[35mSQL (3.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140305200438"]]
+ [1m[35m (1.0ms)[0m [1m[35mCOMMIT[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.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
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (12.6ms)[0m [1m[35mCREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "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 (2.2ms)[0m [1m[35mCREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")[0m
+ [1m[35m (25.5ms)[0m [1m[35m 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[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140305201300"]]
+ [1m[35m (2.0ms)[0m [1m[35mCOMMIT[0m
Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [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
+ [1m[35m (1.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (19.3ms)[0m [1m[35mCREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying, "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)[0m
+ [1m[35m (3.7ms)[0m [1m[35mCREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")[0m
+ [1m[35mSQL (4.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140305232705"]]
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[0m
Migrating to CreateBitPlayerSlideshows (20140305232706)
- [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.5ms)[0m COMMIT
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (16.4ms)[0m [1m[35mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)[0m
+ [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140305232706"]]
+ [1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
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.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 (1.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (22.5ms)[0m [1m[35mCREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying, "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)[0m
+ [1m[35m (7.0ms)[0m [1m[35mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
+ [1m[35m (2.4ms)[0m [1m[35m 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.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.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 (0.6ms)[0m [1mCOMMIT[0m
-Migrating to ChangeModuleContextToTool (20140402225703)
- [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[35m (0.3ms)[0m ROLLBACK
- [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 (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
+ [1m[35m (5.3ms)[0m [1m[35m 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
+ [1m[35mSQL (1.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140305234327"]]
+ [1m[35m (1.0ms)[0m [1m[35mCOMMIT[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
+ [1m[35m (1.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (25.4ms)[0m [1m[35mCREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)[0m
+ [1m[35m (2.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")[0m
+ [1m[35m (6.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")[0m
+ [1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140402224913"]]
+ [1m[35m (0.7ms)[0m [1m[35mCOMMIT[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
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[36mBitPlayer::Slideshow Load (1.3ms)[0m [1m[34mSELECT "bit_player_slideshows".* FROM "bit_player_slideshows"[0m
+ [1m[36mBitPlayer::Slide Load (4.1ms)[0m [1m[34mSELECT "bit_player_slides".* FROM "bit_player_slides"[0m
+ [1m[35m (10.2ms)[0m [1m[35m ALTER TABLE bit_player_slides
+ DROP CONSTRAINT IF EXISTS fk_slides_slideshows
[0m
- [1m[35m (1.2ms)[0m ALTER TABLE bit_player_slides
+ [1m[35m (3.2ms)[0m [1m[35m 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[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[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.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.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.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.6ms)[0m COMMIT
-Migrating to CreateBitPlayerSlideshows (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.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 (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.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.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.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
-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.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.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
-Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [1m[35m (0.4ms)[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.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.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.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 (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.7ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitPlayerTools (20140402224913)
- [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.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 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[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 (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.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.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.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.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.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.4ms)[0m COMMIT
-Migrating to CreateBitPlayerSlides (20140305234327)
- [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 (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 (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 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[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 (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 (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[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.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.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.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.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.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
-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.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.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 (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.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
-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[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[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.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.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.9ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [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.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.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.5ms)[0m COMMIT
-Migrating to CreateBitPlayerSlides (20140305234327)
- [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 (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.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[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 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.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
-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[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [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.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.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.9ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [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.6ms)[0m COMMIT
-Migrating to CreateBitPlayerSlideshows (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 (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 (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 (4.7ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitPlayerTools (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 ConvertSlidesSlideshowsToBitCore (20140620182756)
- [1m[35m (0.4ms)[0m BEGIN
- [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[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
+ [1m[35m (5.4ms)[0m [1m[35mDROP TABLE "bit_player_slides"[0m
+ [1m[35m (2.6ms)[0m [1m[35mDROP TABLE "bit_player_slideshows"[0m
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140620182756"]]
+ [1m[35m (9.6ms)[0m [1m[35mCOMMIT[0m
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
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (19.1ms)[0m [1m[35mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)[0m
+ [1m[35m (7.9ms)[0m [1m[35m 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
+ [1m[35mSQL (4.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140620222614"]]
+ [1m[35m (1.0ms)[0m [1m[35mCOMMIT[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
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (21.0ms)[0m [1m[35mCREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying 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.9ms)[0m [1m[35m 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
-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[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 (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.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.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.9ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [1m[35m (0.4ms)[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.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.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.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.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 (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.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.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
+ [1m[35m (11.5ms)[0m [1m[35m 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
+ [1m[35mSQL (1.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140620222615"]]
+ [1m[35m (3.8ms)[0m [1m[35mCOMMIT[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
+ [1m[35m (7.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (53.8ms)[0m [1m[35mCREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "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 (10.4ms)[0m [1m[35m 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 CreateBitCoreSlides (20140620222618)
- [1m[35m (0.4ms)[0m BEGIN
- [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", "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
-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.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.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.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
+ [1m[35m (40.8ms)[0m [1m[35m ALTER TABLE bit_core_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.4ms)[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.6ms)[0m COMMIT
-Migrating to CreateBitPlayerSlideshows (20140305232706)
- [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 (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 (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.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.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 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.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[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
-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
+ [1m[35mSQL (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140620222616"]]
+ [1m[35m (1.1ms)[0m [1m[35mCOMMIT[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 (1.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (24.9ms)[0m [1m[35mCREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)[0m
+ [1m[35mSQL (0.8ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140620222617"]]
+ [1m[35m (1.1ms)[0m [1m[35mCOMMIT[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
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (14.5ms)[0m [1m[35mCREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)[0m
+ [1m[35m (2.7ms)[0m [1m[35m 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.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[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.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.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.8ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [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 (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 (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.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.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[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[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 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
+ [1m[35m (26.1ms)[0m [1m[35m 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
+ [1m[35mSQL (1.4ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140620222618"]]
+ [1m[35m (1.9ms)[0m [1m[35mCOMMIT[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[35m (1.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (2.2ms)[0m [1m[35mALTER TABLE "bit_core_slides" ADD "options" text[0m
+ [1m[35mSQL (0.7ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140620222619"]]
+ [1m[35m (0.6ms)[0m [1m[35mCOMMIT[0m
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.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
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.8ms)[0m [1m[35mALTER TABLE "bit_core_content_providers" ADD "template_path" character varying[0m
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying[0m
+ [1m[35m (0.6ms)[0m [1m[35mALTER TABLE "bit_core_content_providers" ADD "data_attributes" text[0m
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean[0m
+ [1m[35m (0.5ms)[0m [1m[35mALTER TABLE "bit_core_content_providers" ADD "locals" text[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140620222620"]]
+ [1m[35m (0.5ms)[0m [1m[35mCOMMIT[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
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[36mBitPlayer::Tool Load (1.2ms)[0m [1m[34mSELECT "bit_player_tools".* FROM "bit_player_tools"[0m
+ [1m[36mBitPlayer::ContentModule Load (1.2ms)[0m [1m[34mSELECT "bit_player_content_modules".* FROM "bit_player_content_modules"[0m
+ [1m[36mBitPlayer::ContentProvider Load (1.5ms)[0m [1m[34mSELECT "bit_player_content_providers".* FROM "bit_player_content_providers"[0m
+ [1m[35m (0.5ms)[0m [1m[35m 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.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.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.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.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.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.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 (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.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 (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 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[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 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
+ [1m[35m (1.9ms)[0m [1m[35m 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[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.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.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)
+ [1m[35m (3.3ms)[0m [1m[35mDROP TABLE "bit_player_tools"[0m
+ [1m[35m (5.7ms)[0m [1m[35mDROP TABLE "bit_player_content_modules"[0m
+ [1m[35m (7.2ms)[0m [1m[35mDROP TABLE "bit_player_content_providers"[0m
+ [1m[35mSQL (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20140620222851"]]
+ [1m[35m (6.3ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (2.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT $1[0m [["LIMIT", 1]]
+ [1m[35m (7.0ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (4.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", 2016-05-09 13:42:22 UTC], ["updated_at", 2016-05-09 13:42:22 UTC]]
+ [1m[35m (0.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT pg_advisory_unlock(2735718569030447490)[0m
+ [1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+ [1m[35m (10.3ms)[0m [1m[34mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
+FROM pg_constraint c
+JOIN pg_class t1 ON c.conrelid = t1.oid
+JOIN pg_class t2 ON c.confrelid = t2.oid
+JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
+JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
+JOIN pg_namespace t3 ON c.connamespace = t3.oid
+WHERE c.contype = 'f'
+ AND t1.relname = 'bit_core_content_modules'
+ AND t3.nspname = ANY (current_schemas(false))
+ORDER BY c.conname
[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.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.7ms)[0m COMMIT
-Migrating to CreateBitPlayerSlideshows (20140305232706)
- [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.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 (2.5ms)[0m [1m ALTER TABLE bit_player_slides
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
- DEFERRABLE INITIALLY IMMEDIATE
+ [1m[35m (4.3ms)[0m [1m[34mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
+FROM pg_constraint c
+JOIN pg_class t1 ON c.conrelid = t1.oid
+JOIN pg_class t2 ON c.confrelid = t2.oid
+JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
+JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
+JOIN pg_namespace t3 ON c.connamespace = t3.oid
+WHERE c.contype = 'f'
+ AND t1.relname = 'bit_core_content_providers'
+ AND t3.nspname = ANY (current_schemas(false))
+ORDER BY c.conname
[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 (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.2ms)[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[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
+ [1m[35m (5.2ms)[0m [1m[34mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
+FROM pg_constraint c
+JOIN pg_class t1 ON c.conrelid = t1.oid
+JOIN pg_class t2 ON c.confrelid = t2.oid
+JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
+JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
+JOIN pg_namespace t3 ON c.connamespace = t3.oid
+WHERE c.contype = 'f'
+ AND t1.relname = 'bit_core_slides'
+ AND t3.nspname = ANY (current_schemas(false))
+ORDER BY c.conname
[0m
- [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
+ [1m[35m (5.8ms)[0m [1m[34mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
+FROM pg_constraint c
+JOIN pg_class t1 ON c.conrelid = t1.oid
+JOIN pg_class t2 ON c.confrelid = t2.oid
+JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
+JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
+JOIN pg_namespace t3 ON c.connamespace = t3.oid
+WHERE c.contype = 'f'
+ AND t1.relname = 'bit_core_slideshows'
+ AND t3.nspname = ANY (current_schemas(false))
+ORDER BY c.conname
[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)
+ [1m[35m (4.4ms)[0m [1m[34mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
+FROM pg_constraint c
+JOIN pg_class t1 ON c.conrelid = t1.oid
+JOIN pg_class t2 ON c.confrelid = t2.oid
+JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
+JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
+JOIN pg_namespace t3 ON c.connamespace = t3.oid
+WHERE c.contype = 'f'
+ AND t1.relname = 'bit_core_tools'
+ AND t3.nspname = ANY (current_schemas(false))
+ORDER BY c.conname
[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)
+ [1m[35m (5.8ms)[0m [1m[34mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
+FROM pg_constraint c
+JOIN pg_class t1 ON c.conrelid = t1.oid
+JOIN pg_class t2 ON c.confrelid = t2.oid
+JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
+JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
+JOIN pg_namespace t3 ON c.connamespace = t3.oid
+WHERE c.contype = 'f'
+ AND t1.relname = 'bit_player_participant_statuses'
+ AND t3.nspname = ANY (current_schemas(false))
+ORDER BY c.conname
[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 (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 (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
-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[35m (0.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [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.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.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.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.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.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.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 (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.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[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 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 (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.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 (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.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[35m (0.3ms)[0m ROLLBACK
- [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[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[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.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.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.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.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.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.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 (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.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.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 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 (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.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 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_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.3ms)[0m ROLLBACK
- [1m[36m (0.2ms)[0m [1mBEGIN[0m
- [1m[35m (0.3ms)[0m ROLLBACK
- [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.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.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 (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.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 (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 (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.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.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 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[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[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[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [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[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[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.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.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 (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.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.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.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 (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.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 (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.5ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitPlayerTools (20140402224913)
- [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 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", "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 (20140620222620)
- [1m[35m (0.2ms)[0m BEGIN
- [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
-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[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 (3.6ms)[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.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.5ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitPlayerContentProviders (20140305201300)
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (5.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.1ms)[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.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[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.4ms)[0m [1mBEGIN[0m
- [1m[35m (4.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.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.4ms)[0m [1mBEGIN[0m
- [1m[35m (5.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.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
- 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
- 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.3ms)[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.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.6ms)[0m [1mCOMMIT[0m
-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 (0.7ms)[0m SELECT "bit_player_slides".* FROM "bit_player_slides"
- [1m[36m (1.4ms)[0m [1m ALTER TABLE bit_player_slides
- DROP CONSTRAINT IF EXISTS 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.7ms)[0m [1mDROP TABLE "bit_player_slides"[0m
- [1m[35m (1.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 (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.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.4ms)[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 (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.4ms)[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.9ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitCoreContentProviders (20140620222616)
- [1m[35m (0.5ms)[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 (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 (0.7ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitCoreSlideshows (20140620222617)
- [1m[35m (0.6ms)[0m BEGIN
- [1m[36m (5.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.4ms)[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 (8.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 (2.4ms)[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.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
- [1m[36m (0.8ms)[0m [1mCOMMIT[0m
-Migrating to AddOptionsToSlides (20140620222619)
- [1m[35m (0.8ms)[0m BEGIN
- [1m[36m (1.3ms)[0m [1mALTER TABLE "bit_core_slides" ADD COLUMN "options" text[0m
- [1m[35mSQL (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
- [1m[36m (0.8ms)[0m [1mCOMMIT[0m
-Migrating to AddConfigFieldsToProviders (20140620222620)
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (1.0ms)[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.8ms)[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.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.2ms)[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 (0.9ms)[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.5ms)[0m DROP TABLE "bit_player_tools"
- [1m[36m (2.7ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
- [1m[35m (3.0ms)[0m DROP TABLE "bit_player_content_providers"
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620222851"]]
- [1m[35m (3.0ms)[0m COMMIT
- [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35mBitCore::ContentModule Load (1.9ms)[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.2ms)[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
-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 (0.6ms)[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.3ms)[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.4ms)[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.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.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.4ms)[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.8ms)[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 (2.0ms)[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.5ms)[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.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[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.4ms)[0m BEGIN
- [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.3ms)[0m [1m ALTER TABLE bit_player_slides
- DROP CONSTRAINT IF EXISTS 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.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.1ms)[0m COMMIT
-Migrating to CreateBitCoreTools (20140620222614)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (5.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 (2.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", "20140620222614"]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitCoreContentModules (20140620222615)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (5.1ms)[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.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.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitCoreContentProviders (20140620222616)
- [1m[35m (0.4ms)[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.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.0ms)[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.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.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitCoreSlides (20140620222618)
- [1m[35m (0.5ms)[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.5ms)[0m ALTER TABLE bit_core_slides
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
- DEFERRABLE INITIALLY IMMEDIATE
-
- [1m[36m (3.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.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
- [1m[36m (0.9ms)[0m [1mCOMMIT[0m
-Migrating to AddOptionsToSlides (20140620222619)
- [1m[35m (0.5ms)[0m BEGIN
- [1m[36m (0.8ms)[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.8ms)[0m [1mCOMMIT[0m
-Migrating to AddConfigFieldsToProviders (20140620222620)
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (1.0ms)[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.9ms)[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.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.3ms)[0m BEGIN
- [1m[36mBitPlayer::Tool Load (1.2ms)[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.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.5ms)[0m DROP TABLE "bit_player_tools"
- [1m[36m (2.7ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
- [1m[35m (2.9ms)[0m DROP TABLE "bit_player_content_providers"
- [1m[36mSQL (0.4ms)[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[35mBitCore::ContentModule Load (1.7ms)[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.2ms)[0m [1mROLLBACK[0m
- [1m[36m (4.2ms)[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.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.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.3ms)[0m BEGIN
- [1m[36m (5.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.1ms)[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
- 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.4ms)[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.7ms)[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.6ms)[0m COMMIT
-Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.5ms)[0m [1mBEGIN[0m
- [1m[35m (4.2ms)[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.4ms)[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 (2.1ms)[0m ALTER TABLE bit_player_slides
- ADD CONSTRAINT fk_slides_slideshows
- FOREIGN KEY (bit_player_slideshow_id)
- REFERENCES bit_player_slideshows(id)
-
- [1m[36m (1.6ms)[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
-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.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 ConvertSlidesSlideshowsToBitCore (20140620182756)
- [1m[35m (0.4ms)[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 IF EXISTS 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.0ms)[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 (2.0ms)[0m COMMIT
-Migrating to CreateBitCoreTools (20140620222614)
- [1m[36m (0.3ms)[0m [1mBEGIN[0m
- [1m[35m (4.9ms)[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.7ms)[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.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.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.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
- [1m[36m (0.6ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitCoreContentProviders (20140620222616)
- [1m[35m (0.4ms)[0m BEGIN
- [1m[36m (4.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 (1.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.0ms)[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.3ms)[0m BEGIN
- [1m[36m (5.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", "20140620222617"]]
- [1m[36m (0.5ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitCoreSlides (20140620222618)
- [1m[35m (0.9ms)[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 (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 (3.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.5ms)[0m BEGIN
- [1m[36m (0.9ms)[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.6ms)[0m [1mCOMMIT[0m
-Migrating to AddConfigFieldsToProviders (20140620222620)
- [1m[35m (0.3ms)[0m BEGIN
- [1m[36m (1.3ms)[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.9ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text[0m
- [1m[35m (1.0ms)[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.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.3ms)[0m BEGIN
- [1m[36mBitPlayer::Tool Load (1.2ms)[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 (1.1ms)[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.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.8ms)[0m [1mDROP TABLE "bit_player_content_modules"[0m
- [1m[35m (3.1ms)[0m DROP TABLE "bit_player_content_providers"
- [1m[36mSQL (0.4ms)[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[35mBitCore::ContentModule Load (1.4ms)[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.2ms)[0m [1mROLLBACK[0m
- [1m[36mActiveRecord::SchemaMigration Load (1.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
-PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations
-: SELECT "schema_migrations".* FROM "schema_migrations"
- [1m[36m (9.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
- [1m[35m (4.3ms)[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.3ms)[0m BEGIN
- [1m[36m (7.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.8ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitPlayerContentProviders (20140305201300)
- [1m[35m (0.3ms)[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.4ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
- [1m[36m (6.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 (1.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
- [1m[36m (0.8ms)[0m [1mCOMMIT[0m
-Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
- [1m[35m (0.3ms)[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.2ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
- [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305232705"]]
- [1m[35m (0.8ms)[0m COMMIT
-Migrating to CreateBitPlayerSlideshows (20140305232706)
- [1m[36m (0.5ms)[0m [1mBEGIN[0m
- [1m[35m (5.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.6ms)[0m COMMIT
-Migrating to CreateBitPlayerSlides (20140305234327)
- [1m[36m (0.5ms)[0m [1mBEGIN[0m
- [1m[35m (6.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.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.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 (2.0ms)[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.6ms)[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.5ms)[0m CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
- [1m[36m (2.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 (0.6ms)[0m [1mCOMMIT[0m
-Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
- [1m[35m (0.7ms)[0m BEGIN
- [1m[36mBitPlayer::Slideshow Load (1.0ms)[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.7ms)[0m [1m ALTER TABLE bit_player_slides
- DROP CONSTRAINT IF EXISTS fk_slides_slideshows
-[0m
- [1m[35m (0.9ms)[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.3ms)[0m DROP TABLE "bit_player_slideshows"
- [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620182756"]]
- [1m[35m (2.1ms)[0m COMMIT
-Migrating to CreateBitCoreTools (20140620222614)
- [1m[36m (0.4ms)[0m [1mBEGIN[0m
- [1m[35m (5.1ms)[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.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 (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.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.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.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.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.8ms)[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.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.3ms)[0m BEGIN
- [1m[36m (5.4ms)[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.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.6ms)[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.9ms)[0m [1mCOMMIT[0m
-Migrating to AddConfigFieldsToProviders (20140620222620)
- [1m[35m (0.4ms)[0m BEGIN
- [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.6ms)[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.7ms)[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.8ms)[0m SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
- [1m[36mBitPlayer::ContentProvider Load (0.9ms)[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.9ms)[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.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620222851"]]
- [1m[35m (2.0ms)[0m COMMIT
- [1m[36mActiveRecord::SchemaMigration Load (0.4ms)[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.1ms)[0m BEGIN
- [1m[36m (0.3ms)[0m [1mROLLBACK[0m
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [1m[35m (0.2ms)[0m ROLLBACK
- [1m[36m (0.1ms)[0m [1mBEGIN[0m
- [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.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[36mBitCore::ContentModule Load (1.8ms)[0m [1m[34mSELECT "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" = $2 ORDER BY "bit_core_content_modules"."id" ASC LIMIT $3[0m [["bit_core_tool_id", 1], ["position", 1], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m