spec/dummy/log/test.log in bit_player-0.1.1 vs spec/dummy/log/test.log in bit_player-0.1.2

- old
+ new

@@ -82,5 +82,176 @@  (0.2ms) BEGIN BitPlayer::ContentModule Load (1.7ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK +  (0.2ms) BEGIN + BitPlayer::ContentModule Load (1.7ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN + BitPlayer::ContentModule Load (5.2ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) ROLLBACK +  (0.1ms) BEGIN +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +PG::UndefinedTable: ERROR: relation "bit_player_slides" does not exist +LINE 5: WHERE a.attrelid = '"bit_player_slides"'::reg... + ^ +: SELECT a.attname, format_type(a.atttypid, a.atttypmod), + pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod + FROM pg_attribute a LEFT JOIN pg_attrdef d + ON a.attrelid = d.adrelid AND a.attnum = d.adnum + WHERE a.attrelid = '"bit_player_slides"'::regclass + AND a.attnum > 0 AND NOT a.attisdropped + ORDER BY a.attnum + +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN + BitPlayer::ContentModule Load (0.5ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 +PG::UndefinedTable: ERROR: relation "bit_player_content_modules" does not exist +LINE 1: SELECT "bit_player_content_modules".* FROM "bit_player_cont... + ^ +: SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 +  (0.1ms) ROLLBACK +  (0.1ms) BEGIN +  (0.2ms) ROLLBACK +  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateBitPlayerContentModules (20140305231316) +  (0.2ms) BEGIN +  (6.0ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]] +  (0.5ms) COMMIT +Migrating to CreateBitPlayerContentProviders (20140305231317) +  (0.3ms) BEGIN +  (4.7ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (5.2ms)  ALTER TABLE bit_player_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_player_content_module_id) + REFERENCES bit_player_content_modules(id) + + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]] +  (0.9ms) COMMIT +Migrating to CreateBitPlayerParticipantStatuses (20140305233110) +  (0.5ms) BEGIN +  (4.6ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.2ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305233110"]] +  (0.5ms) COMMIT +Migrating to CreateBitPlayerSlideshows (20140305234757) +  (0.3ms) BEGIN +  (3.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234757"]] +  (0.4ms) COMMIT +Migrating to CreateBitPlayerSlides (20140306000537) +  (0.3ms) BEGIN +  (4.8ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.1ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (1.2ms) CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" ("position", "bit_player_slideshow_id") +  (1.9ms)  ALTER TABLE bit_player_slides + ADD CONSTRAINT fk_slides_slideshows + FOREIGN KEY (bit_player_slideshow_id) + REFERENCES bit_player_slideshows(id) + +  (1.6ms) ALTER TABLE bit_player_slides + ADD CONSTRAINT slide_position UNIQUE (bit_player_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140306000537"]] +  (0.8ms) COMMIT + ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN + BitPlayer::ContentModule Load (1.9ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) ROLLBACK +  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  +  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +Migrating to CreateBitPlayerContentModules (20140305231316) +  (0.2ms) BEGIN +  (6.0ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  + SQL (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]] +  (0.5ms) COMMIT +Migrating to CreateBitPlayerContentProviders (20140305231317) +  (0.3ms) BEGIN +  (4.9ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id") +  (3.0ms)  ALTER TABLE bit_player_content_providers + ADD CONSTRAINT fk_content_providers_modules + FOREIGN KEY (bit_player_content_module_id) + REFERENCES bit_player_content_modules(id) + + SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]] +  (0.8ms) COMMIT +Migrating to CreateBitPlayerParticipantStatuses (20140305233110) +  (0.4ms) BEGIN +  (3.9ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  +  (1.2ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id") + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305233110"]] +  (0.5ms) COMMIT +Migrating to CreateBitPlayerSlideshows (20140305234757) +  (0.3ms) BEGIN +  (3.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234757"]] +  (0.5ms) COMMIT +Migrating to CreateBitPlayerSlides (20140306000537) +  (0.3ms) BEGIN +  (4.9ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) +  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id") +  (1.2ms) CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" ("position", "bit_player_slideshow_id") +  (2.0ms)  ALTER TABLE bit_player_slides + ADD CONSTRAINT fk_slides_slideshows + FOREIGN KEY (bit_player_slideshow_id) + REFERENCES bit_player_slideshows(id) + +  (1.5ms) ALTER TABLE bit_player_slides + ADD CONSTRAINT slide_position UNIQUE (bit_player_slideshow_id, position) + DEFERRABLE INITIALLY IMMEDIATE + + SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140306000537"]] +  (0.6ms) COMMIT + ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" +  (0.2ms) BEGIN +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN + BitPlayer::ContentModule Load (1.8ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 +  (0.3ms) ROLLBACK +  (0.1ms) BEGIN + BitPlayer::ContentModule Load (2.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 +  (0.3ms) ROLLBACK +  (0.3ms) BEGIN +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN + BitPlayer::ContentModule Load (1.8ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +  (0.3ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN +  (0.2ms) ROLLBACK +  (0.2ms) BEGIN + BitPlayer::ContentModule Load (2.0ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules" WHERE "bit_player_content_modules"."context" = 'a' AND "bit_player_content_modules"."position" = 1 ORDER BY "bit_player_content_modules"."id" ASC LIMIT 1 +  (0.3ms) ROLLBACK