bit_core 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3548,3 +3548,1185 @@ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_95
3548
3548
   (0.2ms) ROLLBACK
3549
3549
   (0.1ms) BEGIN
3550
3550
   (0.1ms) ROLLBACK
3551
+  (4.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
3552
+  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3553
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
3554
+ Migrating to AddConfigFieldsToProviders (2014620174147)
3555
+  (0.2ms) BEGIN
3556
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
3557
+ PG::UndefinedTable: ERROR: relation "bit_core_content_providers" does not exist
3558
+ : ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
3559
+  (0.2ms) ROLLBACK
3560
+  (0.2ms) BEGIN
3561
+ PG::UndefinedTable: ERROR: relation "bit_core_content_providers" does not exist
3562
+ LINE 5: WHERE a.attrelid = '"bit_core_content_provide...
3563
+ ^
3564
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
3565
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
3566
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
3567
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
3568
+ WHERE a.attrelid = '"bit_core_content_providers"'::regclass
3569
+ AND a.attnum > 0 AND NOT a.attisdropped
3570
+ ORDER BY a.attnum
3571
+
3572
+  (0.2ms) ROLLBACK
3573
+  (0.2ms) BEGIN
3574
+ PG::UndefinedTable: ERROR: relation "bit_core_content_providers" does not exist
3575
+ LINE 5: WHERE a.attrelid = '"bit_core_content_provide...
3576
+ ^
3577
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
3578
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
3579
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
3580
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
3581
+ WHERE a.attrelid = '"bit_core_content_providers"'::regclass
3582
+ AND a.attnum > 0 AND NOT a.attisdropped
3583
+ ORDER BY a.attnum
3584
+
3585
+  (0.2ms) ROLLBACK
3586
+  (0.2ms) BEGIN
3587
+ PG::UndefinedTable: ERROR: relation "bit_core_content_providers" does not exist
3588
+ LINE 5: WHERE a.attrelid = '"bit_core_content_provide...
3589
+ ^
3590
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
3591
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
3592
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
3593
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
3594
+ WHERE a.attrelid = '"bit_core_content_providers"'::regclass
3595
+ AND a.attnum > 0 AND NOT a.attisdropped
3596
+ ORDER BY a.attnum
3597
+
3598
+  (0.3ms) ROLLBACK
3599
+  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
3600
+  (0.2ms) BEGIN
3601
+ PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist
3602
+ LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r...
3603
+ ^
3604
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
3605
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
3606
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
3607
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
3608
+ WHERE a.attrelid = '"bit_core_slideshows"'::regclass
3609
+ AND a.attnum > 0 AND NOT a.attisdropped
3610
+ ORDER BY a.attnum
3611
+
3612
+  (0.3ms) ROLLBACK
3613
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
3614
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
3615
+  (0.2ms) BEGIN
3616
+ PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist
3617
+ LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r...
3618
+ ^
3619
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
3620
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
3621
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
3622
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
3623
+ WHERE a.attrelid = '"bit_core_slideshows"'::regclass
3624
+ AND a.attnum > 0 AND NOT a.attisdropped
3625
+ ORDER BY a.attnum
3626
+
3627
+  (0.2ms) ROLLBACK
3628
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
3629
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
3630
+  (0.3ms) BEGIN
3631
+ PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist
3632
+ LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r...
3633
+ ^
3634
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
3635
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
3636
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
3637
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
3638
+ WHERE a.attrelid = '"bit_core_slideshows"'::regclass
3639
+ AND a.attnum > 0 AND NOT a.attisdropped
3640
+ ORDER BY a.attnum
3641
+
3642
+  (0.2ms) ROLLBACK
3643
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
3644
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
3645
+  (0.2ms) BEGIN
3646
+ PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist
3647
+ LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r...
3648
+ ^
3649
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
3650
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
3651
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
3652
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
3653
+ WHERE a.attrelid = '"bit_core_slideshows"'::regclass
3654
+ AND a.attnum > 0 AND NOT a.attisdropped
3655
+ ORDER BY a.attnum
3656
+
3657
+  (0.2ms) ROLLBACK
3658
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
3659
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
3660
+  (0.2ms) BEGIN
3661
+ PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist
3662
+ LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r...
3663
+ ^
3664
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
3665
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
3666
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
3667
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
3668
+ WHERE a.attrelid = '"bit_core_slideshows"'::regclass
3669
+ AND a.attnum > 0 AND NOT a.attisdropped
3670
+ ORDER BY a.attnum
3671
+
3672
+  (0.2ms) ROLLBACK
3673
+  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
3674
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
3675
+  (0.2ms) BEGIN
3676
+ PG::UndefinedTable: ERROR: relation "bit_core_slideshows" does not exist
3677
+ LINE 5: WHERE a.attrelid = '"bit_core_slideshows"'::r...
3678
+ ^
3679
+ : SELECT a.attname, format_type(a.atttypid, a.atttypmod),
3680
+ pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod
3681
+ FROM pg_attribute a LEFT JOIN pg_attrdef d
3682
+ ON a.attrelid = d.adrelid AND a.attnum = d.adnum
3683
+ WHERE a.attrelid = '"bit_core_slideshows"'::regclass
3684
+ AND a.attnum > 0 AND NOT a.attisdropped
3685
+ ORDER BY a.attnum
3686
+
3687
+  (0.2ms) ROLLBACK
3688
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
3689
+  (4.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
3690
+  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3691
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
3692
+ Migrating to AddConfigFieldsToProviders (2014620174147)
3693
+  (0.2ms) BEGIN
3694
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
3695
+ PG::UndefinedTable: ERROR: relation "bit_core_content_providers" does not exist
3696
+ : ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
3697
+  (0.2ms) ROLLBACK
3698
+  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
3699
+  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3700
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
3701
+ Migrating to CreateBitCoreTools (20140415210052)
3702
+  (0.3ms) BEGIN
3703
+  (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) 
3704
+  (2.2ms) ALTER TABLE bit_core_tools
3705
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
3706
+ DEFERRABLE INITIALLY IMMEDIATE
3707
+
3708
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
3709
+  (0.8ms) COMMIT
3710
+ Migrating to CreateBitCoreContentModules (20140415211458)
3711
+  (0.4ms) BEGIN
3712
+  (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)
3713
+  (1.7ms)  ALTER TABLE bit_core_content_modules
3714
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
3715
+ DEFERRABLE INITIALLY IMMEDIATE
3716
+ 
3717
+  (2.4ms) ALTER TABLE bit_core_content_modules
3718
+ ADD CONSTRAINT fk_content_modules_tools
3719
+ FOREIGN KEY (bit_core_tool_id)
3720
+ REFERENCES bit_core_tools(id)
3721
+
3722
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
3723
+  (0.6ms) COMMIT
3724
+ Migrating to CreateBitCoreContentProviders (20140415213346)
3725
+  (0.5ms) BEGIN
3726
+  (5.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)
3727
+  (1.7ms)  ALTER TABLE bit_core_content_providers
3728
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
3729
+ DEFERRABLE INITIALLY IMMEDIATE
3730
+ 
3731
+  (2.3ms) ALTER TABLE bit_core_content_providers
3732
+ ADD CONSTRAINT fk_content_providers_modules
3733
+ FOREIGN KEY (bit_core_content_module_id)
3734
+ REFERENCES bit_core_content_modules(id)
3735
+
3736
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
3737
+  (0.6ms) COMMIT
3738
+ Migrating to CreateBitCoreSlideshows (20140417173056)
3739
+  (0.4ms) BEGIN
3740
+  (3.8ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
3741
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
3742
+  (0.5ms) COMMIT
3743
+ Migrating to CreateBitCoreSlides (20140417174159)
3744
+  (0.5ms) BEGIN
3745
+  (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)
3746
+  (1.4ms)  ALTER TABLE bit_core_slides
3747
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
3748
+ DEFERRABLE INITIALLY IMMEDIATE
3749
+ 
3750
+  (2.0ms) ALTER TABLE bit_core_slides
3751
+ ADD CONSTRAINT fk_slideshows_slides
3752
+ FOREIGN KEY (bit_core_slideshow_id)
3753
+ REFERENCES bit_core_slideshows(id)
3754
+
3755
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
3756
+  (0.6ms) COMMIT
3757
+ Migrating to AddOptionsToSlides (20140620174146)
3758
+  (0.4ms) BEGIN
3759
+  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
3760
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174146"]]
3761
+  (0.4ms) COMMIT
3762
+ Migrating to AddConfigFieldsToProviders (20140620174147)
3763
+  (0.1ms) BEGIN
3764
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
3765
+  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
3766
+  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
3767
+  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
3768
+  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
3769
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174147"]]
3770
+  (0.4ms) COMMIT
3771
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
3772
+  (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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
3773
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_967893" is a system trigger
3774
+ : 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
3775
+  (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_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
3776
+  (0.2ms) BEGIN
3777
+ Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows"
3778
+ Fixture Insert (0.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 19:51:53', '2014-06-20 19:51:53', 504123193)
3779
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_slides"
3780
+ 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 19:51:53', '2014-06-20 19:51:53', 538050605, 504123193)
3781
+ 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 19:51:53', '2014-06-20 19:51:53', 958091673, 504123193)
3782
+ 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 19:51:53', '2014-06-20 19:51:53', 236740868, 504123193)
3783
+  (0.5ms) COMMIT
3784
+  (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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
3785
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_967893" is a system trigger
3786
+ : 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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
3787
+  (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_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
3788
+  (0.1ms) BEGIN
3789
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
3790
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
3791
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
3792
+ BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
3793
+  (0.2ms) SAVEPOINT active_record_1
3794
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
3795
+ 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]]
3796
+ 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 19:51:54.039611"]]
3797
+ 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]]
3798
+ 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 19:51:54.043568"]]
3799
+ 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]]
3800
+ 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 19:51:54.046471"]]
3801
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3802
+ 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]]
3803
+ 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]]
3804
+ 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]]
3805
+  (0.3ms) ROLLBACK
3806
+  (0.1ms) BEGIN
3807
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
3808
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
3809
+  (0.2ms) SAVEPOINT active_record_1
3810
+ SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
3811
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3812
+ 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]]
3813
+ 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]]
3814
+  (0.2ms) SAVEPOINT active_record_1
3815
+ 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
3816
+ 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 19:51:54.073500"]]
3817
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3818
+  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
3819
+ 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]]
3820
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
3821
+ 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]]
3822
+ 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]]
3823
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
3824
+ 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]]
3825
+  (0.3ms) ROLLBACK
3826
+  (0.1ms) BEGIN
3827
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
3828
+  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
3829
+ 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
3830
+  (0.1ms) ROLLBACK
3831
+  (0.1ms) BEGIN
3832
+  (0.2ms) ROLLBACK
3833
+  (0.2ms) BEGIN
3834
+  (0.1ms) ROLLBACK
3835
+  (0.1ms) BEGIN
3836
+  (0.1ms) ROLLBACK
3837
+  (0.1ms) BEGIN
3838
+ BitCore::ContentProvider Exists (1.2ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
3839
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
3840
+  (0.3ms) ROLLBACK
3841
+  (0.1ms) BEGIN
3842
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
3843
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
3844
+  (0.2ms) ROLLBACK
3845
+  (0.1ms) BEGIN
3846
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
3847
+ BitCore::ContentProvider Exists (0.4ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
3848
+  (0.3ms) ROLLBACK
3849
+  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
3850
+  (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3851
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
3852
+ Migrating to CreateBitCoreTools (20140415210052)
3853
+  (0.3ms) BEGIN
3854
+  (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) 
3855
+  (2.2ms) ALTER TABLE bit_core_tools
3856
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
3857
+ DEFERRABLE INITIALLY IMMEDIATE
3858
+
3859
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
3860
+  (14.5ms) COMMIT
3861
+ Migrating to CreateBitCoreContentModules (20140415211458)
3862
+  (0.5ms) BEGIN
3863
+  (8.2ms) 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)
3864
+  (11.9ms)  ALTER TABLE bit_core_content_modules
3865
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
3866
+ DEFERRABLE INITIALLY IMMEDIATE
3867
+ 
3868
+  (3.6ms) ALTER TABLE bit_core_content_modules
3869
+ ADD CONSTRAINT fk_content_modules_tools
3870
+ FOREIGN KEY (bit_core_tool_id)
3871
+ REFERENCES bit_core_tools(id)
3872
+
3873
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
3874
+  (1.1ms) COMMIT
3875
+ Migrating to CreateBitCoreContentProviders (20140415213346)
3876
+  (1.0ms) BEGIN
3877
+  (7.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)
3878
+  (2.2ms)  ALTER TABLE bit_core_content_providers
3879
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
3880
+ DEFERRABLE INITIALLY IMMEDIATE
3881
+ 
3882
+  (2.6ms) ALTER TABLE bit_core_content_providers
3883
+ ADD CONSTRAINT fk_content_providers_modules
3884
+ FOREIGN KEY (bit_core_content_module_id)
3885
+ REFERENCES bit_core_content_modules(id)
3886
+
3887
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
3888
+  (0.6ms) COMMIT
3889
+ Migrating to CreateBitCoreSlideshows (20140417173056)
3890
+  (0.4ms) BEGIN
3891
+  (3.5ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
3892
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
3893
+  (0.5ms) COMMIT
3894
+ Migrating to CreateBitCoreSlides (20140417174159)
3895
+  (0.3ms) BEGIN
3896
+  (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)
3897
+  (1.6ms)  ALTER TABLE bit_core_slides
3898
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
3899
+ DEFERRABLE INITIALLY IMMEDIATE
3900
+ 
3901
+  (2.0ms) ALTER TABLE bit_core_slides
3902
+ ADD CONSTRAINT fk_slideshows_slides
3903
+ FOREIGN KEY (bit_core_slideshow_id)
3904
+ REFERENCES bit_core_slideshows(id)
3905
+
3906
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
3907
+  (0.7ms) COMMIT
3908
+ Migrating to AddOptionsToSlides (20140620174146)
3909
+  (0.5ms) BEGIN
3910
+  (0.7ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
3911
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174146"]]
3912
+  (0.4ms) COMMIT
3913
+ Migrating to AddConfigFieldsToProviders (20140620174147)
3914
+  (0.2ms) BEGIN
3915
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
3916
+  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
3917
+  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
3918
+  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
3919
+  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
3920
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174147"]]
3921
+  (0.4ms) COMMIT
3922
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
3923
+  (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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
3924
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_967976" is a system trigger
3925
+ : 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
3926
+  (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_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
3927
+  (0.3ms) BEGIN
3928
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_tools"
3929
+ Fixture Insert (0.9ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-20 20:04:12', '2014-06-20 20:04:12', 836111569)
3930
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_content_modules"
3931
+ Fixture Insert (1.2ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2014-06-20 20:04:12', '2014-06-20 20:04:12', 437912910, 836111569)
3932
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-20 20:04:12', '2014-06-20 20:04:12', 511237275, 836111569)
3933
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_content_providers"
3934
+ Fixture Insert (1.1ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-20 20:04:12', '2014-06-20 20:04:12', 555816777, 437912910)
3935
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-20 20:04:12', '2014-06-20 20:04:12', 46790607, 511237275)
3936
+  (0.4ms) COMMIT
3937
+  (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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
3938
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_967976" is a system trigger
3939
+ : 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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
3940
+  (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_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
3941
+  (0.1ms) BEGIN
3942
+ BitCore::ContentModule Load (0.7ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
3943
+ BitCore::ContentProvider Load (0.9ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 1 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
3944
+  (0.3ms) ROLLBACK
3945
+  (0.1ms) BEGIN
3946
+ BitCore::ContentModule Load (0.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
3947
+ BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 8 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
3948
+  (0.3ms) ROLLBACK
3949
+  (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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
3950
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_967976" is a system trigger
3951
+ : 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
3952
+  (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_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
3953
+  (0.2ms) BEGIN
3954
+ Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows"
3955
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 20:04:12', '2014-06-20 20:04:12', 504123193)
3956
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_slides"
3957
+ 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-06-20 20:04:12', '2014-06-20 20:04:12', 538050605, 504123193)
3958
+ 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 20:04:12', '2014-06-20 20:04:12', 958091673, 504123193)
3959
+ 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 20:04:12', '2014-06-20 20:04:12', 236740868, 504123193)
3960
+  (0.5ms) COMMIT
3961
+  (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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
3962
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_967976" is a system trigger
3963
+ : 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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
3964
+  (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_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
3965
+  (0.2ms) BEGIN
3966
+ BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
3967
+  (0.8ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
3968
+ 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
3969
+  (0.3ms) ROLLBACK
3970
+  (0.1ms) BEGIN
3971
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
3972
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
3973
+  (0.2ms) SAVEPOINT active_record_1
3974
+ SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
3975
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3976
+ 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]]
3977
+ 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]]
3978
+  (0.2ms) SAVEPOINT active_record_1
3979
+ 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
3980
+ 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 20:04:12.557632"]]
3981
+  (0.2ms) RELEASE SAVEPOINT active_record_1
3982
+  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
3983
+ 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]]
3984
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
3985
+ 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]]
3986
+ 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]]
3987
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
3988
+ 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]]
3989
+  (0.3ms) ROLLBACK
3990
+  (0.1ms) BEGIN
3991
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
3992
+ BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
3993
+ BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
3994
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
3995
+  (0.1ms) SAVEPOINT active_record_1
3996
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
3997
+ 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]]
3998
+ 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 20:04:12.575167"]]
3999
+ 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]]
4000
+ 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 20:04:12.577697"]]
4001
+ 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]]
4002
+ 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 20:04:12.580195"]]
4003
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4004
+ 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]]
4005
+ 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]]
4006
+ 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]]
4007
+  (0.2ms) ROLLBACK
4008
+  (0.1ms) BEGIN
4009
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4010
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4011
+  (0.2ms) ROLLBACK
4012
+  (0.2ms) BEGIN
4013
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4014
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4015
+  (0.3ms) ROLLBACK
4016
+  (0.1ms) BEGIN
4017
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4018
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4019
+  (0.2ms) ROLLBACK
4020
+  (0.1ms) BEGIN
4021
+  (0.1ms) ROLLBACK
4022
+  (0.1ms) BEGIN
4023
+  (0.2ms) ROLLBACK
4024
+  (0.1ms) BEGIN
4025
+  (0.1ms) ROLLBACK
4026
+  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
4027
+  (2.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4028
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
4029
+ Migrating to CreateBitCoreTools (20140415210052)
4030
+  (0.3ms) BEGIN
4031
+  (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) 
4032
+  (2.3ms) ALTER TABLE bit_core_tools
4033
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
4034
+ DEFERRABLE INITIALLY IMMEDIATE
4035
+
4036
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
4037
+  (0.7ms) COMMIT
4038
+ Migrating to CreateBitCoreContentModules (20140415211458)
4039
+  (0.4ms) BEGIN
4040
+  (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)
4041
+  (1.7ms)  ALTER TABLE bit_core_content_modules
4042
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
4043
+ DEFERRABLE INITIALLY IMMEDIATE
4044
+ 
4045
+  (2.6ms) ALTER TABLE bit_core_content_modules
4046
+ ADD CONSTRAINT fk_content_modules_tools
4047
+ FOREIGN KEY (bit_core_tool_id)
4048
+ REFERENCES bit_core_tools(id)
4049
+
4050
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
4051
+  (0.6ms) COMMIT
4052
+ Migrating to CreateBitCoreContentProviders (20140415213346)
4053
+  (0.5ms) BEGIN
4054
+  (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)
4055
+  (1.7ms)  ALTER TABLE bit_core_content_providers
4056
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
4057
+ DEFERRABLE INITIALLY IMMEDIATE
4058
+ 
4059
+  (2.3ms) ALTER TABLE bit_core_content_providers
4060
+ ADD CONSTRAINT fk_content_providers_modules
4061
+ FOREIGN KEY (bit_core_content_module_id)
4062
+ REFERENCES bit_core_content_modules(id)
4063
+
4064
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
4065
+  (0.6ms) COMMIT
4066
+ Migrating to CreateBitCoreSlideshows (20140417173056)
4067
+  (0.4ms) BEGIN
4068
+  (4.4ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
4069
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
4070
+  (0.5ms) COMMIT
4071
+ Migrating to CreateBitCoreSlides (20140417174159)
4072
+  (0.4ms) BEGIN
4073
+  (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)
4074
+  (2.6ms)  ALTER TABLE bit_core_slides
4075
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
4076
+ DEFERRABLE INITIALLY IMMEDIATE
4077
+ 
4078
+  (2.9ms) ALTER TABLE bit_core_slides
4079
+ ADD CONSTRAINT fk_slideshows_slides
4080
+ FOREIGN KEY (bit_core_slideshow_id)
4081
+ REFERENCES bit_core_slideshows(id)
4082
+
4083
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
4084
+  (1.1ms) COMMIT
4085
+ Migrating to AddOptionsToSlides (20140620174146)
4086
+  (0.6ms) BEGIN
4087
+  (0.8ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
4088
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174146"]]
4089
+  (0.6ms) COMMIT
4090
+ Migrating to AddConfigFieldsToProviders (20140620174147)
4091
+  (0.2ms) BEGIN
4092
+  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
4093
+  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
4094
+  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
4095
+  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
4096
+  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
4097
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174147"]]
4098
+  (0.4ms) COMMIT
4099
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
4100
+  (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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4101
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_968059" is a system trigger
4102
+ : 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4103
+  (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_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
4104
+  (0.2ms) BEGIN
4105
+ Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows"
4106
+ Fixture Insert (0.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 20:11:23', '2014-06-20 20:11:23', 504123193)
4107
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_slides"
4108
+ 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 20:11:23', '2014-06-20 20:11:23', 538050605, 504123193)
4109
+ 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 20:11:23', '2014-06-20 20:11:23', 958091673, 504123193)
4110
+ 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 20:11:23', '2014-06-20 20:11:23', 236740868, 504123193)
4111
+  (0.6ms) COMMIT
4112
+  (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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4113
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_968059" is a system trigger
4114
+ : 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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4115
+  (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_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
4116
+  (0.1ms) BEGIN
4117
+  (0.4ms) ROLLBACK
4118
+  (0.2ms) BEGIN
4119
+  (0.2ms) ROLLBACK
4120
+  (0.1ms) BEGIN
4121
+  (0.2ms) ROLLBACK
4122
+  (0.2ms) BEGIN
4123
+ BitCore::ContentProvider Exists (1.3ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4124
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4125
+  (0.2ms) ROLLBACK
4126
+  (0.2ms) BEGIN
4127
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4128
+ BitCore::ContentProvider Exists (0.4ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4129
+  (0.2ms) ROLLBACK
4130
+  (0.2ms) BEGIN
4131
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4132
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4133
+  (0.3ms) ROLLBACK
4134
+  (0.1ms) BEGIN
4135
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
4136
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
4137
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
4138
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4139
+  (0.2ms) SAVEPOINT active_record_1
4140
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
4141
+ 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]]
4142
+ 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 20:11:23.946487"]]
4143
+ 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]]
4144
+ 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 20:11:23.950221"]]
4145
+ 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]]
4146
+ 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 20:11:23.952956"]]
4147
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4148
+ 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]]
4149
+ 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]]
4150
+ 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]]
4151
+  (0.2ms) ROLLBACK
4152
+  (0.1ms) BEGIN
4153
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4154
+ BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
4155
+  (0.1ms) SAVEPOINT active_record_1
4156
+ SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
4157
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4158
+ 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]]
4159
+ 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]]
4160
+  (0.2ms) SAVEPOINT active_record_1
4161
+ 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
4162
+ 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 20:11:23.972790"]]
4163
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4164
+  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
4165
+ 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]]
4166
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
4167
+ 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]]
4168
+ 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]]
4169
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
4170
+ 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]]
4171
+  (0.3ms) ROLLBACK
4172
+  (0.2ms) BEGIN
4173
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4174
+  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
4175
+ 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
4176
+  (0.3ms) ROLLBACK
4177
+  (0.7ms) 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4178
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_968059" is a system trigger
4179
+ : 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4180
+  (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_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
4181
+  (0.4ms) BEGIN
4182
+ Fixture Delete (0.5ms) DELETE FROM "bit_core_tools"
4183
+ Fixture Insert (0.6ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-20 20:11:23', '2014-06-20 20:11:23', 836111569)
4184
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_content_modules"
4185
+ Fixture Insert (1.1ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2014-06-20 20:11:24', '2014-06-20 20:11:24', 437912910, 836111569)
4186
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-20 20:11:24', '2014-06-20 20:11:24', 511237275, 836111569)
4187
+ Fixture Delete (0.5ms) DELETE FROM "bit_core_content_providers"
4188
+ Fixture Insert (1.1ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-20 20:11:24', '2014-06-20 20:11:24', 555816777, 437912910)
4189
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-20 20:11:24', '2014-06-20 20:11:24', 46790607, 511237275)
4190
+  (0.5ms) COMMIT
4191
+  (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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4192
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_968059" is a system trigger
4193
+ : 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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4194
+  (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_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
4195
+  (0.1ms) BEGIN
4196
+ BitCore::ContentModule Load (0.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
4197
+ BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 1 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
4198
+  (0.3ms) ROLLBACK
4199
+  (0.2ms) BEGIN
4200
+ BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
4201
+ BitCore::ContentProvider Load (0.9ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 8 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
4202
+  (0.2ms) ROLLBACK
4203
+  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
4204
+  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4205
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
4206
+ Migrating to CreateBitCoreTools (20140415210052)
4207
+  (0.2ms) BEGIN
4208
+  (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) 
4209
+  (2.4ms) ALTER TABLE bit_core_tools
4210
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
4211
+ DEFERRABLE INITIALLY IMMEDIATE
4212
+
4213
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
4214
+  (0.7ms) COMMIT
4215
+ Migrating to CreateBitCoreContentModules (20140415211458)
4216
+  (0.3ms) BEGIN
4217
+  (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)
4218
+  (1.7ms)  ALTER TABLE bit_core_content_modules
4219
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
4220
+ DEFERRABLE INITIALLY IMMEDIATE
4221
+ 
4222
+  (2.7ms) ALTER TABLE bit_core_content_modules
4223
+ ADD CONSTRAINT fk_content_modules_tools
4224
+ FOREIGN KEY (bit_core_tool_id)
4225
+ REFERENCES bit_core_tools(id)
4226
+
4227
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
4228
+  (0.6ms) COMMIT
4229
+ Migrating to CreateBitCoreContentProviders (20140415213346)
4230
+  (0.6ms) BEGIN
4231
+  (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)
4232
+  (1.8ms)  ALTER TABLE bit_core_content_providers
4233
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
4234
+ DEFERRABLE INITIALLY IMMEDIATE
4235
+ 
4236
+  (2.4ms) ALTER TABLE bit_core_content_providers
4237
+ ADD CONSTRAINT fk_content_providers_modules
4238
+ FOREIGN KEY (bit_core_content_module_id)
4239
+ REFERENCES bit_core_content_modules(id)
4240
+
4241
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
4242
+  (0.6ms) COMMIT
4243
+ Migrating to CreateBitCoreSlideshows (20140417173056)
4244
+  (0.4ms) BEGIN
4245
+  (3.6ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
4246
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
4247
+  (1.1ms) COMMIT
4248
+ Migrating to CreateBitCoreSlides (20140417174159)
4249
+  (0.4ms) BEGIN
4250
+  (9.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)
4251
+  (3.0ms)  ALTER TABLE bit_core_slides
4252
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
4253
+ DEFERRABLE INITIALLY IMMEDIATE
4254
+ 
4255
+  (3.6ms) ALTER TABLE bit_core_slides
4256
+ ADD CONSTRAINT fk_slideshows_slides
4257
+ FOREIGN KEY (bit_core_slideshow_id)
4258
+ REFERENCES bit_core_slideshows(id)
4259
+
4260
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
4261
+  (0.8ms) COMMIT
4262
+ Migrating to AddOptionsToSlides (20140620174146)
4263
+  (0.6ms) BEGIN
4264
+  (0.7ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
4265
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174146"]]
4266
+  (0.5ms) COMMIT
4267
+ Migrating to AddConfigFieldsToProviders (20140620174147)
4268
+  (0.2ms) BEGIN
4269
+  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
4270
+  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
4271
+  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
4272
+  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
4273
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
4274
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174147"]]
4275
+  (0.4ms) COMMIT
4276
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
4277
+  (0.2ms) BEGIN
4278
+ BitCore::ContentProvider Exists (1.0ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4279
+  (0.3ms) ROLLBACK
4280
+  (0.2ms) BEGIN
4281
+ BitCore::ContentProvider Exists (0.4ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4282
+ BitCore::ContentProvider Exists (0.4ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4283
+  (0.2ms) ROLLBACK
4284
+  (0.3ms) BEGIN
4285
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4286
+ BitCore::ContentProvider Exists (0.4ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4287
+  (0.2ms) ROLLBACK
4288
+  (0.7ms) 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4289
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_971713" is a system trigger
4290
+ : 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4291
+  (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_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
4292
+  (0.2ms) BEGIN
4293
+ Fixture Delete (0.5ms) DELETE FROM "bit_core_tools"
4294
+ Fixture Insert (0.7ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-20 22:20:55', '2014-06-20 22:20:55', 836111569)
4295
+ Fixture Delete (0.5ms) DELETE FROM "bit_core_content_modules"
4296
+ Fixture Insert (1.2ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2014-06-20 22:20:55', '2014-06-20 22:20:55', 437912910, 836111569)
4297
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-20 22:20:55', '2014-06-20 22:20:55', 511237275, 836111569)
4298
+ Fixture Delete (0.4ms) DELETE FROM "bit_core_content_providers"
4299
+ Fixture Insert (1.1ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-20 22:20:55', '2014-06-20 22:20:55', 555816777, 437912910)
4300
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-20 22:20:55', '2014-06-20 22:20:55', 46790607, 511237275)
4301
+  (0.5ms) COMMIT
4302
+  (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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4303
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_971713" is a system trigger
4304
+ : 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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4305
+  (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_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
4306
+  (0.1ms) BEGIN
4307
+ BitCore::ContentModule Load (0.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
4308
+ BitCore::ContentProvider Load (0.8ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 8 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
4309
+  (0.2ms) ROLLBACK
4310
+  (0.1ms) BEGIN
4311
+ BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
4312
+ BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 1 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
4313
+  (0.2ms) ROLLBACK
4314
+  (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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4315
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_971713" is a system trigger
4316
+ : 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4317
+  (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_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
4318
+  (0.2ms) BEGIN
4319
+ Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows"
4320
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 22:20:56', '2014-06-20 22:20:56', 504123193)
4321
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_slides"
4322
+ 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 22:20:56', '2014-06-20 22:20:56', 538050605, 504123193)
4323
+ 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 22:20:56', '2014-06-20 22:20:56', 958091673, 504123193)
4324
+ 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 22:20:56', '2014-06-20 22:20:56', 236740868, 504123193)
4325
+  (0.4ms) COMMIT
4326
+  (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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4327
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_971713" is a system trigger
4328
+ : 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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4329
+  (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_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
4330
+  (0.2ms) BEGIN
4331
+  (0.3ms) ROLLBACK
4332
+  (0.1ms) BEGIN
4333
+  (0.1ms) ROLLBACK
4334
+  (0.2ms) BEGIN
4335
+  (0.2ms) ROLLBACK
4336
+  (0.2ms) BEGIN
4337
+ BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4338
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
4339
+  (0.2ms) SAVEPOINT active_record_1
4340
+ SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
4341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4342
+ 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]]
4343
+ 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]]
4344
+  (0.2ms) SAVEPOINT active_record_1
4345
+ 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
4346
+ 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 22:20:56.083768"]]
4347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4348
+  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
4349
+ 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]]
4350
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
4351
+ 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]]
4352
+ 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]]
4353
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
4354
+ 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]]
4355
+  (0.2ms) ROLLBACK
4356
+  (0.1ms) BEGIN
4357
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4358
+  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
4359
+ 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
4360
+  (0.2ms) ROLLBACK
4361
+  (0.2ms) BEGIN
4362
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
4363
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
4364
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
4365
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4366
+  (0.2ms) SAVEPOINT active_record_1
4367
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
4368
+ 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]]
4369
+ 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 22:20:56.107241"]]
4370
+ 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]]
4371
+ 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 22:20:56.109520"]]
4372
+ 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]]
4373
+ 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 22:20:56.112015"]]
4374
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4375
+ 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]]
4376
+ 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]]
4377
+ 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]]
4378
+  (0.3ms) ROLLBACK
4379
+  (4.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
4380
+  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4381
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
4382
+ Migrating to CreateBitCoreTools (20140415210052)
4383
+  (0.2ms) BEGIN
4384
+  (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) 
4385
+  (2.2ms) ALTER TABLE bit_core_tools
4386
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
4387
+ DEFERRABLE INITIALLY IMMEDIATE
4388
+
4389
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
4390
+  (0.7ms) COMMIT
4391
+ Migrating to CreateBitCoreContentModules (20140415211458)
4392
+  (0.3ms) BEGIN
4393
+  (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)
4394
+  (1.7ms)  ALTER TABLE bit_core_content_modules
4395
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
4396
+ DEFERRABLE INITIALLY IMMEDIATE
4397
+ 
4398
+  (2.4ms) ALTER TABLE bit_core_content_modules
4399
+ ADD CONSTRAINT fk_content_modules_tools
4400
+ FOREIGN KEY (bit_core_tool_id)
4401
+ REFERENCES bit_core_tools(id)
4402
+
4403
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
4404
+  (0.6ms) COMMIT
4405
+ Migrating to CreateBitCoreContentProviders (20140415213346)
4406
+  (0.4ms) BEGIN
4407
+  (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)
4408
+  (1.7ms)  ALTER TABLE bit_core_content_providers
4409
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
4410
+ DEFERRABLE INITIALLY IMMEDIATE
4411
+ 
4412
+  (2.5ms) ALTER TABLE bit_core_content_providers
4413
+ ADD CONSTRAINT fk_content_providers_modules
4414
+ FOREIGN KEY (bit_core_content_module_id)
4415
+ REFERENCES bit_core_content_modules(id)
4416
+
4417
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
4418
+  (0.6ms) COMMIT
4419
+ Migrating to CreateBitCoreSlideshows (20140417173056)
4420
+  (0.4ms) BEGIN
4421
+  (4.8ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
4422
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
4423
+  (0.6ms) COMMIT
4424
+ Migrating to CreateBitCoreSlides (20140417174159)
4425
+  (0.6ms) BEGIN
4426
+  (8.7ms) 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)
4427
+  (2.1ms)  ALTER TABLE bit_core_slides
4428
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
4429
+ DEFERRABLE INITIALLY IMMEDIATE
4430
+ 
4431
+  (2.7ms) ALTER TABLE bit_core_slides
4432
+ ADD CONSTRAINT fk_slideshows_slides
4433
+ FOREIGN KEY (bit_core_slideshow_id)
4434
+ REFERENCES bit_core_slideshows(id)
4435
+
4436
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
4437
+  (0.6ms) COMMIT
4438
+ Migrating to AddOptionsToSlides (20140620174146)
4439
+  (0.5ms) BEGIN
4440
+  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
4441
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174146"]]
4442
+  (0.4ms) COMMIT
4443
+ Migrating to AddConfigFieldsToProviders (20140620174147)
4444
+  (0.2ms) BEGIN
4445
+  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
4446
+  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
4447
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
4448
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
4449
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
4450
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174147"]]
4451
+  (0.4ms) COMMIT
4452
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
4453
+  (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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4454
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_971796" is a system trigger
4455
+ : 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4456
+  (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_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
4457
+  (0.2ms) BEGIN
4458
+ Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows"
4459
+ Fixture Insert (0.8ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 22:21:59', '2014-06-20 22:21:59', 504123193)
4460
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_slides"
4461
+ 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 22:21:59', '2014-06-20 22:21:59', 538050605, 504123193)
4462
+ 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 22:21:59', '2014-06-20 22:21:59', 958091673, 504123193)
4463
+ 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 22:21:59', '2014-06-20 22:21:59', 236740868, 504123193)
4464
+  (0.5ms) COMMIT
4465
+  (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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4466
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_971796" is a system trigger
4467
+ : 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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4468
+  (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_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
4469
+  (0.1ms) BEGIN
4470
+ BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4471
+  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
4472
+ 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
4473
+  (0.3ms) ROLLBACK
4474
+  (0.1ms) BEGIN
4475
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
4476
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
4477
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
4478
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4479
+  (0.2ms) SAVEPOINT active_record_1
4480
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
4481
+ 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]]
4482
+ 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 22:21:59.144316"]]
4483
+ 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]]
4484
+ 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 22:21:59.147793"]]
4485
+ 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]]
4486
+ 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 22:21:59.150675"]]
4487
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4488
+ 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]]
4489
+ 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", 958091673]]
4490
+ 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]]
4491
+  (0.3ms) ROLLBACK
4492
+  (0.1ms) BEGIN
4493
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4494
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
4495
+  (0.2ms) SAVEPOINT active_record_1
4496
+ SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
4497
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4498
+ 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]]
4499
+ 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]]
4500
+  (0.2ms) SAVEPOINT active_record_1
4501
+ 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
4502
+ 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 22:21:59.192004"]]
4503
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4504
+  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
4505
+ 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]]
4506
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
4507
+ 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]]
4508
+ 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]]
4509
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
4510
+ 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]]
4511
+  (0.3ms) ROLLBACK
4512
+  (0.1ms) BEGIN
4513
+  (0.1ms) ROLLBACK
4514
+  (0.1ms) BEGIN
4515
+  (0.2ms) ROLLBACK
4516
+  (0.1ms) BEGIN
4517
+  (0.1ms) ROLLBACK
4518
+  (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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4519
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_971796" is a system trigger
4520
+ : 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4521
+  (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_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
4522
+  (0.2ms) BEGIN
4523
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_tools"
4524
+ Fixture Insert (0.7ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-20 22:21:59', '2014-06-20 22:21:59', 836111569)
4525
+ Fixture Delete (1.2ms) DELETE FROM "bit_core_content_modules"
4526
+ Fixture Insert (1.2ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2014-06-20 22:21:59', '2014-06-20 22:21:59', 437912910, 836111569)
4527
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-20 22:21:59', '2014-06-20 22:21:59', 511237275, 836111569)
4528
+ Fixture Delete (0.8ms) DELETE FROM "bit_core_content_providers"
4529
+ Fixture Insert (1.1ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-20 22:21:59', '2014-06-20 22:21:59', 555816777, 437912910)
4530
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-20 22:21:59', '2014-06-20 22:21:59', 46790607, 511237275)
4531
+  (0.4ms) COMMIT
4532
+  (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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4533
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_971796" is a system trigger
4534
+ : 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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4535
+  (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_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
4536
+  (0.2ms) BEGIN
4537
+ BitCore::ContentModule Load (0.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
4538
+ BitCore::ContentProvider Load (0.9ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 8 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
4539
+  (0.3ms) ROLLBACK
4540
+  (0.2ms) BEGIN
4541
+ BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
4542
+ BitCore::ContentProvider Load (0.4ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 1 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
4543
+  (0.3ms) ROLLBACK
4544
+  (0.2ms) BEGIN
4545
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4546
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4547
+  (0.2ms) ROLLBACK
4548
+  (0.2ms) BEGIN
4549
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4550
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4551
+  (0.3ms) ROLLBACK
4552
+  (0.2ms) BEGIN
4553
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4554
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4555
+  (0.3ms) ROLLBACK
4556
+  (5.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
4557
+  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4558
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
4559
+ Migrating to CreateBitCoreTools (20140415210052)
4560
+  (0.3ms) BEGIN
4561
+  (4.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) 
4562
+  (2.2ms) ALTER TABLE bit_core_tools
4563
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
4564
+ DEFERRABLE INITIALLY IMMEDIATE
4565
+
4566
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
4567
+  (0.6ms) COMMIT
4568
+ Migrating to CreateBitCoreContentModules (20140415211458)
4569
+  (0.3ms) BEGIN
4570
+  (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)
4571
+  (1.8ms)  ALTER TABLE bit_core_content_modules
4572
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
4573
+ DEFERRABLE INITIALLY IMMEDIATE
4574
+ 
4575
+  (2.5ms) ALTER TABLE bit_core_content_modules
4576
+ ADD CONSTRAINT fk_content_modules_tools
4577
+ FOREIGN KEY (bit_core_tool_id)
4578
+ REFERENCES bit_core_tools(id)
4579
+
4580
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
4581
+  (0.6ms) COMMIT
4582
+ Migrating to CreateBitCoreContentProviders (20140415213346)
4583
+  (0.5ms) BEGIN
4584
+  (6.0ms) 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)
4585
+  (1.7ms)  ALTER TABLE bit_core_content_providers
4586
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
4587
+ DEFERRABLE INITIALLY IMMEDIATE
4588
+ 
4589
+  (2.5ms) ALTER TABLE bit_core_content_providers
4590
+ ADD CONSTRAINT fk_content_providers_modules
4591
+ FOREIGN KEY (bit_core_content_module_id)
4592
+ REFERENCES bit_core_content_modules(id)
4593
+
4594
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
4595
+  (0.7ms) COMMIT
4596
+ Migrating to CreateBitCoreSlideshows (20140417173056)
4597
+  (0.6ms) BEGIN
4598
+  (4.0ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
4599
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
4600
+  (0.5ms) COMMIT
4601
+ Migrating to CreateBitCoreSlides (20140417174159)
4602
+  (0.3ms) BEGIN
4603
+  (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)
4604
+  (1.7ms)  ALTER TABLE bit_core_slides
4605
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
4606
+ DEFERRABLE INITIALLY IMMEDIATE
4607
+ 
4608
+  (2.7ms) ALTER TABLE bit_core_slides
4609
+ ADD CONSTRAINT fk_slideshows_slides
4610
+ FOREIGN KEY (bit_core_slideshow_id)
4611
+ REFERENCES bit_core_slideshows(id)
4612
+
4613
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
4614
+  (0.8ms) COMMIT
4615
+ Migrating to AddOptionsToSlides (20140620174146)
4616
+  (0.5ms) BEGIN
4617
+  (0.7ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
4618
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174146"]]
4619
+  (0.5ms) COMMIT
4620
+ Migrating to AddConfigFieldsToProviders (20140620174147)
4621
+  (0.3ms) BEGIN
4622
+  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
4623
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
4624
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
4625
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
4626
+  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
4627
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174147"]]
4628
+  (0.5ms) COMMIT
4629
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
4630
+  (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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4631
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_971879" is a system trigger
4632
+ : 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4633
+  (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_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
4634
+  (0.2ms) BEGIN
4635
+ Fixture Delete (0.4ms) DELETE FROM "bit_core_slideshows"
4636
+ Fixture Insert (0.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-20 22:23:49', '2014-06-20 22:23:49', 504123193)
4637
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_slides"
4638
+ 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 22:23:49', '2014-06-20 22:23:49', 538050605, 504123193)
4639
+ 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 22:23:49', '2014-06-20 22:23:49', 958091673, 504123193)
4640
+ 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 22:23:49', '2014-06-20 22:23:49', 236740868, 504123193)
4641
+  (0.5ms) COMMIT
4642
+  (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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4643
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_971879" is a system trigger
4644
+ : 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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4645
+  (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_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
4646
+  (0.1ms) BEGIN
4647
+  (0.4ms) ROLLBACK
4648
+  (0.1ms) BEGIN
4649
+  (0.3ms) ROLLBACK
4650
+  (0.1ms) BEGIN
4651
+  (0.2ms) ROLLBACK
4652
+  (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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4653
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_971879" is a system trigger
4654
+ : 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_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4655
+  (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_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
4656
+  (0.3ms) BEGIN
4657
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_tools"
4658
+ Fixture Insert (0.7ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-20 22:23:49', '2014-06-20 22:23:49', 836111569)
4659
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_content_modules"
4660
+ Fixture Insert (1.1ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2014-06-20 22:23:49', '2014-06-20 22:23:49', 437912910, 836111569)
4661
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-20 22:23:49', '2014-06-20 22:23:49', 511237275, 836111569)
4662
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_content_providers"
4663
+ Fixture Insert (1.0ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-20 22:23:49', '2014-06-20 22:23:49', 555816777, 437912910)
4664
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-20 22:23:49', '2014-06-20 22:23:49', 46790607, 511237275)
4665
+  (0.5ms) COMMIT
4666
+  (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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4667
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_971879" is a system trigger
4668
+ : 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_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4669
+  (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_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
4670
+  (0.2ms) BEGIN
4671
+ BitCore::ContentModule Load (0.8ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
4672
+ BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 8 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
4673
+  (0.3ms) ROLLBACK
4674
+  (0.2ms) BEGIN
4675
+ BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
4676
+ BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 1 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
4677
+  (0.4ms) ROLLBACK
4678
+  (0.2ms) BEGIN
4679
+ BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4680
+  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
4681
+ 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
4682
+  (0.2ms) ROLLBACK
4683
+  (0.2ms) BEGIN
4684
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
4685
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
4686
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
4687
+ BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4688
+  (0.2ms) SAVEPOINT active_record_1
4689
+  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
4690
+ 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]]
4691
+ 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 22:23:49.554931"]]
4692
+ 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]]
4693
+ 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 22:23:49.559324"]]
4694
+ 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", 958091673]]
4695
+ 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 22:23:49.562955"]]
4696
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4697
+ 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]]
4698
+ 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]]
4699
+ 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]]
4700
+  (0.3ms) ROLLBACK
4701
+  (0.2ms) BEGIN
4702
+ BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4703
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
4704
+  (0.2ms) SAVEPOINT active_record_1
4705
+ SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
4706
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4707
+ 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]]
4708
+ 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]]
4709
+  (0.2ms) SAVEPOINT active_record_1
4710
+ 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
4711
+ 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 22:23:49.583951"]]
4712
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4713
+  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
4714
+ 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]]
4715
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
4716
+ 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]]
4717
+ 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]]
4718
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
4719
+ 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]]
4720
+  (0.2ms) ROLLBACK
4721
+  (0.2ms) BEGIN
4722
+ BitCore::ContentProvider Exists (0.7ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4723
+ BitCore::ContentProvider Exists (0.7ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4724
+  (0.2ms) ROLLBACK
4725
+  (0.1ms) BEGIN
4726
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4727
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4728
+  (0.2ms) ROLLBACK
4729
+  (0.2ms) BEGIN
4730
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4731
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4732
+  (0.2ms) ROLLBACK