bit_core 1.4.6 → 1.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -1
- data/app/controllers/bit_core/application_controller.rb +1 -0
- data/app/models/bit_core/audio_slide.rb +1 -1
- data/app/models/bit_core/content_module.rb +2 -1
- data/app/models/bit_core/content_provider.rb +5 -4
- data/app/models/bit_core/content_providers/null.rb +2 -1
- data/app/models/bit_core/content_providers/slideshow_provider.rb +2 -1
- data/app/models/bit_core/slide.rb +9 -1
- data/app/models/bit_core/slideshow.rb +1 -0
- data/app/models/bit_core/tool.rb +1 -0
- data/app/models/bit_core/video_slide.rb +1 -1
- data/lib/bit_core.rb +1 -0
- data/lib/bit_core/engine.rb +1 -0
- data/lib/bit_core/version.rb +2 -1
- data/lib/tasks/bit_core_tasks.rake +1 -0
- data/spec/dummy/log/test.log +2753 -747
- data/spec/models/bit_core/content_module_spec.rb +1 -0
- data/spec/models/bit_core/content_provider_spec.rb +1 -0
- data/spec/models/bit_core/content_providers/slideshow_provider_spec.rb +1 -0
- data/spec/models/bit_core/slide_spec.rb +24 -2
- data/spec/models/bit_core/slideshow_spec.rb +1 -0
- data/spec/spec_helper.rb +4 -3
- metadata +18 -6
- data/spec/dummy/log/development.log +0 -1588
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
require "spec_helper"
|
2
3
|
|
3
4
|
module BitCore
|
@@ -12,13 +13,34 @@ module BitCore
|
|
12
13
|
it "should render markdown as html" do
|
13
14
|
subject.body = "# header"
|
14
15
|
|
15
|
-
expect(subject.render_body).to match(
|
16
|
+
expect(subject.render_body).to match(%r{<h1>header<\/h1>})
|
16
17
|
end
|
17
18
|
|
18
19
|
it "should escape html" do
|
19
20
|
subject.body = "<div>my content</div>"
|
20
21
|
|
21
|
-
expect(subject.render_body).to match(
|
22
|
+
expect(subject.render_body).to match(%r{<p>my content<\/p>})
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
describe "when validated" do
|
27
|
+
context "if the options attribute is present" do
|
28
|
+
it "normalizes it" do
|
29
|
+
hashable = Struct.new("Hashable", :to_h).new("foo": "bar")
|
30
|
+
subject.options = hashable
|
31
|
+
subject.valid?
|
32
|
+
|
33
|
+
expect(subject.options).to eq("foo": "bar")
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
context "if the options attribute isn't present" do
|
38
|
+
it "leaves it as nil" do
|
39
|
+
subject.options = nil
|
40
|
+
subject.valid?
|
41
|
+
|
42
|
+
expect(subject.options).to be_nil
|
43
|
+
end
|
22
44
|
end
|
23
45
|
end
|
24
46
|
|
data/spec/spec_helper.rb
CHANGED
@@ -1,16 +1,17 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
ENV["RAILS_ENV"] ||= "test"
|
2
3
|
|
3
|
-
require File.expand_path("../dummy/config/environment.rb",
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
4
5
|
require "rspec/rails"
|
5
6
|
|
6
7
|
Rails.backtrace_cleaner.remove_silencers!
|
7
8
|
|
8
9
|
# Load support files
|
9
|
-
Dir["#{
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
10
11
|
|
11
12
|
RSpec.configure do |config|
|
12
13
|
config.mock_with :rspec
|
13
|
-
config.fixture_path = "#{
|
14
|
+
config.fixture_path = "#{File.dirname(__FILE__)}/fixtures"
|
14
15
|
config.use_transactional_fixtures = true
|
15
16
|
config.infer_base_class_for_anonymous_controllers = false
|
16
17
|
config.order = "random"
|
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.4.
|
4
|
+
version: 1.4.7
|
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: 2016-
|
11
|
+
date: 2016-06-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redcarpet
|
@@ -78,6 +78,20 @@ dependencies:
|
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '3.0'
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: rubocop
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - '='
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '0.40'
|
88
|
+
type: :development
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - '='
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0.40'
|
81
95
|
description: Models, migrations, etc.
|
82
96
|
email:
|
83
97
|
- ericcf@northwestern.edu
|
@@ -150,7 +164,6 @@ files:
|
|
150
164
|
- spec/dummy/config/routes.rb
|
151
165
|
- spec/dummy/config/secrets.yml
|
152
166
|
- spec/dummy/db/schema.rb
|
153
|
-
- spec/dummy/log/development.log
|
154
167
|
- spec/dummy/log/test.log
|
155
168
|
- spec/dummy/public/404.html
|
156
169
|
- spec/dummy/public/422.html
|
@@ -168,7 +181,7 @@ files:
|
|
168
181
|
- spec/models/bit_core/slide_spec.rb
|
169
182
|
- spec/models/bit_core/slideshow_spec.rb
|
170
183
|
- spec/spec_helper.rb
|
171
|
-
homepage: https://github.com/
|
184
|
+
homepage: https://github.com/NU-CBITS/bit_core
|
172
185
|
licenses:
|
173
186
|
- MIT
|
174
187
|
metadata: {}
|
@@ -188,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
201
|
version: '0'
|
189
202
|
requirements: []
|
190
203
|
rubyforge_project:
|
191
|
-
rubygems_version: 2.4
|
204
|
+
rubygems_version: 2.6.4
|
192
205
|
signing_key:
|
193
206
|
specification_version: 4
|
194
207
|
summary: Shared models and business logic for bit apps.
|
@@ -220,7 +233,6 @@ test_files:
|
|
220
233
|
- spec/dummy/config/secrets.yml
|
221
234
|
- spec/dummy/config.ru
|
222
235
|
- spec/dummy/db/schema.rb
|
223
|
-
- spec/dummy/log/development.log
|
224
236
|
- spec/dummy/log/test.log
|
225
237
|
- spec/dummy/public/404.html
|
226
238
|
- spec/dummy/public/422.html
|
@@ -1,1588 +0,0 @@
|
|
1
|
-
[1m[36mActiveRecord::SchemaMigration Load (27.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
3
|
-
[1m[35m (0.1ms)[0m BEGIN
|
4
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
5
|
-
[1m[36m (35.9ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
6
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
7
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
9
|
-
[1m[35m (0.2ms)[0m BEGIN
|
10
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
11
|
-
[1m[36m (4.1ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
12
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
13
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
14
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
15
|
-
[1m[35m (0.1ms)[0m BEGIN
|
16
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
17
|
-
[1m[36m (2.9ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
18
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
19
|
-
[1m[36m (3.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
20
|
-
[1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
21
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
22
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
23
|
-
[1m[35m (0.2ms)[0m BEGIN
|
24
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
25
|
-
[1m[36m (3.8ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
26
|
-
[1m[35m (1.4ms)[0m ALTER TABLE bit_core_tools
|
27
|
-
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
28
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
29
|
-
|
30
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
31
|
-
[1m[35m (5.3ms)[0m COMMIT
|
32
|
-
Migrating to CreateBitCoreContentModules (20140415211458)
|
33
|
-
[1m[36m (5.5ms)[0m [1mBEGIN[0m
|
34
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415211458_create_bit_core_content_modules.rb:8)
|
35
|
-
[1m[35m (19.2ms)[0m CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
36
|
-
[1m[36m (1.0ms)[0m [1m ALTER TABLE bit_core_content_modules
|
37
|
-
ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
|
38
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
39
|
-
[0m
|
40
|
-
[1m[35m (1.4ms)[0m ALTER TABLE bit_core_content_modules
|
41
|
-
ADD CONSTRAINT fk_content_modules_tools
|
42
|
-
FOREIGN KEY (bit_core_tool_id)
|
43
|
-
REFERENCES bit_core_tools(id)
|
44
|
-
|
45
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
46
|
-
[1m[35m (0.6ms)[0m COMMIT
|
47
|
-
Migrating to CreateBitCoreContentProviders (20140415213346)
|
48
|
-
[1m[36m (5.8ms)[0m [1mBEGIN[0m
|
49
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415213346_create_bit_core_content_providers.rb:10)
|
50
|
-
[1m[35m (18.9ms)[0m CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
51
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_content_providers
|
52
|
-
ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
|
53
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
54
|
-
[0m
|
55
|
-
[1m[35m (1.1ms)[0m ALTER TABLE bit_core_content_providers
|
56
|
-
ADD CONSTRAINT fk_content_providers_modules
|
57
|
-
FOREIGN KEY (bit_core_content_module_id)
|
58
|
-
REFERENCES bit_core_content_modules(id)
|
59
|
-
|
60
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
61
|
-
[1m[35m (0.7ms)[0m COMMIT
|
62
|
-
Migrating to CreateBitCoreSlideshows (20140417173056)
|
63
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
64
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417173056_create_bit_core_slideshows.rb:6)
|
65
|
-
[1m[35m (3.0ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
66
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
67
|
-
[1m[35m (0.4ms)[0m COMMIT
|
68
|
-
Migrating to CreateBitCoreSlides (20140417174159)
|
69
|
-
[1m[36m (11.5ms)[0m [1mBEGIN[0m
|
70
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417174159_create_bit_core_slides.rb:11)
|
71
|
-
[1m[35m (14.3ms)[0m CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
72
|
-
[1m[36m (1.9ms)[0m [1m ALTER TABLE bit_core_slides
|
73
|
-
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
74
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
75
|
-
[0m
|
76
|
-
[1m[35m (1.9ms)[0m ALTER TABLE bit_core_slides
|
77
|
-
ADD CONSTRAINT fk_slideshows_slides
|
78
|
-
FOREIGN KEY (bit_core_slideshow_id)
|
79
|
-
REFERENCES bit_core_slideshows(id)
|
80
|
-
|
81
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
82
|
-
[1m[35m (0.8ms)[0m COMMIT
|
83
|
-
Migrating to AddOptionsToSlides (20140620174146)
|
84
|
-
[1m[36m (5.5ms)[0m [1mBEGIN[0m
|
85
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "bit_core_slides" ADD "options" text
|
86
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
87
|
-
[1m[35m (5.7ms)[0m COMMIT
|
88
|
-
Migrating to AddConfigFieldsToProviders (20140620174147)
|
89
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
90
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
|
91
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying[0m
|
92
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
|
93
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean[0m
|
94
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "locals" text
|
95
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
96
|
-
[1m[35m (6.2ms)[0m COMMIT
|
97
|
-
Migrating to AddTypeToContentModules (20140625133118)
|
98
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
99
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_modules" ADD "type" character varying
|
100
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140625133118"]]
|
101
|
-
[1m[35m (12.4ms)[0m COMMIT
|
102
|
-
Migrating to CreateBitCoreArms (20141205202720)
|
103
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
104
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20141205202720_create_bit_core_arms.rb:7)
|
105
|
-
[1m[35m (15.3ms)[0m CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp)
|
106
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202720"]]
|
107
|
-
[1m[35m (6.4ms)[0m COMMIT
|
108
|
-
Migrating to AddArmIdToBitCoreSlideshows (20141205202724)
|
109
|
-
[1m[36m (5.8ms)[0m [1mBEGIN[0m
|
110
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL
|
111
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_slideshows
|
112
|
-
ADD CONSTRAINT fk_bit_core_slideshows_arms
|
113
|
-
FOREIGN KEY (arm_id)
|
114
|
-
REFERENCES arms(id)
|
115
|
-
[0m
|
116
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202724"]]
|
117
|
-
[1m[36m (6.1ms)[0m [1mCOMMIT[0m
|
118
|
-
Migrating to AddArmIdToBitCoreTools (20141205202740)
|
119
|
-
[1m[35m (0.3ms)[0m BEGIN
|
120
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL[0m
|
121
|
-
[1m[35m (0.7ms)[0m ALTER TABLE bit_core_tools
|
122
|
-
ADD CONSTRAINT fk_bit_core_tools_arms
|
123
|
-
FOREIGN KEY (arm_id)
|
124
|
-
REFERENCES arms(id)
|
125
|
-
|
126
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202740"]]
|
127
|
-
[1m[35m (10.8ms)[0m COMMIT
|
128
|
-
Migrating to AddTypeToTools (20150130155627)
|
129
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
130
|
-
[1m[35m (0.5ms)[0m ALTER TABLE "bit_core_tools" ADD "type" character varying
|
131
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150130155627"]]
|
132
|
-
[1m[35m (6.1ms)[0m COMMIT
|
133
|
-
Migrating to AddIsVizToContentModules (20150131195914)
|
134
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
135
|
-
[1m[35m (14.5ms)[0m ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL
|
136
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150131195914"]]
|
137
|
-
[1m[35m (1.6ms)[0m COMMIT
|
138
|
-
Migrating to AddToolConstraint (20150210161229)
|
139
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
140
|
-
[1m[35mBitCore::Tool Load (0.4ms)[0m SELECT "bit_core_tools".* FROM "bit_core_tools"
|
141
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_tools
|
142
|
-
ADD CONSTRAINT fk_tools_arms
|
143
|
-
FOREIGN KEY (arm_id)
|
144
|
-
REFERENCES arms(id)
|
145
|
-
[0m
|
146
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150210161229"]]
|
147
|
-
[1m[36m (6.2ms)[0m [1mCOMMIT[0m
|
148
|
-
Migrating to UpdateShowNextNavColumnDefault (20160311210938)
|
149
|
-
[1m[36m (3.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
150
|
-
[1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
151
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
152
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
153
|
-
[1m[35m (0.2ms)[0m BEGIN
|
154
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
155
|
-
[1m[36m (4.4ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
156
|
-
[1m[35m (1.5ms)[0m ALTER TABLE bit_core_tools
|
157
|
-
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
158
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
159
|
-
|
160
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
161
|
-
[1m[35m (0.7ms)[0m COMMIT
|
162
|
-
Migrating to CreateBitCoreContentModules (20140415211458)
|
163
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
164
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415211458_create_bit_core_content_modules.rb:8)
|
165
|
-
[1m[35m (3.0ms)[0m CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
166
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_content_modules
|
167
|
-
ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
|
168
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
169
|
-
[0m
|
170
|
-
[1m[35m (1.1ms)[0m ALTER TABLE bit_core_content_modules
|
171
|
-
ADD CONSTRAINT fk_content_modules_tools
|
172
|
-
FOREIGN KEY (bit_core_tool_id)
|
173
|
-
REFERENCES bit_core_tools(id)
|
174
|
-
|
175
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
176
|
-
[1m[35m (0.7ms)[0m COMMIT
|
177
|
-
Migrating to CreateBitCoreContentProviders (20140415213346)
|
178
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
179
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415213346_create_bit_core_content_providers.rb:10)
|
180
|
-
[1m[35m (2.8ms)[0m CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
181
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_content_providers
|
182
|
-
ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
|
183
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
184
|
-
[0m
|
185
|
-
[1m[35m (0.9ms)[0m ALTER TABLE bit_core_content_providers
|
186
|
-
ADD CONSTRAINT fk_content_providers_modules
|
187
|
-
FOREIGN KEY (bit_core_content_module_id)
|
188
|
-
REFERENCES bit_core_content_modules(id)
|
189
|
-
|
190
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
191
|
-
[1m[35m (0.6ms)[0m COMMIT
|
192
|
-
Migrating to CreateBitCoreSlideshows (20140417173056)
|
193
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
194
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417173056_create_bit_core_slideshows.rb:6)
|
195
|
-
[1m[35m (2.9ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
196
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
197
|
-
[1m[35m (0.6ms)[0m COMMIT
|
198
|
-
Migrating to CreateBitCoreSlides (20140417174159)
|
199
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
200
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417174159_create_bit_core_slides.rb:11)
|
201
|
-
[1m[35m (3.0ms)[0m CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
202
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_slides
|
203
|
-
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
204
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
205
|
-
[0m
|
206
|
-
[1m[35m (1.0ms)[0m ALTER TABLE bit_core_slides
|
207
|
-
ADD CONSTRAINT fk_slideshows_slides
|
208
|
-
FOREIGN KEY (bit_core_slideshow_id)
|
209
|
-
REFERENCES bit_core_slideshows(id)
|
210
|
-
|
211
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
212
|
-
[1m[35m (0.7ms)[0m COMMIT
|
213
|
-
Migrating to AddOptionsToSlides (20140620174146)
|
214
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
215
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slides" ADD "options" text
|
216
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
217
|
-
[1m[35m (0.3ms)[0m COMMIT
|
218
|
-
Migrating to AddConfigFieldsToProviders (20140620174147)
|
219
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
220
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
|
221
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying[0m
|
222
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
|
223
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean[0m
|
224
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "locals" text
|
225
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
226
|
-
[1m[35m (0.3ms)[0m COMMIT
|
227
|
-
Migrating to AddTypeToContentModules (20140625133118)
|
228
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
229
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_modules" ADD "type" character varying
|
230
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140625133118"]]
|
231
|
-
[1m[35m (0.4ms)[0m COMMIT
|
232
|
-
Migrating to CreateBitCoreArms (20141205202720)
|
233
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
234
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20141205202720_create_bit_core_arms.rb:7)
|
235
|
-
[1m[35m (3.2ms)[0m CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp)
|
236
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202720"]]
|
237
|
-
[1m[35m (0.5ms)[0m COMMIT
|
238
|
-
Migrating to AddArmIdToBitCoreSlideshows (20141205202724)
|
239
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
240
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL
|
241
|
-
[1m[36m (1.0ms)[0m [1m ALTER TABLE bit_core_slideshows
|
242
|
-
ADD CONSTRAINT fk_bit_core_slideshows_arms
|
243
|
-
FOREIGN KEY (arm_id)
|
244
|
-
REFERENCES arms(id)
|
245
|
-
[0m
|
246
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202724"]]
|
247
|
-
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
248
|
-
Migrating to AddArmIdToBitCoreTools (20141205202740)
|
249
|
-
[1m[35m (0.1ms)[0m BEGIN
|
250
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL[0m
|
251
|
-
[1m[35m (0.8ms)[0m ALTER TABLE bit_core_tools
|
252
|
-
ADD CONSTRAINT fk_bit_core_tools_arms
|
253
|
-
FOREIGN KEY (arm_id)
|
254
|
-
REFERENCES arms(id)
|
255
|
-
|
256
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202740"]]
|
257
|
-
[1m[35m (0.4ms)[0m COMMIT
|
258
|
-
Migrating to AddTypeToTools (20150130155627)
|
259
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
260
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_tools" ADD "type" character varying
|
261
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150130155627"]]
|
262
|
-
[1m[35m (0.4ms)[0m COMMIT
|
263
|
-
Migrating to AddIsVizToContentModules (20150131195914)
|
264
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
265
|
-
[1m[35m (4.0ms)[0m ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL
|
266
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150131195914"]]
|
267
|
-
[1m[35m (0.9ms)[0m COMMIT
|
268
|
-
Migrating to AddToolConstraint (20150210161229)
|
269
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
270
|
-
[1m[35mBitCore::Tool Load (0.4ms)[0m SELECT "bit_core_tools".* FROM "bit_core_tools"
|
271
|
-
[1m[36m (1.0ms)[0m [1m ALTER TABLE bit_core_tools
|
272
|
-
ADD CONSTRAINT fk_tools_arms
|
273
|
-
FOREIGN KEY (arm_id)
|
274
|
-
REFERENCES arms(id)
|
275
|
-
[0m
|
276
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150210161229"]]
|
277
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
278
|
-
Migrating to ChangeShowNextNavColumnDefault (20160311210938)
|
279
|
-
[1m[35m (0.1ms)[0m BEGIN
|
280
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT 'f'[0m
|
281
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160311210938"]]
|
282
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
283
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
284
|
-
[1m[36m (2.5ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
285
|
-
FROM pg_constraint c
|
286
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
287
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
288
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
289
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
290
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
291
|
-
WHERE c.contype = 'f'
|
292
|
-
AND t1.relname = 'arms'
|
293
|
-
AND t3.nspname = ANY (current_schemas(false))
|
294
|
-
ORDER BY c.conname
|
295
|
-
[0m
|
296
|
-
[1m[35m (2.3ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
297
|
-
FROM pg_constraint c
|
298
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
299
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
300
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
301
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
302
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
303
|
-
WHERE c.contype = 'f'
|
304
|
-
AND t1.relname = 'bit_core_content_modules'
|
305
|
-
AND t3.nspname = ANY (current_schemas(false))
|
306
|
-
ORDER BY c.conname
|
307
|
-
|
308
|
-
[1m[36m (2.6ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
309
|
-
FROM pg_constraint c
|
310
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
311
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
312
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
313
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
314
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
315
|
-
WHERE c.contype = 'f'
|
316
|
-
AND t1.relname = 'bit_core_content_providers'
|
317
|
-
AND t3.nspname = ANY (current_schemas(false))
|
318
|
-
ORDER BY c.conname
|
319
|
-
[0m
|
320
|
-
[1m[35m (1.7ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
321
|
-
FROM pg_constraint c
|
322
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
323
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
324
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
325
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
326
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
327
|
-
WHERE c.contype = 'f'
|
328
|
-
AND t1.relname = 'bit_core_slides'
|
329
|
-
AND t3.nspname = ANY (current_schemas(false))
|
330
|
-
ORDER BY c.conname
|
331
|
-
|
332
|
-
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
333
|
-
FROM pg_constraint c
|
334
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
335
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
336
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
337
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
338
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
339
|
-
WHERE c.contype = 'f'
|
340
|
-
AND t1.relname = 'bit_core_slideshows'
|
341
|
-
AND t3.nspname = ANY (current_schemas(false))
|
342
|
-
ORDER BY c.conname
|
343
|
-
[0m
|
344
|
-
[1m[35m (1.7ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
345
|
-
FROM pg_constraint c
|
346
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
347
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
348
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
349
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
350
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
351
|
-
WHERE c.contype = 'f'
|
352
|
-
AND t1.relname = 'bit_core_tools'
|
353
|
-
AND t3.nspname = ANY (current_schemas(false))
|
354
|
-
ORDER BY c.conname
|
355
|
-
|
356
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
357
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
358
|
-
Migrating to ChangeShowNextNavColumnDefault (20160311210938)
|
359
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
360
|
-
[1m[35m (0.2ms)[0m ROLLBACK
|
361
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
362
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
363
|
-
[1m[36m (2.4ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
364
|
-
FROM pg_constraint c
|
365
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
366
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
367
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
368
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
369
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
370
|
-
WHERE c.contype = 'f'
|
371
|
-
AND t1.relname = 'arms'
|
372
|
-
AND t3.nspname = ANY (current_schemas(false))
|
373
|
-
ORDER BY c.conname
|
374
|
-
[0m
|
375
|
-
[1m[35m (2.0ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
376
|
-
FROM pg_constraint c
|
377
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
378
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
379
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
380
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
381
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
382
|
-
WHERE c.contype = 'f'
|
383
|
-
AND t1.relname = 'bit_core_content_modules'
|
384
|
-
AND t3.nspname = ANY (current_schemas(false))
|
385
|
-
ORDER BY c.conname
|
386
|
-
|
387
|
-
[1m[36m (3.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
388
|
-
FROM pg_constraint c
|
389
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
390
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
391
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
392
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
393
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
394
|
-
WHERE c.contype = 'f'
|
395
|
-
AND t1.relname = 'bit_core_content_providers'
|
396
|
-
AND t3.nspname = ANY (current_schemas(false))
|
397
|
-
ORDER BY c.conname
|
398
|
-
[0m
|
399
|
-
[1m[35m (2.6ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
400
|
-
FROM pg_constraint c
|
401
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
402
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
403
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
404
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
405
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
406
|
-
WHERE c.contype = 'f'
|
407
|
-
AND t1.relname = 'bit_core_slides'
|
408
|
-
AND t3.nspname = ANY (current_schemas(false))
|
409
|
-
ORDER BY c.conname
|
410
|
-
|
411
|
-
[1m[36m (2.4ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
412
|
-
FROM pg_constraint c
|
413
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
414
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
415
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
416
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
417
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
418
|
-
WHERE c.contype = 'f'
|
419
|
-
AND t1.relname = 'bit_core_slideshows'
|
420
|
-
AND t3.nspname = ANY (current_schemas(false))
|
421
|
-
ORDER BY c.conname
|
422
|
-
[0m
|
423
|
-
[1m[35m (1.7ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
424
|
-
FROM pg_constraint c
|
425
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
426
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
427
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
428
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
429
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
430
|
-
WHERE c.contype = 'f'
|
431
|
-
AND t1.relname = 'bit_core_tools'
|
432
|
-
AND t3.nspname = ANY (current_schemas(false))
|
433
|
-
ORDER BY c.conname
|
434
|
-
|
435
|
-
[1m[36m (5.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
436
|
-
[1m[35m (1.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
437
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
438
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
439
|
-
[1m[35m (0.1ms)[0m BEGIN
|
440
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
441
|
-
[1m[36m (14.9ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
442
|
-
[1m[35m (6.9ms)[0m ALTER TABLE bit_core_tools
|
443
|
-
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
444
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
445
|
-
|
446
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
447
|
-
[1m[35m (5.4ms)[0m COMMIT
|
448
|
-
Migrating to CreateBitCoreContentModules (20140415211458)
|
449
|
-
[1m[36m (5.7ms)[0m [1mBEGIN[0m
|
450
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415211458_create_bit_core_content_modules.rb:8)
|
451
|
-
[1m[35m (19.7ms)[0m CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
452
|
-
[1m[36m (1.1ms)[0m [1m ALTER TABLE bit_core_content_modules
|
453
|
-
ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
|
454
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
455
|
-
[0m
|
456
|
-
[1m[35m (1.2ms)[0m ALTER TABLE bit_core_content_modules
|
457
|
-
ADD CONSTRAINT fk_content_modules_tools
|
458
|
-
FOREIGN KEY (bit_core_tool_id)
|
459
|
-
REFERENCES bit_core_tools(id)
|
460
|
-
|
461
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
462
|
-
[1m[35m (0.6ms)[0m COMMIT
|
463
|
-
Migrating to CreateBitCoreContentProviders (20140415213346)
|
464
|
-
[1m[36m (6.0ms)[0m [1mBEGIN[0m
|
465
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415213346_create_bit_core_content_providers.rb:10)
|
466
|
-
[1m[35m (19.6ms)[0m CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
467
|
-
[1m[36m (1.2ms)[0m [1m ALTER TABLE bit_core_content_providers
|
468
|
-
ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
|
469
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
470
|
-
[0m
|
471
|
-
[1m[35m (1.0ms)[0m ALTER TABLE bit_core_content_providers
|
472
|
-
ADD CONSTRAINT fk_content_providers_modules
|
473
|
-
FOREIGN KEY (bit_core_content_module_id)
|
474
|
-
REFERENCES bit_core_content_modules(id)
|
475
|
-
|
476
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
477
|
-
[1m[35m (0.5ms)[0m COMMIT
|
478
|
-
Migrating to CreateBitCoreSlideshows (20140417173056)
|
479
|
-
[1m[36m (6.0ms)[0m [1mBEGIN[0m
|
480
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417173056_create_bit_core_slideshows.rb:6)
|
481
|
-
[1m[35m (18.7ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
482
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
483
|
-
[1m[35m (0.5ms)[0m COMMIT
|
484
|
-
Migrating to CreateBitCoreSlides (20140417174159)
|
485
|
-
[1m[36m (5.9ms)[0m [1mBEGIN[0m
|
486
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417174159_create_bit_core_slides.rb:11)
|
487
|
-
[1m[35m (19.6ms)[0m CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
488
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_slides
|
489
|
-
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
490
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
491
|
-
[0m
|
492
|
-
[1m[35m (1.0ms)[0m ALTER TABLE bit_core_slides
|
493
|
-
ADD CONSTRAINT fk_slideshows_slides
|
494
|
-
FOREIGN KEY (bit_core_slideshow_id)
|
495
|
-
REFERENCES bit_core_slideshows(id)
|
496
|
-
|
497
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
498
|
-
[1m[35m (0.5ms)[0m COMMIT
|
499
|
-
Migrating to AddOptionsToSlides (20140620174146)
|
500
|
-
[1m[36m (5.4ms)[0m [1mBEGIN[0m
|
501
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slides" ADD "options" text
|
502
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
503
|
-
[1m[35m (10.7ms)[0m COMMIT
|
504
|
-
Migrating to AddConfigFieldsToProviders (20140620174147)
|
505
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
506
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
|
507
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying[0m
|
508
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
|
509
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean[0m
|
510
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "locals" text
|
511
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
512
|
-
[1m[35m (6.2ms)[0m COMMIT
|
513
|
-
Migrating to AddTypeToContentModules (20140625133118)
|
514
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
515
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_modules" ADD "type" character varying
|
516
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140625133118"]]
|
517
|
-
[1m[35m (6.0ms)[0m COMMIT
|
518
|
-
Migrating to CreateBitCoreArms (20141205202720)
|
519
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
520
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20141205202720_create_bit_core_arms.rb:7)
|
521
|
-
[1m[35m (20.3ms)[0m CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp)
|
522
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202720"]]
|
523
|
-
[1m[35m (5.2ms)[0m COMMIT
|
524
|
-
Migrating to AddArmIdToBitCoreSlideshows (20141205202724)
|
525
|
-
[1m[36m (6.0ms)[0m [1mBEGIN[0m
|
526
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL
|
527
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_slideshows
|
528
|
-
ADD CONSTRAINT fk_bit_core_slideshows_arms
|
529
|
-
FOREIGN KEY (arm_id)
|
530
|
-
REFERENCES arms(id)
|
531
|
-
[0m
|
532
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202724"]]
|
533
|
-
[1m[36m (6.0ms)[0m [1mCOMMIT[0m
|
534
|
-
Migrating to AddArmIdToBitCoreTools (20141205202740)
|
535
|
-
[1m[35m (0.1ms)[0m BEGIN
|
536
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL[0m
|
537
|
-
[1m[35m (1.0ms)[0m ALTER TABLE bit_core_tools
|
538
|
-
ADD CONSTRAINT fk_bit_core_tools_arms
|
539
|
-
FOREIGN KEY (arm_id)
|
540
|
-
REFERENCES arms(id)
|
541
|
-
|
542
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202740"]]
|
543
|
-
[1m[35m (6.0ms)[0m COMMIT
|
544
|
-
Migrating to AddTypeToTools (20150130155627)
|
545
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
546
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_tools" ADD "type" character varying
|
547
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150130155627"]]
|
548
|
-
[1m[35m (11.4ms)[0m COMMIT
|
549
|
-
Migrating to AddIsVizToContentModules (20150131195914)
|
550
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
551
|
-
[1m[35m (21.8ms)[0m ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL
|
552
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150131195914"]]
|
553
|
-
[1m[35m (1.2ms)[0m COMMIT
|
554
|
-
Migrating to AddToolConstraint (20150210161229)
|
555
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
556
|
-
[1m[35mBitCore::Tool Load (0.4ms)[0m SELECT "bit_core_tools".* FROM "bit_core_tools"
|
557
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_tools
|
558
|
-
ADD CONSTRAINT fk_tools_arms
|
559
|
-
FOREIGN KEY (arm_id)
|
560
|
-
REFERENCES arms(id)
|
561
|
-
[0m
|
562
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150210161229"]]
|
563
|
-
[1m[36m (6.1ms)[0m [1mCOMMIT[0m
|
564
|
-
Migrating to ChangeShowNextNavColumnDefault (20160311210938)
|
565
|
-
[1m[35m (0.1ms)[0m BEGIN
|
566
|
-
[1m[36m (34.1ms)[0m [1mALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT '---
|
567
|
-
:from:
|
568
|
-
:to: false
|
569
|
-
'[0m
|
570
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
571
|
-
[1m[36m (3.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
572
|
-
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
573
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
574
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
575
|
-
[1m[35m (0.2ms)[0m BEGIN
|
576
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
577
|
-
[1m[36m (3.8ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
578
|
-
[1m[35m (1.4ms)[0m ALTER TABLE bit_core_tools
|
579
|
-
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
580
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
581
|
-
|
582
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
583
|
-
[1m[35m (0.8ms)[0m COMMIT
|
584
|
-
Migrating to CreateBitCoreContentModules (20140415211458)
|
585
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
586
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415211458_create_bit_core_content_modules.rb:8)
|
587
|
-
[1m[35m (2.8ms)[0m CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
588
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_content_modules
|
589
|
-
ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
|
590
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
591
|
-
[0m
|
592
|
-
[1m[35m (1.2ms)[0m ALTER TABLE bit_core_content_modules
|
593
|
-
ADD CONSTRAINT fk_content_modules_tools
|
594
|
-
FOREIGN KEY (bit_core_tool_id)
|
595
|
-
REFERENCES bit_core_tools(id)
|
596
|
-
|
597
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
598
|
-
[1m[35m (0.6ms)[0m COMMIT
|
599
|
-
Migrating to CreateBitCoreContentProviders (20140415213346)
|
600
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
601
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415213346_create_bit_core_content_providers.rb:10)
|
602
|
-
[1m[35m (3.3ms)[0m CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
603
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_content_providers
|
604
|
-
ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
|
605
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
606
|
-
[0m
|
607
|
-
[1m[35m (1.0ms)[0m ALTER TABLE bit_core_content_providers
|
608
|
-
ADD CONSTRAINT fk_content_providers_modules
|
609
|
-
FOREIGN KEY (bit_core_content_module_id)
|
610
|
-
REFERENCES bit_core_content_modules(id)
|
611
|
-
|
612
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
613
|
-
[1m[35m (0.5ms)[0m COMMIT
|
614
|
-
Migrating to CreateBitCoreSlideshows (20140417173056)
|
615
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
616
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417173056_create_bit_core_slideshows.rb:6)
|
617
|
-
[1m[35m (4.1ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
618
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
619
|
-
[1m[35m (0.5ms)[0m COMMIT
|
620
|
-
Migrating to CreateBitCoreSlides (20140417174159)
|
621
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
622
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417174159_create_bit_core_slides.rb:11)
|
623
|
-
[1m[35m (2.9ms)[0m CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
624
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_slides
|
625
|
-
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
626
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
627
|
-
[0m
|
628
|
-
[1m[35m (0.9ms)[0m ALTER TABLE bit_core_slides
|
629
|
-
ADD CONSTRAINT fk_slideshows_slides
|
630
|
-
FOREIGN KEY (bit_core_slideshow_id)
|
631
|
-
REFERENCES bit_core_slideshows(id)
|
632
|
-
|
633
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
634
|
-
[1m[35m (0.5ms)[0m COMMIT
|
635
|
-
Migrating to AddOptionsToSlides (20140620174146)
|
636
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
637
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slides" ADD "options" text
|
638
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
639
|
-
[1m[35m (0.3ms)[0m COMMIT
|
640
|
-
Migrating to AddConfigFieldsToProviders (20140620174147)
|
641
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
642
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
|
643
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying[0m
|
644
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
|
645
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean[0m
|
646
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "locals" text
|
647
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
648
|
-
[1m[35m (0.3ms)[0m COMMIT
|
649
|
-
Migrating to AddTypeToContentModules (20140625133118)
|
650
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
651
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_modules" ADD "type" character varying
|
652
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140625133118"]]
|
653
|
-
[1m[35m (0.3ms)[0m COMMIT
|
654
|
-
Migrating to CreateBitCoreArms (20141205202720)
|
655
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
656
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20141205202720_create_bit_core_arms.rb:7)
|
657
|
-
[1m[35m (2.7ms)[0m CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp)
|
658
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202720"]]
|
659
|
-
[1m[35m (0.4ms)[0m COMMIT
|
660
|
-
Migrating to AddArmIdToBitCoreSlideshows (20141205202724)
|
661
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
662
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL
|
663
|
-
[1m[36m (1.0ms)[0m [1m ALTER TABLE bit_core_slideshows
|
664
|
-
ADD CONSTRAINT fk_bit_core_slideshows_arms
|
665
|
-
FOREIGN KEY (arm_id)
|
666
|
-
REFERENCES arms(id)
|
667
|
-
[0m
|
668
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202724"]]
|
669
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
670
|
-
Migrating to AddArmIdToBitCoreTools (20141205202740)
|
671
|
-
[1m[35m (0.1ms)[0m BEGIN
|
672
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL[0m
|
673
|
-
[1m[35m (0.9ms)[0m ALTER TABLE bit_core_tools
|
674
|
-
ADD CONSTRAINT fk_bit_core_tools_arms
|
675
|
-
FOREIGN KEY (arm_id)
|
676
|
-
REFERENCES arms(id)
|
677
|
-
|
678
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202740"]]
|
679
|
-
[1m[35m (0.3ms)[0m COMMIT
|
680
|
-
Migrating to AddTypeToTools (20150130155627)
|
681
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
682
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_tools" ADD "type" character varying
|
683
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150130155627"]]
|
684
|
-
[1m[35m (0.3ms)[0m COMMIT
|
685
|
-
Migrating to AddIsVizToContentModules (20150131195914)
|
686
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
687
|
-
[1m[35m (3.9ms)[0m ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL
|
688
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150131195914"]]
|
689
|
-
[1m[35m (0.9ms)[0m COMMIT
|
690
|
-
Migrating to AddToolConstraint (20150210161229)
|
691
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
692
|
-
[1m[35mBitCore::Tool Load (0.5ms)[0m SELECT "bit_core_tools".* FROM "bit_core_tools"
|
693
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_tools
|
694
|
-
ADD CONSTRAINT fk_tools_arms
|
695
|
-
FOREIGN KEY (arm_id)
|
696
|
-
REFERENCES arms(id)
|
697
|
-
[0m
|
698
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150210161229"]]
|
699
|
-
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
700
|
-
Migrating to ChangeShowNextNavColumnDefault (20160311210938)
|
701
|
-
[1m[35m (0.1ms)[0m BEGIN
|
702
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT '---
|
703
|
-
:from:
|
704
|
-
:to: false
|
705
|
-
'[0m
|
706
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
707
|
-
[1m[36m (3.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
708
|
-
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
709
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
710
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
711
|
-
[1m[35m (0.1ms)[0m BEGIN
|
712
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
713
|
-
[1m[36m (3.4ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
714
|
-
[1m[35m (1.2ms)[0m ALTER TABLE bit_core_tools
|
715
|
-
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
716
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
717
|
-
|
718
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
719
|
-
[1m[35m (0.8ms)[0m COMMIT
|
720
|
-
Migrating to CreateBitCoreContentModules (20140415211458)
|
721
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
722
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415211458_create_bit_core_content_modules.rb:8)
|
723
|
-
[1m[35m (2.9ms)[0m CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
724
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_content_modules
|
725
|
-
ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
|
726
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
727
|
-
[0m
|
728
|
-
[1m[35m (1.2ms)[0m ALTER TABLE bit_core_content_modules
|
729
|
-
ADD CONSTRAINT fk_content_modules_tools
|
730
|
-
FOREIGN KEY (bit_core_tool_id)
|
731
|
-
REFERENCES bit_core_tools(id)
|
732
|
-
|
733
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
734
|
-
[1m[35m (0.6ms)[0m COMMIT
|
735
|
-
Migrating to CreateBitCoreContentProviders (20140415213346)
|
736
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
737
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415213346_create_bit_core_content_providers.rb:10)
|
738
|
-
[1m[35m (2.7ms)[0m CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
739
|
-
[1m[36m (1.1ms)[0m [1m ALTER TABLE bit_core_content_providers
|
740
|
-
ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
|
741
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
742
|
-
[0m
|
743
|
-
[1m[35m (1.0ms)[0m ALTER TABLE bit_core_content_providers
|
744
|
-
ADD CONSTRAINT fk_content_providers_modules
|
745
|
-
FOREIGN KEY (bit_core_content_module_id)
|
746
|
-
REFERENCES bit_core_content_modules(id)
|
747
|
-
|
748
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
749
|
-
[1m[35m (0.6ms)[0m COMMIT
|
750
|
-
Migrating to CreateBitCoreSlideshows (20140417173056)
|
751
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
752
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417173056_create_bit_core_slideshows.rb:6)
|
753
|
-
[1m[35m (2.7ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
754
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
755
|
-
[1m[35m (0.4ms)[0m COMMIT
|
756
|
-
Migrating to CreateBitCoreSlides (20140417174159)
|
757
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
758
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417174159_create_bit_core_slides.rb:11)
|
759
|
-
[1m[35m (3.1ms)[0m CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
760
|
-
[1m[36m (1.3ms)[0m [1m ALTER TABLE bit_core_slides
|
761
|
-
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
762
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
763
|
-
[0m
|
764
|
-
[1m[35m (1.0ms)[0m ALTER TABLE bit_core_slides
|
765
|
-
ADD CONSTRAINT fk_slideshows_slides
|
766
|
-
FOREIGN KEY (bit_core_slideshow_id)
|
767
|
-
REFERENCES bit_core_slideshows(id)
|
768
|
-
|
769
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
770
|
-
[1m[35m (0.6ms)[0m COMMIT
|
771
|
-
Migrating to AddOptionsToSlides (20140620174146)
|
772
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
773
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slides" ADD "options" text
|
774
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
775
|
-
[1m[35m (0.3ms)[0m COMMIT
|
776
|
-
Migrating to AddConfigFieldsToProviders (20140620174147)
|
777
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
778
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
|
779
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying[0m
|
780
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
|
781
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean[0m
|
782
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "locals" text
|
783
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
784
|
-
[1m[35m (0.5ms)[0m COMMIT
|
785
|
-
Migrating to AddTypeToContentModules (20140625133118)
|
786
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
787
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_modules" ADD "type" character varying
|
788
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140625133118"]]
|
789
|
-
[1m[35m (0.3ms)[0m COMMIT
|
790
|
-
Migrating to CreateBitCoreArms (20141205202720)
|
791
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
792
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20141205202720_create_bit_core_arms.rb:7)
|
793
|
-
[1m[35m (2.8ms)[0m CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp)
|
794
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202720"]]
|
795
|
-
[1m[35m (0.5ms)[0m COMMIT
|
796
|
-
Migrating to AddArmIdToBitCoreSlideshows (20141205202724)
|
797
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
798
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL
|
799
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_slideshows
|
800
|
-
ADD CONSTRAINT fk_bit_core_slideshows_arms
|
801
|
-
FOREIGN KEY (arm_id)
|
802
|
-
REFERENCES arms(id)
|
803
|
-
[0m
|
804
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202724"]]
|
805
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
806
|
-
Migrating to AddArmIdToBitCoreTools (20141205202740)
|
807
|
-
[1m[35m (0.1ms)[0m BEGIN
|
808
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL[0m
|
809
|
-
[1m[35m (0.8ms)[0m ALTER TABLE bit_core_tools
|
810
|
-
ADD CONSTRAINT fk_bit_core_tools_arms
|
811
|
-
FOREIGN KEY (arm_id)
|
812
|
-
REFERENCES arms(id)
|
813
|
-
|
814
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202740"]]
|
815
|
-
[1m[35m (0.3ms)[0m COMMIT
|
816
|
-
Migrating to AddTypeToTools (20150130155627)
|
817
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
818
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_tools" ADD "type" character varying
|
819
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150130155627"]]
|
820
|
-
[1m[35m (0.3ms)[0m COMMIT
|
821
|
-
Migrating to AddIsVizToContentModules (20150131195914)
|
822
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
823
|
-
[1m[35m (4.0ms)[0m ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL
|
824
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150131195914"]]
|
825
|
-
[1m[35m (0.9ms)[0m COMMIT
|
826
|
-
Migrating to AddToolConstraint (20150210161229)
|
827
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
828
|
-
[1m[35mBitCore::Tool Load (0.5ms)[0m SELECT "bit_core_tools".* FROM "bit_core_tools"
|
829
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_tools
|
830
|
-
ADD CONSTRAINT fk_tools_arms
|
831
|
-
FOREIGN KEY (arm_id)
|
832
|
-
REFERENCES arms(id)
|
833
|
-
[0m
|
834
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150210161229"]]
|
835
|
-
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
836
|
-
Migrating to ChangeShowNextNavColumnDefault (20160311210938)
|
837
|
-
[1m[35m (0.1ms)[0m BEGIN
|
838
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT '---
|
839
|
-
:from:
|
840
|
-
:to: false
|
841
|
-
'[0m
|
842
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
843
|
-
[1m[36m (3.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
844
|
-
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
845
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
846
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
847
|
-
[1m[35m (0.2ms)[0m BEGIN
|
848
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
849
|
-
[1m[36m (3.5ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
850
|
-
[1m[35m (1.2ms)[0m ALTER TABLE bit_core_tools
|
851
|
-
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
852
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
853
|
-
|
854
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
855
|
-
[1m[35m (0.7ms)[0m COMMIT
|
856
|
-
Migrating to CreateBitCoreContentModules (20140415211458)
|
857
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
858
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415211458_create_bit_core_content_modules.rb:8)
|
859
|
-
[1m[35m (2.8ms)[0m CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
860
|
-
[1m[36m (0.7ms)[0m [1m ALTER TABLE bit_core_content_modules
|
861
|
-
ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
|
862
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
863
|
-
[0m
|
864
|
-
[1m[35m (1.1ms)[0m ALTER TABLE bit_core_content_modules
|
865
|
-
ADD CONSTRAINT fk_content_modules_tools
|
866
|
-
FOREIGN KEY (bit_core_tool_id)
|
867
|
-
REFERENCES bit_core_tools(id)
|
868
|
-
|
869
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
870
|
-
[1m[35m (0.6ms)[0m COMMIT
|
871
|
-
Migrating to CreateBitCoreContentProviders (20140415213346)
|
872
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
873
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415213346_create_bit_core_content_providers.rb:10)
|
874
|
-
[1m[35m (3.8ms)[0m CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
875
|
-
[1m[36m (1.1ms)[0m [1m ALTER TABLE bit_core_content_providers
|
876
|
-
ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
|
877
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
878
|
-
[0m
|
879
|
-
[1m[35m (1.1ms)[0m ALTER TABLE bit_core_content_providers
|
880
|
-
ADD CONSTRAINT fk_content_providers_modules
|
881
|
-
FOREIGN KEY (bit_core_content_module_id)
|
882
|
-
REFERENCES bit_core_content_modules(id)
|
883
|
-
|
884
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
885
|
-
[1m[35m (0.5ms)[0m COMMIT
|
886
|
-
Migrating to CreateBitCoreSlideshows (20140417173056)
|
887
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
888
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417173056_create_bit_core_slideshows.rb:6)
|
889
|
-
[1m[35m (4.8ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
890
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
891
|
-
[1m[35m (0.5ms)[0m COMMIT
|
892
|
-
Migrating to CreateBitCoreSlides (20140417174159)
|
893
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
894
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417174159_create_bit_core_slides.rb:11)
|
895
|
-
[1m[35m (3.7ms)[0m CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
896
|
-
[1m[36m (1.3ms)[0m [1m ALTER TABLE bit_core_slides
|
897
|
-
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
898
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
899
|
-
[0m
|
900
|
-
[1m[35m (1.7ms)[0m ALTER TABLE bit_core_slides
|
901
|
-
ADD CONSTRAINT fk_slideshows_slides
|
902
|
-
FOREIGN KEY (bit_core_slideshow_id)
|
903
|
-
REFERENCES bit_core_slideshows(id)
|
904
|
-
|
905
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
906
|
-
[1m[35m (0.6ms)[0m COMMIT
|
907
|
-
Migrating to AddOptionsToSlides (20140620174146)
|
908
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
909
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slides" ADD "options" text
|
910
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
911
|
-
[1m[35m (0.4ms)[0m COMMIT
|
912
|
-
Migrating to AddConfigFieldsToProviders (20140620174147)
|
913
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
914
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
|
915
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying[0m
|
916
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
|
917
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean[0m
|
918
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "locals" text
|
919
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
920
|
-
[1m[35m (0.3ms)[0m COMMIT
|
921
|
-
Migrating to AddTypeToContentModules (20140625133118)
|
922
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
923
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_modules" ADD "type" character varying
|
924
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140625133118"]]
|
925
|
-
[1m[35m (0.3ms)[0m COMMIT
|
926
|
-
Migrating to CreateBitCoreArms (20141205202720)
|
927
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
928
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20141205202720_create_bit_core_arms.rb:7)
|
929
|
-
[1m[35m (2.7ms)[0m CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp)
|
930
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202720"]]
|
931
|
-
[1m[35m (0.4ms)[0m COMMIT
|
932
|
-
Migrating to AddArmIdToBitCoreSlideshows (20141205202724)
|
933
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
934
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL
|
935
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_slideshows
|
936
|
-
ADD CONSTRAINT fk_bit_core_slideshows_arms
|
937
|
-
FOREIGN KEY (arm_id)
|
938
|
-
REFERENCES arms(id)
|
939
|
-
[0m
|
940
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202724"]]
|
941
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
942
|
-
Migrating to AddArmIdToBitCoreTools (20141205202740)
|
943
|
-
[1m[35m (0.1ms)[0m BEGIN
|
944
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL[0m
|
945
|
-
[1m[35m (1.0ms)[0m ALTER TABLE bit_core_tools
|
946
|
-
ADD CONSTRAINT fk_bit_core_tools_arms
|
947
|
-
FOREIGN KEY (arm_id)
|
948
|
-
REFERENCES arms(id)
|
949
|
-
|
950
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202740"]]
|
951
|
-
[1m[35m (0.3ms)[0m COMMIT
|
952
|
-
Migrating to AddTypeToTools (20150130155627)
|
953
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
954
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_tools" ADD "type" character varying
|
955
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150130155627"]]
|
956
|
-
[1m[35m (0.3ms)[0m COMMIT
|
957
|
-
Migrating to AddIsVizToContentModules (20150131195914)
|
958
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
959
|
-
[1m[35m (4.0ms)[0m ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL
|
960
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150131195914"]]
|
961
|
-
[1m[35m (0.8ms)[0m COMMIT
|
962
|
-
Migrating to AddToolConstraint (20150210161229)
|
963
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
964
|
-
[1m[35mBitCore::Tool Load (0.5ms)[0m SELECT "bit_core_tools".* FROM "bit_core_tools"
|
965
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_tools
|
966
|
-
ADD CONSTRAINT fk_tools_arms
|
967
|
-
FOREIGN KEY (arm_id)
|
968
|
-
REFERENCES arms(id)
|
969
|
-
[0m
|
970
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150210161229"]]
|
971
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
972
|
-
Migrating to ChangeShowNextNavColumnDefault (20160311210938)
|
973
|
-
[1m[35m (0.1ms)[0m BEGIN
|
974
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT '---
|
975
|
-
:from:
|
976
|
-
:to: false
|
977
|
-
'[0m
|
978
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
979
|
-
[1m[36m (3.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
980
|
-
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
981
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
982
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
983
|
-
[1m[35m (0.1ms)[0m BEGIN
|
984
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
985
|
-
[1m[36m (3.6ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
986
|
-
[1m[35m (1.2ms)[0m ALTER TABLE bit_core_tools
|
987
|
-
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
988
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
989
|
-
|
990
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
991
|
-
[1m[35m (0.7ms)[0m COMMIT
|
992
|
-
Migrating to CreateBitCoreContentModules (20140415211458)
|
993
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
994
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415211458_create_bit_core_content_modules.rb:8)
|
995
|
-
[1m[35m (2.9ms)[0m CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
996
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_content_modules
|
997
|
-
ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
|
998
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
999
|
-
[0m
|
1000
|
-
[1m[35m (1.2ms)[0m ALTER TABLE bit_core_content_modules
|
1001
|
-
ADD CONSTRAINT fk_content_modules_tools
|
1002
|
-
FOREIGN KEY (bit_core_tool_id)
|
1003
|
-
REFERENCES bit_core_tools(id)
|
1004
|
-
|
1005
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
1006
|
-
[1m[35m (0.6ms)[0m COMMIT
|
1007
|
-
Migrating to CreateBitCoreContentProviders (20140415213346)
|
1008
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1009
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415213346_create_bit_core_content_providers.rb:10)
|
1010
|
-
[1m[35m (2.8ms)[0m CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1011
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_content_providers
|
1012
|
-
ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
|
1013
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1014
|
-
[0m
|
1015
|
-
[1m[35m (0.9ms)[0m ALTER TABLE bit_core_content_providers
|
1016
|
-
ADD CONSTRAINT fk_content_providers_modules
|
1017
|
-
FOREIGN KEY (bit_core_content_module_id)
|
1018
|
-
REFERENCES bit_core_content_modules(id)
|
1019
|
-
|
1020
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
1021
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1022
|
-
Migrating to CreateBitCoreSlideshows (20140417173056)
|
1023
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1024
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417173056_create_bit_core_slideshows.rb:6)
|
1025
|
-
[1m[35m (2.8ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1026
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
1027
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1028
|
-
Migrating to CreateBitCoreSlides (20140417174159)
|
1029
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1030
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417174159_create_bit_core_slides.rb:11)
|
1031
|
-
[1m[35m (3.1ms)[0m CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1032
|
-
[1m[36m (0.7ms)[0m [1m ALTER TABLE bit_core_slides
|
1033
|
-
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
1034
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1035
|
-
[0m
|
1036
|
-
[1m[35m (1.0ms)[0m ALTER TABLE bit_core_slides
|
1037
|
-
ADD CONSTRAINT fk_slideshows_slides
|
1038
|
-
FOREIGN KEY (bit_core_slideshow_id)
|
1039
|
-
REFERENCES bit_core_slideshows(id)
|
1040
|
-
|
1041
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
1042
|
-
[1m[35m (0.6ms)[0m COMMIT
|
1043
|
-
Migrating to AddOptionsToSlides (20140620174146)
|
1044
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1045
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slides" ADD "options" text
|
1046
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
1047
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1048
|
-
Migrating to AddConfigFieldsToProviders (20140620174147)
|
1049
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1050
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
|
1051
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying[0m
|
1052
|
-
[1m[35m (0.1ms)[0m ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
|
1053
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean[0m
|
1054
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "locals" text
|
1055
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
1056
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1057
|
-
Migrating to AddTypeToContentModules (20140625133118)
|
1058
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1059
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_modules" ADD "type" character varying
|
1060
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140625133118"]]
|
1061
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1062
|
-
Migrating to CreateBitCoreArms (20141205202720)
|
1063
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1064
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20141205202720_create_bit_core_arms.rb:7)
|
1065
|
-
[1m[35m (2.8ms)[0m CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp)
|
1066
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202720"]]
|
1067
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1068
|
-
Migrating to AddArmIdToBitCoreSlideshows (20141205202724)
|
1069
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1070
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL
|
1071
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_slideshows
|
1072
|
-
ADD CONSTRAINT fk_bit_core_slideshows_arms
|
1073
|
-
FOREIGN KEY (arm_id)
|
1074
|
-
REFERENCES arms(id)
|
1075
|
-
[0m
|
1076
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202724"]]
|
1077
|
-
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1078
|
-
Migrating to AddArmIdToBitCoreTools (20141205202740)
|
1079
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1080
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL[0m
|
1081
|
-
[1m[35m (0.8ms)[0m ALTER TABLE bit_core_tools
|
1082
|
-
ADD CONSTRAINT fk_bit_core_tools_arms
|
1083
|
-
FOREIGN KEY (arm_id)
|
1084
|
-
REFERENCES arms(id)
|
1085
|
-
|
1086
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202740"]]
|
1087
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1088
|
-
Migrating to AddTypeToTools (20150130155627)
|
1089
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1090
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_tools" ADD "type" character varying
|
1091
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150130155627"]]
|
1092
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1093
|
-
Migrating to AddIsVizToContentModules (20150131195914)
|
1094
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1095
|
-
[1m[35m (4.1ms)[0m ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL
|
1096
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150131195914"]]
|
1097
|
-
[1m[35m (0.9ms)[0m COMMIT
|
1098
|
-
Migrating to AddToolConstraint (20150210161229)
|
1099
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1100
|
-
[1m[35mBitCore::Tool Load (0.5ms)[0m SELECT "bit_core_tools".* FROM "bit_core_tools"
|
1101
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_tools
|
1102
|
-
ADD CONSTRAINT fk_tools_arms
|
1103
|
-
FOREIGN KEY (arm_id)
|
1104
|
-
REFERENCES arms(id)
|
1105
|
-
[0m
|
1106
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150210161229"]]
|
1107
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1108
|
-
Migrating to ChangeShowNextNavColumnDefault (20160311210938)
|
1109
|
-
[1m[36m (9.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
1110
|
-
[1m[35m (2.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1111
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1112
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
1113
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1114
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
1115
|
-
[1m[36m (3.7ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
1116
|
-
[1m[35m (1.3ms)[0m ALTER TABLE bit_core_tools
|
1117
|
-
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
1118
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1119
|
-
|
1120
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
1121
|
-
[1m[35m (0.7ms)[0m COMMIT
|
1122
|
-
Migrating to CreateBitCoreContentModules (20140415211458)
|
1123
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1124
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415211458_create_bit_core_content_modules.rb:8)
|
1125
|
-
[1m[35m (3.2ms)[0m CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1126
|
-
[1m[36m (1.0ms)[0m [1m ALTER TABLE bit_core_content_modules
|
1127
|
-
ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
|
1128
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1129
|
-
[0m
|
1130
|
-
[1m[35m (1.3ms)[0m ALTER TABLE bit_core_content_modules
|
1131
|
-
ADD CONSTRAINT fk_content_modules_tools
|
1132
|
-
FOREIGN KEY (bit_core_tool_id)
|
1133
|
-
REFERENCES bit_core_tools(id)
|
1134
|
-
|
1135
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
1136
|
-
[1m[35m (0.7ms)[0m COMMIT
|
1137
|
-
Migrating to CreateBitCoreContentProviders (20140415213346)
|
1138
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1139
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415213346_create_bit_core_content_providers.rb:10)
|
1140
|
-
[1m[35m (3.0ms)[0m CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1141
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_content_providers
|
1142
|
-
ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
|
1143
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1144
|
-
[0m
|
1145
|
-
[1m[35m (1.2ms)[0m ALTER TABLE bit_core_content_providers
|
1146
|
-
ADD CONSTRAINT fk_content_providers_modules
|
1147
|
-
FOREIGN KEY (bit_core_content_module_id)
|
1148
|
-
REFERENCES bit_core_content_modules(id)
|
1149
|
-
|
1150
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
1151
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1152
|
-
Migrating to CreateBitCoreSlideshows (20140417173056)
|
1153
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1154
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417173056_create_bit_core_slideshows.rb:6)
|
1155
|
-
[1m[35m (3.5ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1156
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
1157
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1158
|
-
Migrating to CreateBitCoreSlides (20140417174159)
|
1159
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1160
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417174159_create_bit_core_slides.rb:11)
|
1161
|
-
[1m[35m (3.6ms)[0m CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1162
|
-
[1m[36m (1.2ms)[0m [1m ALTER TABLE bit_core_slides
|
1163
|
-
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
1164
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1165
|
-
[0m
|
1166
|
-
[1m[35m (1.4ms)[0m ALTER TABLE bit_core_slides
|
1167
|
-
ADD CONSTRAINT fk_slideshows_slides
|
1168
|
-
FOREIGN KEY (bit_core_slideshow_id)
|
1169
|
-
REFERENCES bit_core_slideshows(id)
|
1170
|
-
|
1171
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
1172
|
-
[1m[35m (0.6ms)[0m COMMIT
|
1173
|
-
Migrating to AddOptionsToSlides (20140620174146)
|
1174
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1175
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slides" ADD "options" text
|
1176
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
1177
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1178
|
-
Migrating to AddConfigFieldsToProviders (20140620174147)
|
1179
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1180
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
|
1181
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying[0m
|
1182
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
|
1183
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean[0m
|
1184
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_providers" ADD "locals" text
|
1185
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
1186
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1187
|
-
Migrating to AddTypeToContentModules (20140625133118)
|
1188
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1189
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_content_modules" ADD "type" character varying
|
1190
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140625133118"]]
|
1191
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1192
|
-
Migrating to CreateBitCoreArms (20141205202720)
|
1193
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1194
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20141205202720_create_bit_core_arms.rb:7)
|
1195
|
-
[1m[35m (2.5ms)[0m CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp)
|
1196
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202720"]]
|
1197
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1198
|
-
Migrating to AddArmIdToBitCoreSlideshows (20141205202724)
|
1199
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1200
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL
|
1201
|
-
[1m[36m (1.0ms)[0m [1m ALTER TABLE bit_core_slideshows
|
1202
|
-
ADD CONSTRAINT fk_bit_core_slideshows_arms
|
1203
|
-
FOREIGN KEY (arm_id)
|
1204
|
-
REFERENCES arms(id)
|
1205
|
-
[0m
|
1206
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202724"]]
|
1207
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1208
|
-
Migrating to AddArmIdToBitCoreTools (20141205202740)
|
1209
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1210
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL[0m
|
1211
|
-
[1m[35m (0.8ms)[0m ALTER TABLE bit_core_tools
|
1212
|
-
ADD CONSTRAINT fk_bit_core_tools_arms
|
1213
|
-
FOREIGN KEY (arm_id)
|
1214
|
-
REFERENCES arms(id)
|
1215
|
-
|
1216
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202740"]]
|
1217
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1218
|
-
Migrating to AddTypeToTools (20150130155627)
|
1219
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1220
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "bit_core_tools" ADD "type" character varying
|
1221
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150130155627"]]
|
1222
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1223
|
-
Migrating to AddIsVizToContentModules (20150131195914)
|
1224
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1225
|
-
[1m[35m (4.1ms)[0m ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL
|
1226
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150131195914"]]
|
1227
|
-
[1m[35m (1.0ms)[0m COMMIT
|
1228
|
-
Migrating to AddToolConstraint (20150210161229)
|
1229
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1230
|
-
[1m[35mBitCore::Tool Load (0.4ms)[0m SELECT "bit_core_tools".* FROM "bit_core_tools"
|
1231
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_tools
|
1232
|
-
ADD CONSTRAINT fk_tools_arms
|
1233
|
-
FOREIGN KEY (arm_id)
|
1234
|
-
REFERENCES arms(id)
|
1235
|
-
[0m
|
1236
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150210161229"]]
|
1237
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1238
|
-
Migrating to ChangeShowNextNavColumnDefault (20160311210938)
|
1239
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1240
|
-
[1m[36m (0.4ms)[0m [1mALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT '---
|
1241
|
-
:from:
|
1242
|
-
:to: false
|
1243
|
-
'[0m
|
1244
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1245
|
-
[1m[36m (5.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
1246
|
-
[1m[35m (17.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1247
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1248
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
1249
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1250
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
1251
|
-
[1m[36m (3.6ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
1252
|
-
[1m[35m (1.2ms)[0m ALTER TABLE bit_core_tools
|
1253
|
-
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
1254
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1255
|
-
|
1256
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
1257
|
-
[1m[35m (0.8ms)[0m COMMIT
|
1258
|
-
Migrating to CreateBitCoreContentModules (20140415211458)
|
1259
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1260
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415211458_create_bit_core_content_modules.rb:8)
|
1261
|
-
[1m[35m (3.2ms)[0m CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1262
|
-
[1m[36m (1.0ms)[0m [1m ALTER TABLE bit_core_content_modules
|
1263
|
-
ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
|
1264
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1265
|
-
[0m
|
1266
|
-
[1m[35m (1.2ms)[0m ALTER TABLE bit_core_content_modules
|
1267
|
-
ADD CONSTRAINT fk_content_modules_tools
|
1268
|
-
FOREIGN KEY (bit_core_tool_id)
|
1269
|
-
REFERENCES bit_core_tools(id)
|
1270
|
-
|
1271
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
1272
|
-
[1m[35m (0.7ms)[0m COMMIT
|
1273
|
-
Migrating to CreateBitCoreContentProviders (20140415213346)
|
1274
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1275
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415213346_create_bit_core_content_providers.rb:10)
|
1276
|
-
[1m[35m (2.9ms)[0m CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1277
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_content_providers
|
1278
|
-
ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
|
1279
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1280
|
-
[0m
|
1281
|
-
[1m[35m (1.0ms)[0m ALTER TABLE bit_core_content_providers
|
1282
|
-
ADD CONSTRAINT fk_content_providers_modules
|
1283
|
-
FOREIGN KEY (bit_core_content_module_id)
|
1284
|
-
REFERENCES bit_core_content_modules(id)
|
1285
|
-
|
1286
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
1287
|
-
[1m[35m (0.6ms)[0m COMMIT
|
1288
|
-
Migrating to CreateBitCoreSlideshows (20140417173056)
|
1289
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1290
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417173056_create_bit_core_slideshows.rb:6)
|
1291
|
-
[1m[35m (3.5ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1292
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
1293
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1294
|
-
Migrating to CreateBitCoreSlides (20140417174159)
|
1295
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1296
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417174159_create_bit_core_slides.rb:11)
|
1297
|
-
[1m[35m (8.0ms)[0m CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1298
|
-
[1m[36m (4.1ms)[0m [1m ALTER TABLE bit_core_slides
|
1299
|
-
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
1300
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1301
|
-
[0m
|
1302
|
-
[1m[35m (1.6ms)[0m ALTER TABLE bit_core_slides
|
1303
|
-
ADD CONSTRAINT fk_slideshows_slides
|
1304
|
-
FOREIGN KEY (bit_core_slideshow_id)
|
1305
|
-
REFERENCES bit_core_slideshows(id)
|
1306
|
-
|
1307
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
1308
|
-
[1m[35m (1.1ms)[0m COMMIT
|
1309
|
-
Migrating to AddOptionsToSlides (20140620174146)
|
1310
|
-
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1311
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slides" ADD "options" text
|
1312
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
1313
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1314
|
-
Migrating to AddConfigFieldsToProviders (20140620174147)
|
1315
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1316
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
|
1317
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying[0m
|
1318
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
|
1319
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean[0m
|
1320
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "locals" text
|
1321
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
1322
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1323
|
-
Migrating to AddTypeToContentModules (20140625133118)
|
1324
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1325
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_modules" ADD "type" character varying
|
1326
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140625133118"]]
|
1327
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1328
|
-
Migrating to CreateBitCoreArms (20141205202720)
|
1329
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1330
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20141205202720_create_bit_core_arms.rb:7)
|
1331
|
-
[1m[35m (2.8ms)[0m CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp)
|
1332
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202720"]]
|
1333
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1334
|
-
Migrating to AddArmIdToBitCoreSlideshows (20141205202724)
|
1335
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1336
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL
|
1337
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_slideshows
|
1338
|
-
ADD CONSTRAINT fk_bit_core_slideshows_arms
|
1339
|
-
FOREIGN KEY (arm_id)
|
1340
|
-
REFERENCES arms(id)
|
1341
|
-
[0m
|
1342
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202724"]]
|
1343
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1344
|
-
Migrating to AddArmIdToBitCoreTools (20141205202740)
|
1345
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1346
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL[0m
|
1347
|
-
[1m[35m (0.8ms)[0m ALTER TABLE bit_core_tools
|
1348
|
-
ADD CONSTRAINT fk_bit_core_tools_arms
|
1349
|
-
FOREIGN KEY (arm_id)
|
1350
|
-
REFERENCES arms(id)
|
1351
|
-
|
1352
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202740"]]
|
1353
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1354
|
-
Migrating to AddTypeToTools (20150130155627)
|
1355
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1356
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_tools" ADD "type" character varying
|
1357
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150130155627"]]
|
1358
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1359
|
-
Migrating to AddIsVizToContentModules (20150131195914)
|
1360
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1361
|
-
[1m[35m (4.2ms)[0m ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL
|
1362
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150131195914"]]
|
1363
|
-
[1m[35m (0.9ms)[0m COMMIT
|
1364
|
-
Migrating to AddToolConstraint (20150210161229)
|
1365
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1366
|
-
[1m[35mBitCore::Tool Load (0.4ms)[0m SELECT "bit_core_tools".* FROM "bit_core_tools"
|
1367
|
-
[1m[36m (1.0ms)[0m [1m ALTER TABLE bit_core_tools
|
1368
|
-
ADD CONSTRAINT fk_tools_arms
|
1369
|
-
FOREIGN KEY (arm_id)
|
1370
|
-
REFERENCES arms(id)
|
1371
|
-
[0m
|
1372
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150210161229"]]
|
1373
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1374
|
-
Migrating to ChangeShowNextNavColumnDefault (20160311210938)
|
1375
|
-
[1m[35m (0.2ms)[0m BEGIN
|
1376
|
-
[1m[36m (1.0ms)[0m [1mALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT '---
|
1377
|
-
:from:
|
1378
|
-
:to: false
|
1379
|
-
'[0m
|
1380
|
-
[1m[35m (0.1ms)[0m ROLLBACK
|
1381
|
-
[1m[36m (3.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL) [0m
|
1382
|
-
[1m[35m (1.3ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1383
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1384
|
-
Migrating to CreateBitCoreTools (20140415210052)
|
1385
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1386
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415210052_create_bit_core_tools.rb:7)
|
1387
|
-
[1m[36m (3.8ms)[0m [1mCREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
1388
|
-
[1m[35m (1.3ms)[0m ALTER TABLE bit_core_tools
|
1389
|
-
ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
|
1390
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1391
|
-
|
1392
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415210052"]]
|
1393
|
-
[1m[35m (0.7ms)[0m COMMIT
|
1394
|
-
Migrating to CreateBitCoreContentModules (20140415211458)
|
1395
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1396
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415211458_create_bit_core_content_modules.rb:8)
|
1397
|
-
[1m[35m (3.0ms)[0m CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1398
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_content_modules
|
1399
|
-
ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
|
1400
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1401
|
-
[0m
|
1402
|
-
[1m[35m (1.2ms)[0m ALTER TABLE bit_core_content_modules
|
1403
|
-
ADD CONSTRAINT fk_content_modules_tools
|
1404
|
-
FOREIGN KEY (bit_core_tool_id)
|
1405
|
-
REFERENCES bit_core_tools(id)
|
1406
|
-
|
1407
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415211458"]]
|
1408
|
-
[1m[35m (0.6ms)[0m COMMIT
|
1409
|
-
Migrating to CreateBitCoreContentProviders (20140415213346)
|
1410
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1411
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140415213346_create_bit_core_content_providers.rb:10)
|
1412
|
-
[1m[35m (3.2ms)[0m CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1413
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_content_providers
|
1414
|
-
ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
|
1415
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1416
|
-
[0m
|
1417
|
-
[1m[35m (0.9ms)[0m ALTER TABLE bit_core_content_providers
|
1418
|
-
ADD CONSTRAINT fk_content_providers_modules
|
1419
|
-
FOREIGN KEY (bit_core_content_module_id)
|
1420
|
-
REFERENCES bit_core_content_modules(id)
|
1421
|
-
|
1422
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140415213346"]]
|
1423
|
-
[1m[35m (0.6ms)[0m COMMIT
|
1424
|
-
Migrating to CreateBitCoreSlideshows (20140417173056)
|
1425
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1426
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417173056_create_bit_core_slideshows.rb:6)
|
1427
|
-
[1m[35m (3.0ms)[0m CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1428
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417173056"]]
|
1429
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1430
|
-
Migrating to CreateBitCoreSlides (20140417174159)
|
1431
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1432
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20140417174159_create_bit_core_slides.rb:11)
|
1433
|
-
[1m[35m (3.1ms)[0m CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
1434
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_slides
|
1435
|
-
ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
|
1436
|
-
DEFERRABLE INITIALLY IMMEDIATE
|
1437
|
-
[0m
|
1438
|
-
[1m[35m (1.3ms)[0m ALTER TABLE bit_core_slides
|
1439
|
-
ADD CONSTRAINT fk_slideshows_slides
|
1440
|
-
FOREIGN KEY (bit_core_slideshow_id)
|
1441
|
-
REFERENCES bit_core_slideshows(id)
|
1442
|
-
|
1443
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140417174159"]]
|
1444
|
-
[1m[35m (0.7ms)[0m COMMIT
|
1445
|
-
Migrating to AddOptionsToSlides (20140620174146)
|
1446
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1447
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_slides" ADD "options" text
|
1448
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174146"]]
|
1449
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1450
|
-
Migrating to AddConfigFieldsToProviders (20140620174147)
|
1451
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1452
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
|
1453
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying[0m
|
1454
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
|
1455
|
-
[1m[36m (0.2ms)[0m [1mALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean[0m
|
1456
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ADD "locals" text
|
1457
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140620174147"]]
|
1458
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1459
|
-
Migrating to AddTypeToContentModules (20140625133118)
|
1460
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1461
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_modules" ADD "type" character varying
|
1462
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140625133118"]]
|
1463
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1464
|
-
Migrating to CreateBitCoreArms (20141205202720)
|
1465
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1466
|
-
DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/usabilitymonitor/Desktop/Github/bit_core/db/migrate/20141205202720_create_bit_core_arms.rb:7)
|
1467
|
-
[1m[35m (3.2ms)[0m CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp)
|
1468
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202720"]]
|
1469
|
-
[1m[35m (0.5ms)[0m COMMIT
|
1470
|
-
Migrating to AddArmIdToBitCoreSlideshows (20141205202724)
|
1471
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1472
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL
|
1473
|
-
[1m[36m (0.8ms)[0m [1m ALTER TABLE bit_core_slideshows
|
1474
|
-
ADD CONSTRAINT fk_bit_core_slideshows_arms
|
1475
|
-
FOREIGN KEY (arm_id)
|
1476
|
-
REFERENCES arms(id)
|
1477
|
-
[0m
|
1478
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141205202724"]]
|
1479
|
-
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1480
|
-
Migrating to AddArmIdToBitCoreTools (20141205202740)
|
1481
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1482
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL[0m
|
1483
|
-
[1m[35m (0.7ms)[0m ALTER TABLE bit_core_tools
|
1484
|
-
ADD CONSTRAINT fk_bit_core_tools_arms
|
1485
|
-
FOREIGN KEY (arm_id)
|
1486
|
-
REFERENCES arms(id)
|
1487
|
-
|
1488
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20141205202740"]]
|
1489
|
-
[1m[35m (0.4ms)[0m COMMIT
|
1490
|
-
Migrating to AddTypeToTools (20150130155627)
|
1491
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1492
|
-
[1m[35m (0.3ms)[0m ALTER TABLE "bit_core_tools" ADD "type" character varying
|
1493
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150130155627"]]
|
1494
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1495
|
-
Migrating to AddIsVizToContentModules (20150131195914)
|
1496
|
-
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1497
|
-
[1m[35m (4.1ms)[0m ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL
|
1498
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20150131195914"]]
|
1499
|
-
[1m[35m (0.9ms)[0m COMMIT
|
1500
|
-
Migrating to AddToolConstraint (20150210161229)
|
1501
|
-
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1502
|
-
[1m[35mBitCore::Tool Load (0.5ms)[0m SELECT "bit_core_tools".* FROM "bit_core_tools"
|
1503
|
-
[1m[36m (0.9ms)[0m [1m ALTER TABLE bit_core_tools
|
1504
|
-
ADD CONSTRAINT fk_tools_arms
|
1505
|
-
FOREIGN KEY (arm_id)
|
1506
|
-
REFERENCES arms(id)
|
1507
|
-
[0m
|
1508
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150210161229"]]
|
1509
|
-
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1510
|
-
Migrating to ChangeShowNextNavColumnDefault (20160311210938)
|
1511
|
-
[1m[35m (0.1ms)[0m BEGIN
|
1512
|
-
[1m[36m (0.3ms)[0m [1mALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT 'f'[0m
|
1513
|
-
[1m[35m (0.2ms)[0m ALTER TABLE "bit_core_content_providers" ALTER "show_next_nav" SET NOT NULL
|
1514
|
-
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160311210938"]]
|
1515
|
-
[1m[35m (0.3ms)[0m COMMIT
|
1516
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1517
|
-
[1m[35m (2.2ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1518
|
-
FROM pg_constraint c
|
1519
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1520
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1521
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1522
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1523
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1524
|
-
WHERE c.contype = 'f'
|
1525
|
-
AND t1.relname = 'arms'
|
1526
|
-
AND t3.nspname = ANY (current_schemas(false))
|
1527
|
-
ORDER BY c.conname
|
1528
|
-
|
1529
|
-
[1m[36m (1.8ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1530
|
-
FROM pg_constraint c
|
1531
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1532
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1533
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1534
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1535
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1536
|
-
WHERE c.contype = 'f'
|
1537
|
-
AND t1.relname = 'bit_core_content_modules'
|
1538
|
-
AND t3.nspname = ANY (current_schemas(false))
|
1539
|
-
ORDER BY c.conname
|
1540
|
-
[0m
|
1541
|
-
[1m[35m (2.1ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1542
|
-
FROM pg_constraint c
|
1543
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1544
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1545
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1546
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1547
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1548
|
-
WHERE c.contype = 'f'
|
1549
|
-
AND t1.relname = 'bit_core_content_providers'
|
1550
|
-
AND t3.nspname = ANY (current_schemas(false))
|
1551
|
-
ORDER BY c.conname
|
1552
|
-
|
1553
|
-
[1m[36m (1.8ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1554
|
-
FROM pg_constraint c
|
1555
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1556
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1557
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1558
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1559
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1560
|
-
WHERE c.contype = 'f'
|
1561
|
-
AND t1.relname = 'bit_core_slides'
|
1562
|
-
AND t3.nspname = ANY (current_schemas(false))
|
1563
|
-
ORDER BY c.conname
|
1564
|
-
[0m
|
1565
|
-
[1m[35m (1.9ms)[0m SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1566
|
-
FROM pg_constraint c
|
1567
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1568
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1569
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1570
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1571
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1572
|
-
WHERE c.contype = 'f'
|
1573
|
-
AND t1.relname = 'bit_core_slideshows'
|
1574
|
-
AND t3.nspname = ANY (current_schemas(false))
|
1575
|
-
ORDER BY c.conname
|
1576
|
-
|
1577
|
-
[1m[36m (1.7ms)[0m [1mSELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
|
1578
|
-
FROM pg_constraint c
|
1579
|
-
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1580
|
-
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1581
|
-
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1582
|
-
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1583
|
-
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1584
|
-
WHERE c.contype = 'f'
|
1585
|
-
AND t1.relname = 'bit_core_tools'
|
1586
|
-
AND t3.nspname = ANY (current_schemas(false))
|
1587
|
-
ORDER BY c.conname
|
1588
|
-
[0m
|