SQL (3.9ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (8.7ms) DROP TABLE "bit_player_content_modules" PG::DependentObjectsStillExist: ERROR: cannot drop table bit_player_content_modules because other objects depend on it DETAIL: constraint fk_content_providers_modules on table bit_player_content_providers depends on table bit_player_content_modules HINT: Use DROP ... CASCADE to drop the dependent objects too. : DROP TABLE "bit_player_content_modules" ActiveRecord::SchemaMigration Load (3.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerSlides (20140306000537)  (0.3ms) BEGIN  (10.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  PG::DuplicateTable: ERROR: relation "bit_player_slides" already exists : 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)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitPlayerSlides (20140306000537)  (0.2ms) BEGIN  (4.0ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  PG::DuplicateTable: ERROR: relation "bit_player_slides" already exists : 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)  (0.2ms) ROLLBACK  (114.2ms) DROP DATABASE IF EXISTS "dummy_test"  (246.1ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (1.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (13.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)  (5.5ms) 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)   (2.0ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")  (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.9ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")  (7.5ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "created_at" timestamp, "updated_at" timestamp)   (1.8ms) CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")  (1.5ms) CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")  (3.7ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305235008')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305231317')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305234757') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (118.4ms) DROP DATABASE IF EXISTS "dummy_test"  (241.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (1.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (9.8ms) 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)  (5.4ms) 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" USING btree ("bit_player_content_module_id")  (3.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.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")  (5.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.3ms) CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")  (1.3ms) CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")  (3.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306000537')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305231317')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305234757') ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (116.2ms) DROP DATABASE IF EXISTS "dummy_test"  (244.2ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (1.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (9.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (5.3ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")  (3.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.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")  (5.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.3ms) CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")  (1.3ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")  (1.4ms) CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")  (3.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306000537')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305231317')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305234757') ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"