(119.7ms) DROP DATABASE IF EXISTS "dummy_test"  (250.0ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (7.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)  (7.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)   (4.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")  (9.5ms) 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.4ms) 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.6ms) CREATE UNIQUE INDEX "bit_player_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")  (3.7ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (7.5ms) 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_position" ON "bit_player_tools" USING btree ("position")  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')  (116.6ms) DROP DATABASE IF EXISTS "dummy_test"  (252.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (10.0ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)  (6.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.7ms) 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.6ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")  (5.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.7ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")  (1.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")  (3.8ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (4.1ms) 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.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")  (1.8ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")  (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.4ms) 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 ('20140403181300')  (119.3ms) DROP DATABASE IF EXISTS "dummy_test"  (249.0ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (7.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)  (6.2ms) 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.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.5ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")  (5.3ms) 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 UNIQUE INDEX "bit_player_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")  (4.0ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (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.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")  (1.9ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.4ms) 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 ('20140403181300')  (117.8ms) DROP DATABASE IF EXISTS "dummy_test"  (248.4ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (7.2ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)  (5.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.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")  (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)   (1.6ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")  (5.4ms) 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.6ms) CREATE UNIQUE INDEX "bit_player_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")  (3.8ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (3.8ms) 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)   (3.0ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")  (2.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")  (1.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.6ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')  (118.6ms) DROP DATABASE IF EXISTS "dummy_test"  (263.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (8.7ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)  (5.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.4ms) 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.6ms) 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.5ms) CREATE UNIQUE INDEX "bit_player_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")  (3.6ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (5.1ms) 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.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")  (2.1ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')  (117.8ms) DROP DATABASE IF EXISTS "dummy_test"  (249.0ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.8ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)  (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.6ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")  (3.7ms) 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.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")  (5.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)   (1.5ms) CREATE UNIQUE INDEX "bit_player_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")  (3.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (3.9ms) 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.3ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")  (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.6ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')  (118.1ms) DROP DATABASE IF EXISTS "dummy_test"  (246.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (6.9ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)  (5.1ms) 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.3ms) 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.4ms) 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.5ms) CREATE UNIQUE INDEX "bit_player_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")  (3.3ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (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.3ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")  (1.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.6ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')  (117.4ms) DROP DATABASE IF EXISTS "dummy_test"  (256.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.7ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (14.4ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)  (8.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)   (2.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")  (6.3ms) 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)   (4.0ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")  (9.6ms) 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)   (2.3ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")  (2.1ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")  (5.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (6.1ms) 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)   (2.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")  (2.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")  (2.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')  (1.1ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (1.1ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (118.0ms) DROP DATABASE IF EXISTS "dummy_test"  (263.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (7.2ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)  (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)   (1.6ms) 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.7ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")  (5.3ms) 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)   (2.0ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")  (1.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("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)  (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.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")  (1.8ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")  (1.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.6ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')  (1.2ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (1.2ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (1.2ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (1.1ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (1.0ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (1.2ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.5ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.5ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (1.1ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.6ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r... ^ : 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_core_slideshows"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.2ms) ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.4ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-17 18:02:25', '2014-04-17 18:02:25', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (1.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-17 18:02:25', '2014-04-17 18:02:25', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-17 18:02:25', '2014-04-17 18:02:25', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-17 18:02:25', '2014-04-17 18:02:25', 236740868, 504123193)  (0.5ms) COMMIT  (0.6ms) ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (120.4ms) DROP DATABASE IF EXISTS "dummy_test"  (262.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (11.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)  (2.2ms) CREATE UNIQUE INDEX "bit_core_content_module_position" ON "bit_core_content_modules" USING btree ("bit_core_tool_id", "position")  (8.2ms) 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.3ms) CREATE UNIQUE INDEX "bit_core_content_provider_position" ON "bit_core_content_providers" USING btree ("bit_core_content_module_id", "position")  (8.8ms) 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)  (2.5ms) CREATE UNIQUE INDEX "bit_core_slide_position" ON "bit_core_slides" USING btree ("bit_core_slideshow_id", "position")  (5.8ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (5.6ms) 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)   (2.1ms) CREATE UNIQUE INDEX "bit_core_tool_position" ON "bit_core_tools" USING btree ("position")  (5.9ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)   (8.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)  (2.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")  (6.0ms) 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" USING btree ("participant_id")  (8.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)  (4.3ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")  (2.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")  (7.2ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (7.0ms) 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)  (2.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")  (2.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")  (2.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (8.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.8ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417174159')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415210052')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415211458')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415213346')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417173056')  (2.1ms) ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.0ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-17 18:02:35', '2014-04-17 18:02:35', 504123193) Fixture Delete (0.9ms) DELETE FROM "bit_core_slides" Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-17 18:02:35', '2014-04-17 18:02:35', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-17 18:02:35', '2014-04-17 18:02:35', 958091673, 504123193) Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-17 18:02:35', '2014-04-17 18:02:35', 236740868, 504123193)  (0.4ms) COMMIT  (0.6ms) ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (122.4ms) DROP DATABASE IF EXISTS "dummy_test"  (245.4ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (7.0ms) 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) CREATE UNIQUE INDEX "bit_core_content_module_position" ON "bit_core_content_modules" USING btree ("bit_core_tool_id", "position")  (5.7ms) 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)  (1.8ms) CREATE UNIQUE INDEX "bit_core_content_provider_position" ON "bit_core_content_providers" USING btree ("bit_core_content_module_id", "position")  (5.8ms) 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)  (2.1ms) CREATE UNIQUE INDEX "bit_core_slide_position" ON "bit_core_slides" USING btree ("bit_core_slideshow_id", "position")  (3.6ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (4.8ms) 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.6ms) CREATE UNIQUE INDEX "bit_core_tool_position" ON "bit_core_tools" USING btree ("position")  (5.8ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)   (6.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.6ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")  (4.4ms) 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.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")  (5.3ms) 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 UNIQUE INDEX "bit_player_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")  (3.7ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)   (3.4ms) 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_position" ON "bit_player_tools" USING btree ("position")  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")  (1.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.6ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417174159')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415210052')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415211458')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415213346')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417173056')  (1.9ms) ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-17 18:03:22', '2014-04-17 18:03:22', 504123193) Fixture Delete (1.0ms) DELETE FROM "bit_core_slides" Fixture Insert (0.8ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-17 18:03:22', '2014-04-17 18:03:22', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-17 18:03:22', '2014-04-17 18:03:22', 958091673, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-17 18:03:22', '2014-04-17 18:03:22', 236740868, 504123193)  (0.5ms) COMMIT  (0.6ms) ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.3ms) ROLLBACK  (2.0ms) ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.0ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-17 18:05:05', '2014-04-17 18:05:05', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (1.0ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-17 18:05:05', '2014-04-17 18:05:05', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-17 18:05:05', '2014-04-17 18:05:05', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-17 18:05:05', '2014-04-17 18:05:05', 236740868, 504123193)  (0.4ms) COMMIT  (0.7ms) ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED PG::UndefinedObject: ERROR: constraint "bit_core_slide_position" does not exist : SET CONSTRAINTS bit_core_slide_position DEFERRED  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (1.5ms) ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.9ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-17 18:07:09', '2014-04-17 18:07:09', 504123193) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (0.9ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-17 18:07:09', '2014-04-17 18:07:09', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-17 18:07:09', '2014-04-17 18:07:09', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-17 18:07:09', '2014-04-17 18:07:09', 236740868, 504123193)  (0.7ms) COMMIT  (0.6ms) ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) SAVEPOINT active_record_1  (0.5ms) SET CONSTRAINTS bit_core_slide_position DEFERRED PG::UndefinedObject: ERROR: constraint "bit_core_slide_position" does not exist : SET CONSTRAINTS bit_core_slide_position DEFERRED  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (1.6ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (1.4ms) ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-17 18:12:12', '2014-04-17 18:12:12', 504123193) Fixture Delete (0.5ms) DELETE FROM "bit_core_slides" Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-17 18:12:12', '2014-04-17 18:12:12', 538050605, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-17 18:12:12', '2014-04-17 18:12:12', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-17 18:12:12', '2014-04-17 18:12:12', 236740868, 504123193)  (0.6ms) COMMIT  (0.4ms) ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED PG::UndefinedObject: ERROR: constraint "bit_core_slide_position" does not exist : SET CONSTRAINTS bit_core_slide_position DEFERRED  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (4.8ms) 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)   (2.2ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.3ms) BEGIN  (3.4ms) 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.9ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.3ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (6.6ms) 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)  (1.8ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.2ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.7ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.5ms) BEGIN  (4.7ms) 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", "20140417173056"]]  (0.4ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.4ms) BEGIN  (11.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)  (3.2ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.5ms) ALTER TABLE bit_core_slides ADD CONSTRAINT fk_slideshows_slides FOREIGN KEY (bit_core_slideshow_id) REFERENCES bit_core_slideshows(id) SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]  (1.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.3ms) BEGIN  (4.4ms) 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)   (2.0ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.3ms) BEGIN  (3.3ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.7ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (7.1ms) 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)  (1.8ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.6ms) 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", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.4ms) BEGIN  (3.6ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.3ms) BEGIN  (5.1ms) 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.5ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.1ms) ALTER TABLE bit_core_slides ADD CONSTRAINT fk_slideshows_slides FOREIGN KEY (bit_core_slideshow_id) REFERENCES bit_core_slideshows(id) SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]  (1.0ms) COMMIT ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.9ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-17 18:23:50', '2014-04-17 18:23:50', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (0.8ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-17 18:23:50', '2014-04-17 18:23:50', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-17 18:23:50', '2014-04-17 18:23:50', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-17 18:23:50', '2014-04-17 18:23:50', 236740868, 504123193)  (0.4ms) COMMIT  (0.4ms) ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED PG::UndefinedObject: ERROR: constraint "bit_core_slide_position" does not exist : SET CONSTRAINTS bit_core_slide_position DEFERRED  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (5.4ms) 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)   (2.3ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.7ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.4ms) 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)  (2.1ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.5ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.6ms) BEGIN  (6.2ms) 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)  (1.8ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.3ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.7ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.5ms) BEGIN  (4.4ms) 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", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.6ms) BEGIN  (13.0ms) 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)  (4.4ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (4.5ms) ALTER TABLE bit_core_slides ADD CONSTRAINT fk_slideshows_slides FOREIGN KEY (bit_core_slideshow_id) REFERENCES bit_core_slideshows(id) SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]  (0.9ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.2ms) ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-17 18:24:37', '2014-04-17 18:24:37', 504123193) Fixture Delete (0.9ms) DELETE FROM "bit_core_slides" Fixture Insert (1.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-17 18:24:37', '2014-04-17 18:24:37', 538050605, 504123193) Fixture Insert (0.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-17 18:24:37', '2014-04-17 18:24:37', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-17 18:24:37', '2014-04-17 18:24:37', 236740868, 504123193)  (0.6ms) COMMIT  (0.7ms) ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.3ms) SAVEPOINT active_record_1  (0.7ms) SET CONSTRAINTS bit_core_slide_position DEFERRED PG::UndefinedObject: ERROR: constraint "bit_core_slide_position" does not exist : SET CONSTRAINTS bit_core_slide_position DEFERRED  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (3.9ms) 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.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.3ms) BEGIN  (4.4ms) 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)   (2.5ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.7ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.3ms) BEGIN  (3.8ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.3ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.5ms) BEGIN  (5.5ms) 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.2ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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 (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (1.5ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (1.6ms) BEGIN  (9.1ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]  (1.3ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (5.0ms) BEGIN  (8.0ms) 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.7ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.2ms) 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", "20140417174159"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.4ms) ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.8ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-17 18:26:32', '2014-04-17 18:26:32', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (0.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-17 18:26:32', '2014-04-17 18:26:32', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-17 18:26:32', '2014-04-17 18:26:32', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-17 18:26:32', '2014-04-17 18:26:32', 236740868, 504123193)  (0.5ms) COMMIT  (0.4ms) ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) SAVEPOINT active_record_1  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED PG::UndefinedObject: ERROR: constraint "bit_core_slide_position" does not exist : SET CONSTRAINTS bit_core_slide_position DEFERRED  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (5.0ms) 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)   (2.4ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.4ms) BEGIN  (3.3ms) 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.8ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.7ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.5ms) BEGIN  (7.2ms) 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)  (1.8ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.5ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.7ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.4ms) BEGIN  (3.4ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (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.5ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (1.9ms) 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", "20140417174159"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-17 18:27:01', '2014-04-17 18:27:01', 504123193) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-17 18:27:01', '2014-04-17 18:27:01', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-17 18:27:01', '2014-04-17 18:27:01', 958091673, 504123193) Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-17 18:27:01', '2014-04-17 18:27:01', 236740868, 504123193)  (0.5ms) COMMIT  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = 1 WHERE "bit_core_slides"."id" = 236740868 SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = 2 WHERE "bit_core_slides"."id" = 538050605 SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = 3 WHERE "bit_core_slides"."id" = 958091673  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (7.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (1.3ms) DELETE FROM "bit_core_slideshows" Fixture Insert (2.3ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-17 18:36:32', '2014-04-17 18:36:32', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-17 18:36:32', '2014-04-17 18:36:32', 538050605, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-17 18:36:32', '2014-04-17 18:36:32', 958091673, 504123193) Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-17 18:36:32', '2014-04-17 18:36:32', 236740868, 504123193)  (0.5ms) COMMIT  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.7ms) SAVEPOINT active_record_1  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED SQL (1.5ms) UPDATE "bit_core_slides" SET "position" = 1 WHERE "bit_core_slides"."id" = 236740868 SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = 2 WHERE "bit_core_slides"."id" = 538050605 SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = 3 WHERE "bit_core_slides"."id" = 958091673  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (8.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (5.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (10.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)   (3.9ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.4ms) BEGIN  (4.9ms) 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)  (3.0ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (4.5ms) 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.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.7ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (7.1ms) 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)  (3.0ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.7ms) 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", "20140415213346"]]  (0.8ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.6ms) BEGIN  (5.4ms) 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", "20140417173056"]]  (0.8ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.6ms) BEGIN  (5.3ms) 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)  (2.8ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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", "20140417174159"]]  (0.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.9ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-04-24 18:20:32', '2014-04-24 18:20:32', 504123193) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (1.1ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-04-24 18:20:32', '2014-04-24 18:20:32', 538050605, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-04-24 18:20:32', '2014-04-24 18:20:32', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-04-24 18:20:32', '2014-04-24 18:20:32', 236740868, 504123193)  (0.4ms) COMMIT  (1.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.2ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.6ms) SAVEPOINT active_record_1  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = 1 WHERE "bit_core_slides"."id" = 236740868 SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = 2 WHERE "bit_core_slides"."id" = 538050605 SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = 3 WHERE "bit_core_slides"."id" = 958091673  (0.1ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) 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 CreateBitCoreTools (20140415210052)  (0.2ms) 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)   (2.4ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.4ms) BEGIN  (3.8ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.9ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.7ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.5ms) BEGIN  (6.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)  (1.6ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.2ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.7ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.5ms) BEGIN  (6.1ms) 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", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.3ms) BEGIN  (5.5ms) 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", "20140417174159"]]  (0.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_950932" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (2.1ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:29:39', '2014-06-20 16:29:39', 504123193) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (3.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:29:39', '2014-06-20 16:29:39', 538050605, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:29:39', '2014-06-20 16:29:39', 958091673, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:29:39', '2014-06-20 16:29:39', 236740868, 504123193)  (0.4ms) COMMIT  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_950932" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.1ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (4.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.3ms) BEGIN  (5.2ms) 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)   (2.3ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.7ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.4ms) BEGIN  (3.8ms) 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.9ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.8ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (6.4ms) 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)  (1.9ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.6ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.4ms) BEGIN  (4.1ms) 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", "20140417173056"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.4ms) BEGIN  (6.2ms) 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.8ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.1ms) 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", "20140417174159"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951015" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.2ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:36:47', '2014-06-20 16:36:47', 504123193) Fixture Delete (0.8ms) DELETE FROM "bit_core_slides" Fixture Insert (1.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:36:47', '2014-06-20 16:36:47', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:36:47', '2014-06-20 16:36:47', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:36:47', '2014-06-20 16:36:47', 236740868, 504123193)  (0.5ms) COMMIT  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951015" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.2ms) ROLLBACK  (4.0ms) 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.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (4.8ms) 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)   (2.3ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.3ms) BEGIN  (3.5ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (5.4ms) 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)  (1.7ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.0ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.7ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.4ms) BEGIN  (3.7ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.3ms) BEGIN  (5.2ms) 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.5ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.3ms) ALTER TABLE bit_core_slides ADD CONSTRAINT fk_slideshows_slides FOREIGN KEY (bit_core_slideshow_id) REFERENCES bit_core_slideshows(id) SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]  (0.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951098" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.0ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:37:21', '2014-06-20 16:37:21', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (1.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:37:21', '2014-06-20 16:37:21', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:37:21', '2014-06-20 16:37:21', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:37:21', '2014-06-20 16:37:21', 236740868, 504123193)  (0.5ms) COMMIT  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951098" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.2ms) ROLLBACK  (4.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (5.0ms) 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)   (2.2ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.3ms) BEGIN  (3.8ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.7ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (5.9ms) 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)  (1.7ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.4ms) BEGIN  (4.1ms) 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", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.3ms) BEGIN  (5.6ms) 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)  (2.6ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.5ms) ALTER TABLE bit_core_slides ADD CONSTRAINT fk_slideshows_slides FOREIGN KEY (bit_core_slideshow_id) REFERENCES bit_core_slideshows(id) SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]  (0.8ms) COMMIT ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951181" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.9ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:45:59', '2014-06-20 16:45:59', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (1.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:45:59', '2014-06-20 16:45:59', 538050605, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:45:59', '2014-06-20 16:45:59', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:45:59', '2014-06-20 16:45:59', 236740868, 504123193)  (0.4ms) COMMIT  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951181" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.3ms) ROLLBACK  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (4.8ms) 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)   (2.2ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.7ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.3ms) BEGIN  (3.9ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (5.6ms) 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)  (1.9ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.1ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.5ms) BEGIN  (3.8ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.3ms) BEGIN  (7.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.9ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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", "20140417174159"]]  (0.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951264" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.8ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:46:24', '2014-06-20 16:46:24', 504123193) Fixture Delete (0.5ms) DELETE FROM "bit_core_slides" Fixture Insert (1.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:46:24', '2014-06-20 16:46:24', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:46:24', '2014-06-20 16:46:24', 958091673, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:46:24', '2014-06-20 16:46:24', 236740868, 504123193)  (0.5ms) COMMIT  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951264" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.1ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.8ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (4.1ms) 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.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.3ms) BEGIN  (4.8ms) 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)   (2.3ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.3ms) BEGIN  (3.7ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.6ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (7.2ms) 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)  (1.6ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.3ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.5ms) BEGIN  (3.9ms) 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", "20140417173056"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.7ms) BEGIN  (6.8ms) 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)  (2.0ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.9ms) 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", "20140417174159"]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951347" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.1ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:47:52', '2014-06-20 16:47:52', 504123193) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (1.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:47:52', '2014-06-20 16:47:52', 538050605, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:47:52', '2014-06-20 16:47:52', 958091673, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:47:52', '2014-06-20 16:47:52', 236740868, 504123193)  (0.5ms) COMMIT  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951347" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (5.0ms) 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)   (2.2ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.3ms) BEGIN  (3.5ms) 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.8ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (5.4ms) 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)  (1.6ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.9ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.7ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.5ms) BEGIN  (3.9ms) 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", "20140417173056"]]  (0.4ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (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.6ms) 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", "20140417174159"]]  (0.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951430" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.1ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:48:23', '2014-06-20 16:48:23', 504123193) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (1.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:48:23', '2014-06-20 16:48:23', 538050605, 504123193) Fixture Insert (0.8ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:48:23', '2014-06-20 16:48:23', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:48:23', '2014-06-20 16:48:23', 236740868, 504123193)  (0.4ms) COMMIT  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951430" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.1ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (5.0ms) 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)   (2.4ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (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.8ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (5.5ms) 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)  (1.7ms)  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", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.4ms) BEGIN  (4.1ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.4ms) BEGIN  (7.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.9ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (1.9ms) 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", "20140417174159"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951513" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:49:03', '2014-06-20 16:49:03', 504123193) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (1.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:49:03', '2014-06-20 16:49:03', 538050605, 504123193) Fixture Insert (0.8ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:49:03', '2014-06-20 16:49:03', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:49:03', '2014-06-20 16:49:03', 236740868, 504123193)  (0.4ms) COMMIT  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951513" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.5ms) ROLLBACK  (3.8ms) 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 CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (5.5ms) 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)   (2.6ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.4ms) BEGIN  (6.3ms) 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)  (2.2ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.6ms) 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", "20140415211458"]]  (0.7ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (5.6ms) 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)  (1.6ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.0ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.7ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.5ms) BEGIN  (5.6ms) 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", "20140417173056"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.4ms) BEGIN  (6.8ms) 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.5ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.3ms) 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", "20140417174159"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951596" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.8ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:49:59', '2014-06-20 16:49:59', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (1.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:49:59', '2014-06-20 16:49:59', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:49:59', '2014-06-20 16:49:59', 958091673, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:49:59', '2014-06-20 16:49:59', 236740868, 504123193)  (0.4ms) COMMIT  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951596" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.1ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-20 16:49:59.249275"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) ROLLBACK  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.3ms) BEGIN  (5.2ms) 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)   (2.3ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.5ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.3ms) BEGIN  (3.7ms) 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.5ms) 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", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (6.7ms) 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)  (1.9ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.3ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.7ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.5ms) BEGIN  (6.4ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]  (1.0ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.5ms) BEGIN  (6.6ms) 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.5ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.1ms) 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", "20140417174159"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951679" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.2ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:52:09', '2014-06-20 16:52:09', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (1.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:52:09', '2014-06-20 16:52:09', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:52:09', '2014-06-20 16:52:09', 958091673, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:52:09', '2014-06-20 16:52:09', 236740868, 504123193)  (0.5ms) COMMIT  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951679" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.1ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Exists (0.8ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-20 16:52:09.920982"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.4ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (4.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (4.7ms) 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)   (2.2ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.8ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.4ms) BEGIN  (3.9ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (5.9ms) 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)  (1.6ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.3ms) 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", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.5ms) BEGIN  (6.0ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]  (0.7ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.5ms) BEGIN  (6.6ms) 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.5ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) ALTER TABLE bit_core_slides ADD CONSTRAINT fk_slideshows_slides FOREIGN KEY (bit_core_slideshow_id) REFERENCES bit_core_slideshows(id) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951762" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.0ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:53:29', '2014-06-20 16:53:29', 504123193) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (1.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:53:29', '2014-06-20 16:53:29', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:53:29', '2014-06-20 16:53:29', 958091673, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:53:29', '2014-06-20 16:53:29', 236740868, 504123193)  (0.6ms) COMMIT  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951762" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.1ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.1ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Exists (0.8ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-20 16:53:29.270702"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]] BitCore::Slide Exists (0.5ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 1 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 538050605 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]] BitCore::Slide Exists (0.5ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 3 AND "bit_core_slides"."id" != 958091673 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (4.9ms) 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)   (2.2ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.3ms) BEGIN  (3.7ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (7.2ms) 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)  (1.6ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.0ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.4ms) BEGIN  (5.5ms) 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", "20140417173056"]]  (0.7ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.5ms) BEGIN  (7.2ms) 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.5ms)  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", "20140417174159"]]  (0.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951845" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.1ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:54:50', '2014-06-20 16:54:50', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (1.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:54:50', '2014-06-20 16:54:50', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:54:50', '2014-06-20 16:54:50', 958091673, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:54:50', '2014-06-20 16:54:50', 236740868, 504123193)  (0.5ms) COMMIT  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951845" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.1ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]] BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 1 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]] BitCore::Slide Exists (0.4ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 538050605 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]] BitCore::Slide Exists (0.5ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 3 AND "bit_core_slides"."id" != 958091673 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 ***** Debugger requested, but was not available (ensure the debugger gem is listed in Gemfile/installed as gem): Start server with --debugger to enable *****  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.3ms) ROLLBACK  (0.3ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-20 16:54:50.982199"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.9ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (4.7ms) 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)   (2.3ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.8ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.3ms) BEGIN  (3.4ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.5ms) BEGIN  (5.6ms) 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)  (1.6ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.1ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.5ms) BEGIN  (3.8ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.4ms) BEGIN  (6.6ms) 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.8ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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", "20140417174159"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951928" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.9ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:55:11', '2014-06-20 16:55:11', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (1.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:55:11', '2014-06-20 16:55:11', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:55:11', '2014-06-20 16:55:11', 958091673, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:55:11', '2014-06-20 16:55:11', 236740868, 504123193)  (0.4ms) COMMIT  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_951928" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.1ms) BEGIN BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.1ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-20 16:55:11.164996"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 1 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]] BitCore::Slide Exists (0.5ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 538050605 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]] BitCore::Slide Exists (0.5ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 3 AND "bit_core_slides"."id" != 958091673 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.4ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (4.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (4.8ms) 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)   (2.3ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (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.8ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (5.8ms) 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)  (1.9ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.6ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.6ms) BEGIN  (5.5ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.5ms) BEGIN  (7.1ms) 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.5ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (1.9ms) 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", "20140417174159"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952011" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.0ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:56:28', '2014-06-20 16:56:28', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (1.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:56:28', '2014-06-20 16:56:28', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:56:28', '2014-06-20 16:56:28', 958091673, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:56:28', '2014-06-20 16:56:28', 236740868, 504123193)  (0.5ms) COMMIT  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952011" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.3ms) SAVEPOINT active_record_1  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED  (0.4ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]] BitCore::Slide Exists (0.9ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 1 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]] BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 538050605 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 3 AND "bit_core_slides"."id" != 958091673 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.4ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.5ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.5ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]  (0.3ms) SAVEPOINT active_record_1 BitCore::Slide Exists (1.1ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-20 16:56:28.427493"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (4.8ms) 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)   (2.2ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.4ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (5.9ms) 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)  (1.6ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.2ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.5ms) BEGIN  (3.9ms) 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", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.3ms) BEGIN  (8.3ms) 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)  (2.5ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.1ms) 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", "20140417174159"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952094" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (1.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.8ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:57:08', '2014-06-20 16:57:08', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (1.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:57:08', '2014-06-20 16:57:08', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:57:08', '2014-06-20 16:57:08', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:57:08', '2014-06-20 16:57:08', 236740868, 504123193)  (0.5ms) COMMIT  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952094" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Exists (0.8ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-20 16:57:08.329553"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.5ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED  (0.3ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]] BitCore::Slide Exists (0.4ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 1 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (4.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (4.8ms) 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)   (2.4ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (18.1ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.5ms) BEGIN  (14.5ms) 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)  (2.2ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.0ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.8ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.5ms) BEGIN  (5.7ms) 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.1ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.3ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.7ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.4ms) BEGIN  (3.5ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.4ms) BEGIN  (6.0ms) 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.9ms)  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", "20140417174159"]]  (0.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952177" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.2ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:58:25', '2014-06-20 16:58:25', 504123193) Fixture Delete (0.9ms) DELETE FROM "bit_core_slides" Fixture Insert (1.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:58:25', '2014-06-20 16:58:25', 538050605, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:58:25', '2014-06-20 16:58:25', 958091673, 504123193) Fixture Insert (0.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:58:25', '2014-06-20 16:58:25', 236740868, 504123193)  (0.5ms) COMMIT  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952177" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 1], ["updated_at", "2014-06-20 16:58:26.024659"]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 538050605 [["position", 2], ["updated_at", "2014-06-20 16:58:26.029190"]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 958091673 [["position", 3], ["updated_at", "2014-06-20 16:58:26.032660"]]  (0.4ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.9ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.4ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.1ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-20 16:58:26.074426"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) ROLLBACK  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (5.0ms) 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)   (2.2ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.3ms) BEGIN  (3.5ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.4ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.7ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.5ms) BEGIN  (5.6ms) 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)  (1.7ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.2ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.4ms) BEGIN  (3.7ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.3ms) BEGIN  (5.2ms) 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.9ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.7ms) 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", "20140417174159"]]  (0.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.0ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:58:55', '2014-06-20 16:58:55', 504123193) Fixture Delete (0.8ms) DELETE FROM "bit_core_slides" Fixture Insert (1.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:58:55', '2014-06-20 16:58:55', 538050605, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:58:55', '2014-06-20 16:58:55', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:58:55', '2014-06-20 16:58:55', 236740868, 504123193)  (0.5ms) COMMIT  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 1], ["updated_at", "2014-06-20 16:58:55.567114"]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 538050605 [["position", 2], ["updated_at", "2014-06-20 16:58:55.571952"]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 958091673 [["position", 3], ["updated_at", "2014-06-20 16:58:55.575726"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-20 16:58:55.608493"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]  (0.5ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.7ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.2ms) ROLLBACK  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) BEGIN Fixture Delete (1.6ms) DELETE FROM "bit_core_slideshows" PG::ForeignKeyViolation: ERROR: update or delete on table "bit_core_slideshows" violates foreign key constraint "fk_slideshows_slides" on table "bit_core_slides" DETAIL: Key (id)=(504123193) is still referenced from table "bit_core_slides". : DELETE FROM "bit_core_slideshows"  (0.2ms) ROLLBACK  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "bit_core_slideshows" PG::ForeignKeyViolation: ERROR: update or delete on table "bit_core_slideshows" violates foreign key constraint "fk_slideshows_slides" on table "bit_core_slides" DETAIL: Key (id)=(504123193) is still referenced from table "bit_core_slides". : DELETE FROM "bit_core_slideshows"  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows" PG::ForeignKeyViolation: ERROR: update or delete on table "bit_core_slideshows" violates foreign key constraint "fk_slideshows_slides" on table "bit_core_slides" DETAIL: Key (id)=(504123193) is still referenced from table "bit_core_slides". : DELETE FROM "bit_core_slideshows"  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "bit_core_slideshows" PG::ForeignKeyViolation: ERROR: update or delete on table "bit_core_slideshows" violates foreign key constraint "fk_slideshows_slides" on table "bit_core_slides" DETAIL: Key (id)=(504123193) is still referenced from table "bit_core_slides". : DELETE FROM "bit_core_slideshows"  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows" PG::ForeignKeyViolation: ERROR: update or delete on table "bit_core_slideshows" violates foreign key constraint "fk_slideshows_slides" on table "bit_core_slides" DETAIL: Key (id)=(504123193) is still referenced from table "bit_core_slides". : DELETE FROM "bit_core_slideshows"  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows" PG::ForeignKeyViolation: ERROR: update or delete on table "bit_core_slideshows" violates foreign key constraint "fk_slideshows_slides" on table "bit_core_slides" DETAIL: Key (id)=(504123193) is still referenced from table "bit_core_slides". : DELETE FROM "bit_core_slideshows"  (0.2ms) ROLLBACK  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952260" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (4.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.3ms) BEGIN  (4.7ms) 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)   (2.3ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.8ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (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.8ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.3ms) 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.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.5ms) BEGIN  (5.5ms) 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)  (1.6ms)  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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.4ms) BEGIN  (3.5ms) 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", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.3ms) BEGIN  (5.3ms) 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.5ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.3ms) 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", "20140417174159"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952343" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.0ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 16:59:25', '2014-06-20 16:59:25', 504123193) Fixture Delete (0.8ms) DELETE FROM "bit_core_slides" Fixture Insert (1.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 16:59:25', '2014-06-20 16:59:25', 538050605, 504123193) Fixture Insert (0.8ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 16:59:25', '2014-06-20 16:59:25', 958091673, 504123193) Fixture Insert (0.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 16:59:25', '2014-06-20 16:59:25', 236740868, 504123193)  (0.4ms) COMMIT  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952343" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.2ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-20 16:59:25.480923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 1], ["updated_at", "2014-06-20 16:59:25.504487"]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]] SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 538050605 [["position", 2], ["updated_at", "2014-06-20 16:59:25.507281"]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]] SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 958091673 [["position", 3], ["updated_at", "2014-06-20 16:59:25.509800"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)   (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.2ms) BEGIN  (4.9ms) 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)   (2.2ms) ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]  (0.7ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.4ms) 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.7ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.5ms) 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", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.4ms) BEGIN  (6.4ms) 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)  (1.7ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.2ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.4ms) BEGIN  (3.5ms) 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", "20140417173056"]]  (0.5ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.3ms) BEGIN  (8.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)  (2.1ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.5ms) 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", "20140417174159"]]  (0.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952426" is a system trigger : ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL  (0.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER  (0.3ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.0ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 17:02:38', '2014-06-20 17:02:38', 504123193) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (1.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-20 17:02:38', '2014-06-20 17:02:38', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-20 17:02:38', '2014-06-20 17:02:38', 958091673, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-20 17:02:38', '2014-06-20 17:02:38', 236740868, 504123193)  (0.5ms) COMMIT  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_952426" is a system trigger : ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER  (0.1ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]  (0.3ms) SAVEPOINT active_record_1 BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1 SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-20 17:02:38.245977"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]  (0.2ms) SAVEPOINT active_record_1  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 1], ["updated_at", "2014-06-20 17:02:38.266749"]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]] SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 538050605 [["position", 2], ["updated_at", "2014-06-20 17:02:38.269236"]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]] SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 958091673 [["position", 3], ["updated_at", "2014-06-20 17:02:38.271834"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK