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.
- checksums.yaml +4 -4
- data/app/models/bit_core/content_provider.rb +54 -1
- data/app/models/bit_core/content_providers/null.rb +26 -0
- data/app/models/bit_core/content_providers/slideshow_provider.rb +32 -0
- data/app/models/bit_core/slideshow.rb +0 -1
- data/db/migrate/20140620174147_add_config_fields_to_providers.rb +9 -0
- data/lib/bit_core/version.rb +1 -1
- data/spec/dummy/log/test.log +1182 -0
- data/spec/models/bit_core/content_module_spec.rb +22 -0
- data/spec/models/bit_core/content_provider_spec.rb +46 -0
- metadata +9 -4
- data/spec/dummy/db/schema.rb +0 -70
data/spec/dummy/log/test.log
CHANGED
@@ -3548,3 +3548,1185 @@ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_95
|
|
3548
3548
|
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3549
3549
|
[1m[35m (0.1ms)[0m BEGIN
|
3550
3550
|
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3551
|
+
[1m[36m (4.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
3552
|
+
[1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3553
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3554
|
+
Migrating to AddConfigFieldsToProviders (2014620174147)
|
3555
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3556
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
|
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
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3560
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3573
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3586
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
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
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3599
|
+
[1m[36m (0.8ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
3600
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3613
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
3614
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
3615
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3628
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
3629
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
3630
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3643
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
3644
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
3645
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3658
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
3659
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
3660
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3673
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
3674
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "schema_migrations" DISABLE TRIGGER ALL[0m
|
3675
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3688
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL
|
3689
|
+
[1m[36m (4.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
3690
|
+
[1m[35m (2.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3691
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3692
|
+
Migrating to AddConfigFieldsToProviders (2014620174147)
|
3693
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3694
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)[0m
|
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
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
3698
|
+
[1m[36m (4.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
3699
|
+
[1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3700
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3701
|
+
Migrating to CreateBitCoreTools (20140415210052)
|
3702
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3703
|
+
[1m[36m (4.8ms)[0m [1mCREATE 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) [0m
|
3704
|
+
[1m[35m (2.2ms)[0m ALTER TABLE bit_core_tools
|
3705
|
+
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
3706
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
3707
|
+
|
3708
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
3709
|
+
[1m[35m (0.8ms)[0m COMMIT
|
3710
|
+
Migrating to CreateBitCoreContentModules (20140415211458)
|
3711
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
3712
|
+
[1m[35m (3.4ms)[0m 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
|
+
[1m[36m (1.7ms)[0m [1m 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
|
+
[0m
|
3717
|
+
[1m[35m (2.4ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
3723
|
+
[1m[35m (0.6ms)[0m COMMIT
|
3724
|
+
Migrating to CreateBitCoreContentProviders (20140415213346)
|
3725
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
3726
|
+
[1m[35m (5.2ms)[0m 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
|
+
[1m[36m (1.7ms)[0m [1m 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
|
+
[0m
|
3731
|
+
[1m[35m (2.3ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
3737
|
+
[1m[35m (0.6ms)[0m COMMIT
|
3738
|
+
Migrating to CreateBitCoreSlideshows (20140417173056)
|
3739
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
3740
|
+
[1m[35m (3.8ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
3741
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
3742
|
+
[1m[35m (0.5ms)[0m COMMIT
|
3743
|
+
Migrating to CreateBitCoreSlides (20140417174159)
|
3744
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
3745
|
+
[1m[35m (5.8ms)[0m 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
|
+
[1m[36m (1.4ms)[0m [1m ALTER TABLE bit_core_slides
|
3747
|
+
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
3748
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
3749
|
+
[0m
|
3750
|
+
[1m[35m (2.0ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
3756
|
+
[1m[35m (0.6ms)[0m COMMIT
|
3757
|
+
Migrating to AddOptionsToSlides (20140620174146)
|
3758
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
3759
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
|
3760
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
3761
|
+
[1m[35m (0.4ms)[0m COMMIT
|
3762
|
+
Migrating to AddConfigFieldsToProviders (20140620174147)
|
3763
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3764
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
|
3765
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)[0m
|
3766
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
|
3767
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean[0m
|
3768
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
|
3769
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
3770
|
+
[1m[35m (0.4ms)[0m COMMIT
|
3771
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3772
|
+
[1m[36m (0.9ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.7ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3777
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_core_slideshows"
|
3778
|
+
[1m[36mFixture Insert (0.7ms)[0m [1mINSERT 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)[0m
|
3779
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_core_slides"
|
3780
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT 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)[0m
|
3781
|
+
[1m[35mFixture Insert (0.5ms)[0m 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
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
|
3783
|
+
[1m[35m (0.5ms)[0m COMMIT
|
3784
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3789
|
+
[1m[35mBitCore::Slide Load (0.6ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
|
3790
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
|
3791
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
|
3792
|
+
[1m[36mBitCore::Slideshow Load (0.5ms)[0m [1mSELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1[0m [["id", 504123193]]
|
3793
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3794
|
+
[1m[36m (0.3ms)[0m [1mSET CONSTRAINTS bit_core_slide_position DEFERRED[0m
|
3795
|
+
[1m[35mBitCore::Slide Load (0.6ms)[0m 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
|
+
[1m[36mSQL (0.7ms)[0m [1mUPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868[0m [["position", 1], ["updated_at", "2014-06-20 19:51:54.039611"]]
|
3797
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 538050605[0m [["position", 2], ["updated_at", "2014-06-20 19:51:54.043568"]]
|
3799
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 958091673[0m [["position", 3], ["updated_at", "2014-06-20 19:51:54.046471"]]
|
3801
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3802
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
|
3803
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
|
3805
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3806
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3807
|
+
[1m[35mBitCore::Slideshow Load (0.4ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
3808
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
|
3809
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3810
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1[0m [["id", 958091673]]
|
3811
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3812
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
3813
|
+
[1m[35mBitCore::Slide Load (0.6ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3815
|
+
[1m[35mBitCore::Slide Exists (0.7ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868[0m [["position", 2], ["updated_at", "2014-06-20 19:51:54.073500"]]
|
3817
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
3818
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1[0m [["bit_core_slideshow_id", 504123193]]
|
3819
|
+
[1m[35mBitCore::Slide Load (0.6ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
|
3821
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1[0m [["bit_core_slideshow_id", 504123193]]
|
3823
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
|
3824
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1[0m [["bit_core_slideshow_id", 504123193]]
|
3825
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3826
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3827
|
+
[1m[35mBitCore::Slideshow Load (0.3ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
3828
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1[0m [["bit_core_slideshow_id", 504123193]]
|
3829
|
+
[1m[35mBitCore::Slide Exists (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3831
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3832
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3833
|
+
[1m[35m (0.2ms)[0m BEGIN
|
3834
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3835
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3836
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
3837
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3838
|
+
[1m[36mBitCore::ContentProvider Exists (1.2ms)[0m [1mSELECT 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[0m
|
3839
|
+
[1m[35mBitCore::ContentProvider Exists (0.6ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3841
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3842
|
+
[1m[36mBitCore::ContentProvider Exists (0.5ms)[0m [1mSELECT 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[0m
|
3843
|
+
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
3845
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3846
|
+
[1m[36mBitCore::ContentProvider Exists (0.5ms)[0m [1mSELECT 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[0m
|
3847
|
+
[1m[35mBitCore::ContentProvider Exists (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3849
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
3850
|
+
[1m[35m (2.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3851
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3852
|
+
Migrating to CreateBitCoreTools (20140415210052)
|
3853
|
+
[1m[35m (0.3ms)[0m BEGIN
|
3854
|
+
[1m[36m (5.2ms)[0m [1mCREATE 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) [0m
|
3855
|
+
[1m[35m (2.2ms)[0m ALTER TABLE bit_core_tools
|
3856
|
+
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
3857
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
3858
|
+
|
3859
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
3860
|
+
[1m[35m (14.5ms)[0m COMMIT
|
3861
|
+
Migrating to CreateBitCoreContentModules (20140415211458)
|
3862
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
3863
|
+
[1m[35m (8.2ms)[0m 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
|
+
[1m[36m (11.9ms)[0m [1m 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
|
+
[0m
|
3868
|
+
[1m[35m (3.6ms)[0m 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
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
3874
|
+
[1m[35m (1.1ms)[0m COMMIT
|
3875
|
+
Migrating to CreateBitCoreContentProviders (20140415213346)
|
3876
|
+
[1m[36m (1.0ms)[0m [1mBEGIN[0m
|
3877
|
+
[1m[35m (7.4ms)[0m 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
|
+
[1m[36m (2.2ms)[0m [1m 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
|
+
[0m
|
3882
|
+
[1m[35m (2.6ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
3888
|
+
[1m[35m (0.6ms)[0m COMMIT
|
3889
|
+
Migrating to CreateBitCoreSlideshows (20140417173056)
|
3890
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
3891
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
3892
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
3893
|
+
[1m[35m (0.5ms)[0m COMMIT
|
3894
|
+
Migrating to CreateBitCoreSlides (20140417174159)
|
3895
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3896
|
+
[1m[35m (5.1ms)[0m 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
|
+
[1m[36m (1.6ms)[0m [1m ALTER TABLE bit_core_slides
|
3898
|
+
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
3899
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
3900
|
+
[0m
|
3901
|
+
[1m[35m (2.0ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
3907
|
+
[1m[35m (0.7ms)[0m COMMIT
|
3908
|
+
Migrating to AddOptionsToSlides (20140620174146)
|
3909
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
3910
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
|
3911
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
3912
|
+
[1m[35m (0.4ms)[0m COMMIT
|
3913
|
+
Migrating to AddConfigFieldsToProviders (20140620174147)
|
3914
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3915
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
|
3916
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)[0m
|
3917
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
|
3918
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean[0m
|
3919
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
|
3920
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
3921
|
+
[1m[35m (0.4ms)[0m COMMIT
|
3922
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3923
|
+
[1m[36m (1.1ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
3928
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_core_tools"
|
3929
|
+
[1m[36mFixture Insert (0.9ms)[0m [1mINSERT 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)[0m
|
3930
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_core_content_modules"
|
3931
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT 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)[0m
|
3932
|
+
[1m[35mFixture Insert (0.5ms)[0m 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
|
+
[1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_core_content_providers"[0m
|
3934
|
+
[1m[35mFixture Insert (1.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
|
3936
|
+
[1m[35m (0.4ms)[0m COMMIT
|
3937
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3942
|
+
[1m[35mBitCore::ContentModule Load (0.7ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
|
3943
|
+
[1m[36mBitCore::ContentProvider Load (0.9ms)[0m [1mSELECT "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[0m [["bit_core_content_module_id", 437912910]]
|
3944
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3945
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
3946
|
+
[1m[35mBitCore::ContentModule Load (0.5ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
|
3947
|
+
[1m[36mBitCore::ContentProvider Load (0.5ms)[0m [1mSELECT "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[0m [["bit_core_content_module_id", 437912910]]
|
3948
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
3949
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3954
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_core_slideshows"
|
3955
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
|
3956
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_core_slides"
|
3957
|
+
[1m[36mFixture Insert (1.1ms)[0m [1mINSERT 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)[0m
|
3958
|
+
[1m[35mFixture Insert (0.5ms)[0m 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
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
|
3960
|
+
[1m[35m (0.5ms)[0m COMMIT
|
3961
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
3966
|
+
[1m[35mBitCore::Slideshow Load (0.5ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
3967
|
+
[1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1[0m [["bit_core_slideshow_id", 504123193]]
|
3968
|
+
[1m[35mBitCore::Slide Exists (0.7ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3970
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3971
|
+
[1m[36mBitCore::Slideshow Load (0.4ms)[0m [1mSELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1[0m [["id", 504123193]]
|
3972
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
|
3973
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3974
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
|
3975
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3976
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.7ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193]]
|
3978
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
3979
|
+
[1m[36mBitCore::Slide Exists (0.6ms)[0m [1mSELECT 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[0m
|
3980
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3982
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
|
3983
|
+
[1m[36mBitCore::Slide Load (0.6ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
3984
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
|
3985
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
3986
|
+
[1m[35mBitCore::Slide Load (0.6ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
|
3988
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
3990
|
+
[1m[35m (0.1ms)[0m BEGIN
|
3991
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
|
3992
|
+
[1m[35mBitCore::Slide Load (0.3ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
|
3993
|
+
[1m[36mBitCore::Slide Load (0.3ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
|
3994
|
+
[1m[35mBitCore::Slideshow Load (0.3ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
3995
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3996
|
+
[1m[35m (0.2ms)[0m SET CONSTRAINTS bit_core_slide_position DEFERRED
|
3997
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
|
3998
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
|
4000
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
|
4002
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4004
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
|
4006
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4008
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4009
|
+
[1m[36mBitCore::ContentProvider Exists (0.6ms)[0m [1mSELECT 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[0m
|
4010
|
+
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4012
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4013
|
+
[1m[36mBitCore::ContentProvider Exists (0.5ms)[0m [1mSELECT 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[0m
|
4014
|
+
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4016
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4017
|
+
[1m[36mBitCore::ContentProvider Exists (0.5ms)[0m [1mSELECT 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[0m
|
4018
|
+
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4020
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4021
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
4022
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4023
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4024
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4025
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
4026
|
+
[1m[36m (4.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
4027
|
+
[1m[35m (2.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
4028
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4029
|
+
Migrating to CreateBitCoreTools (20140415210052)
|
4030
|
+
[1m[35m (0.3ms)[0m BEGIN
|
4031
|
+
[1m[36m (4.7ms)[0m [1mCREATE 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) [0m
|
4032
|
+
[1m[35m (2.3ms)[0m ALTER TABLE bit_core_tools
|
4033
|
+
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
4034
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
4035
|
+
|
4036
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
4037
|
+
[1m[35m (0.7ms)[0m COMMIT
|
4038
|
+
Migrating to CreateBitCoreContentModules (20140415211458)
|
4039
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
4040
|
+
[1m[35m (3.7ms)[0m 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
|
+
[1m[36m (1.7ms)[0m [1m 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
|
+
[0m
|
4045
|
+
[1m[35m (2.6ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
4051
|
+
[1m[35m (0.6ms)[0m COMMIT
|
4052
|
+
Migrating to CreateBitCoreContentProviders (20140415213346)
|
4053
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
4054
|
+
[1m[35m (6.4ms)[0m 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
|
+
[1m[36m (1.7ms)[0m [1m 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
|
+
[0m
|
4059
|
+
[1m[35m (2.3ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
4065
|
+
[1m[35m (0.6ms)[0m COMMIT
|
4066
|
+
Migrating to CreateBitCoreSlideshows (20140417173056)
|
4067
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
4068
|
+
[1m[35m (4.4ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
4069
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
4070
|
+
[1m[35m (0.5ms)[0m COMMIT
|
4071
|
+
Migrating to CreateBitCoreSlides (20140417174159)
|
4072
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
4073
|
+
[1m[35m (6.2ms)[0m 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
|
+
[1m[36m (2.6ms)[0m [1m ALTER TABLE bit_core_slides
|
4075
|
+
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
4076
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
4077
|
+
[0m
|
4078
|
+
[1m[35m (2.9ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
4084
|
+
[1m[35m (1.1ms)[0m COMMIT
|
4085
|
+
Migrating to AddOptionsToSlides (20140620174146)
|
4086
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
4087
|
+
[1m[35m (0.8ms)[0m ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
|
4088
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
4089
|
+
[1m[35m (0.6ms)[0m COMMIT
|
4090
|
+
Migrating to AddConfigFieldsToProviders (20140620174147)
|
4091
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4092
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
|
4093
|
+
[1m[36m (0.7ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)[0m
|
4094
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
|
4095
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean[0m
|
4096
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
|
4097
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
4098
|
+
[1m[35m (0.4ms)[0m COMMIT
|
4099
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4100
|
+
[1m[36m (1.0ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4105
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_core_slideshows"
|
4106
|
+
[1m[36mFixture Insert (0.7ms)[0m [1mINSERT 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)[0m
|
4107
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_core_slides"
|
4108
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT 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)[0m
|
4109
|
+
[1m[35mFixture Insert (0.5ms)[0m 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
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
|
4111
|
+
[1m[35m (0.6ms)[0m COMMIT
|
4112
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
4117
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
4118
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4119
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
4120
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
4121
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
4122
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4123
|
+
[1m[35mBitCore::ContentProvider Exists (1.3ms)[0m 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
|
+
[1m[36mBitCore::ContentProvider Exists (0.5ms)[0m [1mSELECT 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[0m
|
4125
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
4126
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4127
|
+
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m 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
|
+
[1m[36mBitCore::ContentProvider Exists (0.4ms)[0m [1mSELECT 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[0m
|
4129
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
4130
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4131
|
+
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m 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
|
+
[1m[36mBitCore::ContentProvider Exists (0.5ms)[0m [1mSELECT 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[0m
|
4133
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
4134
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
4135
|
+
[1m[35mBitCore::Slide Load (0.6ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
|
4136
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
|
4137
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
|
4138
|
+
[1m[36mBitCore::Slideshow Load (0.4ms)[0m [1mSELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1[0m [["id", 504123193]]
|
4139
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4140
|
+
[1m[36m (0.2ms)[0m [1mSET CONSTRAINTS bit_core_slide_position DEFERRED[0m
|
4141
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868[0m [["position", 1], ["updated_at", "2014-06-20 20:11:23.946487"]]
|
4143
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 538050605[0m [["position", 2], ["updated_at", "2014-06-20 20:11:23.950221"]]
|
4145
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 958091673[0m [["position", 3], ["updated_at", "2014-06-20 20:11:23.952956"]]
|
4147
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4148
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
|
4149
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
|
4151
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
4152
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
4153
|
+
[1m[35mBitCore::Slideshow Load (0.3ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
4154
|
+
[1m[36mBitCore::Slide Load (0.3ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
|
4155
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
4156
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1[0m [["id", 958091673]]
|
4157
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
4158
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
4159
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4161
|
+
[1m[35mBitCore::Slide Exists (0.6ms)[0m 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
|
+
[1m[36mSQL (0.8ms)[0m [1mUPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868[0m [["position", 2], ["updated_at", "2014-06-20 20:11:23.972790"]]
|
4163
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4164
|
+
[1m[36m (0.5ms)[0m [1mSELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1[0m [["bit_core_slideshow_id", 504123193]]
|
4165
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
|
4167
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1[0m [["bit_core_slideshow_id", 504123193]]
|
4169
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
|
4170
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1[0m [["bit_core_slideshow_id", 504123193]]
|
4171
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
4172
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4173
|
+
[1m[35mBitCore::Slideshow Load (0.3ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
4174
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1[0m [["bit_core_slideshow_id", 504123193]]
|
4175
|
+
[1m[35mBitCore::Slide Exists (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4177
|
+
[1m[35m (0.7ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
4181
|
+
[1m[35m (0.4ms)[0m BEGIN
|
4182
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "bit_core_tools"[0m
|
4183
|
+
[1m[35mFixture Insert (0.6ms)[0m 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
|
+
[1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_core_content_modules"[0m
|
4185
|
+
[1m[35mFixture Insert (1.1ms)[0m 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
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
|
4187
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "bit_core_content_providers"
|
4188
|
+
[1m[36mFixture Insert (1.1ms)[0m [1mINSERT 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)[0m
|
4189
|
+
[1m[35mFixture Insert (0.5ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
4191
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
4195
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4196
|
+
[1m[36mBitCore::ContentModule Load (0.5ms)[0m [1mSELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
|
4197
|
+
[1m[35mBitCore::ContentProvider Load (0.7ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4199
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4200
|
+
[1m[36mBitCore::ContentModule Load (0.4ms)[0m [1mSELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
|
4201
|
+
[1m[35mBitCore::ContentProvider Load (0.9ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4203
|
+
[1m[36m (4.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
4204
|
+
[1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
4205
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4206
|
+
Migrating to CreateBitCoreTools (20140415210052)
|
4207
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4208
|
+
[1m[36m (5.0ms)[0m [1mCREATE 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) [0m
|
4209
|
+
[1m[35m (2.4ms)[0m ALTER TABLE bit_core_tools
|
4210
|
+
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
4211
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
4212
|
+
|
4213
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
4214
|
+
[1m[35m (0.7ms)[0m COMMIT
|
4215
|
+
Migrating to CreateBitCoreContentModules (20140415211458)
|
4216
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
4217
|
+
[1m[35m (3.9ms)[0m 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
|
+
[1m[36m (1.7ms)[0m [1m 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
|
+
[0m
|
4222
|
+
[1m[35m (2.7ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
4228
|
+
[1m[35m (0.6ms)[0m COMMIT
|
4229
|
+
Migrating to CreateBitCoreContentProviders (20140415213346)
|
4230
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
4231
|
+
[1m[35m (7.2ms)[0m 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
|
+
[1m[36m (1.8ms)[0m [1m 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
|
+
[0m
|
4236
|
+
[1m[35m (2.4ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
4242
|
+
[1m[35m (0.6ms)[0m COMMIT
|
4243
|
+
Migrating to CreateBitCoreSlideshows (20140417173056)
|
4244
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
4245
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
4246
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
4247
|
+
[1m[35m (1.1ms)[0m COMMIT
|
4248
|
+
Migrating to CreateBitCoreSlides (20140417174159)
|
4249
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
4250
|
+
[1m[35m (9.5ms)[0m 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
|
+
[1m[36m (3.0ms)[0m [1m ALTER TABLE bit_core_slides
|
4252
|
+
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
4253
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
4254
|
+
[0m
|
4255
|
+
[1m[35m (3.6ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
4261
|
+
[1m[35m (0.8ms)[0m COMMIT
|
4262
|
+
Migrating to AddOptionsToSlides (20140620174146)
|
4263
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
4264
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
|
4265
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
4266
|
+
[1m[35m (0.5ms)[0m COMMIT
|
4267
|
+
Migrating to AddConfigFieldsToProviders (20140620174147)
|
4268
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4269
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
|
4270
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)[0m
|
4271
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
|
4272
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean[0m
|
4273
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
|
4274
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
4275
|
+
[1m[35m (0.4ms)[0m COMMIT
|
4276
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4277
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4278
|
+
[1m[35mBitCore::ContentProvider Exists (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4280
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4281
|
+
[1m[36mBitCore::ContentProvider Exists (0.4ms)[0m [1mSELECT 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[0m
|
4282
|
+
[1m[35mBitCore::ContentProvider Exists (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4284
|
+
[1m[35m (0.3ms)[0m BEGIN
|
4285
|
+
[1m[36mBitCore::ContentProvider Exists (0.5ms)[0m [1mSELECT 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[0m
|
4286
|
+
[1m[35mBitCore::ContentProvider Exists (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4288
|
+
[1m[35m (0.7ms)[0m 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
|
+
[1m[36m (1.1ms)[0m [1mALTER 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[0m
|
4292
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4293
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "bit_core_tools"[0m
|
4294
|
+
[1m[35mFixture Insert (0.7ms)[0m 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
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "bit_core_content_modules"[0m
|
4296
|
+
[1m[35mFixture Insert (1.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
|
4298
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_core_content_providers"
|
4299
|
+
[1m[36mFixture Insert (1.1ms)[0m [1mINSERT 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)[0m
|
4300
|
+
[1m[35mFixture Insert (0.5ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
4302
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
4306
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4307
|
+
[1m[36mBitCore::ContentModule Load (0.5ms)[0m [1mSELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
|
4308
|
+
[1m[35mBitCore::ContentProvider Load (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4310
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4311
|
+
[1m[36mBitCore::ContentModule Load (0.4ms)[0m [1mSELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
|
4312
|
+
[1m[35mBitCore::ContentProvider Load (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4314
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
4318
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4319
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "bit_core_slideshows"[0m
|
4320
|
+
[1m[35mFixture Insert (0.5ms)[0m 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
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "bit_core_slides"[0m
|
4322
|
+
[1m[35mFixture Insert (1.3ms)[0m 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
|
+
[1m[36mFixture Insert (0.5ms)[0m [1mINSERT 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)[0m
|
4324
|
+
[1m[35mFixture Insert (0.4ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
4326
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mALTER 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[0m
|
4330
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4331
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4332
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4333
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
4334
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4335
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4336
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4337
|
+
[1m[36mBitCore::Slideshow Load (0.7ms)[0m [1mSELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1[0m [["id", 504123193]]
|
4338
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
|
4339
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4340
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
|
4341
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4342
|
+
[1m[35mBitCore::Slide Load (0.6ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193]]
|
4344
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4345
|
+
[1m[36mBitCore::Slide Exists (0.6ms)[0m [1mSELECT 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[0m
|
4346
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4348
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
|
4349
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
4350
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
|
4351
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
4352
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
|
4354
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4356
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4357
|
+
[1m[36mBitCore::Slideshow Load (0.3ms)[0m [1mSELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1[0m [["id", 504123193]]
|
4358
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
|
4359
|
+
[1m[36mBitCore::Slide Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1[0m
|
4360
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
4361
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4362
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
|
4363
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 958091673]]
|
4364
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
|
4365
|
+
[1m[36mBitCore::Slideshow Load (0.3ms)[0m [1mSELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1[0m [["id", 504123193]]
|
4366
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4367
|
+
[1m[36m (0.2ms)[0m [1mSET CONSTRAINTS bit_core_slide_position DEFERRED[0m
|
4368
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868[0m [["position", 1], ["updated_at", "2014-06-20 22:20:56.107241"]]
|
4370
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 538050605[0m [["position", 2], ["updated_at", "2014-06-20 22:20:56.109520"]]
|
4372
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 958091673[0m [["position", 3], ["updated_at", "2014-06-20 22:20:56.112015"]]
|
4374
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
4375
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
|
4376
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
|
4378
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
4379
|
+
[1m[36m (4.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
4380
|
+
[1m[35m (2.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
4381
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4382
|
+
Migrating to CreateBitCoreTools (20140415210052)
|
4383
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4384
|
+
[1m[36m (5.0ms)[0m [1mCREATE 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) [0m
|
4385
|
+
[1m[35m (2.2ms)[0m ALTER TABLE bit_core_tools
|
4386
|
+
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
4387
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
4388
|
+
|
4389
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
4390
|
+
[1m[35m (0.7ms)[0m COMMIT
|
4391
|
+
Migrating to CreateBitCoreContentModules (20140415211458)
|
4392
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
4393
|
+
[1m[35m (3.7ms)[0m 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
|
+
[1m[36m (1.7ms)[0m [1m 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
|
+
[0m
|
4398
|
+
[1m[35m (2.4ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
4404
|
+
[1m[35m (0.6ms)[0m COMMIT
|
4405
|
+
Migrating to CreateBitCoreContentProviders (20140415213346)
|
4406
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
4407
|
+
[1m[35m (6.2ms)[0m 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
|
+
[1m[36m (1.7ms)[0m [1m 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
|
+
[0m
|
4412
|
+
[1m[35m (2.5ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
4418
|
+
[1m[35m (0.6ms)[0m COMMIT
|
4419
|
+
Migrating to CreateBitCoreSlideshows (20140417173056)
|
4420
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
4421
|
+
[1m[35m (4.8ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
4422
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
4423
|
+
[1m[35m (0.6ms)[0m COMMIT
|
4424
|
+
Migrating to CreateBitCoreSlides (20140417174159)
|
4425
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
4426
|
+
[1m[35m (8.7ms)[0m 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
|
+
[1m[36m (2.1ms)[0m [1m ALTER TABLE bit_core_slides
|
4428
|
+
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
4429
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
4430
|
+
[0m
|
4431
|
+
[1m[35m (2.7ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
4437
|
+
[1m[35m (0.6ms)[0m COMMIT
|
4438
|
+
Migrating to AddOptionsToSlides (20140620174146)
|
4439
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
4440
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
|
4441
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
4442
|
+
[1m[35m (0.4ms)[0m COMMIT
|
4443
|
+
Migrating to AddConfigFieldsToProviders (20140620174147)
|
4444
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4445
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
|
4446
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)[0m
|
4447
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
|
4448
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean[0m
|
4449
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
|
4450
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
4451
|
+
[1m[35m (0.4ms)[0m COMMIT
|
4452
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4453
|
+
[1m[36m (0.9ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.7ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4458
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_core_slideshows"
|
4459
|
+
[1m[36mFixture Insert (0.8ms)[0m [1mINSERT 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)[0m
|
4460
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_core_slides"
|
4461
|
+
[1m[36mFixture Insert (1.2ms)[0m [1mINSERT 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)[0m
|
4462
|
+
[1m[35mFixture Insert (0.5ms)[0m 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
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
|
4464
|
+
[1m[35m (0.5ms)[0m COMMIT
|
4465
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
4470
|
+
[1m[35mBitCore::Slideshow Load (0.5ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
4471
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1[0m [["bit_core_slideshow_id", 504123193]]
|
4472
|
+
[1m[35mBitCore::Slide Exists (0.6ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4474
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4475
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
|
4476
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
|
4477
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
|
4478
|
+
[1m[35mBitCore::Slideshow Load (0.3ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
4479
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4480
|
+
[1m[35m (0.3ms)[0m SET CONSTRAINTS bit_core_slide_position DEFERRED
|
4481
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
|
4482
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
|
4484
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
|
4486
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4488
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.7ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
|
4490
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4492
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4493
|
+
[1m[36mBitCore::Slideshow Load (0.4ms)[0m [1mSELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1[0m [["id", 504123193]]
|
4494
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
|
4495
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4496
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
|
4497
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4498
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.7ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193]]
|
4500
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4501
|
+
[1m[36mBitCore::Slide Exists (0.8ms)[0m [1mSELECT 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[0m
|
4502
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4504
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
|
4505
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
4506
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
|
4507
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
4508
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
|
4510
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4512
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4513
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
4514
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4515
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4516
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4517
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK[0m
|
4518
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
4522
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4523
|
+
[1m[36mFixture Delete (0.6ms)[0m [1mDELETE FROM "bit_core_tools"[0m
|
4524
|
+
[1m[35mFixture Insert (0.7ms)[0m 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
|
+
[1m[36mFixture Delete (1.2ms)[0m [1mDELETE FROM "bit_core_content_modules"[0m
|
4526
|
+
[1m[35mFixture Insert (1.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
|
4528
|
+
[1m[35mFixture Delete (0.8ms)[0m DELETE FROM "bit_core_content_providers"
|
4529
|
+
[1m[36mFixture Insert (1.1ms)[0m [1mINSERT 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)[0m
|
4530
|
+
[1m[35mFixture Insert (0.5ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
4532
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
4536
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4537
|
+
[1m[36mBitCore::ContentModule Load (0.5ms)[0m [1mSELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
|
4538
|
+
[1m[35mBitCore::ContentProvider Load (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4540
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4541
|
+
[1m[36mBitCore::ContentModule Load (0.4ms)[0m [1mSELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1[0m [["id", 437912910]]
|
4542
|
+
[1m[35mBitCore::ContentProvider Load (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4544
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4545
|
+
[1m[36mBitCore::ContentProvider Exists (0.6ms)[0m [1mSELECT 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[0m
|
4546
|
+
[1m[35mBitCore::ContentProvider Exists (0.6ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4548
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4549
|
+
[1m[36mBitCore::ContentProvider Exists (0.5ms)[0m [1mSELECT 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[0m
|
4550
|
+
[1m[35mBitCore::ContentProvider Exists (0.6ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4552
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4553
|
+
[1m[36mBitCore::ContentProvider Exists (0.5ms)[0m [1mSELECT 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[0m
|
4554
|
+
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4556
|
+
[1m[36m (5.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
4557
|
+
[1m[35m (2.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
4558
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4559
|
+
Migrating to CreateBitCoreTools (20140415210052)
|
4560
|
+
[1m[35m (0.3ms)[0m BEGIN
|
4561
|
+
[1m[36m (4.6ms)[0m [1mCREATE 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) [0m
|
4562
|
+
[1m[35m (2.2ms)[0m ALTER TABLE bit_core_tools
|
4563
|
+
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
4564
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
4565
|
+
|
4566
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
4567
|
+
[1m[35m (0.6ms)[0m COMMIT
|
4568
|
+
Migrating to CreateBitCoreContentModules (20140415211458)
|
4569
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
4570
|
+
[1m[35m (3.6ms)[0m 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
|
+
[1m[36m (1.8ms)[0m [1m 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
|
+
[0m
|
4575
|
+
[1m[35m (2.5ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
4581
|
+
[1m[35m (0.6ms)[0m COMMIT
|
4582
|
+
Migrating to CreateBitCoreContentProviders (20140415213346)
|
4583
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
4584
|
+
[1m[35m (6.0ms)[0m 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
|
+
[1m[36m (1.7ms)[0m [1m 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
|
+
[0m
|
4589
|
+
[1m[35m (2.5ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
4595
|
+
[1m[35m (0.7ms)[0m COMMIT
|
4596
|
+
Migrating to CreateBitCoreSlideshows (20140417173056)
|
4597
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
4598
|
+
[1m[35m (4.0ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
4599
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
4600
|
+
[1m[35m (0.5ms)[0m COMMIT
|
4601
|
+
Migrating to CreateBitCoreSlides (20140417174159)
|
4602
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
4603
|
+
[1m[35m (7.1ms)[0m 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
|
+
[1m[36m (1.7ms)[0m [1m ALTER TABLE bit_core_slides
|
4605
|
+
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
4606
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
4607
|
+
[0m
|
4608
|
+
[1m[35m (2.7ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
4614
|
+
[1m[35m (0.8ms)[0m COMMIT
|
4615
|
+
Migrating to AddOptionsToSlides (20140620174146)
|
4616
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
4617
|
+
[1m[35m (0.7ms)[0m ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
|
4618
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
4619
|
+
[1m[35m (0.5ms)[0m COMMIT
|
4620
|
+
Migrating to AddConfigFieldsToProviders (20140620174147)
|
4621
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
4622
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
|
4623
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)[0m
|
4624
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
|
4625
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean[0m
|
4626
|
+
[1m[35m (0.6ms)[0m ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
|
4627
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
4628
|
+
[1m[35m (0.5ms)[0m COMMIT
|
4629
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4630
|
+
[1m[36m (0.9ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4635
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "bit_core_slideshows"
|
4636
|
+
[1m[36mFixture Insert (0.7ms)[0m [1mINSERT 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)[0m
|
4637
|
+
[1m[35mFixture Delete (0.7ms)[0m DELETE FROM "bit_core_slides"
|
4638
|
+
[1m[36mFixture Insert (1.3ms)[0m [1mINSERT 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)[0m
|
4639
|
+
[1m[35mFixture Insert (0.4ms)[0m 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
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
|
4641
|
+
[1m[35m (0.5ms)[0m COMMIT
|
4642
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
4647
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
4648
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
4649
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
4650
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
4651
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
4652
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
4657
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_core_tools"
|
4658
|
+
[1m[36mFixture Insert (0.7ms)[0m [1mINSERT 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)[0m
|
4659
|
+
[1m[35mFixture Delete (0.6ms)[0m DELETE FROM "bit_core_content_modules"
|
4660
|
+
[1m[36mFixture Insert (1.1ms)[0m [1mINSERT 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)[0m
|
4661
|
+
[1m[35mFixture Insert (0.5ms)[0m 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
|
+
[1m[36mFixture Delete (0.7ms)[0m [1mDELETE FROM "bit_core_content_providers"[0m
|
4663
|
+
[1m[35mFixture Insert (1.0ms)[0m 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
|
+
[1m[36mFixture Insert (0.4ms)[0m [1mINSERT 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)[0m
|
4665
|
+
[1m[35m (0.5ms)[0m COMMIT
|
4666
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
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
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4671
|
+
[1m[35mBitCore::ContentModule Load (0.8ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
|
4672
|
+
[1m[36mBitCore::ContentProvider Load (0.7ms)[0m [1mSELECT "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[0m [["bit_core_content_module_id", 437912910]]
|
4673
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
4674
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4675
|
+
[1m[35mBitCore::ContentModule Load (0.4ms)[0m SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
|
4676
|
+
[1m[36mBitCore::ContentProvider Load (0.5ms)[0m [1mSELECT "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[0m [["bit_core_content_module_id", 437912910]]
|
4677
|
+
[1m[35m (0.4ms)[0m ROLLBACK
|
4678
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
4679
|
+
[1m[35mBitCore::Slideshow Load (0.7ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
4680
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1[0m [["bit_core_slideshow_id", 504123193]]
|
4681
|
+
[1m[35mBitCore::Slide Exists (0.6ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4683
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4684
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 538050605]]
|
4685
|
+
[1m[35mBitCore::Slide Load (0.6ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
|
4686
|
+
[1m[36mBitCore::Slide Load (0.6ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
|
4687
|
+
[1m[35mBitCore::Slideshow Load (0.5ms)[0m SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
|
4688
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4689
|
+
[1m[35m (0.3ms)[0m SET CONSTRAINTS bit_core_slide_position DEFERRED
|
4690
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
|
4691
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.6ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
|
4693
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.7ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
|
4695
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4697
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
|
4699
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mROLLBACK[0m
|
4701
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4702
|
+
[1m[36mBitCore::Slideshow Load (0.5ms)[0m [1mSELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1[0m [["id", 504123193]]
|
4703
|
+
[1m[35mBitCore::Slide Load (0.5ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
|
4704
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
4705
|
+
[1m[35mSQL (0.5ms)[0m DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
|
4706
|
+
[1m[36m (0.3ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4707
|
+
[1m[35mBitCore::Slide Load (0.6ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "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[0m [["bit_core_slideshow_id", 504123193]]
|
4709
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
4710
|
+
[1m[36mBitCore::Slide Exists (0.7ms)[0m [1mSELECT 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[0m
|
4711
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
4713
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
|
4714
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
4715
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
|
4716
|
+
[1m[36mBitCore::Slide Load (0.5ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1[0m [["bit_core_slideshow_id", 504123193]]
|
4717
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36mBitCore::Slide Load (0.4ms)[0m [1mSELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1[0m [["id", 236740868]]
|
4719
|
+
[1m[35mBitCore::Slide Load (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4721
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4722
|
+
[1m[36mBitCore::ContentProvider Exists (0.7ms)[0m [1mSELECT 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[0m
|
4723
|
+
[1m[35mBitCore::ContentProvider Exists (0.7ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4725
|
+
[1m[35m (0.1ms)[0m BEGIN
|
4726
|
+
[1m[36mBitCore::ContentProvider Exists (0.5ms)[0m [1mSELECT 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[0m
|
4727
|
+
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|
4729
|
+
[1m[35m (0.2ms)[0m BEGIN
|
4730
|
+
[1m[36mBitCore::ContentProvider Exists (0.6ms)[0m [1mSELECT 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[0m
|
4731
|
+
[1m[35mBitCore::ContentProvider Exists (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK[0m
|