bit_core 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +4 -0
  4. data/Rakefile +21 -0
  5. data/app/assets/stylesheets/bit_core/application.css +15 -0
  6. data/app/controllers/bit_core/application_controller.rb +4 -0
  7. data/app/models/bit_core/content_module.rb +37 -0
  8. data/app/models/bit_core/content_provider.rb +14 -0
  9. data/app/models/bit_core/slide.rb +36 -0
  10. data/app/models/bit_core/slideshow.rb +16 -0
  11. data/app/models/bit_core/tool.rb +25 -0
  12. data/app/views/layouts/bit_core/application.html.erb +14 -0
  13. data/config/routes.rb +2 -0
  14. data/config/spring.rb +1 -0
  15. data/db/migrate/20140415210052_create_bit_core_tools.rb +28 -0
  16. data/db/migrate/20140415211458_create_bit_core_content_modules.rb +40 -0
  17. data/db/migrate/20140415213346_create_bit_core_content_providers.rb +42 -0
  18. data/db/migrate/20140417173056_create_bit_core_slideshows.rb +9 -0
  19. data/db/migrate/20140417174159_create_bit_core_slides.rb +43 -0
  20. data/lib/bit_core/engine.rb +12 -0
  21. data/lib/bit_core/version.rb +4 -0
  22. data/lib/bit_core.rb +5 -0
  23. data/lib/tasks/bit_core_tasks.rake +4 -0
  24. data/spec/dummy/README.rdoc +28 -0
  25. data/spec/dummy/Rakefile +7 -0
  26. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  27. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  28. data/spec/dummy/app/controllers/application_controller.rb +6 -0
  29. data/spec/dummy/app/views/layouts/application.html.erb +13 -0
  30. data/spec/dummy/bin/bundle +3 -0
  31. data/spec/dummy/bin/rails +8 -0
  32. data/spec/dummy/bin/rake +8 -0
  33. data/spec/dummy/bin/spring +18 -0
  34. data/spec/dummy/config/application.rb +29 -0
  35. data/spec/dummy/config/boot.rb +5 -0
  36. data/spec/dummy/config/database.yml +85 -0
  37. data/spec/dummy/config/environment.rb +5 -0
  38. data/spec/dummy/config/environments/development.rb +37 -0
  39. data/spec/dummy/config/environments/production.rb +83 -0
  40. data/spec/dummy/config/environments/test.rb +39 -0
  41. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  42. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  43. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  44. data/spec/dummy/config/initializers/inflections.rb +16 -0
  45. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  46. data/spec/dummy/config/initializers/session_store.rb +3 -0
  47. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  48. data/spec/dummy/config/locales/en.yml +23 -0
  49. data/spec/dummy/config/routes.rb +56 -0
  50. data/spec/dummy/config/secrets.yml +22 -0
  51. data/spec/dummy/config.ru +4 -0
  52. data/spec/dummy/db/schema.rb +69 -0
  53. data/spec/dummy/log/development.log +575 -0
  54. data/spec/dummy/log/test.log +1176 -0
  55. data/spec/dummy/public/404.html +67 -0
  56. data/spec/dummy/public/422.html +67 -0
  57. data/spec/dummy/public/500.html +66 -0
  58. data/spec/dummy/public/favicon.ico +0 -0
  59. data/spec/fixtures/bit_core/content_modules.yml +9 -0
  60. data/spec/fixtures/bit_core/content_providers.yml +9 -0
  61. data/spec/fixtures/bit_core/slides.yml +17 -0
  62. data/spec/fixtures/bit_core/slideshows.yml +2 -0
  63. data/spec/fixtures/bit_core/tools.yml +2 -0
  64. data/spec/models/bit_core/slide_spec.rb +38 -0
  65. data/spec/spec_helper.rb +17 -0
  66. metadata +220 -0
@@ -0,0 +1,575 @@
1
+  (129.8ms) DROP DATABASE IF EXISTS "dummy_test"
2
+  (391.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
3
+ ActiveRecord::SchemaMigration Load (3.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+  (116.6ms) DROP DATABASE IF EXISTS "dummy_test"
5
+  (395.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
6
+ SQL (2.8ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
7
+  (22.2ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)
8
+  (10.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) 
9
+  (19.8ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
10
+  (6.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) 
11
+  (2.5ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
12
+  (8.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) 
13
+  (2.0ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
14
+  (1.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
15
+  (4.0ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
16
+  (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) 
17
+  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
18
+  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
19
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
20
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
21
+  (0.5ms) SELECT version FROM "schema_migrations"
22
+  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')
23
+  (117.6ms) DROP DATABASE IF EXISTS "dummy_test"
24
+  (251.0ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
25
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
26
+  (7.3ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)
27
+  (5.8ms) 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) 
28
+  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
29
+  (3.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) 
30
+  (1.5ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
31
+  (5.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) 
32
+  (1.5ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
33
+  (1.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
34
+  (3.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
35
+  (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) 
36
+  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
37
+  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
38
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
39
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
40
+  (0.6ms) SELECT version FROM "schema_migrations"
41
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')
42
+  (121.6ms) DROP DATABASE IF EXISTS "dummy_test"
43
+  (257.2ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
44
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
45
+  (7.1ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)
46
+  (5.6ms) 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) 
47
+  (1.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
48
+  (3.7ms) 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) 
49
+  (1.6ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
50
+  (5.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) 
51
+  (1.5ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
52
+  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
53
+  (3.6ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
54
+  (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) 
55
+  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
56
+  (1.8ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
57
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
58
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
59
+  (0.5ms) SELECT version FROM "schema_migrations"
60
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')
61
+  (120.4ms) DROP DATABASE IF EXISTS "dummy_test"
62
+  (251.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
63
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
64
+  (9.3ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)
65
+  (6.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) 
66
+  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
67
+  (3.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) 
68
+  (1.6ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
69
+  (5.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) 
70
+  (1.6ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
71
+  (1.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
72
+  (3.3ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
73
+  (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) 
74
+  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
75
+  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
76
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
77
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
78
+  (0.5ms) SELECT version FROM "schema_migrations"
79
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')
80
+  (132.4ms) DROP DATABASE IF EXISTS "dummy_test"
81
+  (397.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
82
+ SQL (2.0ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
83
+  (26.8ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)
84
+  (9.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) 
85
+  (1.7ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
86
+  (5.7ms) 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) 
87
+  (1.6ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
88
+  (5.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) 
89
+  (1.7ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
90
+  (1.5ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
91
+  (4.0ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
92
+  (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) 
93
+  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
94
+  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
95
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
96
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
97
+  (0.5ms) SELECT version FROM "schema_migrations"
98
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')
99
+  (117.9ms) DROP DATABASE IF EXISTS "dummy_test"
100
+  (247.4ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
101
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
102
+  (8.9ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)
103
+  (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) 
104
+  (1.5ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
105
+  (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) 
106
+  (1.6ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
107
+  (7.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) 
108
+  (1.6ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
109
+  (1.3ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
110
+  (3.7ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
111
+  (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) 
112
+  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
113
+  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
114
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
115
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
116
+  (0.5ms) SELECT version FROM "schema_migrations"
117
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')
118
+  (118.7ms) DROP DATABASE IF EXISTS "dummy_test"
119
+  (371.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
120
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
121
+  (7.0ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)
122
+  (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) 
123
+  (1.5ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
124
+  (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) 
125
+  (1.5ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
126
+  (5.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) 
127
+  (1.7ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
128
+  (1.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
129
+  (3.6ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
130
+  (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) 
131
+  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
132
+  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
133
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
134
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
135
+  (0.5ms) SELECT version FROM "schema_migrations"
136
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')
137
+  (117.7ms) DROP DATABASE IF EXISTS "dummy_test"
138
+  (246.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
139
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
140
+  (8.9ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)
141
+  (5.6ms) 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) 
142
+  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
143
+  (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) 
144
+  (1.5ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
145
+  (5.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) 
146
+  (1.5ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
147
+  (1.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
148
+  (3.7ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
149
+  (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) 
150
+  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
151
+  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
152
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
153
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
154
+  (0.5ms) SELECT version FROM "schema_migrations"
155
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')
156
+  (118.3ms) DROP DATABASE IF EXISTS "dummy_test"
157
+  (249.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
158
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
159
+  (7.3ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)
160
+  (6.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) 
161
+  (1.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
162
+  (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) 
163
+  (1.5ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
164
+  (8.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) 
165
+  (1.7ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
166
+  (1.7ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
167
+  (3.6ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
168
+  (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) 
169
+  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
170
+  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
171
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
172
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
173
+  (0.4ms) SELECT version FROM "schema_migrations"
174
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')
175
+  (124.4ms) DROP DATABASE IF EXISTS "dummy_test"
176
+  (249.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
177
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
178
+  (8.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)
179
+  (5.7ms) 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) 
180
+  (2.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
181
+  (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) 
182
+  (1.6ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
183
+  (7.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) 
184
+  (3.3ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
185
+  (1.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
186
+  (3.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
187
+  (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) 
188
+  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
189
+  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
190
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
191
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
192
+  (0.4ms) SELECT version FROM "schema_migrations"
193
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')
194
+  (134.5ms) DROP DATABASE IF EXISTS "dummy_test"
195
+  (430.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
196
+ SQL (2.2ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
197
+  (7.5ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)
198
+  (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) 
199
+  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
200
+  (3.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) 
201
+  (1.7ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
202
+  (5.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) 
203
+  (1.7ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
204
+  (1.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
205
+  (3.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
206
+  (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) 
207
+  (1.5ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
208
+  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
209
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
210
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
211
+  (0.5ms) SELECT version FROM "schema_migrations"
212
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')
213
+  (117.6ms) DROP DATABASE IF EXISTS "dummy_test"
214
+  (247.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
215
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
216
+  (8.6ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL)
217
+  (8.8ms) 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) 
218
+  (1.5ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
219
+  (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) 
220
+  (1.4ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
221
+  (5.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) 
222
+  (1.5ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
223
+  (1.4ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
224
+  (3.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
225
+  (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) 
226
+  (1.3ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
227
+  (1.6ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
228
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
229
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
230
+  (0.6ms) SELECT version FROM "schema_migrations"
231
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140403181300')
232
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
233
+ Migrating to CreateBitCoreTools (20140415210052)
234
+  (0.3ms) BEGIN
235
+  (10.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) 
236
+  (2.3ms) ALTER TABLE bit_core_tools
237
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
238
+ DEFERRABLE INITIALLY IMMEDIATE
239
+
240
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
241
+  (1.0ms) COMMIT
242
+ Migrating to CreateBitCoreContentModules (20140415211458)
243
+  (0.3ms) BEGIN
244
+  (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)
245
+  (1.6ms)  ALTER TABLE bit_core_content_modules
246
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
247
+ DEFERRABLE INITIALLY IMMEDIATE
248
+ 
249
+  (2.4ms) ALTER TABLE bit_core_content_modules
250
+ ADD CONSTRAINT fk_content_modules_tools
251
+ FOREIGN KEY (bit_core_tool_id)
252
+ REFERENCES bit_core_tools(id)
253
+
254
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
255
+  (0.6ms) COMMIT
256
+ Migrating to CreateBitCoreContentProviders (20140415213346)
257
+  (0.5ms) BEGIN
258
+  (6.0ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
259
+  (2.1ms)  ALTER TABLE bit_core_content_providers
260
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
261
+ DEFERRABLE INITIALLY IMMEDIATE
262
+ 
263
+  (2.3ms) ALTER TABLE bit_core_content_providers
264
+ ADD CONSTRAINT fk_content_providers_modules
265
+ FOREIGN KEY (bit_core_content_module_id)
266
+ REFERENCES bit_core_content_modules(id)
267
+
268
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
269
+  (0.7ms) COMMIT
270
+ Migrating to CreateBitCoreSlideshows (20140417173056)
271
+  (0.5ms) BEGIN
272
+  (5.4ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
273
+ SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
274
+  (1.0ms) COMMIT
275
+ Migrating to CreateBitCoreSlides (20140417174159)
276
+  (0.8ms) BEGIN
277
+  (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)
278
+  (2.2ms)  ALTER TABLE bit_core_slides
279
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
280
+ DEFERRABLE INITIALLY IMMEDIATE
281
+ 
282
+  (2.5ms) ALTER TABLE bit_core_slides
283
+ ADD CONSTRAINT fk_slideshows_slides
284
+ FOREIGN KEY (bit_core_slideshow_id)
285
+ REFERENCES bit_core_slideshows(id)
286
+
287
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
288
+  (0.7ms) COMMIT
289
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
290
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
291
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
292
+  (119.5ms) DROP DATABASE IF EXISTS "dummy_test"
293
+  (249.0ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
294
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
295
+  (8.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)
296
+  (1.7ms) CREATE UNIQUE INDEX "bit_core_content_module_position" ON "bit_core_content_modules" USING btree ("bit_core_tool_id", "position")
297
+  (5.7ms) 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)
298
+  (1.8ms) CREATE UNIQUE INDEX "bit_core_content_provider_position" ON "bit_core_content_providers" USING btree ("bit_core_content_module_id", "position")
299
+  (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)
300
+  (1.5ms) CREATE UNIQUE INDEX "bit_core_slide_position" ON "bit_core_slides" USING btree ("bit_core_slideshow_id", "position")
301
+  (3.4ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
302
+  (3.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) 
303
+  (1.3ms) CREATE UNIQUE INDEX "bit_core_tool_position" ON "bit_core_tools" USING btree ("position")
304
+  (3.5ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL) 
305
+  (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)
306
+  (1.4ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
307
+  (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)
308
+  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
309
+  (5.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)
310
+  (1.4ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
311
+  (1.3ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
312
+  (3.5ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
313
+  (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)
314
+  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
315
+  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
316
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
317
+  (1.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
318
+  (0.5ms) SELECT version FROM "schema_migrations"
319
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417174159')
320
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415210052')
321
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415211458')
322
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415213346')
323
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417173056')
324
+  (117.4ms) DROP DATABASE IF EXISTS "dummy_test"
325
+  (244.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
326
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
327
+  (8.3ms) 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)
328
+  (1.6ms) CREATE UNIQUE INDEX "bit_core_content_module_position" ON "bit_core_content_modules" USING btree ("bit_core_tool_id", "position")
329
+  (5.3ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
330
+  (1.7ms) CREATE UNIQUE INDEX "bit_core_content_provider_position" ON "bit_core_content_providers" USING btree ("bit_core_content_module_id", "position")
331
+  (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)
332
+  (1.6ms) CREATE UNIQUE INDEX "bit_core_slide_position" ON "bit_core_slides" USING btree ("bit_core_slideshow_id", "position")
333
+  (3.4ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
334
+  (3.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) 
335
+  (1.4ms) CREATE UNIQUE INDEX "bit_core_tool_position" ON "bit_core_tools" USING btree ("position")
336
+  (3.5ms) CREATE TABLE "bit_player_content_modules" ("id" serial primary key, "title" character varying(255) NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp, "bit_player_tool_id" integer NOT NULL) 
337
+  (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)
338
+  (1.3ms) CREATE INDEX "content_module_index" ON "bit_player_content_providers" USING btree ("bit_player_content_module_id")
339
+  (3.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)
340
+  (1.3ms) CREATE INDEX "index_participant_statuses_on_participant_id" ON "bit_player_participant_statuses" USING btree ("participant_id")
341
+  (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)
342
+  (1.4ms) CREATE UNIQUE INDEX "bit_player_slide_position" ON "bit_player_slides" USING btree ("bit_player_slideshow_id", "position")
343
+  (1.3ms) CREATE INDEX "index_bit_player_slides_on_bit_player_slideshow_id" ON "bit_player_slides" USING btree ("bit_player_slideshow_id")
344
+  (3.4ms) CREATE TABLE "bit_player_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp) 
345
+  (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)
346
+  (1.4ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_position" ON "bit_player_tools" USING btree ("position")
347
+  (1.7ms) CREATE UNIQUE INDEX "index_bit_player_tools_on_title" ON "bit_player_tools" USING btree ("title")
348
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
349
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
350
+  (0.5ms) SELECT version FROM "schema_migrations"
351
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417174159')
352
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415210052')
353
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415211458')
354
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415213346')
355
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417173056')
356
+  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
357
+  (2.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
358
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
359
+ Migrating to CreateBitCoreTools (20140415210052)
360
+  (0.3ms) BEGIN
361
+  (4.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) 
362
+  (2.2ms) ALTER TABLE bit_core_tools
363
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
364
+ DEFERRABLE INITIALLY IMMEDIATE
365
+
366
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
367
+  (0.6ms) COMMIT
368
+ Migrating to CreateBitCoreContentModules (20140415211458)
369
+  (0.4ms) BEGIN
370
+  (3.4ms) 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)
371
+  (1.7ms)  ALTER TABLE bit_core_content_modules
372
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
373
+ DEFERRABLE INITIALLY IMMEDIATE
374
+ 
375
+  (2.5ms) ALTER TABLE bit_core_content_modules
376
+ ADD CONSTRAINT fk_content_modules_tools
377
+ FOREIGN KEY (bit_core_tool_id)
378
+ REFERENCES bit_core_tools(id)
379
+
380
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
381
+  (0.7ms) COMMIT
382
+ Migrating to CreateBitCoreContentProviders (20140415213346)
383
+  (0.5ms) BEGIN
384
+  (6.1ms) 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)
385
+  (2.2ms)  ALTER TABLE bit_core_content_providers
386
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
387
+ DEFERRABLE INITIALLY IMMEDIATE
388
+ 
389
+  (2.8ms) ALTER TABLE bit_core_content_providers
390
+ ADD CONSTRAINT fk_content_providers_modules
391
+ FOREIGN KEY (bit_core_content_module_id)
392
+ REFERENCES bit_core_content_modules(id)
393
+
394
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
395
+  (0.6ms) COMMIT
396
+ Migrating to CreateBitCoreSlideshows (20140417173056)
397
+  (0.5ms) BEGIN
398
+  (3.9ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
399
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
400
+  (0.5ms) COMMIT
401
+ Migrating to CreateBitCoreSlides (20140417174159)
402
+  (0.4ms) BEGIN
403
+  (17.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)
404
+  (3.1ms)  ALTER TABLE bit_core_slides
405
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
406
+ DEFERRABLE INITIALLY IMMEDIATE
407
+ 
408
+  (2.7ms) ALTER TABLE bit_core_slides
409
+ ADD CONSTRAINT fk_slideshows_slides
410
+ FOREIGN KEY (bit_core_slideshow_id)
411
+ REFERENCES bit_core_slideshows(id)
412
+
413
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
414
+  (0.8ms) COMMIT
415
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
416
+  (118.8ms) DROP DATABASE IF EXISTS "dummy_test"
417
+  (249.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
418
+ SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
419
+  (7.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)
420
+  (1.5ms) CREATE UNIQUE INDEX "bit_core_content_module_position" ON "bit_core_content_modules" USING btree ("bit_core_tool_id", "position")
421
+  (5.7ms) 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)
422
+  (1.7ms) CREATE UNIQUE INDEX "bit_core_content_provider_position" ON "bit_core_content_providers" USING btree ("bit_core_content_module_id", "position")
423
+  (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)
424
+  (2.1ms) CREATE UNIQUE INDEX "bit_core_slide_position" ON "bit_core_slides" USING btree ("bit_core_slideshow_id", "position")
425
+  (3.6ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
426
+  (3.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) 
427
+  (1.5ms) CREATE UNIQUE INDEX "bit_core_tool_position" ON "bit_core_tools" USING btree ("position")
428
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
429
+  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
430
+  (0.5ms) SELECT version FROM "schema_migrations"
431
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417174159')
432
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415210052')
433
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415211458')
434
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415213346')
435
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417173056')
436
+  (4.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
437
+  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
438
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
439
+ Migrating to CreateBitCoreTools (20140415210052)
440
+  (0.3ms) BEGIN
441
+  (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) 
442
+  (2.5ms) ALTER TABLE bit_core_tools
443
+ ADD CONSTRAINT bit_core_tool_position UNIQUE (position)
444
+ DEFERRABLE INITIALLY IMMEDIATE
445
+
446
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415210052"]]
447
+  (0.6ms) COMMIT
448
+ Migrating to CreateBitCoreContentModules (20140415211458)
449
+  (0.4ms) BEGIN
450
+  (3.4ms) 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)
451
+  (1.7ms)  ALTER TABLE bit_core_content_modules
452
+ ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position)
453
+ DEFERRABLE INITIALLY IMMEDIATE
454
+ 
455
+  (2.3ms) ALTER TABLE bit_core_content_modules
456
+ ADD CONSTRAINT fk_content_modules_tools
457
+ FOREIGN KEY (bit_core_tool_id)
458
+ REFERENCES bit_core_tools(id)
459
+
460
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415211458"]]
461
+  (0.6ms) COMMIT
462
+ Migrating to CreateBitCoreContentProviders (20140415213346)
463
+  (0.4ms) BEGIN
464
+  (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)
465
+  (1.7ms)  ALTER TABLE bit_core_content_providers
466
+ ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position)
467
+ DEFERRABLE INITIALLY IMMEDIATE
468
+ 
469
+  (2.2ms) ALTER TABLE bit_core_content_providers
470
+ ADD CONSTRAINT fk_content_providers_modules
471
+ FOREIGN KEY (bit_core_content_module_id)
472
+ REFERENCES bit_core_content_modules(id)
473
+
474
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140415213346"]]
475
+  (0.6ms) COMMIT
476
+ Migrating to CreateBitCoreSlideshows (20140417173056)
477
+  (0.5ms) BEGIN
478
+  (4.7ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
479
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417173056"]]
480
+  (0.5ms) COMMIT
481
+ Migrating to CreateBitCoreSlides (20140417174159)
482
+  (0.4ms) BEGIN
483
+  (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)
484
+  (2.7ms)  ALTER TABLE bit_core_slides
485
+ ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position)
486
+ DEFERRABLE INITIALLY IMMEDIATE
487
+ 
488
+  (3.1ms) ALTER TABLE bit_core_slides
489
+ ADD CONSTRAINT fk_slideshows_slides
490
+ FOREIGN KEY (bit_core_slideshow_id)
491
+ REFERENCES bit_core_slideshows(id)
492
+
493
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140417174159"]]
494
+  (0.6ms) COMMIT
495
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
496
+  (121.3ms) DROP DATABASE IF EXISTS "dummy_test"
497
+  (245.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
498
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
499
+  (7.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)
500
+  (1.5ms) CREATE UNIQUE INDEX "bit_core_content_module_position" ON "bit_core_content_modules" USING btree ("bit_core_tool_id", "position")
501
+  (5.3ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying(255) NOT NULL, "source_content_type" character varying(255), "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)
502
+  (1.6ms) CREATE UNIQUE INDEX "bit_core_content_provider_position" ON "bit_core_content_providers" USING btree ("bit_core_content_module_id", "position")
503
+  (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)
504
+  (1.6ms) CREATE UNIQUE INDEX "bit_core_slide_position" ON "bit_core_slides" USING btree ("bit_core_slideshow_id", "position")
505
+  (3.6ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
506
+  (3.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) 
507
+  (1.4ms) CREATE UNIQUE INDEX "bit_core_tool_position" ON "bit_core_tools" USING btree ("position")
508
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
509
+  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
510
+  (0.6ms) SELECT version FROM "schema_migrations"
511
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417174159')
512
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415210052')
513
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415211458')
514
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415213346')
515
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417173056')
516
+  (117.4ms) DROP DATABASE IF EXISTS "dummy_test"
517
+  (244.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
518
+ SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
519
+  (6.7ms) 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)
520
+  (1.6ms) CREATE UNIQUE INDEX "bit_core_content_module_position" ON "bit_core_content_modules" USING btree ("bit_core_tool_id", "position")
521
+  (5.1ms) 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)
522
+  (1.6ms) CREATE UNIQUE INDEX "bit_core_content_provider_position" ON "bit_core_content_providers" USING btree ("bit_core_content_module_id", "position")
523
+  (5.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)
524
+  (1.5ms) CREATE UNIQUE INDEX "bit_core_slide_position" ON "bit_core_slides" USING btree ("bit_core_slideshow_id", "position")
525
+  (3.6ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
526
+  (3.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) 
527
+  (1.3ms) CREATE UNIQUE INDEX "bit_core_tool_position" ON "bit_core_tools" USING btree ("position")
528
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
529
+  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
530
+  (0.6ms) SELECT version FROM "schema_migrations"
531
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417174159')
532
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415210052')
533
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415211458')
534
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415213346')
535
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417173056')
536
+  (118.5ms) DROP DATABASE IF EXISTS "dummy_test"
537
+  (258.2ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
538
+ SQL (0.9ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
539
+  (10.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)
540
+  (2.5ms) CREATE UNIQUE INDEX "bit_core_content_module_position" ON "bit_core_content_modules" USING btree ("bit_core_tool_id", "position")
541
+  (9.7ms) 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)
542
+  (2.3ms) CREATE UNIQUE INDEX "bit_core_content_provider_position" ON "bit_core_content_providers" USING btree ("bit_core_content_module_id", "position")
543
+  (8.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)
544
+  (2.4ms) CREATE UNIQUE INDEX "bit_core_slide_position" ON "bit_core_slides" USING btree ("bit_core_slideshow_id", "position")
545
+  (5.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
546
+  (5.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) 
547
+  (1.9ms) CREATE UNIQUE INDEX "bit_core_tool_position" ON "bit_core_tools" USING btree ("position")
548
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
549
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
550
+  (0.5ms) SELECT version FROM "schema_migrations"
551
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417174159')
552
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415210052')
553
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415211458')
554
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415213346')
555
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417173056')
556
+  (119.2ms) DROP DATABASE IF EXISTS "dummy_test"
557
+  (246.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'
558
+ SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
559
+  (7.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)
560
+  (1.5ms) CREATE UNIQUE INDEX "bit_core_content_module_position" ON "bit_core_content_modules" USING btree ("bit_core_tool_id", "position")
561
+  (6.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)
562
+  (1.6ms) CREATE UNIQUE INDEX "bit_core_content_provider_position" ON "bit_core_content_providers" USING btree ("bit_core_content_module_id", "position")
563
+  (5.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)
564
+  (1.8ms) CREATE UNIQUE INDEX "bit_core_slide_position" ON "bit_core_slides" USING btree ("bit_core_slideshow_id", "position")
565
+  (3.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying(255) NOT NULL, "created_at" timestamp, "updated_at" timestamp)
566
+  (3.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) 
567
+  (1.4ms) CREATE UNIQUE INDEX "bit_core_tool_position" ON "bit_core_tools" USING btree ("position")
568
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) 
569
+  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
570
+  (0.6ms) SELECT version FROM "schema_migrations"
571
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417174159')
572
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415210052')
573
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415211458')
574
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140415213346')
575
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20140417173056')