bit_core 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78b524de8c4b376b6960150735005432b6d596b3
4
- data.tar.gz: 203d6c9d735aeae6426bc65e370e4083e178d90c
3
+ metadata.gz: 166fcb5d798f4a26e612561d45c58b1f80e8b0f9
4
+ data.tar.gz: 06336f6cc9796b04f4b715d2a124fc617740a9b4
5
5
  SHA512:
6
- metadata.gz: 49d4f1dc3b8da5363bd30dae38174b990574786db0f0afd59af754a0a2318eea2fe82baf9c9ab65f40204a5cab16dfc57068446aeba2aef4bd0fd8aa5b73d369
7
- data.tar.gz: eea094b1b05d35d5f4237d16af7370776e2d5e1e5eb670e4f1be5c03aaf52c631f67d4180cab2cd714109bb1bc60648749cebccfdf1b6b203bf152b405900cf0
6
+ metadata.gz: d9960f4bab977d90e2296f58537ad71a1ee28877311b2568b786f71aac1377613dbc8b1b7deff43b744ae9edda903b610016bd3a748212ff4a3be627e4127971
7
+ data.tar.gz: c9509ddfc0facc9c6ca3037e95127d748431ab3644ad807f89c567ad124e12eb1719d566941edad0116f26ef18a242661f887ad01b4513e7957b668cd4647b5d
@@ -8,7 +8,7 @@ module BitCore
8
8
  foreign_key: :bit_core_slideshow_id,
9
9
  inverse_of: :slides
10
10
 
11
- validates :title, :body, :position, presence: true
11
+ validates :title, :position, presence: true
12
12
  validates :position, numericality: { greater_than_or_equal_to: 1 }
13
13
  validates :position, uniqueness: { scope: :bit_core_slideshow_id }
14
14
 
@@ -1,4 +1,4 @@
1
1
  # nodoc
2
2
  module BitCore
3
- VERSION = "1.1.2"
3
+ VERSION = "1.1.3"
4
4
  end
@@ -0,0 +1,75 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20140620174147) do
15
+
16
+ # These are extensions that must be enabled in order to support this database
17
+ enable_extension "plpgsql"
18
+
19
+ create_table "bit_core_content_modules", force: true do |t|
20
+ t.string "title", null: false
21
+ t.integer "position", default: 1, null: false
22
+ t.integer "bit_core_tool_id", null: false
23
+ t.datetime "created_at"
24
+ t.datetime "updated_at"
25
+ end
26
+
27
+ add_index "bit_core_content_modules", ["bit_core_tool_id", "position"], name: "bit_core_content_module_position", unique: true, using: :btree
28
+
29
+ create_table "bit_core_content_providers", force: true do |t|
30
+ t.string "type", null: false
31
+ t.string "source_content_type"
32
+ t.integer "source_content_id"
33
+ t.integer "bit_core_content_module_id", null: false
34
+ t.integer "position", default: 1, null: false
35
+ t.datetime "created_at"
36
+ t.datetime "updated_at"
37
+ t.string "template_path"
38
+ t.string "data_class_name"
39
+ t.text "data_attributes"
40
+ t.boolean "show_next_nav"
41
+ t.text "locals"
42
+ end
43
+
44
+ add_index "bit_core_content_providers", ["bit_core_content_module_id", "position"], name: "bit_core_content_provider_position", unique: true, using: :btree
45
+
46
+ create_table "bit_core_slides", force: true do |t|
47
+ t.string "title", null: false
48
+ t.text "body", null: false
49
+ t.integer "position", default: 1, null: false
50
+ t.integer "bit_core_slideshow_id", null: false
51
+ t.string "type"
52
+ t.boolean "is_title_visible", default: true, null: false
53
+ t.datetime "created_at"
54
+ t.datetime "updated_at"
55
+ t.text "options"
56
+ end
57
+
58
+ add_index "bit_core_slides", ["bit_core_slideshow_id", "position"], name: "bit_core_slide_position", unique: true, using: :btree
59
+
60
+ create_table "bit_core_slideshows", force: true do |t|
61
+ t.string "title", null: false
62
+ t.datetime "created_at"
63
+ t.datetime "updated_at"
64
+ end
65
+
66
+ create_table "bit_core_tools", force: true do |t|
67
+ t.string "title", null: false
68
+ t.integer "position", default: 0, null: false
69
+ t.datetime "created_at"
70
+ t.datetime "updated_at"
71
+ end
72
+
73
+ add_index "bit_core_tools", ["position"], name: "bit_core_tool_position", unique: true, using: :btree
74
+
75
+ end
@@ -4730,3 +4730,357 @@ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_97
4730
4730
  BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4731
4731
  BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4732
4732
   (0.2ms) ROLLBACK
4733
+  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
4734
+  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4735
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
4736
+ Migrating to CreateBitCoreTools (20140415210052)
4737
+  (0.3ms) BEGIN
4738
+  (5.3ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
4739
+  (2.4ms) ALTER TABLE bit_core_tools
4740
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
4741
+ DEFERRABLE INITIALLY IMMEDIATE
4742
+
4743
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
4744
+  (0.6ms) COMMIT
4745
+ Migrating to CreateBitCoreContentModules (20140415211458)
4746
+  (0.3ms) BEGIN
4747
+  (3.8ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
4748
+  (1.7ms)  ALTER TABLE bit_core_content_modules
4749
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
4750
+ DEFERRABLE INITIALLY IMMEDIATE
4751
+ 
4752
+  (2.7ms) ALTER TABLE bit_core_content_modules
4753
+ ADD CONSTRAINT fk_content_modules_tools
4754
+ FOREIGN KEY (bit_core_tool_id)
4755
+ REFERENCES bit_core_tools(id)
4756
+
4757
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
4758
+  (0.7ms) COMMIT
4759
+ Migrating to CreateBitCoreContentProviders (20140415213346)
4760
+  (0.5ms) BEGIN
4761
+  (6.0ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
4762
+  (1.7ms)  ALTER TABLE bit_core_content_providers
4763
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
4764
+ DEFERRABLE INITIALLY IMMEDIATE
4765
+ 
4766
+  (2.5ms) ALTER TABLE bit_core_content_providers
4767
+ ADD CONSTRAINT fk_content_providers_modules
4768
+ FOREIGN KEY (bit_core_content_module_id)
4769
+ REFERENCES bit_core_content_modules(id)
4770
+
4771
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
4772
+  (0.7ms) COMMIT
4773
+ Migrating to CreateBitCoreSlideshows (20140417173056)
4774
+  (0.5ms) BEGIN
4775
+  (4.0ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
4776
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
4777
+  (0.5ms) COMMIT
4778
+ Migrating to CreateBitCoreSlides (20140417174159)
4779
+  (0.3ms) BEGIN
4780
+  (5.5ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
4781
+  (1.8ms)  ALTER TABLE bit_core_slides
4782
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
4783
+ DEFERRABLE INITIALLY IMMEDIATE
4784
+ 
4785
+  (3.2ms) ALTER TABLE bit_core_slides
4786
+ ADD CONSTRAINT fk_slideshows_slides
4787
+ FOREIGN KEY (bit_core_slideshow_id)
4788
+ REFERENCES bit_core_slideshows(id)
4789
+
4790
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
4791
+  (1.0ms) COMMIT
4792
+ Migrating to AddOptionsToSlides (20140620174146)
4793
+  (0.8ms) BEGIN
4794
+  (0.9ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
4795
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174146"]]
4796
+  (0.4ms) COMMIT
4797
+ Migrating to AddConfigFieldsToProviders (20140620174147)
4798
+  (0.2ms) BEGIN
4799
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
4800
+  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
4801
+  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
4802
+  (1.0ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
4803
+  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
4804
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174147"]]
4805
+  (0.7ms) COMMIT
4806
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
4807
+  (0.2ms) BEGIN
4808
+ BitCore::ContentProvider Exists (1.0ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4809
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4810
+  (0.2ms) ROLLBACK
4811
+  (0.2ms) BEGIN
4812
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4813
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4814
+  (0.2ms) ROLLBACK
4815
+  (0.2ms) BEGIN
4816
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4817
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
4818
+  (0.2ms) ROLLBACK
4819
+  (0.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4820
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1096428" is a system trigger
4821
+ : 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
4822
+  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
4823
+  (0.2ms) BEGIN
4824
+ Fixture Delete (1.0ms) DELETE FROM "bit_core_slideshows"
4825
+ Fixture Insert (1.3ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-23 21:45:53', '2014-06-23 21:45:53', 504123193)
4826
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_slides"
4827
+ Fixture Insert (1.9ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-23 21:45:53', '2014-06-23 21:45:53', 538050605, 504123193)
4828
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-23 21:45:53', '2014-06-23 21:45:53', 958091673, 504123193)
4829
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-23 21:45:53', '2014-06-23 21:45:53', 236740868, 504123193)
4830
+  (0.5ms) COMMIT
4831
+  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4832
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1096428" is a system trigger
4833
+ : 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
4834
+  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
4835
+  (0.2ms) BEGIN
4836
+ BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4837
+ BitCore::Slide Load (1.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
4838
+  (0.4ms) SAVEPOINT active_record_1
4839
+ SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
4840
+  (0.2ms) RELEASE SAVEPOINT active_record_1
4841
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]]
4842
+ BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
4843
+  (0.2ms) SAVEPOINT active_record_1
4844
+ BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1
4845
+ SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-23 21:45:53.357648"]]
4846
+  (0.3ms) RELEASE SAVEPOINT active_record_1
4847
+  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
4848
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
4849
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
4850
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
4851
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
4852
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
4853
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
4854
+  (0.3ms) ROLLBACK
4855
+  (0.4ms) BEGIN
4856
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4857
+  (0.4ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
4858
+ BitCore::Slide Exists (0.4ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1
4859
+  (0.2ms) ROLLBACK
4860
+  (0.2ms) BEGIN
4861
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
4862
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
4863
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
4864
+ BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
4865
+  (0.1ms) SAVEPOINT active_record_1
4866
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
4867
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
4868
+ SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 1], ["updated_at", "2014-06-23 21:45:53.384242"]]
4869
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
4870
+ SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 538050605 [["position", 2], ["updated_at", "2014-06-23 21:45:53.386390"]]
4871
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
4872
+ SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 958091673 [["position", 3], ["updated_at", "2014-06-23 21:45:53.389258"]]
4873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
4874
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
4875
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
4876
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
4877
+  (0.2ms) ROLLBACK
4878
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4879
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1096428" is a system trigger
4880
+ : 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
4881
+  (0.6ms) 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
4882
+  (0.2ms) BEGIN
4883
+ Fixture Delete (0.7ms) DELETE FROM "bit_core_tools"
4884
+ Fixture Insert (1.5ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-23 21:45:53', '2014-06-23 21:45:53', 836111569)
4885
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_content_modules"
4886
+ Fixture Insert (2.0ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2014-06-23 21:45:53', '2014-06-23 21:45:53', 437912910, 836111569)
4887
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-23 21:45:53', '2014-06-23 21:45:53', 511237275, 836111569)
4888
+ Fixture Delete (0.4ms) DELETE FROM "bit_core_content_providers"
4889
+ Fixture Insert (2.4ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2014-06-23 21:45:53', '2014-06-23 21:45:53', 555816777, 437912910)
4890
+ Fixture Insert (0.9ms) 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-23 21:45:53', '2014-06-23 21:45:53', 46790607, 511237275)
4891
+  (0.5ms) COMMIT
4892
+  (0.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4893
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1096428" is a system trigger
4894
+ : 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
4895
+  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
4896
+  (0.1ms) BEGIN
4897
+ BitCore::ContentModule Load (0.6ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
4898
+ BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 1 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
4899
+  (0.3ms) ROLLBACK
4900
+  (0.2ms) BEGIN
4901
+ BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
4902
+ BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 8 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
4903
+  (0.2ms) ROLLBACK
4904
+  (0.1ms) BEGIN
4905
+  (0.3ms) ROLLBACK
4906
+  (0.1ms) BEGIN
4907
+  (0.1ms) ROLLBACK
4908
+  (0.1ms) BEGIN
4909
+  (0.1ms) ROLLBACK
4910
+  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
4911
+  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4912
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
4913
+ Migrating to CreateBitCoreTools (20140415210052)
4914
+  (0.2ms) BEGIN
4915
+  (4.8ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
4916
+  (2.2ms) ALTER TABLE bit_core_tools
4917
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
4918
+ DEFERRABLE INITIALLY IMMEDIATE
4919
+
4920
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
4921
+  (0.6ms) COMMIT
4922
+ Migrating to CreateBitCoreContentModules (20140415211458)
4923
+  (0.3ms) BEGIN
4924
+  (3.5ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
4925
+  (1.7ms)  ALTER TABLE bit_core_content_modules
4926
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
4927
+ DEFERRABLE INITIALLY IMMEDIATE
4928
+ 
4929
+  (2.5ms) ALTER TABLE bit_core_content_modules
4930
+ ADD CONSTRAINT fk_content_modules_tools
4931
+ FOREIGN KEY (bit_core_tool_id)
4932
+ REFERENCES bit_core_tools(id)
4933
+
4934
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
4935
+  (0.6ms) COMMIT
4936
+ Migrating to CreateBitCoreContentProviders (20140415213346)
4937
+  (0.4ms) BEGIN
4938
+  (5.3ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
4939
+  (1.6ms)  ALTER TABLE bit_core_content_providers
4940
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
4941
+ DEFERRABLE INITIALLY IMMEDIATE
4942
+ 
4943
+  (2.1ms) ALTER TABLE bit_core_content_providers
4944
+ ADD CONSTRAINT fk_content_providers_modules
4945
+ FOREIGN KEY (bit_core_content_module_id)
4946
+ REFERENCES bit_core_content_modules(id)
4947
+
4948
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
4949
+  (0.6ms) COMMIT
4950
+ Migrating to CreateBitCoreSlideshows (20140417173056)
4951
+  (0.5ms) BEGIN
4952
+  (3.5ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
4953
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
4954
+  (0.6ms) COMMIT
4955
+ Migrating to CreateBitCoreSlides (20140417174159)
4956
+  (0.6ms) BEGIN
4957
+  (5.9ms) 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)
4958
+  (1.7ms)  ALTER TABLE bit_core_slides
4959
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
4960
+ DEFERRABLE INITIALLY IMMEDIATE
4961
+ 
4962
+  (2.4ms) ALTER TABLE bit_core_slides
4963
+ ADD CONSTRAINT fk_slideshows_slides
4964
+ FOREIGN KEY (bit_core_slideshow_id)
4965
+ REFERENCES bit_core_slideshows(id)
4966
+
4967
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
4968
+  (0.6ms) COMMIT
4969
+ Migrating to AddOptionsToSlides (20140620174146)
4970
+  (0.3ms) BEGIN
4971
+  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
4972
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174146"]]
4973
+  (0.4ms) COMMIT
4974
+ Migrating to AddConfigFieldsToProviders (20140620174147)
4975
+  (0.1ms) BEGIN
4976
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
4977
+  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
4978
+  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
4979
+  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
4980
+  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
4981
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620174147"]]
4982
+  (0.4ms) COMMIT
4983
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
4984
+  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
4985
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1153896" is a system trigger
4986
+ : 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
4987
+  (0.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
4988
+  (0.2ms) BEGIN
4989
+ Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows"
4990
+ Fixture Insert (0.9ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id") VALUES ('Slideshow 1', '2014-06-24 16:44:09', '2014-06-24 16:44:09', 504123193)
4991
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_slides"
4992
+ Fixture Insert (1.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2014-06-24 16:44:09', '2014-06-24 16:44:09', 538050605, 504123193)
4993
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2014-06-24 16:44:09', '2014-06-24 16:44:09', 958091673, 504123193)
4994
+ Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2014-06-24 16:44:09', '2014-06-24 16:44:09', 236740868, 504123193)
4995
+  (0.5ms) COMMIT
4996
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
4997
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1153896" is a system trigger
4998
+ : 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
4999
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
5000
+  (0.1ms) BEGIN
5001
+  (0.3ms) ROLLBACK
5002
+  (0.1ms) BEGIN
5003
+  (0.3ms) ROLLBACK
5004
+  (0.1ms) BEGIN
5005
+  (0.1ms) ROLLBACK
5006
+  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL
5007
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1153896" is a system trigger
5008
+ : 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
5009
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER USER;ALTER TABLE "bit_core_tools" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slides" DISABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER USER
5010
+  (0.3ms) BEGIN
5011
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_tools"
5012
+ Fixture Insert (0.7ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id") VALUES ('Home', '2014-06-24 16:44:09', '2014-06-24 16:44:09', 836111569)
5013
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_content_modules"
5014
+ Fixture Insert (1.1ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2014-06-24 16:44:09', '2014-06-24 16:44:09', 437912910, 836111569)
5015
+ Fixture Insert (0.5ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2014-06-24 16:44:09', '2014-06-24 16:44:09', 511237275, 836111569)
5016
+ Fixture Delete (0.6ms) DELETE FROM "bit_core_content_providers"
5017
+ Fixture Insert (1.3ms) 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-24 16:44:09', '2014-06-24 16:44:09', 555816777, 437912910)
5018
+ Fixture Insert (0.7ms) 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-24 16:44:09', '2014-06-24 16:44:09', 46790607, 511237275)
5019
+  (0.4ms) COMMIT
5020
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL
5021
+ PG::InsufficientPrivilege: ERROR: permission denied: "RI_ConstraintTrigger_a_1153896" is a system trigger
5022
+ : 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
5023
+  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER USER;ALTER TABLE "bit_core_tools" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slides" ENABLE TRIGGER USER;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER USER;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER USER
5024
+  (0.2ms) BEGIN
5025
+ BitCore::ContentModule Load (0.8ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
5026
+ BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 8 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
5027
+  (0.3ms) ROLLBACK
5028
+  (0.2ms) BEGIN
5029
+ BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT 1 [["id", 437912910]]
5030
+ BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = 1 ORDER BY "bit_core_content_providers"."id" ASC LIMIT 1 [["bit_core_content_module_id", 437912910]]
5031
+  (0.3ms) ROLLBACK
5032
+  (0.2ms) BEGIN
5033
+ BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
5034
+  (0.8ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
5035
+ BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 4 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1
5036
+  (0.2ms) ROLLBACK
5037
+  (0.1ms) BEGIN
5038
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
5039
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
5040
+ BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
5041
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
5042
+  (0.2ms) SAVEPOINT active_record_1
5043
+  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED
5044
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
5045
+ SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 1], ["updated_at", "2014-06-24 16:44:09.400877"]]
5046
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
5047
+ SQL (0.4ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 538050605 [["position", 2], ["updated_at", "2014-06-24 16:44:09.404211"]]
5048
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
5049
+ SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 958091673 [["position", 3], ["updated_at", "2014-06-24 16:44:09.406632"]]
5050
+  (0.3ms) RELEASE SAVEPOINT active_record_1
5051
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 538050605]]
5052
+ BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 958091673]]
5053
+ BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193], ["id", 236740868]]
5054
+  (0.2ms) ROLLBACK
5055
+  (0.2ms) BEGIN
5056
+ BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT 1 [["id", 504123193]]
5057
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 958091673]]
5058
+  (0.2ms) SAVEPOINT active_record_1
5059
+ SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]]
5060
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5061
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT 1 [["bit_core_slideshow_id", 504123193]]
5062
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."position" = 3 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
5063
+  (0.2ms) SAVEPOINT active_record_1
5064
+ BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE ("bit_core_slides"."position" = 2 AND "bit_core_slides"."id" != 236740868 AND "bit_core_slides"."bit_core_slideshow_id" = 504123193) LIMIT 1
5065
+ SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = 236740868 [["position", 2], ["updated_at", "2014-06-24 16:44:09.423952"]]
5066
+  (0.2ms) RELEASE SAVEPOINT active_record_1
5067
+  (0.3ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]
5068
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
5069
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 538050605]]
5070
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 [["bit_core_slideshow_id", 504123193]]
5071
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
5072
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT 1 [["id", 236740868]]
5073
+ BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT 1 OFFSET 1 [["bit_core_slideshow_id", 504123193]]
5074
+  (0.3ms) ROLLBACK
5075
+  (0.2ms) BEGIN
5076
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
5077
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
5078
+  (0.2ms) ROLLBACK
5079
+  (0.2ms) BEGIN
5080
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
5081
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
5082
+  (0.2ms) ROLLBACK
5083
+  (0.2ms) BEGIN
5084
+ BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
5085
+ BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE ("bit_core_content_providers"."position" = 1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL) LIMIT 1
5086
+  (0.3ms) ROLLBACK
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bit_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Carty-Fickes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-23 00:00:00.000000000 Z
11
+ date: 2014-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -142,6 +142,7 @@ files:
142
142
  - spec/dummy/config/locales/en.yml
143
143
  - spec/dummy/config/routes.rb
144
144
  - spec/dummy/config/secrets.yml
145
+ - spec/dummy/db/schema.rb
145
146
  - spec/dummy/log/development.log
146
147
  - spec/dummy/log/test.log
147
148
  - spec/dummy/public/404.html
@@ -209,6 +210,7 @@ test_files:
209
210
  - spec/dummy/config/routes.rb
210
211
  - spec/dummy/config/secrets.yml
211
212
  - spec/dummy/config.ru
213
+ - spec/dummy/db/schema.rb
212
214
  - spec/dummy/log/development.log
213
215
  - spec/dummy/log/test.log
214
216
  - spec/dummy/public/404.html