bit_player 0.4.4 → 0.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3298 +1,268 @@
1
-  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2
-  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1
+  (0.1ms) BEGIN
2
+  (0.3ms) ROLLBACK
3
+  (0.2ms) BEGIN
4
+ BitCore::ContentModule Load (5.7ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = $1 AND "bit_core_content_modules"."position" = $2 ORDER BY "bit_core_content_modules"."id" ASC LIMIT $3 [["bit_core_tool_id", 1], ["position", 1], ["LIMIT", 1]]
5
+  (0.3ms) ROLLBACK
6
+  (0.2ms) BEGIN
7
+  (0.3ms) ROLLBACK
8
+  (0.2ms) BEGIN
9
+  (0.3ms) ROLLBACK
10
+  (0.2ms) BEGIN
11
+  (0.3ms) ROLLBACK
12
+  (0.3ms) BEGIN
13
+ BitCore::ContentModule Load (1.7ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = $1 AND "bit_core_content_modules"."position" = $2 ORDER BY "bit_core_content_modules"."id" ASC LIMIT $3 [["bit_core_tool_id", 1], ["position", 1], ["LIMIT", 1]]
14
+  (0.3ms) ROLLBACK
15
+  (0.2ms) BEGIN
16
+  (0.3ms) ROLLBACK
17
+  (0.2ms) BEGIN
18
+  (0.4ms) ROLLBACK
19
+  (0.3ms) BEGIN
20
+ BitCore::ContentModule Load (1.6ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = $1 AND "bit_core_content_modules"."position" = $2 ORDER BY "bit_core_content_modules"."id" ASC LIMIT $3 [["bit_core_tool_id", 1], ["position", 1], ["LIMIT", 1]]
21
+  (0.3ms) ROLLBACK
22
+ ActiveRecord::SchemaMigration Load (7.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
23
+  (2.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
24
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
25
+  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
26
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
27
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]
28
+  (138.1ms) DROP DATABASE IF EXISTS "dummy_test"
29
+  (0.3ms) DROP DATABASE IF EXISTS "dummy_test"
30
+  (530.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
31
+  (30.3ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
32
+  (9.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
33
+  (0.7ms) SELECT pg_try_advisory_lock(2735718569030447490);
34
+ ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
35
  Migrating to CreateBitPlayerContentModules (20140305200438)
5
-  (0.2ms) BEGIN
6
-  (6.5ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
7
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
8
-  (0.5ms) COMMIT
36
+  (1.7ms) BEGIN
37
+  (14.2ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "context" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
38
+ SQL (3.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140305200438"]]
39
+  (1.0ms) COMMIT
9
40
  Migrating to CreateBitPlayerContentProviders (20140305201300)
10
-  (0.4ms) BEGIN
11
-  (5.4ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
12
-  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
13
-  (3.6ms)  ALTER TABLE bit_player_content_providers
41
+  (0.5ms) BEGIN
42
+  (12.6ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
43
+  (2.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
44
+  (25.5ms)  ALTER TABLE bit_player_content_providers
14
45
  ADD CONSTRAINT fk_content_providers_modules
15
46
  FOREIGN KEY (bit_player_content_module_id)
16
47
  REFERENCES bit_player_content_modules(id)
17
48
  
18
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
19
-  (0.9ms) COMMIT
49
+ SQL (1.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140305201300"]]
50
+  (2.0ms) COMMIT
20
51
  Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
21
-  (0.5ms) BEGIN
22
-  (4.4ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
23
-  (1.5ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
24
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
25
-  (0.5ms) COMMIT
52
+  (1.1ms) BEGIN
53
+  (19.3ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying, "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)
54
+  (3.7ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
55
+ SQL (4.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140305232705"]]
56
+  (0.7ms) COMMIT
26
57
  Migrating to CreateBitPlayerSlideshows (20140305232706)
27
-  (1.0ms) BEGIN
28
-  (11.3ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
29
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
30
-  (0.5ms) COMMIT
58
+  (0.5ms) BEGIN
59
+  (16.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
60
+ SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140305232706"]]
61
+  (1.0ms) COMMIT
31
62
  Migrating to CreateBitPlayerSlides (20140305234327)
32
-  (0.3ms) BEGIN
33
-  (5.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
34
-  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
35
-  (2.2ms) ALTER TABLE bit_player_slides
63
+  (1.2ms) BEGIN
64
+  (22.5ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying, "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
65
+  (7.0ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
66
+  (2.4ms)  ALTER TABLE bit_player_slides
36
67
  ADD CONSTRAINT fk_slides_slideshows
37
68
  FOREIGN KEY (bit_player_slideshow_id)
38
69
  REFERENCES bit_player_slideshows(id)
39
-
40
-  (1.7ms)  ALTER TABLE bit_player_slides
41
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
42
- DEFERRABLE INITIALLY IMMEDIATE
43
- 
44
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
45
-  (0.5ms) COMMIT
46
- Migrating to CreateBitPlayerTools (20140402224913)
47
-  (0.4ms) BEGIN
48
-  (3.7ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
49
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
50
-  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
51
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
52
-  (0.6ms) COMMIT
53
- Migrating to ChangeModuleContextToTool (20140402225703)
54
-  (0.5ms) BEGIN
55
-  (0.6ms) ALTER TABLE "bit_player_content_modules" ADD COLUMN "bit_player_tool_id" integer
56
-  (0.3ms) ROLLBACK
57
-  (4.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
58
-  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
59
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
60
- Migrating to CreateBitPlayerContentModules (20140305200438)
61
-  (0.2ms) BEGIN
62
-  (6.2ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
63
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
64
-  (0.4ms) COMMIT
65
- Migrating to CreateBitPlayerContentProviders (20140305201300)
66
-  (0.4ms) BEGIN
67
-  (5.5ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
68
-  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
69
-  (4.1ms)  ALTER TABLE bit_player_content_providers
70
- ADD CONSTRAINT fk_content_providers_modules
71
- FOREIGN KEY (bit_player_content_module_id)
72
- REFERENCES bit_player_content_modules(id)
73
- 
74
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
75
-  (0.9ms) COMMIT
76
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
77
-  (0.5ms) BEGIN
78
-  (4.5ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
79
-  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
80
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
81
-  (0.5ms) COMMIT
82
- Migrating to CreateBitPlayerSlideshows (20140305232706)
83
-  (0.4ms) BEGIN
84
-  (3.6ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
85
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
86
-  (0.5ms) COMMIT
87
- Migrating to CreateBitPlayerSlides (20140305234327)
88
-  (0.3ms) BEGIN
89
-  (10.5ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
90
-  (2.0ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
91
-  (2.5ms) ALTER TABLE bit_player_slides
92
- ADD CONSTRAINT fk_slides_slideshows
93
- FOREIGN KEY (bit_player_slideshow_id)
94
- REFERENCES bit_player_slideshows(id)
95
-
96
-  (2.3ms)  ALTER TABLE bit_player_slides
97
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
98
- DEFERRABLE INITIALLY IMMEDIATE
99
- 
100
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
101
-  (0.7ms) COMMIT
102
- Migrating to CreateBitPlayerTools (20140402224913)
103
-  (0.5ms) BEGIN
104
-  (4.2ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
105
-  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
106
-  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
107
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
108
-  (0.5ms) COMMIT
109
- Migrating to AddConfigFieldsToProviders (20140619200219)
110
-  (0.4ms) BEGIN
111
-  (0.8ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255)
112
-  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255)
113
-  (0.3ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text
114
-  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean
115
-  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text
116
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]]
117
-  (0.4ms) COMMIT
118
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
119
-  (0.2ms) BEGIN
120
- BitPlayer::Slideshow Load (0.9ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
121
- BitPlayer::Slide Load (1.3ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
122
-  (1.7ms)  ALTER TABLE bit_player_slides
123
- DROP CONSTRAINT fk_slides_slideshows
124
- 
125
-  (1.2ms) ALTER TABLE bit_player_slides
126
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
127
-
128
-  (2.7ms) DROP TABLE "bit_player_slides"
129
-  (1.6ms) DROP TABLE "bit_player_slideshows"
130
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
131
-  (2.3ms) COMMIT
132
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
133
-  (0.1ms) BEGIN
134
-  (0.2ms) ROLLBACK
135
-  (0.1ms) BEGIN
136
-  (0.2ms) ROLLBACK
137
-  (0.2ms) BEGIN
138
-  (0.2ms) ROLLBACK
139
-  (0.1ms) BEGIN
140
-  (0.3ms) ROLLBACK
141
-  (0.2ms) BEGIN
142
-  (0.2ms) ROLLBACK
143
-  (0.1ms) BEGIN
144
-  (0.3ms) ROLLBACK
145
-  (0.2ms) BEGIN
146
-  (0.3ms) ROLLBACK
147
-  (0.2ms) BEGIN
148
- BitCore::ContentModule Load (0.7ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
149
- PG::UndefinedTable: ERROR: relation "bit_core_content_modules" does not exist
150
- LINE 1: SELECT "bit_core_content_modules".* FROM "bit_core_content_...
151
- ^
152
- : SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
153
-  (0.3ms) ROLLBACK
154
-  (4.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
155
-  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
156
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
157
- Migrating to CreateBitPlayerContentModules (20140305200438)
158
-  (0.3ms) BEGIN
159
-  (6.3ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
160
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
161
-  (0.5ms) COMMIT
162
- Migrating to CreateBitPlayerContentProviders (20140305201300)
163
-  (0.4ms) BEGIN
164
-  (5.3ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
165
-  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
166
-  (3.1ms)  ALTER TABLE bit_player_content_providers
167
- ADD CONSTRAINT fk_content_providers_modules
168
- FOREIGN KEY (bit_player_content_module_id)
169
- REFERENCES bit_player_content_modules(id)
170
- 
171
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
172
-  (0.9ms) COMMIT
173
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
174
-  (0.5ms) BEGIN
175
-  (4.5ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
176
-  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
177
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
178
-  (0.6ms) COMMIT
179
- Migrating to CreateBitPlayerSlideshows (20140305232706)
180
-  (0.4ms) BEGIN
181
-  (3.7ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
182
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
183
-  (0.5ms) COMMIT
184
- Migrating to CreateBitPlayerSlides (20140305234327)
185
-  (0.3ms) BEGIN
186
-  (6.8ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
187
-  (2.3ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
188
-  (2.3ms) ALTER TABLE bit_player_slides
189
- ADD CONSTRAINT fk_slides_slideshows
190
- FOREIGN KEY (bit_player_slideshow_id)
191
- REFERENCES bit_player_slideshows(id)
192
-
193
-  (2.5ms)  ALTER TABLE bit_player_slides
194
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
195
- DEFERRABLE INITIALLY IMMEDIATE
196
- 
197
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
198
-  (0.8ms) COMMIT
199
- Migrating to CreateBitPlayerTools (20140402224913)
200
-  (0.5ms) BEGIN
201
-  (4.4ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
202
-  (1.8ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
203
-  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
204
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
205
-  (0.6ms) COMMIT
206
- Migrating to AddConfigFieldsToProviders (20140619200219)
207
-  (0.5ms) BEGIN
208
-  (0.6ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "template_path" character varying(255)
209
-  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_class_name" character varying(255)
210
-  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "data_attributes" text
211
-  (0.7ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "show_next_nav" boolean
212
-  (0.4ms) ALTER TABLE "bit_player_content_providers" ADD COLUMN "locals" text
213
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140619200219"]]
214
-  (0.4ms) COMMIT
215
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
216
-  (0.2ms) BEGIN
217
- BitPlayer::Slideshow Load (0.5ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
218
- BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
219
-  (1.1ms)  ALTER TABLE bit_player_slides
220
- DROP CONSTRAINT fk_slides_slideshows
221
- 
222
-  (0.6ms) ALTER TABLE bit_player_slides
223
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
224
-
225
-  (2.5ms) DROP TABLE "bit_player_slides"
226
-  (1.6ms) DROP TABLE "bit_player_slideshows"
227
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
228
-  (2.4ms) COMMIT
229
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
230
-  (0.2ms) BEGIN
231
-  (0.3ms) ROLLBACK
232
-  (0.2ms) BEGIN
233
- BitCore::ContentModule Load (0.6ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
234
- PG::UndefinedTable: ERROR: relation "bit_core_content_modules" does not exist
235
- LINE 1: SELECT "bit_core_content_modules".* FROM "bit_core_content_...
236
- ^
237
- : SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
238
-  (0.3ms) ROLLBACK
239
-  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
240
-  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
241
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
242
- Migrating to CreateBitPlayerContentModules (20140305200438)
243
-  (0.2ms) BEGIN
244
-  (6.3ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
245
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
246
-  (0.6ms) COMMIT
247
- Migrating to CreateBitPlayerContentProviders (20140305201300)
248
-  (0.3ms) BEGIN
249
-  (5.2ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
250
-  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
251
-  (3.3ms)  ALTER TABLE bit_player_content_providers
252
- ADD CONSTRAINT fk_content_providers_modules
253
- FOREIGN KEY (bit_player_content_module_id)
254
- REFERENCES bit_player_content_modules(id)
255
- 
256
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
257
-  (0.8ms) COMMIT
258
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
259
-  (0.4ms) BEGIN
260
-  (4.2ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
261
-  (1.5ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
262
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
263
-  (0.5ms) COMMIT
264
- Migrating to CreateBitPlayerSlideshows (20140305232706)
265
-  (0.4ms) BEGIN
266
-  (4.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
267
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
268
-  (0.5ms) COMMIT
269
- Migrating to CreateBitPlayerSlides (20140305234327)
270
-  (0.6ms) BEGIN
271
-  (8.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
272
-  (1.8ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
273
-  (2.6ms) ALTER TABLE bit_player_slides
274
- ADD CONSTRAINT fk_slides_slideshows
275
- FOREIGN KEY (bit_player_slideshow_id)
276
- REFERENCES bit_player_slideshows(id)
277
-
278
-  (2.1ms)  ALTER TABLE bit_player_slides
279
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
280
- DEFERRABLE INITIALLY IMMEDIATE
281
- 
282
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
283
-  (0.7ms) COMMIT
284
- Migrating to CreateBitPlayerTools (20140402224913)
285
-  (0.5ms) BEGIN
286
-  (3.6ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
287
-  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
288
-  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
289
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
290
-  (0.6ms) COMMIT
291
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
292
-  (0.5ms) BEGIN
293
- BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
294
- BitPlayer::Slide Load (0.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
295
-  (1.2ms)  ALTER TABLE bit_player_slides
296
- DROP CONSTRAINT fk_slides_slideshows
297
- 
298
-  (0.7ms) ALTER TABLE bit_player_slides
299
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
300
-
301
-  (2.2ms) DROP TABLE "bit_player_slides"
302
-  (1.2ms) DROP TABLE "bit_player_slideshows"
303
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
304
-  (1.9ms) COMMIT
305
- Migrating to CreateBitCoreTools (20140620205608)
306
-  (0.3ms) BEGIN
307
-  (3.7ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
308
-  (1.4ms)  ALTER TABLE bit_core_tools
309
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
310
- DEFERRABLE INITIALLY IMMEDIATE
311
- 
312
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205608"]]
313
-  (0.5ms) COMMIT
314
- Migrating to CreateBitCoreContentModules (20140620205609)
315
-  (0.4ms) BEGIN
316
-  (4.9ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
317
-  (2.7ms) ALTER TABLE bit_core_content_modules
318
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
319
- DEFERRABLE INITIALLY IMMEDIATE
320
-
321
-  (2.5ms)  ALTER TABLE bit_core_content_modules
322
- ADD CONSTRAINT fk_content_modules_tools
323
- FOREIGN KEY (bit_core_tool_id)
324
- REFERENCES bit_core_tools(id)
325
- 
326
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205609"]]
327
-  (0.7ms) COMMIT
328
- Migrating to CreateBitCoreContentProviders (20140620205610)
329
-  (0.6ms) BEGIN
330
-  (7.5ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
331
-  (1.7ms) ALTER TABLE bit_core_content_providers
332
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
333
- DEFERRABLE INITIALLY IMMEDIATE
334
-
335
-  (2.1ms)  ALTER TABLE bit_core_content_providers
336
- ADD CONSTRAINT fk_content_providers_modules
337
- FOREIGN KEY (bit_core_content_module_id)
338
- REFERENCES bit_core_content_modules(id)
339
- 
340
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205610"]]
341
-  (0.6ms) COMMIT
342
- Migrating to CreateBitCoreSlideshows (20140620205611)
343
-  (0.5ms) BEGIN
344
-  (4.1ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
345
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205611"]]
346
-  (0.5ms) COMMIT
347
- Migrating to CreateBitCoreSlides (20140620205612)
348
-  (0.4ms) BEGIN
349
-  (6.0ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
350
-  (1.5ms) ALTER TABLE bit_core_slides
351
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
352
- DEFERRABLE INITIALLY IMMEDIATE
353
-
354
-  (2.2ms)  ALTER TABLE bit_core_slides
355
- ADD CONSTRAINT fk_slideshows_slides
356
- FOREIGN KEY (bit_core_slideshow_id)
357
- REFERENCES bit_core_slideshows(id)
358
- 
359
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205612"]]
360
-  (0.7ms) COMMIT
361
- Migrating to AddOptionsToSlides (20140620205613)
362
-  (0.7ms) BEGIN
363
-  (0.8ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
364
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205613"]]
365
-  (0.4ms) COMMIT
366
- Migrating to AddConfigFieldsToProviders (20140620205614)
367
-  (0.2ms) BEGIN
368
-  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
369
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
370
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
371
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
372
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
373
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205614"]]
374
-  (0.5ms) COMMIT
375
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
376
-  (0.2ms) BEGIN
377
- BitCore::ContentModule Load (0.7ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
378
- PG::UndefinedColumn: ERROR: column bit_core_content_modules.bit_player_tool_id does not exist
379
- LINE 1: ...modules".* FROM "bit_core_content_modules" WHERE "bit_core_...
380
- ^
381
- : SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_player_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
382
-  (0.2ms) ROLLBACK
383
-  (0.1ms) BEGIN
384
-  (0.2ms) ROLLBACK
385
-  (4.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
386
-  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
387
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
388
- Migrating to CreateBitPlayerContentModules (20140305200438)
389
-  (0.2ms) BEGIN
390
-  (6.2ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
391
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
392
-  (0.5ms) COMMIT
393
- Migrating to CreateBitPlayerContentProviders (20140305201300)
394
-  (0.4ms) BEGIN
395
-  (5.2ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
396
-  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
397
-  (3.3ms)  ALTER TABLE bit_player_content_providers
398
- ADD CONSTRAINT fk_content_providers_modules
399
- FOREIGN KEY (bit_player_content_module_id)
400
- REFERENCES bit_player_content_modules(id)
401
- 
402
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
403
-  (0.9ms) COMMIT
404
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
405
-  (0.5ms) BEGIN
406
-  (4.8ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
407
-  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
408
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
409
-  (0.5ms) COMMIT
410
- Migrating to CreateBitPlayerSlideshows (20140305232706)
411
-  (0.4ms) BEGIN
412
-  (4.3ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
413
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
414
-  (0.4ms) COMMIT
415
- Migrating to CreateBitPlayerSlides (20140305234327)
416
-  (0.4ms) BEGIN
417
-  (6.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
418
-  (1.6ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
419
-  (2.7ms) ALTER TABLE bit_player_slides
420
- ADD CONSTRAINT fk_slides_slideshows
421
- FOREIGN KEY (bit_player_slideshow_id)
422
- REFERENCES bit_player_slideshows(id)
423
-
424
-  (2.4ms)  ALTER TABLE bit_player_slides
425
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
426
- DEFERRABLE INITIALLY IMMEDIATE
427
- 
428
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
429
-  (0.6ms) COMMIT
430
- Migrating to CreateBitPlayerTools (20140402224913)
431
-  (0.4ms) BEGIN
432
-  (5.0ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
433
-  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
434
-  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
435
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
436
-  (0.5ms) COMMIT
437
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
438
-  (0.5ms) BEGIN
439
- BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
440
- BitPlayer::Slide Load (0.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
441
-  (1.1ms)  ALTER TABLE bit_player_slides
442
- DROP CONSTRAINT fk_slides_slideshows
443
- 
444
-  (0.6ms) ALTER TABLE bit_player_slides
445
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
446
-
447
-  (2.1ms) DROP TABLE "bit_player_slides"
448
-  (1.2ms) DROP TABLE "bit_player_slideshows"
449
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
450
-  (2.4ms) COMMIT
451
- Migrating to CreateBitCoreTools (20140620205608)
452
-  (0.3ms) BEGIN
453
-  (4.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
454
-  (2.4ms)  ALTER TABLE bit_core_tools
455
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
456
- DEFERRABLE INITIALLY IMMEDIATE
457
- 
458
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205608"]]
459
-  (0.8ms) COMMIT
460
- Migrating to CreateBitCoreContentModules (20140620205609)
461
-  (0.7ms) BEGIN
462
-  (4.9ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
463
-  (2.6ms) ALTER TABLE bit_core_content_modules
464
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
465
- DEFERRABLE INITIALLY IMMEDIATE
466
-
467
-  (2.9ms)  ALTER TABLE bit_core_content_modules
468
- ADD CONSTRAINT fk_content_modules_tools
469
- FOREIGN KEY (bit_core_tool_id)
470
- REFERENCES bit_core_tools(id)
471
- 
472
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205609"]]
473
-  (0.6ms) COMMIT
474
- Migrating to CreateBitCoreContentProviders (20140620205610)
475
-  (0.5ms) BEGIN
476
-  (5.0ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
477
-  (1.8ms) ALTER TABLE bit_core_content_providers
478
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
479
- DEFERRABLE INITIALLY IMMEDIATE
480
-
481
-  (2.2ms)  ALTER TABLE bit_core_content_providers
482
- ADD CONSTRAINT fk_content_providers_modules
483
- FOREIGN KEY (bit_core_content_module_id)
484
- REFERENCES bit_core_content_modules(id)
485
- 
486
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205610"]]
487
-  (0.8ms) COMMIT
488
- Migrating to CreateBitCoreSlideshows (20140620205611)
489
-  (0.5ms) BEGIN
490
-  (3.9ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
491
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205611"]]
492
-  (0.6ms) COMMIT
493
- Migrating to CreateBitCoreSlides (20140620205612)
494
-  (0.4ms) BEGIN
495
-  (8.5ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
496
-  (2.0ms) ALTER TABLE bit_core_slides
497
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
498
- DEFERRABLE INITIALLY IMMEDIATE
499
-
500
-  (2.7ms)  ALTER TABLE bit_core_slides
501
- ADD CONSTRAINT fk_slideshows_slides
502
- FOREIGN KEY (bit_core_slideshow_id)
503
- REFERENCES bit_core_slideshows(id)
504
- 
505
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205612"]]
506
-  (0.6ms) COMMIT
507
- Migrating to AddOptionsToSlides (20140620205613)
508
-  (0.5ms) BEGIN
509
-  (0.7ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
510
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205613"]]
511
-  (0.4ms) COMMIT
512
- Migrating to AddConfigFieldsToProviders (20140620205614)
513
-  (0.2ms) BEGIN
514
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
515
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
516
-  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
517
-  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
518
-  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
519
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205614"]]
520
-  (0.4ms) COMMIT
521
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
522
-  (0.2ms) BEGIN
523
-  (0.2ms) ROLLBACK
524
-  (0.1ms) BEGIN
525
-  (0.2ms) ROLLBACK
526
-  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
527
-  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
528
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
529
- Migrating to CreateBitPlayerContentModules (20140305200438)
530
-  (0.2ms) BEGIN
531
-  (6.4ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
532
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
533
-  (0.5ms) COMMIT
534
- Migrating to CreateBitPlayerContentProviders (20140305201300)
535
-  (0.3ms) BEGIN
536
-  (5.3ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
537
-  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
538
-  (3.4ms)  ALTER TABLE bit_player_content_providers
539
- ADD CONSTRAINT fk_content_providers_modules
540
- FOREIGN KEY (bit_player_content_module_id)
541
- REFERENCES bit_player_content_modules(id)
542
- 
543
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
544
-  (0.9ms) COMMIT
545
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
546
-  (0.5ms) BEGIN
547
-  (4.1ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
548
-  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
549
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
550
-  (0.5ms) COMMIT
551
- Migrating to CreateBitPlayerSlideshows (20140305232706)
552
-  (0.4ms) BEGIN
553
-  (5.6ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
554
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
555
-  (0.8ms) COMMIT
556
- Migrating to CreateBitPlayerSlides (20140305234327)
557
-  (0.5ms) BEGIN
558
-  (8.1ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
559
-  (1.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
560
-  (2.8ms) ALTER TABLE bit_player_slides
561
- ADD CONSTRAINT fk_slides_slideshows
562
- FOREIGN KEY (bit_player_slideshow_id)
563
- REFERENCES bit_player_slideshows(id)
564
-
565
-  (1.9ms)  ALTER TABLE bit_player_slides
566
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
567
- DEFERRABLE INITIALLY IMMEDIATE
568
- 
569
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
570
-  (0.6ms) COMMIT
571
- Migrating to CreateBitPlayerTools (20140402224913)
572
-  (0.4ms) BEGIN
573
-  (3.8ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
574
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
575
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
576
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
577
-  (0.5ms) COMMIT
578
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
579
-  (0.4ms) BEGIN
580
- BitPlayer::Slideshow Load (0.5ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
581
- BitPlayer::Slide Load (0.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
582
-  (1.7ms)  ALTER TABLE bit_player_slides
583
- DROP CONSTRAINT fk_slides_slideshows
584
- 
585
-  (0.7ms) ALTER TABLE bit_player_slides
586
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
587
-
588
-  (2.2ms) DROP TABLE "bit_player_slides"
589
-  (1.2ms) DROP TABLE "bit_player_slideshows"
590
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
591
-  (2.6ms) COMMIT
592
- Migrating to CreateBitCoreTools (20140620205608)
593
-  (0.3ms) BEGIN
594
-  (4.5ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
595
-  (1.4ms)  ALTER TABLE bit_core_tools
596
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
597
- DEFERRABLE INITIALLY IMMEDIATE
598
- 
599
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205608"]]
600
-  (0.5ms) COMMIT
601
- Migrating to CreateBitCoreContentModules (20140620205609)
602
-  (0.3ms) BEGIN
603
-  (3.6ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
604
-  (1.7ms) ALTER TABLE bit_core_content_modules
605
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
606
- DEFERRABLE INITIALLY IMMEDIATE
607
-
608
-  (2.0ms)  ALTER TABLE bit_core_content_modules
609
- ADD CONSTRAINT fk_content_modules_tools
610
- FOREIGN KEY (bit_core_tool_id)
611
- REFERENCES bit_core_tools(id)
612
- 
613
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205609"]]
614
-  (0.9ms) COMMIT
615
- Migrating to CreateBitCoreContentProviders (20140620205610)
616
-  (0.9ms) BEGIN
617
-  (7.5ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
618
-  (2.7ms) ALTER TABLE bit_core_content_providers
619
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
620
- DEFERRABLE INITIALLY IMMEDIATE
621
-
622
-  (3.3ms)  ALTER TABLE bit_core_content_providers
623
- ADD CONSTRAINT fk_content_providers_modules
624
- FOREIGN KEY (bit_core_content_module_id)
625
- REFERENCES bit_core_content_modules(id)
626
- 
627
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205610"]]
628
-  (0.7ms) COMMIT
629
- Migrating to CreateBitCoreSlideshows (20140620205611)
630
-  (0.5ms) BEGIN
631
-  (4.9ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
632
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205611"]]
633
-  (0.5ms) COMMIT
634
- Migrating to CreateBitCoreSlides (20140620205612)
635
-  (0.4ms) BEGIN
636
-  (5.9ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
637
-  (1.8ms) ALTER TABLE bit_core_slides
638
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
639
- DEFERRABLE INITIALLY IMMEDIATE
640
-
641
-  (2.1ms)  ALTER TABLE bit_core_slides
642
- ADD CONSTRAINT fk_slideshows_slides
643
- FOREIGN KEY (bit_core_slideshow_id)
644
- REFERENCES bit_core_slideshows(id)
645
- 
646
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205612"]]
647
-  (0.6ms) COMMIT
648
- Migrating to AddOptionsToSlides (20140620205613)
649
-  (0.4ms) BEGIN
650
-  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
651
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205613"]]
652
-  (0.6ms) COMMIT
653
- Migrating to AddConfigFieldsToProviders (20140620205614)
654
-  (0.3ms) BEGIN
655
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
656
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
657
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
658
-  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
659
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
660
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205614"]]
661
-  (0.4ms) COMMIT
662
- ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
663
-  (0.2ms) BEGIN
664
-  (0.3ms) ROLLBACK
665
-  (0.2ms) BEGIN
666
-  (0.3ms) ROLLBACK
667
-  (4.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
668
-  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
669
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
670
- Migrating to CreateBitPlayerContentModules (20140305200438)
671
-  (0.2ms) BEGIN
672
-  (6.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
673
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
674
-  (0.6ms) COMMIT
675
- Migrating to CreateBitPlayerContentProviders (20140305201300)
676
-  (0.4ms) BEGIN
677
-  (5.4ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
678
-  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
679
-  (4.0ms)  ALTER TABLE bit_player_content_providers
680
- ADD CONSTRAINT fk_content_providers_modules
681
- FOREIGN KEY (bit_player_content_module_id)
682
- REFERENCES bit_player_content_modules(id)
683
- 
684
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
685
-  (0.9ms) COMMIT
686
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
687
-  (0.5ms) BEGIN
688
-  (4.2ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
689
-  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
690
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
691
-  (0.6ms) COMMIT
692
- Migrating to CreateBitPlayerSlideshows (20140305232706)
693
-  (0.3ms) BEGIN
694
-  (4.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
695
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
696
-  (0.5ms) COMMIT
697
- Migrating to CreateBitPlayerSlides (20140305234327)
698
-  (0.8ms) BEGIN
699
-  (8.6ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
700
-  (2.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
701
-  (3.3ms) ALTER TABLE bit_player_slides
702
- ADD CONSTRAINT fk_slides_slideshows
703
- FOREIGN KEY (bit_player_slideshow_id)
704
- REFERENCES bit_player_slideshows(id)
705
-
706
-  (2.5ms)  ALTER TABLE bit_player_slides
707
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
708
- DEFERRABLE INITIALLY IMMEDIATE
709
- 
710
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
711
-  (1.0ms) COMMIT
712
- Migrating to CreateBitPlayerTools (20140402224913)
713
-  (0.8ms) BEGIN
714
-  (4.9ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
715
-  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
716
-  (1.8ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
717
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
718
-  (0.5ms) COMMIT
719
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
720
-  (0.4ms) BEGIN
721
- BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
722
- BitPlayer::Slide Load (1.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
723
-  (2.9ms)  ALTER TABLE bit_player_slides
724
- DROP CONSTRAINT fk_slides_slideshows
725
- 
726
-  (1.4ms) ALTER TABLE bit_player_slides
727
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
728
-
729
-  (2.8ms) DROP TABLE "bit_player_slides"
730
-  (2.2ms) DROP TABLE "bit_player_slideshows"
731
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
732
-  (2.2ms) COMMIT
733
- Migrating to CreateBitCoreTools (20140620205608)
734
-  (0.4ms) BEGIN
735
-  (5.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
736
-  (1.4ms)  ALTER TABLE bit_core_tools
737
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
738
- DEFERRABLE INITIALLY IMMEDIATE
739
- 
740
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205608"]]
741
-  (0.5ms) COMMIT
742
- Migrating to CreateBitCoreContentModules (20140620205609)
743
-  (0.3ms) BEGIN
744
-  (4.2ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
745
-  (1.9ms) ALTER TABLE bit_core_content_modules
746
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
747
- DEFERRABLE INITIALLY IMMEDIATE
748
-
749
-  (2.3ms)  ALTER TABLE bit_core_content_modules
750
- ADD CONSTRAINT fk_content_modules_tools
751
- FOREIGN KEY (bit_core_tool_id)
752
- REFERENCES bit_core_tools(id)
753
- 
754
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205609"]]
755
-  (0.6ms) COMMIT
756
- Migrating to CreateBitCoreContentProviders (20140620205610)
757
-  (0.5ms) BEGIN
758
-  (8.8ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
759
-  (2.6ms) ALTER TABLE bit_core_content_providers
760
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
761
- DEFERRABLE INITIALLY IMMEDIATE
762
-
763
-  (3.7ms)  ALTER TABLE bit_core_content_providers
764
- ADD CONSTRAINT fk_content_providers_modules
765
- FOREIGN KEY (bit_core_content_module_id)
766
- REFERENCES bit_core_content_modules(id)
767
- 
768
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205610"]]
769
-  (0.6ms) COMMIT
770
- Migrating to CreateBitCoreSlideshows (20140620205611)
771
-  (0.6ms) BEGIN
772
-  (4.4ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
773
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205611"]]
774
-  (0.5ms) COMMIT
775
- Migrating to CreateBitCoreSlides (20140620205612)
776
-  (0.3ms) BEGIN
777
-  (5.3ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
778
-  (1.6ms) ALTER TABLE bit_core_slides
779
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
780
- DEFERRABLE INITIALLY IMMEDIATE
781
-
782
-  (2.4ms)  ALTER TABLE bit_core_slides
783
- ADD CONSTRAINT fk_slideshows_slides
784
- FOREIGN KEY (bit_core_slideshow_id)
785
- REFERENCES bit_core_slideshows(id)
786
- 
787
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205612"]]
788
-  (0.6ms) COMMIT
789
- Migrating to AddOptionsToSlides (20140620205613)
790
-  (0.4ms) BEGIN
791
-  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
792
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205613"]]
793
-  (0.4ms) COMMIT
794
- Migrating to AddConfigFieldsToProviders (20140620205614)
795
-  (0.2ms) BEGIN
796
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
797
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
798
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
799
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
800
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
801
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620205614"]]
802
-  (0.5ms) COMMIT
803
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
804
-  (0.2ms) BEGIN
805
-  (0.2ms) ROLLBACK
806
-  (0.1ms) BEGIN
807
- BitCore::ContentModule Load (1.8ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
808
-  (0.5ms) ROLLBACK
809
-  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
810
-  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
811
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
812
- Migrating to CreateBitPlayerContentModules (20140305200438)
813
-  (0.2ms) BEGIN
814
-  (6.4ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
815
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
816
-  (0.5ms) COMMIT
817
- Migrating to CreateBitPlayerContentProviders (20140305201300)
818
-  (0.4ms) BEGIN
819
-  (5.4ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
820
-  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
821
-  (3.6ms)  ALTER TABLE bit_player_content_providers
822
- ADD CONSTRAINT fk_content_providers_modules
823
- FOREIGN KEY (bit_player_content_module_id)
824
- REFERENCES bit_player_content_modules(id)
825
- 
826
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
827
-  (0.9ms) COMMIT
828
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
829
-  (0.5ms) BEGIN
830
-  (4.2ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
831
-  (1.6ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
832
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
833
-  (0.6ms) COMMIT
834
- Migrating to CreateBitPlayerSlideshows (20140305232706)
835
-  (0.4ms) BEGIN
836
-  (3.7ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
837
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
838
-  (0.5ms) COMMIT
839
- Migrating to CreateBitPlayerSlides (20140305234327)
840
-  (0.3ms) BEGIN
841
-  (7.4ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
842
-  (1.6ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
843
-  (3.4ms) ALTER TABLE bit_player_slides
844
- ADD CONSTRAINT fk_slides_slideshows
845
- FOREIGN KEY (bit_player_slideshow_id)
846
- REFERENCES bit_player_slideshows(id)
847
-
848
-  (15.3ms)  ALTER TABLE bit_player_slides
849
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
850
- DEFERRABLE INITIALLY IMMEDIATE
851
- 
852
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
853
-  (4.7ms) COMMIT
854
- Migrating to CreateBitPlayerTools (20140402224913)
855
-  (0.5ms) BEGIN
856
-  (6.8ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
857
-  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
858
-  (1.9ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
859
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
860
-  (0.5ms) COMMIT
861
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
862
-  (0.4ms) BEGIN
863
- BitPlayer::Slideshow Load (0.9ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
864
- BitPlayer::Slide Load (1.1ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
865
-  (1.5ms)  ALTER TABLE bit_player_slides
866
- DROP CONSTRAINT fk_slides_slideshows
867
- 
868
-  (1.0ms) ALTER TABLE bit_player_slides
869
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
870
-
871
-  (2.5ms) DROP TABLE "bit_player_slides"
872
-  (1.6ms) DROP TABLE "bit_player_slideshows"
873
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
874
-  (2.3ms) COMMIT
875
- Migrating to CreateBitCoreTools (20140620222614)
876
-  (0.5ms) BEGIN
877
-  (6.0ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
878
-  (1.9ms)  ALTER TABLE bit_core_tools
879
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
880
- DEFERRABLE INITIALLY IMMEDIATE
881
- 
882
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
883
-  (0.6ms) COMMIT
884
- Migrating to CreateBitCoreContentModules (20140620222615)
885
-  (0.6ms) BEGIN
886
-  (4.5ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
887
-  (2.2ms) ALTER TABLE bit_core_content_modules
888
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
889
- DEFERRABLE INITIALLY IMMEDIATE
890
-
891
-  (2.8ms)  ALTER TABLE bit_core_content_modules
892
- ADD CONSTRAINT fk_content_modules_tools
893
- FOREIGN KEY (bit_core_tool_id)
894
- REFERENCES bit_core_tools(id)
895
- 
896
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
897
-  (0.8ms) COMMIT
898
- Migrating to CreateBitCoreContentProviders (20140620222616)
899
-  (0.5ms) BEGIN
900
-  (7.5ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
901
-  (2.8ms) ALTER TABLE bit_core_content_providers
902
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
903
- DEFERRABLE INITIALLY IMMEDIATE
904
-
905
-  (3.5ms)  ALTER TABLE bit_core_content_providers
906
- ADD CONSTRAINT fk_content_providers_modules
907
- FOREIGN KEY (bit_core_content_module_id)
908
- REFERENCES bit_core_content_modules(id)
909
- 
910
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
911
-  (0.8ms) COMMIT
912
- Migrating to CreateBitCoreSlideshows (20140620222617)
913
-  (0.6ms) BEGIN
914
-  (4.8ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
915
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
916
-  (0.5ms) COMMIT
917
- Migrating to CreateBitCoreSlides (20140620222618)
918
-  (0.5ms) BEGIN
919
-  (8.2ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
920
-  (2.0ms) ALTER TABLE bit_core_slides
921
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
922
- DEFERRABLE INITIALLY IMMEDIATE
923
-
924
-  (2.9ms)  ALTER TABLE bit_core_slides
925
- ADD CONSTRAINT fk_slideshows_slides
926
- FOREIGN KEY (bit_core_slideshow_id)
927
- REFERENCES bit_core_slideshows(id)
928
- 
929
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
930
-  (0.6ms) COMMIT
931
- Migrating to AddOptionsToSlides (20140620222619)
932
-  (0.4ms) BEGIN
933
-  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
934
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
935
-  (0.4ms) COMMIT
936
- Migrating to AddConfigFieldsToProviders (20140620222620)
937
-  (0.2ms) BEGIN
938
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
939
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
940
-  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
941
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
942
-  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
943
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
944
-  (0.4ms) COMMIT
945
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
946
-  (0.2ms) BEGIN
947
- BitCore::ContentModule Load (1.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
948
-  (0.4ms) ROLLBACK
949
-  (0.1ms) BEGIN
950
-  (0.3ms) ROLLBACK
951
-  (12.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
952
-  (18.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
953
- ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
954
- Migrating to CreateBitPlayerContentModules (20140305200438)
955
-  (0.2ms) BEGIN
956
-  (7.4ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
957
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
958
-  (0.5ms) COMMIT
959
- Migrating to CreateBitPlayerContentProviders (20140305201300)
960
-  (0.3ms) BEGIN
961
-  (5.4ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
962
-  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
963
-  (3.8ms)  ALTER TABLE bit_player_content_providers
964
- ADD CONSTRAINT fk_content_providers_modules
965
- FOREIGN KEY (bit_player_content_module_id)
966
- REFERENCES bit_player_content_modules(id)
967
- 
968
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
969
-  (0.9ms) COMMIT
970
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
971
-  (0.4ms) BEGIN
972
-  (4.2ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
973
-  (1.8ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
974
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
975
-  (0.6ms) COMMIT
976
- Migrating to CreateBitPlayerSlideshows (20140305232706)
977
-  (0.4ms) BEGIN
978
-  (3.7ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
979
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
980
-  (0.8ms) COMMIT
981
- Migrating to CreateBitPlayerSlides (20140305234327)
982
-  (0.8ms) BEGIN
983
-  (7.4ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
984
-  (2.1ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
985
-  (2.8ms) ALTER TABLE bit_player_slides
986
- ADD CONSTRAINT fk_slides_slideshows
987
- FOREIGN KEY (bit_player_slideshow_id)
988
- REFERENCES bit_player_slideshows(id)
989
-
990
-  (2.1ms)  ALTER TABLE bit_player_slides
991
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
992
- DEFERRABLE INITIALLY IMMEDIATE
993
- 
994
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
995
-  (0.7ms) COMMIT
996
- Migrating to CreateBitPlayerTools (20140402224913)
997
-  (0.5ms) BEGIN
998
-  (5.1ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
999
-  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
1000
-  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
1001
- SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
1002
-  (0.7ms) COMMIT
1003
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
1004
-  (0.6ms) BEGIN
1005
- BitPlayer::Slideshow Load (0.8ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
1006
- BitPlayer::Slide Load (1.2ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
1007
-  (1.4ms)  ALTER TABLE bit_player_slides
1008
- DROP CONSTRAINT fk_slides_slideshows
1009
- 
1010
-  (0.8ms) ALTER TABLE bit_player_slides
1011
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
1012
-
1013
-  (2.5ms) DROP TABLE "bit_player_slides"
1014
-  (2.1ms) DROP TABLE "bit_player_slideshows"
1015
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
1016
-  (1.9ms) COMMIT
1017
- Migrating to CreateBitCoreTools (20140620222614)
1018
-  (0.3ms) BEGIN
1019
-  (6.4ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1020
-  (1.9ms)  ALTER TABLE bit_core_tools
1021
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
1022
- DEFERRABLE INITIALLY IMMEDIATE
1023
- 
1024
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
1025
-  (0.6ms) COMMIT
1026
- Migrating to CreateBitCoreContentModules (20140620222615)
1027
-  (0.6ms) BEGIN
1028
-  (4.9ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1029
-  (2.3ms) ALTER TABLE bit_core_content_modules
1030
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
1031
- DEFERRABLE INITIALLY IMMEDIATE
1032
-
1033
-  (2.9ms)  ALTER TABLE bit_core_content_modules
1034
- ADD CONSTRAINT fk_content_modules_tools
1035
- FOREIGN KEY (bit_core_tool_id)
1036
- REFERENCES bit_core_tools(id)
1037
- 
1038
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
1039
-  (0.7ms) COMMIT
1040
- Migrating to CreateBitCoreContentProviders (20140620222616)
1041
-  (0.6ms) BEGIN
1042
-  (5.5ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1043
-  (1.7ms) ALTER TABLE bit_core_content_providers
1044
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
1045
- DEFERRABLE INITIALLY IMMEDIATE
1046
-
1047
-  (2.2ms)  ALTER TABLE bit_core_content_providers
1048
- ADD CONSTRAINT fk_content_providers_modules
1049
- FOREIGN KEY (bit_core_content_module_id)
1050
- REFERENCES bit_core_content_modules(id)
1051
- 
1052
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
1053
-  (0.8ms) COMMIT
1054
- Migrating to CreateBitCoreSlideshows (20140620222617)
1055
-  (1.0ms) BEGIN
1056
-  (5.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1057
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
1058
-  (0.5ms) COMMIT
1059
- Migrating to CreateBitCoreSlides (20140620222618)
1060
-  (0.4ms) BEGIN
1061
-  (4.9ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1062
-  (1.5ms) ALTER TABLE bit_core_slides
1063
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
1064
- DEFERRABLE INITIALLY IMMEDIATE
1065
-
1066
-  (1.9ms)  ALTER TABLE bit_core_slides
1067
- ADD CONSTRAINT fk_slideshows_slides
1068
- FOREIGN KEY (bit_core_slideshow_id)
1069
- REFERENCES bit_core_slideshows(id)
1070
- 
1071
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
1072
-  (0.8ms) COMMIT
1073
- Migrating to AddOptionsToSlides (20140620222619)
1074
-  (0.6ms) BEGIN
1075
-  (0.8ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
1076
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
1077
-  (0.4ms) COMMIT
1078
- Migrating to AddConfigFieldsToProviders (20140620222620)
1079
-  (0.2ms) BEGIN
1080
-  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
1081
-  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
1082
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
1083
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
1084
-  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
1085
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
1086
-  (0.6ms) COMMIT
1087
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
1088
-  (0.4ms) BEGIN
1089
- BitPlayer::Tool Load (1.1ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
1090
- BitPlayer::ContentModule Load (0.9ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
1091
-  (0.4ms) ROLLBACK
1092
-  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
1093
-  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1094
- ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1095
- Migrating to CreateBitPlayerContentModules (20140305200438)
1096
-  (0.3ms) BEGIN
1097
-  (6.4ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1098
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
1099
-  (0.5ms) COMMIT
1100
- Migrating to CreateBitPlayerContentProviders (20140305201300)
1101
-  (0.4ms) BEGIN
1102
-  (5.3ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1103
-  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
1104
-  (3.1ms)  ALTER TABLE bit_player_content_providers
1105
- ADD CONSTRAINT fk_content_providers_modules
1106
- FOREIGN KEY (bit_player_content_module_id)
1107
- REFERENCES bit_player_content_modules(id)
1108
- 
1109
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
1110
-  (0.8ms) COMMIT
1111
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
1112
-  (0.4ms) BEGIN
1113
-  (4.1ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1114
-  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
1115
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
1116
-  (0.6ms) COMMIT
1117
- Migrating to CreateBitPlayerSlideshows (20140305232706)
1118
-  (0.4ms) BEGIN
1119
-  (4.1ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1120
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
1121
-  (0.6ms) COMMIT
1122
- Migrating to CreateBitPlayerSlides (20140305234327)
1123
-  (0.4ms) BEGIN
1124
-  (8.5ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1125
-  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
1126
-  (2.9ms) ALTER TABLE bit_player_slides
1127
- ADD CONSTRAINT fk_slides_slideshows
1128
- FOREIGN KEY (bit_player_slideshow_id)
1129
- REFERENCES bit_player_slideshows(id)
1130
-
1131
-  (2.9ms)  ALTER TABLE bit_player_slides
1132
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
1133
- DEFERRABLE INITIALLY IMMEDIATE
1134
- 
1135
- SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
1136
-  (1.0ms) COMMIT
1137
- Migrating to CreateBitPlayerTools (20140402224913)
1138
-  (0.8ms) BEGIN
1139
-  (5.7ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1140
-  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
1141
-  (1.3ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
1142
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
1143
-  (0.5ms) COMMIT
1144
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
1145
-  (0.4ms) BEGIN
1146
- BitPlayer::Slideshow Load (0.5ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
1147
- BitPlayer::Slide Load (0.6ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
1148
-  (1.1ms)  ALTER TABLE bit_player_slides
1149
- DROP CONSTRAINT fk_slides_slideshows
1150
- 
1151
-  (0.7ms) ALTER TABLE bit_player_slides
1152
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
1153
-
1154
-  (2.8ms) DROP TABLE "bit_player_slides"
1155
-  (1.3ms) DROP TABLE "bit_player_slideshows"
1156
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
1157
-  (2.0ms) COMMIT
1158
- Migrating to CreateBitCoreTools (20140620222614)
1159
-  (0.4ms) BEGIN
1160
-  (4.3ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1161
-  (2.0ms)  ALTER TABLE bit_core_tools
1162
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
1163
- DEFERRABLE INITIALLY IMMEDIATE
1164
- 
1165
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
1166
-  (0.6ms) COMMIT
1167
- Migrating to CreateBitCoreContentModules (20140620222615)
1168
-  (0.4ms) BEGIN
1169
-  (3.9ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1170
-  (1.7ms) ALTER TABLE bit_core_content_modules
1171
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
1172
- DEFERRABLE INITIALLY IMMEDIATE
1173
-
1174
-  (1.9ms)  ALTER TABLE bit_core_content_modules
1175
- ADD CONSTRAINT fk_content_modules_tools
1176
- FOREIGN KEY (bit_core_tool_id)
1177
- REFERENCES bit_core_tools(id)
1178
- 
1179
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
1180
-  (0.8ms) COMMIT
1181
- Migrating to CreateBitCoreContentProviders (20140620222616)
1182
-  (0.8ms) BEGIN
1183
-  (6.5ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1184
-  (2.4ms) ALTER TABLE bit_core_content_providers
1185
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
1186
- DEFERRABLE INITIALLY IMMEDIATE
1187
-
1188
-  (3.1ms)  ALTER TABLE bit_core_content_providers
1189
- ADD CONSTRAINT fk_content_providers_modules
1190
- FOREIGN KEY (bit_core_content_module_id)
1191
- REFERENCES bit_core_content_modules(id)
1192
- 
1193
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
1194
-  (1.0ms) COMMIT
1195
- Migrating to CreateBitCoreSlideshows (20140620222617)
1196
-  (0.7ms) BEGIN
1197
-  (5.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1198
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
1199
-  (0.5ms) COMMIT
1200
- Migrating to CreateBitCoreSlides (20140620222618)
1201
-  (0.4ms) BEGIN
1202
-  (6.0ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1203
-  (1.8ms) ALTER TABLE bit_core_slides
1204
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
1205
- DEFERRABLE INITIALLY IMMEDIATE
1206
-
1207
-  (2.8ms)  ALTER TABLE bit_core_slides
1208
- ADD CONSTRAINT fk_slideshows_slides
1209
- FOREIGN KEY (bit_core_slideshow_id)
1210
- REFERENCES bit_core_slideshows(id)
1211
- 
1212
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
1213
-  (0.6ms) COMMIT
1214
- Migrating to AddOptionsToSlides (20140620222619)
1215
-  (0.5ms) BEGIN
1216
-  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
1217
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
1218
-  (0.5ms) COMMIT
1219
- Migrating to AddConfigFieldsToProviders (20140620222620)
1220
-  (0.2ms) BEGIN
1221
-  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
1222
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
1223
-  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
1224
-  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
1225
-  (0.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
1226
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
1227
-  (0.4ms) COMMIT
1228
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
1229
-  (0.2ms) BEGIN
1230
- BitPlayer::Tool Load (0.8ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
1231
- BitPlayer::ContentModule Load (0.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
1232
- BitPlayer::ContentProvider Load (0.5ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
1233
-  (0.6ms) ALTER TABLE bit_player_content_modules
1234
- DROP CONSTRAINT fk_content_modules_tools
1235
-
1236
- PG::UndefinedObject: ERROR: constraint "fk_content_modules_tools" of relation "bit_player_content_modules" does not exist
1237
- : ALTER TABLE bit_player_content_modules
1238
- DROP CONSTRAINT fk_content_modules_tools
1239
-
1240
-  (0.2ms) ROLLBACK
1241
-  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
1242
-  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1243
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1244
- Migrating to CreateBitPlayerContentModules (20140305200438)
1245
-  (0.3ms) BEGIN
1246
-  (6.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1247
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
1248
-  (0.5ms) COMMIT
1249
- Migrating to CreateBitPlayerContentProviders (20140305201300)
1250
-  (0.3ms) BEGIN
1251
-  (5.5ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1252
-  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
1253
-  (3.9ms)  ALTER TABLE bit_player_content_providers
1254
- ADD CONSTRAINT fk_content_providers_modules
1255
- FOREIGN KEY (bit_player_content_module_id)
1256
- REFERENCES bit_player_content_modules(id)
1257
- 
1258
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
1259
-  (0.8ms) COMMIT
1260
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
1261
-  (0.5ms) BEGIN
1262
-  (7.6ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1263
-  (2.8ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
1264
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
1265
-  (6.4ms) COMMIT
1266
- Migrating to CreateBitPlayerSlideshows (20140305232706)
1267
-  (0.5ms) BEGIN
1268
-  (3.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1269
- SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
1270
-  (1.4ms) COMMIT
1271
- Migrating to CreateBitPlayerSlides (20140305234327)
1272
-  (1.1ms) BEGIN
1273
-  (12.8ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1274
-  (2.7ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
1275
-  (2.2ms) ALTER TABLE bit_player_slides
1276
- ADD CONSTRAINT fk_slides_slideshows
1277
- FOREIGN KEY (bit_player_slideshow_id)
1278
- REFERENCES bit_player_slideshows(id)
1279
-
1280
-  (1.8ms)  ALTER TABLE bit_player_slides
1281
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
1282
- DEFERRABLE INITIALLY IMMEDIATE
1283
- 
1284
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
1285
-  (0.6ms) COMMIT
1286
- Migrating to CreateBitPlayerTools (20140402224913)
1287
-  (0.5ms) BEGIN
1288
-  (4.1ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1289
-  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
1290
-  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
1291
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
1292
-  (0.6ms) COMMIT
1293
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
1294
-  (0.4ms) BEGIN
1295
- BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
1296
- BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
1297
-  (1.1ms)  ALTER TABLE bit_player_slides
1298
- DROP CONSTRAINT fk_slides_slideshows
1299
- 
1300
-  (0.6ms) ALTER TABLE bit_player_slides
1301
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
1302
-
1303
-  (1.9ms) DROP TABLE "bit_player_slides"
1304
-  (1.1ms) DROP TABLE "bit_player_slideshows"
1305
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
1306
-  (3.5ms) COMMIT
1307
- Migrating to CreateBitCoreTools (20140620222614)
1308
-  (0.8ms) BEGIN
1309
-  (7.8ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1310
-  (3.9ms)  ALTER TABLE bit_core_tools
1311
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
1312
- DEFERRABLE INITIALLY IMMEDIATE
1313
- 
1314
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
1315
-  (1.2ms) COMMIT
1316
- Migrating to CreateBitCoreContentModules (20140620222615)
1317
-  (1.2ms) BEGIN
1318
-  (4.8ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1319
-  (1.8ms) ALTER TABLE bit_core_content_modules
1320
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
1321
- DEFERRABLE INITIALLY IMMEDIATE
1322
-
1323
-  (2.5ms)  ALTER TABLE bit_core_content_modules
1324
- ADD CONSTRAINT fk_content_modules_tools
1325
- FOREIGN KEY (bit_core_tool_id)
1326
- REFERENCES bit_core_tools(id)
1327
- 
1328
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
1329
-  (0.7ms) COMMIT
1330
- Migrating to CreateBitCoreContentProviders (20140620222616)
1331
-  (0.5ms) BEGIN
1332
-  (10.9ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1333
-  (3.6ms) ALTER TABLE bit_core_content_providers
1334
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
1335
- DEFERRABLE INITIALLY IMMEDIATE
1336
-
1337
-  (4.5ms)  ALTER TABLE bit_core_content_providers
1338
- ADD CONSTRAINT fk_content_providers_modules
1339
- FOREIGN KEY (bit_core_content_module_id)
1340
- REFERENCES bit_core_content_modules(id)
1341
- 
1342
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
1343
-  (0.9ms) COMMIT
1344
- Migrating to CreateBitCoreSlideshows (20140620222617)
1345
-  (0.4ms) BEGIN
1346
-  (3.5ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1347
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
1348
-  (0.5ms) COMMIT
1349
- Migrating to CreateBitCoreSlides (20140620222618)
1350
-  (0.3ms) BEGIN
1351
-  (5.6ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1352
-  (1.5ms) ALTER TABLE bit_core_slides
1353
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
1354
- DEFERRABLE INITIALLY IMMEDIATE
1355
-
1356
-  (2.0ms)  ALTER TABLE bit_core_slides
1357
- ADD CONSTRAINT fk_slideshows_slides
1358
- FOREIGN KEY (bit_core_slideshow_id)
1359
- REFERENCES bit_core_slideshows(id)
1360
- 
1361
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
1362
-  (0.6ms) COMMIT
1363
- Migrating to AddOptionsToSlides (20140620222619)
1364
-  (0.3ms) BEGIN
1365
-  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
1366
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
1367
-  (0.4ms) COMMIT
1368
- Migrating to AddConfigFieldsToProviders (20140620222620)
1369
-  (0.2ms) BEGIN
1370
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
1371
-  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
1372
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
1373
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
1374
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
1375
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
1376
-  (0.5ms) COMMIT
1377
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
1378
-  (0.3ms) BEGIN
1379
- BitPlayer::Tool Load (1.1ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
1380
- BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
1381
- BitPlayer::ContentProvider Load (0.8ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
1382
-  (0.3ms) ALTER TABLE bit_player_content_modules
1383
- DROP CONSTRAINT IF EXISTS fk_content_modules_tools
1384
-
1385
-  (0.8ms)  ALTER TABLE bit_player_content_providers
1386
- DROP CONSTRAINT IF EXISTS fk_content_providers_modules
1387
- 
1388
-  (1.7ms) DROP TABLE "bit_player_tools"
1389
-  (2.0ms) DROP TABLE "bit_player_content_modules"
1390
-  (1.9ms) DROP TABLE "bit_player_content_providers"
1391
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
1392
-  (3.0ms) COMMIT
1393
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1394
-  (0.1ms) BEGIN
1395
- BitCore::ContentModule Load (1.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
1396
-  (0.4ms) ROLLBACK
1397
-  (0.1ms) BEGIN
1398
-  (0.2ms) ROLLBACK
1399
-  (4.1ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
1400
-  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1401
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1402
- Migrating to CreateBitPlayerContentModules (20140305200438)
1403
-  (0.3ms) BEGIN
1404
-  (6.8ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1405
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
1406
-  (0.5ms) COMMIT
1407
- Migrating to CreateBitPlayerContentProviders (20140305201300)
1408
-  (0.4ms) BEGIN
1409
-  (5.1ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1410
-  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
1411
-  (3.5ms)  ALTER TABLE bit_player_content_providers
1412
- ADD CONSTRAINT fk_content_providers_modules
1413
- FOREIGN KEY (bit_player_content_module_id)
1414
- REFERENCES bit_player_content_modules(id)
1415
- 
1416
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
1417
-  (0.9ms) COMMIT
1418
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
1419
-  (0.6ms) BEGIN
1420
-  (4.0ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1421
-  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
1422
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
1423
-  (0.5ms) COMMIT
1424
- Migrating to CreateBitPlayerSlideshows (20140305232706)
1425
-  (0.4ms) BEGIN
1426
-  (3.8ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1427
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
1428
-  (0.6ms) COMMIT
1429
- Migrating to CreateBitPlayerSlides (20140305234327)
1430
-  (0.7ms) BEGIN
1431
-  (7.8ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1432
-  (1.3ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
1433
-  (2.3ms) ALTER TABLE bit_player_slides
1434
- ADD CONSTRAINT fk_slides_slideshows
1435
- FOREIGN KEY (bit_player_slideshow_id)
1436
- REFERENCES bit_player_slideshows(id)
1437
-
1438
-  (2.1ms)  ALTER TABLE bit_player_slides
1439
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
1440
- DEFERRABLE INITIALLY IMMEDIATE
1441
- 
1442
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
1443
-  (0.7ms) COMMIT
1444
- Migrating to CreateBitPlayerTools (20140402224913)
1445
-  (0.5ms) BEGIN
1446
-  (5.1ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1447
-  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
1448
-  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
1449
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
1450
-  (0.6ms) COMMIT
1451
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
1452
-  (0.4ms) BEGIN
1453
- BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
1454
- BitPlayer::Slide Load (1.2ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
1455
-  (1.3ms)  ALTER TABLE bit_player_slides
1456
- DROP CONSTRAINT fk_slides_slideshows
1457
- 
1458
-  (0.7ms) ALTER TABLE bit_player_slides
1459
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
1460
-
1461
-  (2.2ms) DROP TABLE "bit_player_slides"
1462
-  (1.2ms) DROP TABLE "bit_player_slideshows"
1463
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
1464
-  (2.0ms) COMMIT
1465
- Migrating to CreateBitCoreTools (20140620222614)
1466
-  (0.3ms) BEGIN
1467
-  (4.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1468
-  (1.5ms)  ALTER TABLE bit_core_tools
1469
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
1470
- DEFERRABLE INITIALLY IMMEDIATE
1471
- 
1472
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
1473
-  (0.5ms) COMMIT
1474
- Migrating to CreateBitCoreContentModules (20140620222615)
1475
-  (0.4ms) BEGIN
1476
-  (4.9ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1477
-  (2.6ms) ALTER TABLE bit_core_content_modules
1478
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
1479
- DEFERRABLE INITIALLY IMMEDIATE
1480
-
1481
-  (3.6ms)  ALTER TABLE bit_core_content_modules
1482
- ADD CONSTRAINT fk_content_modules_tools
1483
- FOREIGN KEY (bit_core_tool_id)
1484
- REFERENCES bit_core_tools(id)
1485
- 
1486
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
1487
-  (0.7ms) COMMIT
1488
- Migrating to CreateBitCoreContentProviders (20140620222616)
1489
-  (0.7ms) BEGIN
1490
-  (7.3ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1491
-  (2.4ms) ALTER TABLE bit_core_content_providers
1492
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
1493
- DEFERRABLE INITIALLY IMMEDIATE
1494
-
1495
-  (2.1ms)  ALTER TABLE bit_core_content_providers
1496
- ADD CONSTRAINT fk_content_providers_modules
1497
- FOREIGN KEY (bit_core_content_module_id)
1498
- REFERENCES bit_core_content_modules(id)
1499
- 
1500
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
1501
-  (0.6ms) COMMIT
1502
- Migrating to CreateBitCoreSlideshows (20140620222617)
1503
-  (0.5ms) BEGIN
1504
-  (5.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1505
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
1506
-  (0.8ms) COMMIT
1507
- Migrating to CreateBitCoreSlides (20140620222618)
1508
-  (0.5ms) BEGIN
1509
-  (8.6ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1510
-  (2.3ms) ALTER TABLE bit_core_slides
1511
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
1512
- DEFERRABLE INITIALLY IMMEDIATE
1513
-
1514
-  (4.8ms)  ALTER TABLE bit_core_slides
1515
- ADD CONSTRAINT fk_slideshows_slides
1516
- FOREIGN KEY (bit_core_slideshow_id)
1517
- REFERENCES bit_core_slideshows(id)
1518
- 
1519
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
1520
-  (1.1ms) COMMIT
1521
- Migrating to AddOptionsToSlides (20140620222619)
1522
-  (0.9ms) BEGIN
1523
-  (1.0ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
1524
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
1525
-  (0.7ms) COMMIT
1526
- Migrating to AddConfigFieldsToProviders (20140620222620)
1527
-  (0.3ms) BEGIN
1528
-  (1.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
1529
-  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
1530
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
1531
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
1532
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
1533
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
1534
-  (0.6ms) COMMIT
1535
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
1536
-  (0.4ms) BEGIN
1537
- BitPlayer::Tool Load (1.3ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
1538
- BitPlayer::ContentModule Load (1.4ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
1539
- BitPlayer::ContentProvider Load (1.0ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
1540
-  (0.4ms) ALTER TABLE bit_player_content_modules
1541
- DROP CONSTRAINT IF EXISTS fk_content_modules_tools
1542
-
1543
-  (1.3ms)  ALTER TABLE bit_player_content_providers
1544
- DROP CONSTRAINT IF EXISTS fk_content_providers_modules
1545
- 
1546
-  (2.6ms) DROP TABLE "bit_player_tools"
1547
-  (3.0ms) DROP TABLE "bit_player_content_modules"
1548
-  (3.0ms) DROP TABLE "bit_player_content_providers"
1549
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
1550
-  (2.3ms) COMMIT
1551
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1552
-  (0.1ms) BEGIN
1553
-  (0.2ms) ROLLBACK
1554
-  (0.2ms) BEGIN
1555
-  (0.5ms) ROLLBACK
1556
-  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
1557
-  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1558
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1559
- Migrating to CreateBitPlayerContentModules (20140305200438)
1560
-  (0.2ms) BEGIN
1561
-  (6.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1562
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
1563
-  (0.5ms) COMMIT
1564
- Migrating to CreateBitPlayerContentProviders (20140305201300)
1565
-  (0.3ms) BEGIN
1566
-  (5.4ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1567
-  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
1568
-  (3.1ms)  ALTER TABLE bit_player_content_providers
1569
- ADD CONSTRAINT fk_content_providers_modules
1570
- FOREIGN KEY (bit_player_content_module_id)
1571
- REFERENCES bit_player_content_modules(id)
1572
- 
1573
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
1574
-  (0.8ms) COMMIT
1575
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
1576
-  (0.5ms) BEGIN
1577
-  (5.3ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1578
-  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
1579
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
1580
-  (0.7ms) COMMIT
1581
- Migrating to CreateBitPlayerSlideshows (20140305232706)
1582
-  (0.6ms) BEGIN
1583
-  (5.3ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1584
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
1585
-  (0.8ms) COMMIT
1586
- Migrating to CreateBitPlayerSlides (20140305234327)
1587
-  (0.7ms) BEGIN
1588
-  (6.9ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1589
-  (1.8ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
1590
-  (2.9ms) ALTER TABLE bit_player_slides
1591
- ADD CONSTRAINT fk_slides_slideshows
1592
- FOREIGN KEY (bit_player_slideshow_id)
1593
- REFERENCES bit_player_slideshows(id)
1594
-
1595
-  (2.5ms)  ALTER TABLE bit_player_slides
1596
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
1597
- DEFERRABLE INITIALLY IMMEDIATE
1598
- 
1599
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
1600
-  (0.7ms) COMMIT
1601
- Migrating to CreateBitPlayerTools (20140402224913)
1602
-  (0.5ms) BEGIN
1603
-  (3.8ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1604
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
1605
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
1606
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
1607
-  (0.5ms) COMMIT
1608
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
1609
-  (0.4ms) BEGIN
1610
- BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
1611
- BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
1612
-  (1.2ms)  ALTER TABLE bit_player_slides
1613
- DROP CONSTRAINT fk_slides_slideshows
1614
- 
1615
-  (0.6ms) ALTER TABLE bit_player_slides
1616
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
1617
-
1618
-  (1.9ms) DROP TABLE "bit_player_slides"
1619
-  (1.1ms) DROP TABLE "bit_player_slideshows"
1620
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
1621
-  (1.9ms) COMMIT
1622
- Migrating to CreateBitCoreTools (20140620222614)
1623
-  (0.3ms) BEGIN
1624
-  (4.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1625
-  (1.7ms)  ALTER TABLE bit_core_tools
1626
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
1627
- DEFERRABLE INITIALLY IMMEDIATE
1628
- 
1629
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
1630
-  (0.6ms) COMMIT
1631
- Migrating to CreateBitCoreContentModules (20140620222615)
1632
-  (0.6ms) BEGIN
1633
-  (4.2ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1634
-  (1.9ms) ALTER TABLE bit_core_content_modules
1635
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
1636
- DEFERRABLE INITIALLY IMMEDIATE
1637
-
1638
-  (2.1ms)  ALTER TABLE bit_core_content_modules
1639
- ADD CONSTRAINT fk_content_modules_tools
1640
- FOREIGN KEY (bit_core_tool_id)
1641
- REFERENCES bit_core_tools(id)
1642
- 
1643
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
1644
-  (0.8ms) COMMIT
1645
- Migrating to CreateBitCoreContentProviders (20140620222616)
1646
-  (0.7ms) BEGIN
1647
-  (7.6ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1648
-  (2.1ms) ALTER TABLE bit_core_content_providers
1649
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
1650
- DEFERRABLE INITIALLY IMMEDIATE
1651
-
1652
-  (2.7ms)  ALTER TABLE bit_core_content_providers
1653
- ADD CONSTRAINT fk_content_providers_modules
1654
- FOREIGN KEY (bit_core_content_module_id)
1655
- REFERENCES bit_core_content_modules(id)
1656
- 
1657
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
1658
-  (0.5ms) COMMIT
1659
- Migrating to CreateBitCoreSlideshows (20140620222617)
1660
-  (0.4ms) BEGIN
1661
-  (3.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1662
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
1663
-  (0.5ms) COMMIT
1664
- Migrating to CreateBitCoreSlides (20140620222618)
1665
-  (0.3ms) BEGIN
1666
-  (5.1ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1667
-  (1.5ms) ALTER TABLE bit_core_slides
1668
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
1669
- DEFERRABLE INITIALLY IMMEDIATE
1670
-
1671
-  (2.0ms)  ALTER TABLE bit_core_slides
1672
- ADD CONSTRAINT fk_slideshows_slides
1673
- FOREIGN KEY (bit_core_slideshow_id)
1674
- REFERENCES bit_core_slideshows(id)
1675
- 
1676
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
1677
-  (0.5ms) COMMIT
1678
- Migrating to AddOptionsToSlides (20140620222619)
1679
-  (0.4ms) BEGIN
1680
-  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
1681
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
1682
-  (0.4ms) COMMIT
1683
- Migrating to AddConfigFieldsToProviders (20140620222620)
1684
-  (0.2ms) BEGIN
1685
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
1686
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
1687
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
1688
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
1689
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
1690
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
1691
-  (0.4ms) COMMIT
1692
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
1693
-  (0.3ms) BEGIN
1694
- BitPlayer::Tool Load (0.9ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
1695
- BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
1696
- BitPlayer::ContentProvider Load (0.7ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
1697
-  (0.3ms) ALTER TABLE bit_player_content_modules
1698
- DROP CONSTRAINT IF EXISTS fk_content_modules_tools
1699
-
1700
-  (0.8ms)  ALTER TABLE bit_player_content_providers
1701
- DROP CONSTRAINT IF EXISTS fk_content_providers_modules
1702
- 
1703
-  (2.6ms) DROP TABLE "bit_player_tools"
1704
-  (2.5ms) DROP TABLE "bit_player_content_modules"
1705
-  (2.9ms) DROP TABLE "bit_player_content_providers"
1706
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
1707
-  (2.3ms) COMMIT
1708
- ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
1709
-  (0.2ms) BEGIN
1710
-  (0.3ms) ROLLBACK
1711
-  (0.2ms) BEGIN
1712
-  (0.3ms) ROLLBACK
1713
-  (4.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
1714
-  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1715
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1716
- Migrating to CreateBitPlayerContentModules (20140305200438)
1717
-  (0.2ms) BEGIN
1718
-  (6.5ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1719
- SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
1720
-  (0.5ms) COMMIT
1721
- Migrating to CreateBitPlayerContentProviders (20140305201300)
1722
-  (0.3ms) BEGIN
1723
-  (5.3ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1724
-  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
1725
-  (4.0ms)  ALTER TABLE bit_player_content_providers
1726
- ADD CONSTRAINT fk_content_providers_modules
1727
- FOREIGN KEY (bit_player_content_module_id)
1728
- REFERENCES bit_player_content_modules(id)
1729
- 
1730
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
1731
-  (0.9ms) COMMIT
1732
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
1733
-  (0.4ms) BEGIN
1734
-  (4.0ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1735
-  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
1736
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
1737
-  (0.6ms) COMMIT
1738
- Migrating to CreateBitPlayerSlideshows (20140305232706)
1739
-  (0.4ms) BEGIN
1740
-  (4.0ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1741
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
1742
-  (0.5ms) COMMIT
1743
- Migrating to CreateBitPlayerSlides (20140305234327)
1744
-  (0.3ms) BEGIN
1745
-  (5.0ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1746
-  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
1747
-  (3.2ms) ALTER TABLE bit_player_slides
1748
- ADD CONSTRAINT fk_slides_slideshows
1749
- FOREIGN KEY (bit_player_slideshow_id)
1750
- REFERENCES bit_player_slideshows(id)
1751
-
1752
-  (2.5ms)  ALTER TABLE bit_player_slides
1753
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
1754
- DEFERRABLE INITIALLY IMMEDIATE
1755
- 
1756
- SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
1757
-  (1.0ms) COMMIT
1758
- Migrating to CreateBitPlayerTools (20140402224913)
1759
-  (0.7ms) BEGIN
1760
-  (4.0ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1761
-  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
1762
-  (2.0ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
1763
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
1764
-  (0.6ms) COMMIT
1765
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
1766
-  (0.4ms) BEGIN
1767
- BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
1768
- BitPlayer::Slide Load (0.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
1769
-  (1.3ms)  ALTER TABLE bit_player_slides
1770
- DROP CONSTRAINT fk_slides_slideshows
1771
- 
1772
-  (0.6ms) ALTER TABLE bit_player_slides
1773
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
1774
-
1775
-  (2.4ms) DROP TABLE "bit_player_slides"
1776
-  (1.3ms) DROP TABLE "bit_player_slideshows"
1777
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
1778
-  (1.9ms) COMMIT
1779
- Migrating to CreateBitCoreTools (20140620222614)
1780
-  (0.3ms) BEGIN
1781
-  (4.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1782
-  (1.9ms)  ALTER TABLE bit_core_tools
1783
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
1784
- DEFERRABLE INITIALLY IMMEDIATE
1785
- 
1786
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
1787
-  (0.7ms) COMMIT
1788
- Migrating to CreateBitCoreContentModules (20140620222615)
1789
-  (0.4ms) BEGIN
1790
-  (3.5ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1791
-  (1.9ms) ALTER TABLE bit_core_content_modules
1792
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
1793
- DEFERRABLE INITIALLY IMMEDIATE
1794
-
1795
-  (3.2ms)  ALTER TABLE bit_core_content_modules
1796
- ADD CONSTRAINT fk_content_modules_tools
1797
- FOREIGN KEY (bit_core_tool_id)
1798
- REFERENCES bit_core_tools(id)
1799
- 
1800
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
1801
-  (0.6ms) COMMIT
1802
- Migrating to CreateBitCoreContentProviders (20140620222616)
1803
-  (0.6ms) BEGIN
1804
-  (7.4ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1805
-  (2.3ms) ALTER TABLE bit_core_content_providers
1806
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
1807
- DEFERRABLE INITIALLY IMMEDIATE
1808
-
1809
-  (3.7ms)  ALTER TABLE bit_core_content_providers
1810
- ADD CONSTRAINT fk_content_providers_modules
1811
- FOREIGN KEY (bit_core_content_module_id)
1812
- REFERENCES bit_core_content_modules(id)
1813
- 
1814
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
1815
-  (0.7ms) COMMIT
1816
- Migrating to CreateBitCoreSlideshows (20140620222617)
1817
-  (0.6ms) BEGIN
1818
-  (3.9ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1819
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
1820
-  (0.6ms) COMMIT
1821
- Migrating to CreateBitCoreSlides (20140620222618)
1822
-  (0.4ms) BEGIN
1823
-  (5.9ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1824
-  (1.9ms) ALTER TABLE bit_core_slides
1825
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
1826
- DEFERRABLE INITIALLY IMMEDIATE
1827
-
1828
-  (2.0ms)  ALTER TABLE bit_core_slides
1829
- ADD CONSTRAINT fk_slideshows_slides
1830
- FOREIGN KEY (bit_core_slideshow_id)
1831
- REFERENCES bit_core_slideshows(id)
1832
- 
1833
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
1834
-  (0.5ms) COMMIT
1835
- Migrating to AddOptionsToSlides (20140620222619)
1836
-  (0.4ms) BEGIN
1837
-  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
1838
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
1839
-  (0.4ms) COMMIT
1840
- Migrating to AddConfigFieldsToProviders (20140620222620)
1841
-  (0.2ms) BEGIN
1842
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
1843
-  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
1844
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
1845
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
1846
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
1847
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
1848
-  (0.7ms) COMMIT
1849
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
1850
-  (0.4ms) BEGIN
1851
- BitPlayer::Tool Load (1.3ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
1852
- BitPlayer::ContentModule Load (0.7ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
1853
- BitPlayer::ContentProvider Load (0.7ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
1854
-  (0.3ms) ALTER TABLE bit_player_content_modules
1855
- DROP CONSTRAINT IF EXISTS fk_content_modules_tools
1856
-
1857
-  (1.0ms)  ALTER TABLE bit_player_content_providers
1858
- DROP CONSTRAINT IF EXISTS fk_content_providers_modules
1859
- 
1860
-  (2.0ms) DROP TABLE "bit_player_tools"
1861
-  (2.2ms) DROP TABLE "bit_player_content_modules"
1862
-  (2.4ms) DROP TABLE "bit_player_content_providers"
1863
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
1864
-  (2.4ms) COMMIT
1865
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1866
-  (0.2ms) BEGIN
1867
-  (0.3ms) ROLLBACK
1868
-  (0.2ms) BEGIN
1869
-  (0.3ms) ROLLBACK
1870
-  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
1871
-  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1872
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1873
- Migrating to CreateBitPlayerContentModules (20140305200438)
1874
-  (0.2ms) BEGIN
1875
-  (6.3ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1876
- SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
1877
-  (0.5ms) COMMIT
1878
- Migrating to CreateBitPlayerContentProviders (20140305201300)
1879
-  (0.3ms) BEGIN
1880
-  (7.5ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1881
-  (1.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
1882
-  (4.0ms)  ALTER TABLE bit_player_content_providers
1883
- ADD CONSTRAINT fk_content_providers_modules
1884
- FOREIGN KEY (bit_player_content_module_id)
1885
- REFERENCES bit_player_content_modules(id)
1886
- 
1887
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
1888
-  (0.9ms) COMMIT
1889
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
1890
-  (0.5ms) BEGIN
1891
-  (4.5ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1892
-  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
1893
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
1894
-  (0.7ms) COMMIT
1895
- Migrating to CreateBitPlayerSlideshows (20140305232706)
1896
-  (0.6ms) BEGIN
1897
-  (5.8ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1898
- SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
1899
-  (1.1ms) COMMIT
1900
- Migrating to CreateBitPlayerSlides (20140305234327)
1901
-  (0.9ms) BEGIN
1902
-  (7.8ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1903
-  (1.8ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
1904
-  (2.3ms) ALTER TABLE bit_player_slides
1905
- ADD CONSTRAINT fk_slides_slideshows
1906
- FOREIGN KEY (bit_player_slideshow_id)
1907
- REFERENCES bit_player_slideshows(id)
1908
-
1909
-  (1.7ms)  ALTER TABLE bit_player_slides
1910
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
1911
- DEFERRABLE INITIALLY IMMEDIATE
1912
- 
1913
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
1914
-  (0.5ms) COMMIT
1915
- Migrating to CreateBitPlayerTools (20140402224913)
1916
-  (0.4ms) BEGIN
1917
-  (3.9ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1918
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
1919
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
1920
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
1921
-  (0.5ms) COMMIT
1922
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
1923
-  (0.5ms) BEGIN
1924
- BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
1925
- BitPlayer::Slide Load (0.9ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
1926
-  (1.3ms)  ALTER TABLE bit_player_slides
1927
- DROP CONSTRAINT fk_slides_slideshows
1928
- 
1929
-  (0.7ms) ALTER TABLE bit_player_slides
1930
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
1931
-
1932
-  (2.3ms) DROP TABLE "bit_player_slides"
1933
-  (1.2ms) DROP TABLE "bit_player_slideshows"
1934
- SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
1935
-  (2.1ms) COMMIT
1936
- Migrating to CreateBitCoreTools (20140620222614)
1937
-  (0.3ms) BEGIN
1938
-  (4.7ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
1939
-  (2.1ms)  ALTER TABLE bit_core_tools
1940
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
1941
- DEFERRABLE INITIALLY IMMEDIATE
1942
- 
1943
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
1944
-  (1.1ms) COMMIT
1945
- Migrating to CreateBitCoreContentModules (20140620222615)
1946
-  (1.2ms) BEGIN
1947
-  (6.0ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1948
-  (2.5ms) ALTER TABLE bit_core_content_modules
1949
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
1950
- DEFERRABLE INITIALLY IMMEDIATE
1951
-
1952
-  (3.2ms)  ALTER TABLE bit_core_content_modules
1953
- ADD CONSTRAINT fk_content_modules_tools
1954
- FOREIGN KEY (bit_core_tool_id)
1955
- REFERENCES bit_core_tools(id)
1956
- 
1957
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
1958
-  (0.7ms) COMMIT
1959
- Migrating to CreateBitCoreContentProviders (20140620222616)
1960
-  (0.6ms) BEGIN
1961
-  (4.9ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1962
-  (1.6ms) ALTER TABLE bit_core_content_providers
1963
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
1964
- DEFERRABLE INITIALLY IMMEDIATE
1965
-
1966
-  (4.3ms)  ALTER TABLE bit_core_content_providers
1967
- ADD CONSTRAINT fk_content_providers_modules
1968
- FOREIGN KEY (bit_core_content_module_id)
1969
- REFERENCES bit_core_content_modules(id)
1970
- 
1971
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
1972
-  (0.5ms) COMMIT
1973
- Migrating to CreateBitCoreSlideshows (20140620222617)
1974
-  (0.4ms) BEGIN
1975
-  (5.6ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1976
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
1977
-  (0.5ms) COMMIT
1978
- Migrating to CreateBitCoreSlides (20140620222618)
1979
-  (0.5ms) BEGIN
1980
-  (6.1ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
1981
-  (2.2ms) ALTER TABLE bit_core_slides
1982
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
1983
- DEFERRABLE INITIALLY IMMEDIATE
1984
-
1985
-  (2.2ms)  ALTER TABLE bit_core_slides
1986
- ADD CONSTRAINT fk_slideshows_slides
1987
- FOREIGN KEY (bit_core_slideshow_id)
1988
- REFERENCES bit_core_slideshows(id)
1989
- 
1990
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
1991
-  (0.6ms) COMMIT
1992
- Migrating to AddOptionsToSlides (20140620222619)
1993
-  (0.5ms) BEGIN
1994
-  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
1995
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
1996
-  (0.4ms) COMMIT
1997
- Migrating to AddConfigFieldsToProviders (20140620222620)
1998
-  (0.2ms) BEGIN
1999
-  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
2000
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
2001
-  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
2002
-  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
2003
-  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
2004
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
2005
-  (0.9ms) COMMIT
2006
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
2007
-  (0.4ms) BEGIN
2008
- BitPlayer::Tool Load (1.0ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
2009
- BitPlayer::ContentModule Load (0.9ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
2010
- BitPlayer::ContentProvider Load (1.4ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
2011
-  (0.5ms) ALTER TABLE bit_player_content_modules
2012
- DROP CONSTRAINT IF EXISTS fk_content_modules_tools
2013
-
2014
-  (1.6ms)  ALTER TABLE bit_player_content_providers
2015
- DROP CONSTRAINT IF EXISTS fk_content_providers_modules
2016
- 
2017
-  (2.7ms) DROP TABLE "bit_player_tools"
2018
-  (2.3ms) DROP TABLE "bit_player_content_modules"
2019
-  (2.4ms) DROP TABLE "bit_player_content_providers"
2020
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
2021
-  (3.2ms) COMMIT
2022
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2023
-  (0.2ms) BEGIN
2024
- BitCore::ContentModule Load (2.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
2025
-  (0.3ms) ROLLBACK
2026
-  (0.1ms) BEGIN
2027
-  (0.3ms) ROLLBACK
2028
-  (5.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2029
-  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2030
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2031
- Migrating to CreateBitPlayerContentModules (20140305200438)
2032
-  (0.2ms) BEGIN
2033
-  (6.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2034
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
2035
-  (0.5ms) COMMIT
2036
- Migrating to CreateBitPlayerContentProviders (20140305201300)
2037
-  (0.3ms) BEGIN
2038
-  (5.2ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2039
-  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
2040
-  (3.3ms)  ALTER TABLE bit_player_content_providers
2041
- ADD CONSTRAINT fk_content_providers_modules
2042
- FOREIGN KEY (bit_player_content_module_id)
2043
- REFERENCES bit_player_content_modules(id)
2044
- 
2045
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
2046
-  (0.8ms) COMMIT
2047
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
2048
-  (0.5ms) BEGIN
2049
-  (4.0ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2050
-  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
2051
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
2052
-  (0.5ms) COMMIT
2053
- Migrating to CreateBitPlayerSlideshows (20140305232706)
2054
-  (0.4ms) BEGIN
2055
-  (4.3ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2056
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
2057
-  (0.5ms) COMMIT
2058
- Migrating to CreateBitPlayerSlides (20140305234327)
2059
-  (0.3ms) BEGIN
2060
-  (4.9ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2061
-  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
2062
-  (2.7ms) ALTER TABLE bit_player_slides
2063
- ADD CONSTRAINT fk_slides_slideshows
2064
- FOREIGN KEY (bit_player_slideshow_id)
2065
- REFERENCES bit_player_slideshows(id)
2066
-
2067
-  (2.8ms)  ALTER TABLE bit_player_slides
2068
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
2069
- DEFERRABLE INITIALLY IMMEDIATE
2070
- 
2071
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
2072
-  (0.9ms) COMMIT
2073
- Migrating to CreateBitPlayerTools (20140402224913)
2074
-  (0.8ms) BEGIN
2075
-  (4.5ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2076
-  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
2077
-  (1.9ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
2078
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
2079
-  (0.8ms) COMMIT
2080
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
2081
-  (0.5ms) BEGIN
2082
- BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
2083
- BitPlayer::Slide Load (1.0ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
2084
-  (1.4ms)  ALTER TABLE bit_player_slides
2085
- DROP CONSTRAINT fk_slides_slideshows
2086
- 
2087
-  (0.8ms) ALTER TABLE bit_player_slides
2088
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
2089
-
2090
-  (2.4ms) DROP TABLE "bit_player_slides"
2091
-  (1.5ms) DROP TABLE "bit_player_slideshows"
2092
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
2093
-  (2.1ms) COMMIT
2094
- Migrating to CreateBitCoreTools (20140620222614)
2095
-  (0.3ms) BEGIN
2096
-  (4.3ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2097
-  (1.7ms)  ALTER TABLE bit_core_tools
2098
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
2099
- DEFERRABLE INITIALLY IMMEDIATE
2100
- 
2101
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
2102
-  (0.6ms) COMMIT
2103
- Migrating to CreateBitCoreContentModules (20140620222615)
2104
-  (0.4ms) BEGIN
2105
-  (4.6ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2106
-  (3.3ms) ALTER TABLE bit_core_content_modules
2107
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
2108
- DEFERRABLE INITIALLY IMMEDIATE
2109
-
2110
-  (3.0ms)  ALTER TABLE bit_core_content_modules
2111
- ADD CONSTRAINT fk_content_modules_tools
2112
- FOREIGN KEY (bit_core_tool_id)
2113
- REFERENCES bit_core_tools(id)
2114
- 
2115
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
2116
-  (0.9ms) COMMIT
2117
- Migrating to CreateBitCoreContentProviders (20140620222616)
2118
-  (0.5ms) BEGIN
2119
-  (7.2ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2120
-  (2.7ms) ALTER TABLE bit_core_content_providers
2121
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
2122
- DEFERRABLE INITIALLY IMMEDIATE
2123
-
2124
-  (2.9ms)  ALTER TABLE bit_core_content_providers
2125
- ADD CONSTRAINT fk_content_providers_modules
2126
- FOREIGN KEY (bit_core_content_module_id)
2127
- REFERENCES bit_core_content_modules(id)
2128
- 
2129
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
2130
-  (0.8ms) COMMIT
2131
- Migrating to CreateBitCoreSlideshows (20140620222617)
2132
-  (0.7ms) BEGIN
2133
-  (4.0ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2134
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
2135
-  (0.5ms) COMMIT
2136
- Migrating to CreateBitCoreSlides (20140620222618)
2137
-  (0.4ms) BEGIN
2138
-  (6.1ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2139
-  (2.2ms) ALTER TABLE bit_core_slides
2140
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
2141
- DEFERRABLE INITIALLY IMMEDIATE
2142
-
2143
-  (2.4ms)  ALTER TABLE bit_core_slides
2144
- ADD CONSTRAINT fk_slideshows_slides
2145
- FOREIGN KEY (bit_core_slideshow_id)
2146
- REFERENCES bit_core_slideshows(id)
2147
- 
2148
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
2149
-  (0.6ms) COMMIT
2150
- Migrating to AddOptionsToSlides (20140620222619)
2151
-  (0.5ms) BEGIN
2152
-  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
2153
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
2154
-  (0.5ms) COMMIT
2155
- Migrating to AddConfigFieldsToProviders (20140620222620)
2156
-  (0.2ms) BEGIN
2157
-  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
2158
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
2159
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
2160
-  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
2161
-  (1.0ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
2162
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
2163
-  (0.9ms) COMMIT
2164
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
2165
-  (0.4ms) BEGIN
2166
- BitPlayer::Tool Load (1.3ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
2167
- BitPlayer::ContentModule Load (0.6ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
2168
- BitPlayer::ContentProvider Load (0.7ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
2169
-  (0.3ms) ALTER TABLE bit_player_content_modules
2170
- DROP CONSTRAINT IF EXISTS fk_content_modules_tools
2171
-
2172
-  (1.1ms)  ALTER TABLE bit_player_content_providers
2173
- DROP CONSTRAINT IF EXISTS fk_content_providers_modules
2174
- 
2175
-  (2.2ms) DROP TABLE "bit_player_tools"
2176
-  (2.2ms) DROP TABLE "bit_player_content_modules"
2177
-  (2.7ms) DROP TABLE "bit_player_content_providers"
2178
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
2179
-  (3.5ms) COMMIT
2180
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2181
-  (0.2ms) BEGIN
2182
-  (0.3ms) ROLLBACK
2183
-  (0.2ms) BEGIN
2184
-  (0.3ms) ROLLBACK
2185
-  (4.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2186
-  (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2187
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2188
- Migrating to CreateBitPlayerContentModules (20140305200438)
2189
-  (0.3ms) BEGIN
2190
-  (6.3ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2191
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
2192
-  (0.5ms) COMMIT
2193
- Migrating to CreateBitPlayerContentProviders (20140305201300)
2194
-  (0.4ms) BEGIN
2195
-  (5.2ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2196
-  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
2197
-  (3.1ms)  ALTER TABLE bit_player_content_providers
2198
- ADD CONSTRAINT fk_content_providers_modules
2199
- FOREIGN KEY (bit_player_content_module_id)
2200
- REFERENCES bit_player_content_modules(id)
2201
- 
2202
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
2203
-  (0.9ms) COMMIT
2204
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
2205
-  (0.5ms) BEGIN
2206
-  (4.3ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2207
-  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
2208
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
2209
-  (0.5ms) COMMIT
2210
- Migrating to CreateBitPlayerSlideshows (20140305232706)
2211
-  (0.4ms) BEGIN
2212
-  (4.0ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2213
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
2214
-  (0.5ms) COMMIT
2215
- Migrating to CreateBitPlayerSlides (20140305234327)
2216
-  (0.3ms) BEGIN
2217
-  (7.7ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2218
-  (2.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
2219
-  (2.9ms) ALTER TABLE bit_player_slides
2220
- ADD CONSTRAINT fk_slides_slideshows
2221
- FOREIGN KEY (bit_player_slideshow_id)
2222
- REFERENCES bit_player_slideshows(id)
2223
-
2224
-  (2.4ms)  ALTER TABLE bit_player_slides
2225
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
2226
- DEFERRABLE INITIALLY IMMEDIATE
2227
- 
2228
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
2229
-  (1.0ms) COMMIT
2230
- Migrating to CreateBitPlayerTools (20140402224913)
2231
-  (0.9ms) BEGIN
2232
-  (5.8ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2233
-  (2.0ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
2234
-  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
2235
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
2236
-  (0.5ms) COMMIT
2237
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
2238
-  (0.5ms) BEGIN
2239
- BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
2240
- BitPlayer::Slide Load (0.8ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
2241
-  (1.2ms)  ALTER TABLE bit_player_slides
2242
- DROP CONSTRAINT fk_slides_slideshows
2243
- 
2244
-  (0.7ms) ALTER TABLE bit_player_slides
2245
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
2246
-
2247
-  (2.3ms) DROP TABLE "bit_player_slides"
2248
-  (1.5ms) DROP TABLE "bit_player_slideshows"
2249
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
2250
-  (1.9ms) COMMIT
2251
- Migrating to CreateBitCoreTools (20140620222614)
2252
-  (0.3ms) BEGIN
2253
-  (3.6ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2254
-  (1.4ms)  ALTER TABLE bit_core_tools
2255
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
2256
- DEFERRABLE INITIALLY IMMEDIATE
2257
- 
2258
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
2259
-  (0.5ms) COMMIT
2260
- Migrating to CreateBitCoreContentModules (20140620222615)
2261
-  (0.7ms) BEGIN
2262
-  (6.0ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2263
-  (3.0ms) ALTER TABLE bit_core_content_modules
2264
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
2265
- DEFERRABLE INITIALLY IMMEDIATE
2266
-
2267
-  (2.5ms)  ALTER TABLE bit_core_content_modules
2268
- ADD CONSTRAINT fk_content_modules_tools
2269
- FOREIGN KEY (bit_core_tool_id)
2270
- REFERENCES bit_core_tools(id)
2271
- 
2272
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
2273
-  (0.8ms) COMMIT
2274
- Migrating to CreateBitCoreContentProviders (20140620222616)
2275
-  (0.8ms) BEGIN
2276
-  (8.4ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2277
-  (2.2ms) ALTER TABLE bit_core_content_providers
2278
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
2279
- DEFERRABLE INITIALLY IMMEDIATE
2280
-
2281
-  (2.4ms)  ALTER TABLE bit_core_content_providers
2282
- ADD CONSTRAINT fk_content_providers_modules
2283
- FOREIGN KEY (bit_core_content_module_id)
2284
- REFERENCES bit_core_content_modules(id)
2285
- 
2286
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
2287
-  (0.6ms) COMMIT
2288
- Migrating to CreateBitCoreSlideshows (20140620222617)
2289
-  (0.5ms) BEGIN
2290
-  (3.9ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2291
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
2292
-  (0.5ms) COMMIT
2293
- Migrating to CreateBitCoreSlides (20140620222618)
2294
-  (0.4ms) BEGIN
2295
-  (7.9ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2296
-  (1.8ms) ALTER TABLE bit_core_slides
2297
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
2298
- DEFERRABLE INITIALLY IMMEDIATE
2299
-
2300
-  (2.1ms)  ALTER TABLE bit_core_slides
2301
- ADD CONSTRAINT fk_slideshows_slides
2302
- FOREIGN KEY (bit_core_slideshow_id)
2303
- REFERENCES bit_core_slideshows(id)
2304
- 
2305
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
2306
-  (0.6ms) COMMIT
2307
- Migrating to AddOptionsToSlides (20140620222619)
2308
-  (0.4ms) BEGIN
2309
-  (0.7ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
2310
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
2311
-  (0.6ms) COMMIT
2312
- Migrating to AddConfigFieldsToProviders (20140620222620)
2313
-  (0.5ms) BEGIN
2314
-  (1.0ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
2315
-  (1.2ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
2316
-  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
2317
-  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
2318
-  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
2319
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
2320
-  (0.7ms) COMMIT
2321
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
2322
-  (0.5ms) BEGIN
2323
- BitPlayer::Tool Load (1.7ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
2324
- BitPlayer::ContentModule Load (1.0ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
2325
- BitPlayer::ContentProvider Load (1.3ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
2326
-  (0.5ms) ALTER TABLE bit_player_content_modules
2327
- DROP CONSTRAINT IF EXISTS fk_content_modules_tools
2328
-
2329
-  (1.0ms)  ALTER TABLE bit_player_content_providers
2330
- DROP CONSTRAINT IF EXISTS fk_content_providers_modules
2331
- 
2332
-  (1.8ms) DROP TABLE "bit_player_tools"
2333
-  (1.8ms) DROP TABLE "bit_player_content_modules"
2334
-  (2.0ms) DROP TABLE "bit_player_content_providers"
2335
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
2336
-  (2.2ms) COMMIT
2337
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2338
-  (0.2ms) BEGIN
2339
-  (0.2ms) ROLLBACK
2340
-  (0.1ms) BEGIN
2341
- BitCore::ContentModule Load (2.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
2342
-  (0.3ms) ROLLBACK
2343
-  (4.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2344
-  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2345
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2346
- Migrating to CreateBitPlayerContentModules (20140305200438)
2347
-  (0.2ms) BEGIN
2348
-  (6.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2349
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
2350
-  (0.5ms) COMMIT
2351
- Migrating to CreateBitPlayerContentProviders (20140305201300)
2352
-  (0.4ms) BEGIN
2353
-  (5.1ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2354
-  (1.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
2355
-  (4.0ms)  ALTER TABLE bit_player_content_providers
2356
- ADD CONSTRAINT fk_content_providers_modules
2357
- FOREIGN KEY (bit_player_content_module_id)
2358
- REFERENCES bit_player_content_modules(id)
2359
- 
2360
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
2361
-  (0.8ms) COMMIT
2362
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
2363
-  (0.5ms) BEGIN
2364
-  (5.2ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2365
-  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
2366
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
2367
-  (0.5ms) COMMIT
2368
- Migrating to CreateBitPlayerSlideshows (20140305232706)
2369
-  (0.4ms) BEGIN
2370
-  (3.9ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2371
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
2372
-  (0.5ms) COMMIT
2373
- Migrating to CreateBitPlayerSlides (20140305234327)
2374
-  (0.3ms) BEGIN
2375
-  (6.3ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2376
-  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
2377
-  (2.8ms) ALTER TABLE bit_player_slides
2378
- ADD CONSTRAINT fk_slides_slideshows
2379
- FOREIGN KEY (bit_player_slideshow_id)
2380
- REFERENCES bit_player_slideshows(id)
2381
-
2382
-  (2.7ms)  ALTER TABLE bit_player_slides
2383
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
2384
- DEFERRABLE INITIALLY IMMEDIATE
2385
- 
2386
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
2387
-  (0.9ms) COMMIT
2388
- Migrating to CreateBitPlayerTools (20140402224913)
2389
-  (0.8ms) BEGIN
2390
-  (5.9ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2391
-  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
2392
-  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
2393
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
2394
-  (0.5ms) COMMIT
2395
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
2396
-  (0.5ms) BEGIN
2397
- BitPlayer::Slideshow Load (0.8ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
2398
- BitPlayer::Slide Load (0.9ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
2399
-  (1.5ms)  ALTER TABLE bit_player_slides
2400
- DROP CONSTRAINT fk_slides_slideshows
2401
- 
2402
-  (0.7ms) ALTER TABLE bit_player_slides
2403
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
2404
-
2405
-  (2.2ms) DROP TABLE "bit_player_slides"
2406
-  (1.7ms) DROP TABLE "bit_player_slideshows"
2407
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
2408
-  (2.0ms) COMMIT
2409
- Migrating to CreateBitCoreTools (20140620222614)
2410
-  (0.3ms) BEGIN
2411
-  (3.7ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2412
-  (1.5ms)  ALTER TABLE bit_core_tools
2413
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
2414
- DEFERRABLE INITIALLY IMMEDIATE
2415
- 
2416
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
2417
-  (0.6ms) COMMIT
2418
- Migrating to CreateBitCoreContentModules (20140620222615)
2419
-  (0.3ms) BEGIN
2420
-  (5.0ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2421
-  (2.1ms) ALTER TABLE bit_core_content_modules
2422
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
2423
- DEFERRABLE INITIALLY IMMEDIATE
2424
-
2425
-  (2.3ms)  ALTER TABLE bit_core_content_modules
2426
- ADD CONSTRAINT fk_content_modules_tools
2427
- FOREIGN KEY (bit_core_tool_id)
2428
- REFERENCES bit_core_tools(id)
2429
- 
2430
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
2431
-  (0.7ms) COMMIT
2432
- Migrating to CreateBitCoreContentProviders (20140620222616)
2433
-  (0.6ms) BEGIN
2434
-  (7.8ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2435
-  (2.7ms) ALTER TABLE bit_core_content_providers
2436
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
2437
- DEFERRABLE INITIALLY IMMEDIATE
2438
-
2439
-  (2.9ms)  ALTER TABLE bit_core_content_providers
2440
- ADD CONSTRAINT fk_content_providers_modules
2441
- FOREIGN KEY (bit_core_content_module_id)
2442
- REFERENCES bit_core_content_modules(id)
2443
- 
2444
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
2445
-  (0.7ms) COMMIT
2446
- Migrating to CreateBitCoreSlideshows (20140620222617)
2447
-  (0.5ms) BEGIN
2448
-  (4.2ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2449
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
2450
-  (0.5ms) COMMIT
2451
- Migrating to CreateBitCoreSlides (20140620222618)
2452
-  (0.5ms) BEGIN
2453
-  (6.0ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2454
-  (1.8ms) ALTER TABLE bit_core_slides
2455
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
2456
- DEFERRABLE INITIALLY IMMEDIATE
2457
-
2458
-  (2.1ms)  ALTER TABLE bit_core_slides
2459
- ADD CONSTRAINT fk_slideshows_slides
2460
- FOREIGN KEY (bit_core_slideshow_id)
2461
- REFERENCES bit_core_slideshows(id)
2462
- 
2463
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
2464
-  (0.6ms) COMMIT
2465
- Migrating to AddOptionsToSlides (20140620222619)
2466
-  (0.4ms) BEGIN
2467
-  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
2468
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
2469
-  (0.4ms) COMMIT
2470
- Migrating to AddConfigFieldsToProviders (20140620222620)
2471
-  (0.2ms) BEGIN
2472
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
2473
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
2474
-  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
2475
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
2476
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
2477
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
2478
-  (0.4ms) COMMIT
2479
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
2480
-  (0.3ms) BEGIN
2481
- BitPlayer::Tool Load (1.2ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
2482
- BitPlayer::ContentModule Load (0.9ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
2483
- BitPlayer::ContentProvider Load (1.1ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
2484
-  (0.6ms) ALTER TABLE bit_player_content_modules
2485
- DROP CONSTRAINT IF EXISTS fk_content_modules_tools
2486
-
2487
-  (1.2ms)  ALTER TABLE bit_player_content_providers
2488
- DROP CONSTRAINT IF EXISTS fk_content_providers_modules
2489
- 
2490
-  (2.3ms) DROP TABLE "bit_player_tools"
2491
-  (2.6ms) DROP TABLE "bit_player_content_modules"
2492
-  (3.4ms) DROP TABLE "bit_player_content_providers"
2493
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
2494
-  (2.3ms) COMMIT
2495
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2496
-  (0.2ms) BEGIN
2497
- BitCore::ContentModule Load (1.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
2498
-  (0.3ms) ROLLBACK
2499
-  (0.2ms) BEGIN
2500
-  (0.3ms) ROLLBACK
2501
-  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2502
-  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2503
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2504
- Migrating to CreateBitPlayerContentModules (20140305200438)
2505
-  (0.3ms) BEGIN
2506
-  (6.5ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2507
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
2508
-  (0.5ms) COMMIT
2509
- Migrating to CreateBitPlayerContentProviders (20140305201300)
2510
-  (0.3ms) BEGIN
2511
-  (5.5ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2512
-  (1.2ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
2513
-  (4.3ms)  ALTER TABLE bit_player_content_providers
2514
- ADD CONSTRAINT fk_content_providers_modules
2515
- FOREIGN KEY (bit_player_content_module_id)
2516
- REFERENCES bit_player_content_modules(id)
2517
- 
2518
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
2519
-  (0.9ms) COMMIT
2520
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
2521
-  (0.5ms) BEGIN
2522
-  (5.1ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2523
-  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
2524
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
2525
-  (0.5ms) COMMIT
2526
- Migrating to CreateBitPlayerSlideshows (20140305232706)
2527
-  (0.4ms) BEGIN
2528
-  (5.1ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2529
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
2530
-  (1.0ms) COMMIT
2531
- Migrating to CreateBitPlayerSlides (20140305234327)
2532
-  (0.4ms) BEGIN
2533
-  (8.3ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2534
-  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
2535
-  (2.5ms) ALTER TABLE bit_player_slides
2536
- ADD CONSTRAINT fk_slides_slideshows
2537
- FOREIGN KEY (bit_player_slideshow_id)
2538
- REFERENCES bit_player_slideshows(id)
2539
-
2540
-  (2.2ms)  ALTER TABLE bit_player_slides
2541
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
2542
- DEFERRABLE INITIALLY IMMEDIATE
2543
- 
2544
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
2545
-  (0.5ms) COMMIT
2546
- Migrating to CreateBitPlayerTools (20140402224913)
2547
-  (0.3ms) BEGIN
2548
-  (3.8ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2549
-  (1.3ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
2550
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
2551
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
2552
-  (0.6ms) COMMIT
2553
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
2554
-  (0.5ms) BEGIN
2555
- BitPlayer::Slideshow Load (0.7ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
2556
- BitPlayer::Slide Load (0.9ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
2557
-  (1.2ms)  ALTER TABLE bit_player_slides
2558
- DROP CONSTRAINT fk_slides_slideshows
2559
- 
2560
-  (0.7ms) ALTER TABLE bit_player_slides
2561
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
2562
-
2563
-  (2.2ms) DROP TABLE "bit_player_slides"
2564
-  (1.2ms) DROP TABLE "bit_player_slideshows"
2565
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
2566
-  (2.6ms) COMMIT
2567
- Migrating to CreateBitCoreTools (20140620222614)
2568
-  (0.4ms) BEGIN
2569
-  (4.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2570
-  (1.6ms)  ALTER TABLE bit_core_tools
2571
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
2572
- DEFERRABLE INITIALLY IMMEDIATE
2573
- 
2574
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
2575
-  (0.9ms) COMMIT
2576
- Migrating to CreateBitCoreContentModules (20140620222615)
2577
-  (0.6ms) BEGIN
2578
-  (4.2ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2579
-  (2.4ms) ALTER TABLE bit_core_content_modules
2580
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
2581
- DEFERRABLE INITIALLY IMMEDIATE
2582
-
2583
-  (3.1ms)  ALTER TABLE bit_core_content_modules
2584
- ADD CONSTRAINT fk_content_modules_tools
2585
- FOREIGN KEY (bit_core_tool_id)
2586
- REFERENCES bit_core_tools(id)
2587
- 
2588
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
2589
-  (0.8ms) COMMIT
2590
- Migrating to CreateBitCoreContentProviders (20140620222616)
2591
-  (0.7ms) BEGIN
2592
-  (7.3ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2593
-  (2.8ms) ALTER TABLE bit_core_content_providers
2594
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
2595
- DEFERRABLE INITIALLY IMMEDIATE
2596
-
2597
-  (2.7ms)  ALTER TABLE bit_core_content_providers
2598
- ADD CONSTRAINT fk_content_providers_modules
2599
- FOREIGN KEY (bit_core_content_module_id)
2600
- REFERENCES bit_core_content_modules(id)
2601
- 
2602
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
2603
-  (0.6ms) COMMIT
2604
- Migrating to CreateBitCoreSlideshows (20140620222617)
2605
-  (0.5ms) BEGIN
2606
-  (4.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2607
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
2608
-  (0.5ms) COMMIT
2609
- Migrating to CreateBitCoreSlides (20140620222618)
2610
-  (0.4ms) BEGIN
2611
-  (6.1ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2612
-  (1.7ms) ALTER TABLE bit_core_slides
2613
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
2614
- DEFERRABLE INITIALLY IMMEDIATE
2615
-
2616
-  (2.2ms)  ALTER TABLE bit_core_slides
2617
- ADD CONSTRAINT fk_slideshows_slides
2618
- FOREIGN KEY (bit_core_slideshow_id)
2619
- REFERENCES bit_core_slideshows(id)
2620
- 
2621
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
2622
-  (0.5ms) COMMIT
2623
- Migrating to AddOptionsToSlides (20140620222619)
2624
-  (0.4ms) BEGIN
2625
-  (0.5ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
2626
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
2627
-  (0.4ms) COMMIT
2628
- Migrating to AddConfigFieldsToProviders (20140620222620)
2629
-  (0.2ms) BEGIN
2630
-  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
2631
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
2632
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
2633
-  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
2634
-  (0.4ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
2635
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
2636
-  (0.4ms) COMMIT
2637
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
2638
-  (0.3ms) BEGIN
2639
- BitPlayer::Tool Load (1.1ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
2640
- BitPlayer::ContentModule Load (0.8ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
2641
- BitPlayer::ContentProvider Load (1.0ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
2642
-  (0.6ms) ALTER TABLE bit_player_content_modules
2643
- DROP CONSTRAINT IF EXISTS fk_content_modules_tools
2644
-
2645
-  (1.6ms)  ALTER TABLE bit_player_content_providers
2646
- DROP CONSTRAINT IF EXISTS fk_content_providers_modules
2647
- 
2648
-  (2.3ms) DROP TABLE "bit_player_tools"
2649
-  (3.5ms) DROP TABLE "bit_player_content_modules"
2650
-  (2.7ms) DROP TABLE "bit_player_content_providers"
2651
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
2652
-  (2.9ms) COMMIT
2653
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2654
-  (0.2ms) BEGIN
2655
- BitCore::ContentModule Load (1.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
2656
-  (0.3ms) ROLLBACK
2657
-  (0.2ms) BEGIN
2658
-  (0.3ms) ROLLBACK
2659
-  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2660
-  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2661
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2662
- Migrating to CreateBitPlayerContentModules (20140305200438)
2663
-  (0.3ms) BEGIN
2664
-  (6.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2665
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
2666
-  (0.5ms) COMMIT
2667
- Migrating to CreateBitPlayerContentProviders (20140305201300)
2668
-  (0.3ms) BEGIN
2669
-  (5.0ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2670
-  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
2671
-  (4.1ms)  ALTER TABLE bit_player_content_providers
2672
- ADD CONSTRAINT fk_content_providers_modules
2673
- FOREIGN KEY (bit_player_content_module_id)
2674
- REFERENCES bit_player_content_modules(id)
2675
70
  
2676
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
2677
-  (0.8ms) COMMIT
2678
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
2679
-  (0.4ms) BEGIN
2680
-  (3.8ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2681
-  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
2682
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
2683
-  (0.6ms) COMMIT
2684
- Migrating to CreateBitPlayerSlideshows (20140305232706)
2685
-  (0.4ms) BEGIN
2686
-  (4.7ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2687
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
2688
-  (0.6ms) COMMIT
2689
- Migrating to CreateBitPlayerSlides (20140305234327)
2690
-  (0.4ms) BEGIN
2691
-  (5.7ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2692
-  (1.2ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
2693
-  (2.0ms) ALTER TABLE bit_player_slides
2694
- ADD CONSTRAINT fk_slides_slideshows
2695
- FOREIGN KEY (bit_player_slideshow_id)
2696
- REFERENCES bit_player_slideshows(id)
2697
-
2698
-  (1.6ms)  ALTER TABLE bit_player_slides
71
+  (5.3ms)  ALTER TABLE bit_player_slides
2699
72
  ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
2700
73
  DEFERRABLE INITIALLY IMMEDIATE
2701
74
  
2702
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
2703
-  (0.5ms) COMMIT
75
+ SQL (1.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140305234327"]]
76
+  (1.0ms) COMMIT
2704
77
  Migrating to CreateBitPlayerTools (20140402224913)
2705
-  (0.3ms) BEGIN
2706
-  (3.5ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2707
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
2708
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
2709
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
2710
-  (0.6ms) COMMIT
78
+  (1.0ms) BEGIN
79
+  (25.4ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
80
+  (2.3ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
81
+  (6.8ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
82
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140402224913"]]
83
+  (0.7ms) COMMIT
2711
84
  Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
2712
-  (0.4ms) BEGIN
2713
- BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
2714
- BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
2715
-  (1.4ms)  ALTER TABLE bit_player_slides
85
+  (0.7ms) BEGIN
86
+ BitPlayer::Slideshow Load (1.3ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
87
+ BitPlayer::Slide Load (4.1ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
88
+  (10.2ms)  ALTER TABLE bit_player_slides
2716
89
  DROP CONSTRAINT IF EXISTS fk_slides_slideshows
2717
90
  
2718
-  (0.6ms) ALTER TABLE bit_player_slides
91
+  (3.2ms)  ALTER TABLE bit_player_slides
2719
92
  DROP CONSTRAINT IF EXISTS bit_player_slide_position
2720
-
2721
-  (2.7ms) DROP TABLE "bit_player_slides"
2722
-  (1.1ms) DROP TABLE "bit_player_slideshows"
2723
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
2724
-  (1.9ms) COMMIT
2725
- Migrating to CreateBitCoreTools (20140620222614)
2726
-  (0.3ms) BEGIN
2727
-  (4.2ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2728
-  (1.6ms)  ALTER TABLE bit_core_tools
2729
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
2730
- DEFERRABLE INITIALLY IMMEDIATE
2731
- 
2732
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
2733
-  (0.5ms) COMMIT
2734
- Migrating to CreateBitCoreContentModules (20140620222615)
2735
-  (0.4ms) BEGIN
2736
-  (4.5ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2737
-  (1.8ms) ALTER TABLE bit_core_content_modules
2738
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
2739
- DEFERRABLE INITIALLY IMMEDIATE
2740
-
2741
-  (2.4ms)  ALTER TABLE bit_core_content_modules
2742
- ADD CONSTRAINT fk_content_modules_tools
2743
- FOREIGN KEY (bit_core_tool_id)
2744
- REFERENCES bit_core_tools(id)
2745
- 
2746
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
2747
-  (0.9ms) COMMIT
2748
- Migrating to CreateBitCoreContentProviders (20140620222616)
2749
-  (0.5ms) BEGIN
2750
-  (7.8ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2751
-  (2.7ms) ALTER TABLE bit_core_content_providers
2752
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
2753
- DEFERRABLE INITIALLY IMMEDIATE
2754
-
2755
-  (3.1ms)  ALTER TABLE bit_core_content_providers
2756
- ADD CONSTRAINT fk_content_providers_modules
2757
- FOREIGN KEY (bit_core_content_module_id)
2758
- REFERENCES bit_core_content_modules(id)
2759
- 
2760
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
2761
-  (0.7ms) COMMIT
2762
- Migrating to CreateBitCoreSlideshows (20140620222617)
2763
-  (0.6ms) BEGIN
2764
-  (5.1ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2765
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
2766
-  (0.5ms) COMMIT
2767
- Migrating to CreateBitCoreSlides (20140620222618)
2768
-  (0.5ms) BEGIN
2769
-  (8.3ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2770
-  (2.4ms) ALTER TABLE bit_core_slides
2771
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
2772
- DEFERRABLE INITIALLY IMMEDIATE
2773
-
2774
-  (2.9ms)  ALTER TABLE bit_core_slides
2775
- ADD CONSTRAINT fk_slideshows_slides
2776
- FOREIGN KEY (bit_core_slideshow_id)
2777
- REFERENCES bit_core_slideshows(id)
2778
- 
2779
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
2780
-  (0.8ms) COMMIT
2781
- Migrating to AddOptionsToSlides (20140620222619)
2782
-  (0.8ms) BEGIN
2783
-  (1.3ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
2784
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
2785
-  (0.8ms) COMMIT
2786
- Migrating to AddConfigFieldsToProviders (20140620222620)
2787
-  (0.3ms) BEGIN
2788
-  (1.0ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
2789
-  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
2790
-  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
2791
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
2792
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
2793
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
2794
-  (0.6ms) COMMIT
2795
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
2796
-  (0.4ms) BEGIN
2797
- BitPlayer::Tool Load (1.2ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
2798
- BitPlayer::ContentModule Load (0.8ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
2799
- BitPlayer::ContentProvider Load (0.9ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
2800
-  (0.4ms) ALTER TABLE bit_player_content_modules
2801
- DROP CONSTRAINT IF EXISTS fk_content_modules_tools
2802
-
2803
-  (1.3ms)  ALTER TABLE bit_player_content_providers
2804
- DROP CONSTRAINT IF EXISTS fk_content_providers_modules
2805
- 
2806
-  (2.5ms) DROP TABLE "bit_player_tools"
2807
-  (2.7ms) DROP TABLE "bit_player_content_modules"
2808
-  (3.0ms) DROP TABLE "bit_player_content_providers"
2809
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
2810
-  (3.0ms) COMMIT
2811
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2812
-  (0.3ms) BEGIN
2813
- BitCore::ContentModule Load (1.9ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
2814
-  (0.3ms) ROLLBACK
2815
-  (0.2ms) BEGIN
2816
-  (0.2ms) ROLLBACK
2817
-  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2818
-  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2819
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2820
- Migrating to CreateBitPlayerContentModules (20140305200438)
2821
-  (0.2ms) BEGIN
2822
-  (6.4ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2823
- SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
2824
-  (0.6ms) COMMIT
2825
- Migrating to CreateBitPlayerContentProviders (20140305201300)
2826
-  (0.4ms) BEGIN
2827
-  (5.4ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2828
-  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
2829
-  (3.1ms)  ALTER TABLE bit_player_content_providers
2830
- ADD CONSTRAINT fk_content_providers_modules
2831
- FOREIGN KEY (bit_player_content_module_id)
2832
- REFERENCES bit_player_content_modules(id)
2833
- 
2834
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
2835
-  (0.8ms) COMMIT
2836
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
2837
-  (0.4ms) BEGIN
2838
-  (4.1ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2839
-  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
2840
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
2841
-  (0.5ms) COMMIT
2842
- Migrating to CreateBitPlayerSlideshows (20140305232706)
2843
-  (0.4ms) BEGIN
2844
-  (3.9ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2845
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
2846
-  (0.5ms) COMMIT
2847
- Migrating to CreateBitPlayerSlides (20140305234327)
2848
-  (0.4ms) BEGIN
2849
-  (7.7ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2850
-  (1.8ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
2851
-  (3.2ms) ALTER TABLE bit_player_slides
2852
- ADD CONSTRAINT fk_slides_slideshows
2853
- FOREIGN KEY (bit_player_slideshow_id)
2854
- REFERENCES bit_player_slideshows(id)
2855
-
2856
-  (2.0ms)  ALTER TABLE bit_player_slides
2857
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
2858
- DEFERRABLE INITIALLY IMMEDIATE
2859
- 
2860
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
2861
-  (0.6ms) COMMIT
2862
- Migrating to CreateBitPlayerTools (20140402224913)
2863
-  (0.5ms) BEGIN
2864
-  (4.0ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2865
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
2866
-  (1.3ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
2867
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
2868
-  (0.5ms) COMMIT
2869
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
2870
-  (0.4ms) BEGIN
2871
- BitPlayer::Slideshow Load (0.6ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
2872
- BitPlayer::Slide Load (0.7ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
2873
-  (1.3ms)  ALTER TABLE bit_player_slides
2874
- DROP CONSTRAINT IF EXISTS fk_slides_slideshows
2875
93
  
2876
-  (0.6ms) ALTER TABLE bit_player_slides
2877
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
2878
-
2879
-  (2.5ms) DROP TABLE "bit_player_slides"
2880
-  (1.2ms) DROP TABLE "bit_player_slideshows"
2881
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
2882
-  (2.1ms) COMMIT
94
+  (5.4ms) DROP TABLE "bit_player_slides"
95
+  (2.6ms) DROP TABLE "bit_player_slideshows"
96
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620182756"]]
97
+  (9.6ms) COMMIT
2883
98
  Migrating to CreateBitCoreTools (20140620222614)
2884
-  (0.3ms) BEGIN
2885
-  (5.5ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
2886
-  (2.4ms)  ALTER TABLE bit_core_tools
99
+  (0.4ms) BEGIN
100
+  (19.1ms) CREATE 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)
101
+  (7.9ms)  ALTER TABLE bit_core_tools
2887
102
  ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
2888
103
  DEFERRABLE INITIALLY IMMEDIATE
2889
104
  
2890
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
2891
-  (0.5ms) COMMIT
105
+ SQL (4.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620222614"]]
106
+  (1.0ms) COMMIT
2892
107
  Migrating to CreateBitCoreContentModules (20140620222615)
2893
-  (0.4ms) BEGIN
2894
-  (5.1ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2895
-  (1.7ms) ALTER TABLE bit_core_content_modules
108
+  (0.9ms) BEGIN
109
+  (21.0ms) 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)
110
+  (2.9ms)  ALTER TABLE bit_core_content_modules
2896
111
  ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
2897
112
  DEFERRABLE INITIALLY IMMEDIATE
2898
-
2899
-  (2.1ms)  ALTER TABLE bit_core_content_modules
2900
- ADD CONSTRAINT fk_content_modules_tools
2901
- FOREIGN KEY (bit_core_tool_id)
2902
- REFERENCES bit_core_tools(id)
2903
- 
2904
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
2905
-  (0.5ms) COMMIT
2906
- Migrating to CreateBitCoreContentProviders (20140620222616)
2907
-  (0.4ms) BEGIN
2908
-  (5.0ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2909
-  (1.7ms) ALTER TABLE bit_core_content_providers
2910
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
2911
- DEFERRABLE INITIALLY IMMEDIATE
2912
-
2913
-  (2.0ms)  ALTER TABLE bit_core_content_providers
2914
- ADD CONSTRAINT fk_content_providers_modules
2915
- FOREIGN KEY (bit_core_content_module_id)
2916
- REFERENCES bit_core_content_modules(id)
2917
- 
2918
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
2919
-  (0.6ms) COMMIT
2920
- Migrating to CreateBitCoreSlideshows (20140620222617)
2921
-  (0.5ms) BEGIN
2922
-  (5.5ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2923
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
2924
-  (0.6ms) COMMIT
2925
- Migrating to CreateBitCoreSlides (20140620222618)
2926
-  (0.5ms) BEGIN
2927
-  (8.5ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2928
-  (2.5ms) ALTER TABLE bit_core_slides
2929
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
2930
- DEFERRABLE INITIALLY IMMEDIATE
2931
-
2932
-  (3.0ms)  ALTER TABLE bit_core_slides
2933
- ADD CONSTRAINT fk_slideshows_slides
2934
- FOREIGN KEY (bit_core_slideshow_id)
2935
- REFERENCES bit_core_slideshows(id)
2936
- 
2937
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
2938
-  (0.9ms) COMMIT
2939
- Migrating to AddOptionsToSlides (20140620222619)
2940
-  (0.5ms) BEGIN
2941
-  (0.8ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
2942
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
2943
-  (0.8ms) COMMIT
2944
- Migrating to AddConfigFieldsToProviders (20140620222620)
2945
-  (0.3ms) BEGIN
2946
-  (1.0ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
2947
-  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
2948
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
2949
-  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
2950
-  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
2951
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
2952
-  (0.7ms) COMMIT
2953
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
2954
-  (0.3ms) BEGIN
2955
- BitPlayer::Tool Load (1.2ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
2956
- BitPlayer::ContentModule Load (0.8ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
2957
- BitPlayer::ContentProvider Load (1.0ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
2958
-  (0.4ms) ALTER TABLE bit_player_content_modules
2959
- DROP CONSTRAINT IF EXISTS fk_content_modules_tools
2960
-
2961
-  (1.3ms)  ALTER TABLE bit_player_content_providers
2962
- DROP CONSTRAINT IF EXISTS fk_content_providers_modules
2963
- 
2964
-  (2.5ms) DROP TABLE "bit_player_tools"
2965
-  (2.7ms) DROP TABLE "bit_player_content_modules"
2966
-  (2.9ms) DROP TABLE "bit_player_content_providers"
2967
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
2968
-  (3.2ms) COMMIT
2969
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2970
-  (0.2ms) BEGIN
2971
- BitCore::ContentModule Load (1.7ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
2972
-  (0.3ms) ROLLBACK
2973
-  (0.2ms) BEGIN
2974
-  (0.2ms) ROLLBACK
2975
-  (4.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
2976
-  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2977
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2978
- Migrating to CreateBitPlayerContentModules (20140305200438)
2979
-  (0.3ms) BEGIN
2980
-  (6.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2981
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
2982
-  (0.5ms) COMMIT
2983
- Migrating to CreateBitPlayerContentProviders (20140305201300)
2984
-  (0.3ms) BEGIN
2985
-  (5.0ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2986
-  (1.1ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
2987
-  (3.2ms)  ALTER TABLE bit_player_content_providers
2988
- ADD CONSTRAINT fk_content_providers_modules
2989
- FOREIGN KEY (bit_player_content_module_id)
2990
- REFERENCES bit_player_content_modules(id)
2991
- 
2992
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
2993
-  (0.8ms) COMMIT
2994
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
2995
-  (0.4ms) BEGIN
2996
-  (3.9ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
2997
-  (1.7ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
2998
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
2999
-  (0.6ms) COMMIT
3000
- Migrating to CreateBitPlayerSlideshows (20140305232706)
3001
-  (0.5ms) BEGIN
3002
-  (4.2ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
3003
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
3004
-  (0.6ms) COMMIT
3005
- Migrating to CreateBitPlayerSlides (20140305234327)
3006
-  (0.4ms) BEGIN
3007
-  (5.0ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
3008
-  (1.1ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
3009
-  (2.1ms) ALTER TABLE bit_player_slides
3010
- ADD CONSTRAINT fk_slides_slideshows
3011
- FOREIGN KEY (bit_player_slideshow_id)
3012
- REFERENCES bit_player_slideshows(id)
3013
-
3014
-  (1.6ms)  ALTER TABLE bit_player_slides
3015
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
3016
- DEFERRABLE INITIALLY IMMEDIATE
3017
- 
3018
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
3019
-  (0.5ms) COMMIT
3020
- Migrating to CreateBitPlayerTools (20140402224913)
3021
-  (0.4ms) BEGIN
3022
-  (3.4ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3023
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
3024
-  (1.2ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
3025
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
3026
-  (0.5ms) COMMIT
3027
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
3028
-  (0.4ms) BEGIN
3029
- BitPlayer::Slideshow Load (0.7ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
3030
- BitPlayer::Slide Load (0.9ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
3031
-  (1.2ms)  ALTER TABLE bit_player_slides
3032
- DROP CONSTRAINT IF EXISTS fk_slides_slideshows
3033
- 
3034
-  (0.6ms) ALTER TABLE bit_player_slides
3035
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
3036
-
3037
-  (2.0ms) DROP TABLE "bit_player_slides"
3038
-  (1.1ms) DROP TABLE "bit_player_slideshows"
3039
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
3040
-  (2.0ms) COMMIT
3041
- Migrating to CreateBitCoreTools (20140620222614)
3042
-  (0.3ms) BEGIN
3043
-  (4.9ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
3044
-  (1.7ms)  ALTER TABLE bit_core_tools
3045
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
3046
- DEFERRABLE INITIALLY IMMEDIATE
3047
113
  
3048
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
3049
-  (0.7ms) COMMIT
3050
- Migrating to CreateBitCoreContentModules (20140620222615)
3051
-  (0.6ms) BEGIN
3052
-  (4.2ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3053
-  (1.7ms) ALTER TABLE bit_core_content_modules
3054
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
3055
- DEFERRABLE INITIALLY IMMEDIATE
3056
-
3057
-  (2.1ms)  ALTER TABLE bit_core_content_modules
114
+  (11.5ms)  ALTER TABLE bit_core_content_modules
3058
115
  ADD CONSTRAINT fk_content_modules_tools
3059
116
  FOREIGN KEY (bit_core_tool_id)
3060
117
  REFERENCES bit_core_tools(id)
3061
118
  
3062
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
3063
-  (0.6ms) COMMIT
119
+ SQL (1.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620222615"]]
120
+  (3.8ms) COMMIT
3064
121
  Migrating to CreateBitCoreContentProviders (20140620222616)
3065
-  (0.4ms) BEGIN
3066
-  (4.6ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3067
-  (1.4ms) ALTER TABLE bit_core_content_providers
122
+  (7.1ms) BEGIN
123
+  (53.8ms) 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)
124
+  (10.4ms)  ALTER TABLE bit_core_content_providers
3068
125
  ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
3069
126
  DEFERRABLE INITIALLY IMMEDIATE
3070
-
3071
-  (2.0ms)  ALTER TABLE bit_core_content_providers
3072
- ADD CONSTRAINT fk_content_providers_modules
3073
- FOREIGN KEY (bit_core_content_module_id)
3074
- REFERENCES bit_core_content_modules(id)
3075
- 
3076
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
3077
-  (0.5ms) COMMIT
3078
- Migrating to CreateBitCoreSlideshows (20140620222617)
3079
-  (0.3ms) BEGIN
3080
-  (5.4ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3081
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
3082
-  (0.5ms) COMMIT
3083
- Migrating to CreateBitCoreSlides (20140620222618)
3084
-  (0.9ms) BEGIN
3085
-  (7.9ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3086
-  (2.2ms) ALTER TABLE bit_core_slides
3087
- ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
3088
- DEFERRABLE INITIALLY IMMEDIATE
3089
-
3090
-  (3.1ms)  ALTER TABLE bit_core_slides
3091
- ADD CONSTRAINT fk_slideshows_slides
3092
- FOREIGN KEY (bit_core_slideshow_id)
3093
- REFERENCES bit_core_slideshows(id)
3094
- 
3095
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
3096
-  (0.6ms) COMMIT
3097
- Migrating to AddOptionsToSlides (20140620222619)
3098
-  (0.5ms) BEGIN
3099
-  (0.9ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
3100
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
3101
-  (0.6ms) COMMIT
3102
- Migrating to AddConfigFieldsToProviders (20140620222620)
3103
-  (0.3ms) BEGIN
3104
-  (1.3ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
3105
-  (1.2ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
3106
-  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
3107
-  (1.0ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
3108
-  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
3109
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
3110
-  (0.6ms) COMMIT
3111
- Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
3112
-  (0.3ms) BEGIN
3113
- BitPlayer::Tool Load (1.2ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
3114
- BitPlayer::ContentModule Load (0.7ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
3115
- BitPlayer::ContentProvider Load (1.1ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
3116
-  (0.5ms) ALTER TABLE bit_player_content_modules
3117
- DROP CONSTRAINT IF EXISTS fk_content_modules_tools
3118
-
3119
-  (1.2ms)  ALTER TABLE bit_player_content_providers
3120
- DROP CONSTRAINT IF EXISTS fk_content_providers_modules
3121
- 
3122
-  (2.3ms) DROP TABLE "bit_player_tools"
3123
-  (2.8ms) DROP TABLE "bit_player_content_modules"
3124
-  (3.1ms) DROP TABLE "bit_player_content_providers"
3125
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
3126
-  (3.2ms) COMMIT
3127
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
3128
-  (0.2ms) BEGIN
3129
- BitCore::ContentModule Load (1.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
3130
-  (0.3ms) ROLLBACK
3131
-  (0.2ms) BEGIN
3132
-  (0.2ms) ROLLBACK
3133
- ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
3134
- PG::InsufficientPrivilege: ERROR: permission denied for relation schema_migrations
3135
- : SELECT "schema_migrations".* FROM "schema_migrations"
3136
-  (9.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
3137
-  (4.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3138
- ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
3139
- Migrating to CreateBitPlayerContentModules (20140305200438)
3140
-  (0.3ms) BEGIN
3141
-  (7.2ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "context" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3142
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305200438"]]
3143
-  (0.8ms) COMMIT
3144
- Migrating to CreateBitPlayerContentProviders (20140305201300)
3145
-  (0.3ms) BEGIN
3146
-  (6.0ms) CREATE TABLE "bit_player_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_player_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3147
-  (1.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
3148
-  (6.1ms)  ALTER TABLE bit_player_content_providers
3149
- ADD CONSTRAINT fk_content_providers_modules
3150
- FOREIGN KEY (bit_player_content_module_id)
3151
- REFERENCES bit_player_content_modules(id)
3152
- 
3153
- SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305201300"]]
3154
-  (0.8ms) COMMIT
3155
- Migrating to CreateBitPlayerParticipantStatuses (20140305232705)
3156
-  (0.3ms) BEGIN
3157
-  (3.8ms) CREATE TABLE "bit_player_participant_statuses" ("id" serial primary key, "context" character varying(255), "module_position" integer, "provider_position" integer, "content_position" integer, "participant_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3158
-  (2.2ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
3159
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232705"]]
3160
-  (0.8ms) COMMIT
3161
- Migrating to CreateBitPlayerSlideshows (20140305232706)
3162
-  (0.5ms) BEGIN
3163
-  (5.0ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
3164
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305232706"]]
3165
-  (0.6ms) COMMIT
3166
- Migrating to CreateBitPlayerSlides (20140305234327)
3167
-  (0.5ms) BEGIN
3168
-  (6.2ms) CREATE TABLE "bit_player_slides" ("id" serial primary key, "title" character varying(255), "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_player_slideshow_id" integer NOT NULL, "type" character varying(255), "options" text, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)
3169
-  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")
3170
-  (2.6ms) ALTER TABLE bit_player_slides
3171
- ADD CONSTRAINT fk_slides_slideshows
3172
- FOREIGN KEY (bit_player_slideshow_id)
3173
- REFERENCES bit_player_slideshows(id)
3174
-
3175
-  (2.0ms)  ALTER TABLE bit_player_slides
3176
- ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
3177
- DEFERRABLE INITIALLY IMMEDIATE
3178
- 
3179
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305234327"]]
3180
-  (0.6ms) COMMIT
3181
- Migrating to CreateBitPlayerTools (20140402224913)
3182
-  (0.4ms) BEGIN
3183
-  (3.7ms) CREATE TABLE "bit_player_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer, "is_home" boolean DEFAULT 'f' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3184
-  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" ("title")
3185
-  (2.1ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" ("position")
3186
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140402224913"]]
3187
-  (0.6ms) COMMIT
3188
- Migrating to ConvertSlidesSlideshowsToBitCore (20140620182756)
3189
-  (0.7ms) BEGIN
3190
- BitPlayer::Slideshow Load (1.0ms) SELECT "bit_player_slideshows".* FROM "bit_player_slideshows"
3191
- BitPlayer::Slide Load (1.1ms) SELECT "bit_player_slides".* FROM "bit_player_slides"
3192
-  (1.7ms)  ALTER TABLE bit_player_slides
3193
- DROP CONSTRAINT IF EXISTS fk_slides_slideshows
3194
- 
3195
-  (0.9ms) ALTER TABLE bit_player_slides
3196
- DROP CONSTRAINT IF EXISTS bit_player_slide_position
3197
-
3198
-  (2.5ms) DROP TABLE "bit_player_slides"
3199
-  (1.3ms) DROP TABLE "bit_player_slideshows"
3200
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620182756"]]
3201
-  (2.1ms) COMMIT
3202
- Migrating to CreateBitCoreTools (20140620222614)
3203
-  (0.4ms) BEGIN
3204
-  (5.1ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
3205
-  (1.7ms)  ALTER TABLE bit_core_tools
3206
- ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
3207
- DEFERRABLE INITIALLY IMMEDIATE
3208
- 
3209
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222614"]]
3210
-  (0.6ms) COMMIT
3211
- Migrating to CreateBitCoreContentModules (20140620222615)
3212
-  (0.3ms) BEGIN
3213
-  (3.6ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3214
-  (1.6ms) ALTER TABLE bit_core_content_modules
3215
- ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
3216
- DEFERRABLE INITIALLY IMMEDIATE
3217
-
3218
-  (2.1ms)  ALTER TABLE bit_core_content_modules
3219
- ADD CONSTRAINT fk_content_modules_tools
3220
- FOREIGN KEY (bit_core_tool_id)
3221
- REFERENCES bit_core_tools(id)
3222
127
  
3223
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222615"]]
3224
-  (0.9ms) COMMIT
3225
- Migrating to CreateBitCoreContentProviders (20140620222616)
3226
-  (0.7ms) BEGIN
3227
-  (7.3ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3228
-  (2.4ms) ALTER TABLE bit_core_content_providers
3229
- ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
3230
- DEFERRABLE INITIALLY IMMEDIATE
3231
-
3232
-  (2.8ms)  ALTER TABLE bit_core_content_providers
128
+  (40.8ms)  ALTER TABLE bit_core_content_providers
3233
129
  ADD CONSTRAINT fk_content_providers_modules
3234
130
  FOREIGN KEY (bit_core_content_module_id)
3235
131
  REFERENCES bit_core_content_modules(id)
3236
132
  
3237
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222616"]]
3238
-  (0.7ms) COMMIT
133
+ SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620222616"]]
134
+  (1.1ms) COMMIT
3239
135
  Migrating to CreateBitCoreSlideshows (20140620222617)
3240
-  (0.5ms) BEGIN
3241
-  (4.2ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3242
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222617"]]
3243
-  (0.5ms) COMMIT
136
+  (1.5ms) BEGIN
137
+  (24.9ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp)
138
+ SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620222617"]]
139
+  (1.1ms) COMMIT
3244
140
  Migrating to CreateBitCoreSlides (20140620222618)
3245
-  (0.3ms) BEGIN
3246
-  (5.4ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying(255), "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
3247
-  (1.6ms) ALTER TABLE bit_core_slides
141
+  (0.7ms) BEGIN
142
+  (14.5ms) 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)
143
+  (2.7ms)  ALTER TABLE bit_core_slides
3248
144
  ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
3249
145
  DEFERRABLE INITIALLY IMMEDIATE
3250
-
3251
-  (2.0ms)  ALTER TABLE bit_core_slides
146
+ 
147
+  (26.1ms)  ALTER TABLE bit_core_slides
3252
148
  ADD CONSTRAINT fk_slideshows_slides
3253
149
  FOREIGN KEY (bit_core_slideshow_id)
3254
150
  REFERENCES bit_core_slideshows(id)
3255
151
  
3256
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222618"]]
3257
-  (0.6ms) COMMIT
152
+ SQL (1.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620222618"]]
153
+  (1.9ms) COMMIT
3258
154
  Migrating to AddOptionsToSlides (20140620222619)
3259
-  (0.3ms) BEGIN
3260
-  (0.6ms) ALTER TABLE "bit_core_slides" ADD COLUMN "options" text
3261
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222619"]]
3262
-  (0.9ms) COMMIT
155
+  (1.3ms) BEGIN
156
+  (2.2ms) ALTER TABLE "bit_core_slides" ADD "options" text
157
+ SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620222619"]]
158
+  (0.6ms) COMMIT
3263
159
  Migrating to AddConfigFieldsToProviders (20140620222620)
3264
-  (0.4ms) BEGIN
3265
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "template_path" character varying(255)
3266
-  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_class_name" character varying(255)
3267
-  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "data_attributes" text
3268
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "show_next_nav" boolean
3269
-  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD COLUMN "locals" text
3270
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222620"]]
3271
-  (0.7ms) COMMIT
160
+  (0.3ms) BEGIN
161
+  (1.8ms) ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying
162
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying
163
+  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text
164
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean
165
+  (0.5ms) ALTER TABLE "bit_core_content_providers" ADD "locals" text
166
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620222620"]]
167
+  (0.5ms) COMMIT
3272
168
  Migrating to ConvertToolsModulesPresentersToBitCore (20140620222851)
3273
-  (0.3ms) BEGIN
3274
- BitPlayer::Tool Load (1.1ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
3275
- BitPlayer::ContentModule Load (0.8ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
3276
- BitPlayer::ContentProvider Load (0.9ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
3277
-  (0.3ms) ALTER TABLE bit_player_content_modules
169
+  (0.4ms) BEGIN
170
+ BitPlayer::Tool Load (1.2ms) SELECT "bit_player_tools".* FROM "bit_player_tools"
171
+ BitPlayer::ContentModule Load (1.2ms) SELECT "bit_player_content_modules".* FROM "bit_player_content_modules"
172
+ BitPlayer::ContentProvider Load (1.5ms) SELECT "bit_player_content_providers".* FROM "bit_player_content_providers"
173
+  (0.5ms)  ALTER TABLE bit_player_content_modules
3278
174
  DROP CONSTRAINT IF EXISTS fk_content_modules_tools
3279
-
3280
-  (0.9ms)  ALTER TABLE bit_player_content_providers
175
+ 
176
+  (1.9ms)  ALTER TABLE bit_player_content_providers
3281
177
  DROP CONSTRAINT IF EXISTS fk_content_providers_modules
3282
178
  
3283
-  (1.8ms) DROP TABLE "bit_player_tools"
3284
-  (1.8ms) DROP TABLE "bit_player_content_modules"
3285
-  (2.0ms) DROP TABLE "bit_player_content_providers"
3286
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140620222851"]]
3287
-  (2.0ms) COMMIT
3288
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
3289
-  (0.2ms) BEGIN
3290
- BitCore::ContentModule Load (1.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
3291
-  (0.3ms) ROLLBACK
3292
-  (0.1ms) BEGIN
3293
-  (0.3ms) ROLLBACK
3294
-  (0.1ms) BEGIN
3295
-  (0.2ms) ROLLBACK
3296
-  (0.1ms) BEGIN
3297
- BitCore::ContentModule Load (2.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = 1 AND "bit_core_content_modules"."position" = 1 ORDER BY "bit_core_content_modules"."id" ASC LIMIT 1
3298
-  (0.3ms) ROLLBACK
179
+  (3.3ms) DROP TABLE "bit_player_tools"
180
+  (5.7ms) DROP TABLE "bit_player_content_modules"
181
+  (7.2ms) DROP TABLE "bit_player_content_providers"
182
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620222851"]]
183
+  (6.3ms) COMMIT
184
+ ActiveRecord::InternalMetadata Load (2.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT $1 [["LIMIT", 1]]
185
+  (7.0ms) BEGIN
186
+ SQL (4.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-05-09 13:42:22 UTC], ["updated_at", 2016-05-09 13:42:22 UTC]]
187
+  (0.9ms) COMMIT
188
+  (0.6ms) SELECT pg_advisory_unlock(2735718569030447490)
189
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
190
+  (10.3ms) 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
191
+ FROM pg_constraint c
192
+ JOIN pg_class t1 ON c.conrelid = t1.oid
193
+ JOIN pg_class t2 ON c.confrelid = t2.oid
194
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
195
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
196
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
197
+ WHERE c.contype = 'f'
198
+ AND t1.relname = 'bit_core_content_modules'
199
+ AND t3.nspname = ANY (current_schemas(false))
200
+ ORDER BY c.conname
201
+ 
202
+  (4.3ms) 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
203
+ FROM pg_constraint c
204
+ JOIN pg_class t1 ON c.conrelid = t1.oid
205
+ JOIN pg_class t2 ON c.confrelid = t2.oid
206
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
207
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
208
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
209
+ WHERE c.contype = 'f'
210
+ AND t1.relname = 'bit_core_content_providers'
211
+ AND t3.nspname = ANY (current_schemas(false))
212
+ ORDER BY c.conname
213
+ 
214
+  (5.2ms) 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
215
+ FROM pg_constraint c
216
+ JOIN pg_class t1 ON c.conrelid = t1.oid
217
+ JOIN pg_class t2 ON c.confrelid = t2.oid
218
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
219
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
220
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
221
+ WHERE c.contype = 'f'
222
+ AND t1.relname = 'bit_core_slides'
223
+ AND t3.nspname = ANY (current_schemas(false))
224
+ ORDER BY c.conname
225
+ 
226
+  (5.8ms) 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
227
+ FROM pg_constraint c
228
+ JOIN pg_class t1 ON c.conrelid = t1.oid
229
+ JOIN pg_class t2 ON c.confrelid = t2.oid
230
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
231
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
232
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
233
+ WHERE c.contype = 'f'
234
+ AND t1.relname = 'bit_core_slideshows'
235
+ AND t3.nspname = ANY (current_schemas(false))
236
+ ORDER BY c.conname
237
+ 
238
+  (4.4ms) 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
239
+ FROM pg_constraint c
240
+ JOIN pg_class t1 ON c.conrelid = t1.oid
241
+ JOIN pg_class t2 ON c.confrelid = t2.oid
242
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
243
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
244
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
245
+ WHERE c.contype = 'f'
246
+ AND t1.relname = 'bit_core_tools'
247
+ AND t3.nspname = ANY (current_schemas(false))
248
+ ORDER BY c.conname
249
+ 
250
+  (5.8ms) 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
251
+ FROM pg_constraint c
252
+ JOIN pg_class t1 ON c.conrelid = t1.oid
253
+ JOIN pg_class t2 ON c.confrelid = t2.oid
254
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
255
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
256
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
257
+ WHERE c.contype = 'f'
258
+ AND t1.relname = 'bit_player_participant_statuses'
259
+ AND t3.nspname = ANY (current_schemas(false))
260
+ ORDER BY c.conname
261
+ 
262
+  (0.2ms) BEGIN
263
+  (0.3ms) ROLLBACK
264
+  (0.2ms) BEGIN
265
+  (0.3ms) ROLLBACK
266
+  (0.1ms) BEGIN
267
+ BitCore::ContentModule Load (1.8ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."bit_core_tool_id" = $1 AND "bit_core_content_modules"."position" = $2 ORDER BY "bit_core_content_modules"."id" ASC LIMIT $3 [["bit_core_tool_id", 1], ["position", 1], ["LIMIT", 1]]
268
+  (0.3ms) ROLLBACK