bit_player 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/Rakefile +4 -1
- data/app/models/bit_player/content_module.rb +7 -6
- data/app/models/bit_player/content_provider.rb +5 -4
- data/app/models/bit_player/content_providers/form_view_provider.rb +20 -14
- data/app/models/bit_player/content_providers/null.rb +16 -9
- data/app/models/bit_player/content_providers/slideshow_provider.rb +24 -20
- data/app/models/bit_player/content_providers/view_provider.rb +20 -14
- data/app/models/bit_player/navigator.rb +10 -5
- data/app/models/bit_player/participant_status.rb +12 -13
- data/app/models/bit_player/slide.rb +19 -23
- data/app/models/bit_player/slideshow.rb +6 -5
- data/app/models/bit_player/video_slide.rb +1 -0
- data/db/migrate/20140305234327_create_bit_player_slides.rb +2 -4
- data/lib/bit_player/version.rb +1 -1
- data/spec/dummy/db/migrate/20140306000537_create_bit_player_slides.bit_player.rb +2 -4
- data/spec/dummy/db/schema.rb +1 -2
- data/spec/dummy/log/development.log +334 -0
- data/spec/dummy/log/test.log +2278 -149
- data/spec/fixtures/bit_player/content_modules.yml +9 -0
- data/spec/fixtures/bit_player/content_providers.yml +11 -0
- data/spec/fixtures/bit_player/slides.yml +17 -0
- data/spec/fixtures/bit_player/slideshows.yml +2 -0
- data/spec/models/bit_player/content_module_spec.rb +19 -0
- data/spec/models/bit_player/slide_spec.rb +15 -0
- data/spec/spec_helper.rb +1 -0
- metadata +12 -4
- data/app/helpers/bit_player/application_helper.rb +0 -4
- data/lib/tasks/bit_player_tasks.rake +0 -7
@@ -84,3 +84,337 @@ PG::DuplicateTable: ERROR: relation "bit_player_slides" already exists
|
|
84
84
|
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
|
85
85
|
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
|
86
86
|
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
87
|
+
[1m[36m (4.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
88
|
+
[1m[35m (2.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
89
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
90
|
+
Migrating to CreateBitPlayerContentModules (20140305231316)
|
91
|
+
[1m[35m (0.3ms)[0m BEGIN
|
92
|
+
[1m[36m (8.5ms)[0m [1mCREATE 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) [0m
|
93
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]
|
94
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
95
|
+
Migrating to CreateBitPlayerContentProviders (20140305231317)
|
96
|
+
[1m[35m (0.4ms)[0m BEGIN
|
97
|
+
[1m[36m (7.7ms)[0m [1mCREATE 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) [0m
|
98
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
|
99
|
+
[1m[36m (7.7ms)[0m [1m ALTER TABLE bit_player_content_providers
|
100
|
+
ADD CONSTRAINT fk_content_providers_modules
|
101
|
+
FOREIGN KEY (bit_player_content_module_id)
|
102
|
+
REFERENCES bit_player_content_modules(id)
|
103
|
+
[0m
|
104
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]]
|
105
|
+
[1m[36m (0.9ms)[0m [1mCOMMIT[0m
|
106
|
+
Migrating to CreateBitPlayerParticipantStatuses (20140305233110)
|
107
|
+
[1m[35m (0.7ms)[0m BEGIN
|
108
|
+
[1m[36m (5.2ms)[0m [1mCREATE 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) [0m
|
109
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
|
110
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305233110"]]
|
111
|
+
[1m[35m (0.7ms)[0m COMMIT
|
112
|
+
Migrating to CreateBitPlayerSlideshows (20140305234757)
|
113
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
114
|
+
[1m[35m (8.5ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
115
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305234757"]]
|
116
|
+
[1m[35m (0.6ms)[0m COMMIT
|
117
|
+
Migrating to CreateBitPlayerSlides (20140306000537)
|
118
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
119
|
+
[1m[35m (11.0ms)[0m 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)
|
120
|
+
[1m[36m (1.8ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
|
121
|
+
[1m[35m (2.0ms)[0m CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" ("position", "bit_player_slideshow_id")
|
122
|
+
[1m[36m (3.1ms)[0m [1m ALTER TABLE bit_player_slides
|
123
|
+
ADD CONSTRAINT fk_slides_slideshows
|
124
|
+
FOREIGN KEY (bit_player_slideshow_id)
|
125
|
+
REFERENCES bit_player_slideshows(id)
|
126
|
+
[0m
|
127
|
+
[1m[35m (3.2ms)[0m ALTER TABLE bit_player_slides
|
128
|
+
ADD CONSTRAINT slide_position UNIQUE (bit_player_slideshow_id, position)
|
129
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
130
|
+
|
131
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140306000537"]]
|
132
|
+
[1m[35m (0.8ms)[0m COMMIT
|
133
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
134
|
+
[1m[36m (117.0ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
135
|
+
[1m[35m (249.0ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
136
|
+
[1m[36mSQL (1.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
137
|
+
[1m[35m (11.8ms)[0m 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)
|
138
|
+
[1m[36m (5.6ms)[0m [1mCREATE 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) [0m
|
139
|
+
[1m[35m (1.6ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
|
140
|
+
[1m[36m (3.9ms)[0m [1mCREATE 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) [0m
|
141
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
|
142
|
+
[1m[36m (9.2ms)[0m [1mCREATE 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) [0m
|
143
|
+
[1m[35m (2.2ms)[0m CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
|
144
|
+
[1m[36m (1.5ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
|
145
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")
|
146
|
+
[1m[36m (3.5ms)[0m [1mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
147
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
148
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
149
|
+
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
150
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140306000537')[0m
|
151
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')
|
152
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231317')[0m
|
153
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
|
154
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
|
155
|
+
[1m[36m (123.1ms)[0m [1mDROP DATABASE IF EXISTS "dummy_development"[0m
|
156
|
+
[1m[35m (124.4ms)[0m DROP DATABASE IF EXISTS "dummy_test"
|
157
|
+
[1m[36m (259.4ms)[0m [1mCREATE DATABASE "dummy_development" ENCODING = 'unicode'[0m
|
158
|
+
[1m[35m (250.3ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
159
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
160
|
+
[1m[35m (11.0ms)[0m 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)
|
161
|
+
[1m[36m (7.9ms)[0m [1mCREATE 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) [0m
|
162
|
+
[1m[35m (1.6ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
|
163
|
+
[1m[36m (4.5ms)[0m [1mCREATE 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) [0m
|
164
|
+
[1m[35m (1.6ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
|
165
|
+
[1m[36m (7.0ms)[0m [1mCREATE 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) [0m
|
166
|
+
[1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
|
167
|
+
[1m[36m (1.7ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
|
168
|
+
[1m[35m (1.6ms)[0m CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")
|
169
|
+
[1m[36m (4.2ms)[0m [1mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
170
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
171
|
+
[1m[36m (1.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
172
|
+
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
173
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140306000537')[0m
|
174
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')
|
175
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231317')[0m
|
176
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
|
177
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
|
178
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
179
|
+
[1m[36m (115.3ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
180
|
+
[1m[35m (246.9ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
181
|
+
[1m[36mSQL (1.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
182
|
+
[1m[35m (9.6ms)[0m 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)
|
183
|
+
[1m[36m (5.4ms)[0m [1mCREATE 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) [0m
|
184
|
+
[1m[35m (1.5ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
|
185
|
+
[1m[36m (3.7ms)[0m [1mCREATE 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) [0m
|
186
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
|
187
|
+
[1m[36m (5.5ms)[0m [1mCREATE 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) [0m
|
188
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
|
189
|
+
[1m[36m (1.4ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
|
190
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")
|
191
|
+
[1m[36m (3.7ms)[0m [1mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
192
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
193
|
+
[1m[36m (1.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
194
|
+
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
195
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140306000537')[0m
|
196
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')
|
197
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231317')[0m
|
198
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
|
199
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
|
200
|
+
[1m[36m (122.7ms)[0m [1mDROP DATABASE IF EXISTS "dummy_development"[0m
|
201
|
+
[1m[35m (117.8ms)[0m DROP DATABASE IF EXISTS "dummy_test"
|
202
|
+
[1m[36m (246.5ms)[0m [1mCREATE DATABASE "dummy_development" ENCODING = 'unicode'[0m
|
203
|
+
[1m[35m (247.7ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
204
|
+
[1m[36mSQL (1.7ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
205
|
+
[1m[35m (10.3ms)[0m 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)
|
206
|
+
[1m[36m (5.5ms)[0m [1mCREATE 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) [0m
|
207
|
+
[1m[35m (1.7ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
|
208
|
+
[1m[36m (5.8ms)[0m [1mCREATE 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) [0m
|
209
|
+
[1m[35m (1.6ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
|
210
|
+
[1m[36m (5.8ms)[0m [1mCREATE 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) [0m
|
211
|
+
[1m[35m (1.8ms)[0m CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
|
212
|
+
[1m[36m (1.5ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
|
213
|
+
[1m[35m (1.9ms)[0m CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")
|
214
|
+
[1m[36m (7.0ms)[0m [1mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
215
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
216
|
+
[1m[36m (1.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
217
|
+
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
218
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140306000537')[0m
|
219
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')
|
220
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231317')[0m
|
221
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
|
222
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
|
223
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
224
|
+
[1m[36m (116.2ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
225
|
+
[1m[35m (247.7ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
226
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
227
|
+
[1m[35m (9.1ms)[0m 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)
|
228
|
+
[1m[36m (5.6ms)[0m [1mCREATE 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) [0m
|
229
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
|
230
|
+
[1m[36m (3.8ms)[0m [1mCREATE 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) [0m
|
231
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
|
232
|
+
[1m[36m (5.7ms)[0m [1mCREATE 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) [0m
|
233
|
+
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
|
234
|
+
[1m[36m (1.4ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
|
235
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")
|
236
|
+
[1m[36m (3.5ms)[0m [1mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
237
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
238
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
239
|
+
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
240
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140306000537')[0m
|
241
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')
|
242
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231317')[0m
|
243
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
|
244
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
|
245
|
+
[1m[36m (121.2ms)[0m [1mDROP DATABASE IF EXISTS "dummy_development"[0m
|
246
|
+
[1m[35m (118.0ms)[0m DROP DATABASE IF EXISTS "dummy_test"
|
247
|
+
[1m[36m (247.6ms)[0m [1mCREATE DATABASE "dummy_development" ENCODING = 'unicode'[0m
|
248
|
+
[1m[35m (244.6ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
249
|
+
[1m[36mSQL (1.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
250
|
+
[1m[35m (12.1ms)[0m 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)
|
251
|
+
[1m[36m (6.6ms)[0m [1mCREATE 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) [0m
|
252
|
+
[1m[35m (1.5ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
|
253
|
+
[1m[36m (3.8ms)[0m [1mCREATE 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) [0m
|
254
|
+
[1m[35m (1.5ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
|
255
|
+
[1m[36m (7.9ms)[0m [1mCREATE 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) [0m
|
256
|
+
[1m[35m (2.3ms)[0m CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
|
257
|
+
[1m[36m (1.5ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
|
258
|
+
[1m[35m (2.0ms)[0m CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")
|
259
|
+
[1m[36m (5.3ms)[0m [1mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
260
|
+
[1m[35m (1.5ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
261
|
+
[1m[36m (1.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
262
|
+
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
263
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140306000537')[0m
|
264
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')
|
265
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231317')[0m
|
266
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
|
267
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
|
268
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
269
|
+
[1m[36m (119.7ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
270
|
+
[1m[35m (255.8ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
271
|
+
[1m[36mSQL (2.0ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
272
|
+
[1m[35m (14.9ms)[0m 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)
|
273
|
+
[1m[36m (8.5ms)[0m [1mCREATE 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) [0m
|
274
|
+
[1m[35m (2.3ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
|
275
|
+
[1m[36m (6.3ms)[0m [1mCREATE 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) [0m
|
276
|
+
[1m[35m (1.9ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
|
277
|
+
[1m[36m (8.5ms)[0m [1mCREATE 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) [0m
|
278
|
+
[1m[35m (1.9ms)[0m CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
|
279
|
+
[1m[36m (1.9ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
|
280
|
+
[1m[35m (1.9ms)[0m CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")
|
281
|
+
[1m[36m (5.6ms)[0m [1mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
282
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
283
|
+
[1m[36m (2.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
284
|
+
[1m[35m (0.8ms)[0m SELECT version FROM "schema_migrations"
|
285
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140306000537')[0m
|
286
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')
|
287
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231317')[0m
|
288
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
|
289
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
|
290
|
+
[1m[36m (121.3ms)[0m [1mDROP DATABASE IF EXISTS "dummy_development"[0m
|
291
|
+
[1m[35m (117.5ms)[0m DROP DATABASE IF EXISTS "dummy_test"
|
292
|
+
[1m[36m (246.3ms)[0m [1mCREATE DATABASE "dummy_development" ENCODING = 'unicode'[0m
|
293
|
+
[1m[35m (244.8ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
294
|
+
[1m[36mSQL (1.2ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
295
|
+
[1m[35m (11.0ms)[0m 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)
|
296
|
+
[1m[36m (6.4ms)[0m [1mCREATE 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) [0m
|
297
|
+
[1m[35m (1.6ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
|
298
|
+
[1m[36m (4.9ms)[0m [1mCREATE 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) [0m
|
299
|
+
[1m[35m (1.8ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
|
300
|
+
[1m[36m (7.7ms)[0m [1mCREATE 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) [0m
|
301
|
+
[1m[35m (2.4ms)[0m CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
|
302
|
+
[1m[36m (1.6ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
|
303
|
+
[1m[35m (1.5ms)[0m CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")
|
304
|
+
[1m[36m (4.0ms)[0m [1mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
305
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
306
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
307
|
+
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
308
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140306000537')[0m
|
309
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')
|
310
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231317')[0m
|
311
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
|
312
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
|
313
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
314
|
+
[1m[36m (115.9ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
315
|
+
[1m[35m (246.5ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
316
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
317
|
+
[1m[35m (8.9ms)[0m 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)
|
318
|
+
[1m[36m (5.5ms)[0m [1mCREATE 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) [0m
|
319
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
|
320
|
+
[1m[36m (3.6ms)[0m [1mCREATE 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) [0m
|
321
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
|
322
|
+
[1m[36m (5.5ms)[0m [1mCREATE 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) [0m
|
323
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
|
324
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
|
325
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_bit_player_slides_on_position_and_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("position", "bit_player_slideshow_id")
|
326
|
+
[1m[36m (3.7ms)[0m [1mCREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) [0m
|
327
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
328
|
+
[1m[36m (1.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
329
|
+
[1m[35m (0.5ms)[0m SELECT version FROM "schema_migrations"
|
330
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140306000537')[0m
|
331
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305231316')
|
332
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231317')[0m
|
333
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305233110')
|
334
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305234757')[0m
|
335
|
+
[1m[36m (4.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
336
|
+
[1m[35m (2.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
337
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
338
|
+
Migrating to CreateBitPlayerContentModules (20140305231316)
|
339
|
+
[1m[35m (0.2ms)[0m BEGIN
|
340
|
+
[1m[36m (7.0ms)[0m [1mCREATE 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) [0m
|
341
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231316"]]
|
342
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
343
|
+
Migrating to CreateBitPlayerContentProviders (20140305231317)
|
344
|
+
[1m[35m (0.3ms)[0m BEGIN
|
345
|
+
[1m[36m (5.0ms)[0m [1mCREATE 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) [0m
|
346
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" ("bit_player_content_module_id")
|
347
|
+
[1m[36m (3.7ms)[0m [1m ALTER TABLE bit_player_content_providers
|
348
|
+
ADD CONSTRAINT fk_content_providers_modules
|
349
|
+
FOREIGN KEY (bit_player_content_module_id)
|
350
|
+
REFERENCES bit_player_content_modules(id)
|
351
|
+
[0m
|
352
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140305231317"]]
|
353
|
+
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
|
354
|
+
Migrating to CreateBitPlayerParticipantStatuses (20140305233110)
|
355
|
+
[1m[35m (0.5ms)[0m BEGIN
|
356
|
+
[1m[36m (4.0ms)[0m [1mCREATE 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) [0m
|
357
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" ("participant_id")
|
358
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305233110"]]
|
359
|
+
[1m[35m (0.5ms)[0m COMMIT
|
360
|
+
Migrating to CreateBitPlayerSlideshows (20140305234757)
|
361
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
362
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
363
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20140305234757"]]
|
364
|
+
[1m[35m (0.4ms)[0m COMMIT
|
365
|
+
Migrating to CreateBitPlayerSlides (20140306000537)
|
366
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
367
|
+
[1m[35m (5.7ms)[0m 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)
|
368
|
+
[1m[36m (1.7ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" ("bit_player_slideshow_id")[0m
|
369
|
+
[1m[35m (2.7ms)[0m ALTER TABLE bit_player_slides
|
370
|
+
ADD CONSTRAINT fk_slides_slideshows
|
371
|
+
FOREIGN KEY (bit_player_slideshow_id)
|
372
|
+
REFERENCES bit_player_slideshows(id)
|
373
|
+
|
374
|
+
[1m[36m (2.1ms)[0m [1m ALTER TABLE bit_player_slides
|
375
|
+
ADD CONSTRAINT bit_player_slide_position UNIQUE (bit_player_slideshow_id, position)
|
376
|
+
DEFERRABLE INITIALLY IMMEDIATE
|
377
|
+
[0m
|
378
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140306000537"]]
|
379
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
380
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.6ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
381
|
+
[1m[36m (120.2ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
382
|
+
[1m[35m (253.4ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
383
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
384
|
+
[1m[35m (8.7ms)[0m 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)
|
385
|
+
[1m[36m (5.6ms)[0m [1mCREATE 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) [0m
|
386
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
|
387
|
+
[1m[36m (3.7ms)[0m [1mCREATE 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) [0m
|
388
|
+
[1m[35m (1.4ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
|
389
|
+
[1m[36m (5.7ms)[0m [1mCREATE 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) [0m
|
390
|
+
[1m[35m (1.4ms)[0m CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
|
391
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
|
392
|
+
[1m[35m (3.5ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
393
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
394
|
+
[1m[35m (1.6ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
395
|
+
[1m[36m (0.5ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
396
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140306000537')
|
397
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231316')[0m
|
398
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305231317')
|
399
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305233110')[0m
|
400
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305234757')
|
401
|
+
[1m[36m (117.0ms)[0m [1mDROP DATABASE IF EXISTS "dummy_test"[0m
|
402
|
+
[1m[35m (247.2ms)[0m CREATE DATABASE "dummy_test" ENCODING = 'unicode'
|
403
|
+
[1m[36mSQL (1.3ms)[0m [1mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
404
|
+
[1m[35m (9.4ms)[0m 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)
|
405
|
+
[1m[36m (5.5ms)[0m [1mCREATE 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) [0m
|
406
|
+
[1m[35m (1.5ms)[0m CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
|
407
|
+
[1m[36m (3.6ms)[0m [1mCREATE 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) [0m
|
408
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
|
409
|
+
[1m[36m (5.4ms)[0m [1mCREATE 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) [0m
|
410
|
+
[1m[35m (1.5ms)[0m CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
|
411
|
+
[1m[36m (1.4ms)[0m [1mCREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")[0m
|
412
|
+
[1m[35m (3.4ms)[0m CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
|
413
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
414
|
+
[1m[35m (1.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
415
|
+
[1m[36m (0.5ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
416
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140306000537')
|
417
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305231316')[0m
|
418
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305231317')
|
419
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140305233110')[0m
|
420
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140305234757')
|