spec/dummy/log/test.log in bit_player-0.4.3 vs spec/dummy/log/test.log in bit_player-0.4.4

- old
+ new

@@ -3128,5 +3128,171 @@  (0.2ms) BEGIN BitCore::ContentModule Load (1.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK + ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations +: SELECT "schema_migrations".* FROM "schema_migrations" +  (9.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateBitPlayerContentModules (20140305200438) +  (0.3ms) BEGIN +  (7.2ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]] +  (0.8ms) COMMIT +Migrating to CreateBitPlayerContentProviders (20140305201300) +  (0.3ms) BEGIN +  (6.0ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (6.1ms)  ALTER TABLE bit_player_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_player_content_module_id) + REFERENCES bit_player_content_modules(id) + + SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]] +  (0.8ms) COMMIT +Migrating to CreateBitPlayerParticipantStatuses (20140305232705) +  (0.3ms) BEGIN +  (3.8ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.2ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]] +  (0.8ms) COMMIT +Migrating to CreateBitPlayerSlideshows (20140305232706) +  (0.5ms) BEGIN +  (5.0ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]] +  (0.6ms) COMMIT +Migrating to CreateBitPlayerSlides (20140305234327) +  (0.5ms) BEGIN +  (6.2ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (2.6ms) ALTER TABLE bit_player_slides + ADD CONSTRAINT fk_slides_slideshows + FOREIGN KEY (bit_player_slideshow_id) + REFERENCES bit_player_slideshows(id) + +  (2.0ms)  ALTER TABLE bit_player_slides + ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]] +  (0.6ms) COMMIT +Migrating to CreateBitPlayerTools (20140402224913) +  (0.4ms) BEGIN +  (3.7ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title") +  (2.1ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]] +  (0.6ms) COMMIT +Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756) +  (0.7ms) BEGIN + BitPlayer::Slideshow Load (1.0ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows" + BitPlayer::Slide Load (1.1ms) SELECT "bit_player_slides".* FROM "bit_player_slides" +  (1.7ms)  ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS fk_slides_slideshows + +  (0.9ms) ALTER TABLE bit_player_slides + DROP CONSTRAINT IF EXISTS bit_player_slide_position + +  (2.5ms) DROP TABLE "bit_player_slides" +  (1.3ms) DROP TABLE "bit_player_slideshows" + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]] +  (2.1ms) COMMIT +Migrating to CreateBitCoreTools (20140620222614) +  (0.4ms) BEGIN +  (5.1ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.7ms)  ALTER TABLE bit_core_tools + ADD CONSTRAINT bit_core_tool_position UNIQUE (position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]] +  (0.6ms) COMMIT +Migrating to CreateBitCoreContentModules (20140620222615) +  (0.3ms) BEGIN +  (3.6ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.6ms) ALTER TABLE bit_core_content_modules + ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.1ms)  ALTER TABLE bit_core_content_modules + ADD CONSTRAINT fk_content_modules_tools + FOREIGN KEY (bit_core_tool_id) + REFERENCES bit_core_tools(id) + + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]] +  (0.9ms) COMMIT +Migrating to CreateBitCoreContentProviders (20140620222616) +  (0.7ms) BEGIN +  (7.3ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (2.4ms) ALTER TABLE bit_core_content_providers + ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.8ms)  ALTER TABLE bit_core_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_core_content_module_id) + REFERENCES bit_core_content_modules(id) + + SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]] +  (0.7ms) COMMIT +Migrating to CreateBitCoreSlideshows (20140620222617) +  (0.5ms) BEGIN +  (4.2ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]] +  (0.5ms) COMMIT +Migrating to CreateBitCoreSlides (20140620222618) +  (0.3ms) BEGIN +  (5.4ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.6ms) ALTER TABLE bit_core_slides + ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + +  (2.0ms)  ALTER TABLE bit_core_slides + ADD CONSTRAINT fk_slideshows_slides + FOREIGN KEY (bit_core_slideshow_id) + REFERENCES bit_core_slideshows(id) + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]] +  (0.6ms) COMMIT +Migrating to AddOptionsToSlides (20140620222619) +  (0.3ms) BEGIN +  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]] +  (0.9ms) COMMIT +Migrating to AddConfigFieldsToProviders (20140620222620) +  (0.4ms) BEGIN +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255) +  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255) +  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean +  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]] +  (0.7ms) COMMIT +Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851) +  (0.3ms) BEGIN + BitPlayer::Tool Load (1.1ms) SELECT "bit_player_tools".* FROM "bit_player_tools" + BitPlayer::ContentModule Load (0.8ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" + BitPlayer::ContentProvider Load (0.9ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers" +  (0.3ms) ALTER TABLE bit_player_content_modules + DROP CONSTRAINT IF EXISTS fk_content_modules_tools + +  (0.9ms)  ALTER TABLE bit_player_content_providers + DROP CONSTRAINT IF EXISTS fk_content_providers_modules + +  (1.8ms) DROP TABLE "bit_player_tools" +  (1.8ms) DROP TABLE "bit_player_content_modules" +  (2.0ms) DROP TABLE "bit_player_content_providers" + SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]] +  (2.0ms) COMMIT + ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN + BitCore::ContentModule Load (1.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1 +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN + BitCore::ContentModule Load (2.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1 +  (0.3ms) ROLLBACK