gonzales 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. data/MIT-LICENSE +23 -0
  2. data/README.md +107 -0
  3. data/Rakefile +38 -0
  4. data/lib/gonzales/collection.rb +70 -0
  5. data/lib/gonzales/factories.rb +57 -0
  6. data/lib/gonzales/factory_girl/definition_proxy.rb +77 -0
  7. data/lib/gonzales/test_helper.rb +51 -0
  8. data/lib/gonzales/version.rb +3 -0
  9. data/lib/gonzales.rb +72 -0
  10. data/lib/tasks/gonzales_tasks.rake +7 -0
  11. data/test/dummy/README.rdoc +261 -0
  12. data/test/dummy/Rakefile +7 -0
  13. data/test/dummy/app/models/hat.rb +3 -0
  14. data/test/dummy/app/models/material.rb +3 -0
  15. data/test/dummy/app/models/outfit.rb +6 -0
  16. data/test/dummy/app/models/shoe.rb +6 -0
  17. data/test/dummy/app/models/wardrobe.rb +3 -0
  18. data/test/dummy/config/application.rb +59 -0
  19. data/test/dummy/config/boot.rb +10 -0
  20. data/test/dummy/config/database.yml +25 -0
  21. data/test/dummy/config/environment.rb +5 -0
  22. data/test/dummy/config/environments/development.rb +37 -0
  23. data/test/dummy/config/environments/production.rb +67 -0
  24. data/test/dummy/config/environments/test.rb +37 -0
  25. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  26. data/test/dummy/config/initializers/inflections.rb +15 -0
  27. data/test/dummy/config/initializers/mime_types.rb +5 -0
  28. data/test/dummy/config/initializers/secret_token.rb +7 -0
  29. data/test/dummy/config/initializers/session_store.rb +8 -0
  30. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  31. data/test/dummy/config/locales/en.yml +5 -0
  32. data/test/dummy/config/routes.rb +58 -0
  33. data/test/dummy/config.ru +4 -0
  34. data/test/dummy/db/development.sqlite3 +0 -0
  35. data/test/dummy/db/migrate/20121005205521_create_hats.rb +10 -0
  36. data/test/dummy/db/migrate/20121009054201_create_materials.rb +9 -0
  37. data/test/dummy/db/migrate/20121009055333_create_shoes.rb +16 -0
  38. data/test/dummy/db/migrate/20121009091652_create_outfits.rb +13 -0
  39. data/test/dummy/db/migrate/20121010161218_create_hats_outfits.rb +10 -0
  40. data/test/dummy/db/migrate/20121011131629_create_wardrobes.rb +9 -0
  41. data/test/dummy/db/migrate/20121011131724_add_wardrobe_to_outfit.rb +5 -0
  42. data/test/dummy/db/schema.rb +69 -0
  43. data/test/dummy/db/test.sqlite3 +0 -0
  44. data/test/dummy/log/development.log +571 -0
  45. data/test/dummy/log/test.log +20542 -0
  46. data/test/dummy/script/rails +6 -0
  47. data/test/dummy/test/factories/hats.rb +14 -0
  48. data/test/dummy/test/factories/materials.rb +11 -0
  49. data/test/dummy/test/factories/outfits.rb +16 -0
  50. data/test/dummy/test/factories/shoes.rb +16 -0
  51. data/test/dummy/test/factories/wardrobes.rb +7 -0
  52. data/test/dummy/test/speedy.rb +7 -0
  53. data/test/dummy/test/unit/hat_test.rb +14 -0
  54. data/test/dummy/test/unit/material_test.rb +7 -0
  55. data/test/dummy/test/unit/outfit_test.rb +36 -0
  56. data/test/dummy/test/unit/shoe_test.rb +13 -0
  57. data/test/dummy/test/unit/wardrobe_test.rb +7 -0
  58. data/test/dummy/tmp/speedy.yml +16 -0
  59. data/test/test_helper.rb +15 -0
  60. data/test/unit/gonzales/collection_test.rb +81 -0
  61. data/test/unit/gonzales/factories_test.rb +53 -0
  62. data/test/unit/gonzales/factory_girl/definition_proxy_test.rb +106 -0
  63. data/test/unit/gonzales/test_helper_test.rb +44 -0
  64. data/test/unit/gonzales_test.rb +15 -0
  65. metadata +251 -0
@@ -0,0 +1,571 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+ Connecting to database specified by database.yml
5
+ Connecting to database specified by database.yml
6
+ Connecting to database specified by database.yml
7
+  (0.1ms) select sqlite_version(*)
8
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
9
+  (0.0ms) PRAGMA index_list("schema_migrations")
10
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
12
+ Connecting to database specified by database.yml
13
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
14
+ Migrating to CreateHats (20121005205521)
15
+  (0.0ms) select sqlite_version(*)
16
+  (0.0ms) begin transaction
17
+  (1.1ms) CREATE TABLE "hats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "brim_type" varchar(255), "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
18
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121005205521')
19
+  (2.6ms) commit transaction
20
+  (0.2ms) select sqlite_version(*)
21
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
22
+  (0.0ms) PRAGMA index_list("hats")
23
+ Connecting to database specified by database.yml
24
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
25
+  (0.1ms) select sqlite_version(*)
26
+  (1.0ms) CREATE TABLE "hats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "brim_type" varchar(255), "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
27
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
28
+  (0.0ms) PRAGMA index_list("schema_migrations")
29
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
30
+  (0.1ms) SELECT version FROM "schema_migrations"
31
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121005205521')
32
+ Connecting to database specified by database.yml
33
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
34
+  (0.2ms) select sqlite_version(*)
35
+  (3.0ms) CREATE TABLE "hats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "brim_type" varchar(255), "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
36
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
37
+  (0.0ms) PRAGMA index_list("schema_migrations")
38
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
39
+  (0.1ms) SELECT version FROM "schema_migrations"
40
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121005205521')
41
+ Connecting to database specified by database.yml
42
+ Connecting to database specified by database.yml
43
+  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
44
+ Migrating to CreateHats (20121005205521)
45
+ Migrating to CreateMaterials (20121009054201)
46
+  (0.1ms) select sqlite_version(*)
47
+  (0.0ms) begin transaction
48
+  (0.4ms) CREATE TABLE "materials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
49
+  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121009054201')
50
+  (0.7ms) commit transaction
51
+  (0.2ms) select sqlite_version(*)
52
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
53
+  (0.0ms) PRAGMA index_list("hats")
54
+  (0.0ms) PRAGMA index_list("materials")
55
+ Connecting to database specified by database.yml
56
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
57
+ Migrating to CreateHats (20121005205521)
58
+ Migrating to CreateMaterials (20121009054201)
59
+  (0.1ms) select sqlite_version(*)
60
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
61
+  (0.0ms) PRAGMA index_list("hats")
62
+  (0.0ms) PRAGMA index_list("materials")
63
+ Connecting to database specified by database.yml
64
+ Connecting to database specified by database.yml
65
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
66
+ Migrating to CreateHats (20121005205521)
67
+ Migrating to CreateMaterials (20121009054201)
68
+ Migrating to CreateShoes (20121009055333)
69
+  (0.0ms) select sqlite_version(*)
70
+  (0.0ms) begin transaction
71
+  (0.5ms) CREATE TABLE "shoes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "upper_material_id" integer, "lower_material_id" integer, "inner_material_id" integer, "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
72
+  (0.0ms) PRAGMA index_list("shoes")
73
+  (0.1ms) CREATE INDEX "index_shoes_on_upper_material_id" ON "shoes" ("upper_material_id")
74
+  (0.0ms) PRAGMA index_list("shoes")
75
+  (0.0ms) PRAGMA index_info('index_shoes_on_upper_material_id')
76
+  (0.1ms) CREATE INDEX "index_shoes_on_lower_material_id" ON "shoes" ("lower_material_id")
77
+  (0.0ms) PRAGMA index_list("shoes")
78
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
79
+  (0.0ms) PRAGMA index_info('index_shoes_on_upper_material_id')
80
+  (0.1ms) CREATE INDEX "index_shoes_on_inner_material_id" ON "shoes" ("inner_material_id")
81
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121009055333')
82
+  (0.7ms) commit transaction
83
+  (0.2ms) select sqlite_version(*)
84
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
85
+  (0.0ms) PRAGMA index_list("hats")
86
+  (0.0ms) PRAGMA index_list("materials")
87
+  (0.0ms) PRAGMA index_list("shoes")
88
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
89
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
90
+  (0.0ms) PRAGMA index_info('index_shoes_on_upper_material_id')
91
+ Connecting to database specified by database.yml
92
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
93
+  (0.2ms) select sqlite_version(*)
94
+  (1.2ms) CREATE TABLE "hats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "brim_type" varchar(255), "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
95
+  (0.8ms) CREATE TABLE "materials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
96
+  (1.0ms) CREATE TABLE "shoes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "upper_material_id" integer, "lower_material_id" integer, "inner_material_id" integer, "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
97
+  (0.0ms) PRAGMA index_list("shoes")
98
+  (0.8ms) CREATE INDEX "index_shoes_on_inner_material_id" ON "shoes" ("inner_material_id")
99
+  (0.0ms) PRAGMA index_list("shoes")
100
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
101
+  (0.6ms) CREATE INDEX "index_shoes_on_lower_material_id" ON "shoes" ("lower_material_id")
102
+  (0.0ms) PRAGMA index_list("shoes")
103
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
104
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
105
+  (0.8ms) CREATE INDEX "index_shoes_on_upper_material_id" ON "shoes" ("upper_material_id")
106
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
107
+  (0.0ms) PRAGMA index_list("schema_migrations")
108
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
109
+  (0.1ms) SELECT version FROM "schema_migrations"
110
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009055333')
111
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121005205521')
112
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009054201')
113
+ Connecting to database specified by database.yml
114
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
115
+  (0.1ms) select sqlite_version(*)
116
+  (2.2ms) CREATE TABLE "hats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "brim_type" varchar(255), "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
117
+  (0.9ms) CREATE TABLE "materials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
118
+  (1.1ms) CREATE TABLE "shoes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "upper_material_id" integer, "lower_material_id" integer, "inner_material_id" integer, "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
119
+  (0.4ms) PRAGMA index_list("shoes")
120
+  (1.0ms) CREATE INDEX "index_shoes_on_inner_material_id" ON "shoes" ("inner_material_id")
121
+  (0.0ms) PRAGMA index_list("shoes")
122
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
123
+  (0.9ms) CREATE INDEX "index_shoes_on_lower_material_id" ON "shoes" ("lower_material_id")
124
+  (0.0ms) PRAGMA index_list("shoes")
125
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
126
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
127
+  (0.9ms) CREATE INDEX "index_shoes_on_upper_material_id" ON "shoes" ("upper_material_id")
128
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
129
+  (0.0ms) PRAGMA index_list("schema_migrations")
130
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
131
+  (0.1ms) SELECT version FROM "schema_migrations"
132
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009055333')
133
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20121005205521')
134
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009054201')
135
+ Connecting to database specified by database.yml
136
+ Connecting to database specified by database.yml
137
+ Connecting to database specified by database.yml
138
+ Connecting to database specified by database.yml
139
+ Connecting to database specified by database.yml
140
+ Connecting to database specified by database.yml
141
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
142
+ Migrating to CreateHats (20121005205521)
143
+ Migrating to CreateMaterials (20121009054201)
144
+ Migrating to CreateShoes (20121009055333)
145
+ Migrating to CreateOutfits (20121009091652)
146
+  (0.0ms) select sqlite_version(*)
147
+  (0.0ms) begin transaction
148
+  (0.3ms) CREATE TABLE "outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "style" varchar(255), "shoe_id" integer, "hat_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
149
+  (0.0ms) PRAGMA index_list("outfits")
150
+  (0.1ms) CREATE INDEX "index_outfits_on_shoe_id" ON "outfits" ("shoe_id")
151
+  (0.0ms) PRAGMA index_list("outfits")
152
+  (0.0ms) PRAGMA index_info('index_outfits_on_shoe_id')
153
+  (0.1ms) CREATE INDEX "index_outfits_on_hat_id" ON "outfits" ("hat_id")
154
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121009091652')
155
+  (2.8ms) commit transaction
156
+  (0.3ms) select sqlite_version(*)
157
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
158
+  (0.0ms) PRAGMA index_list("hats")
159
+  (0.0ms) PRAGMA index_list("materials")
160
+  (0.0ms) PRAGMA index_list("outfits")
161
+  (0.0ms) PRAGMA index_info('index_outfits_on_hat_id')
162
+  (0.0ms) PRAGMA index_info('index_outfits_on_shoe_id')
163
+  (0.0ms) PRAGMA index_list("shoes")
164
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
165
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
166
+  (0.0ms) PRAGMA index_info('index_shoes_on_upper_material_id')
167
+ Connecting to database specified by database.yml
168
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
169
+  (0.1ms) select sqlite_version(*)
170
+  (2.6ms) CREATE TABLE "hats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "brim_type" varchar(255), "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
171
+  (1.0ms) CREATE TABLE "materials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
172
+  (0.7ms) CREATE TABLE "outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "style" varchar(255), "shoe_id" integer, "hat_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
173
+  (0.0ms) PRAGMA index_list("outfits")
174
+  (0.8ms) CREATE INDEX "index_outfits_on_hat_id" ON "outfits" ("hat_id")
175
+  (0.0ms) PRAGMA index_list("outfits")
176
+  (0.0ms) PRAGMA index_info('index_outfits_on_hat_id')
177
+  (0.8ms) CREATE INDEX "index_outfits_on_shoe_id" ON "outfits" ("shoe_id")
178
+  (0.7ms) CREATE TABLE "shoes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "upper_material_id" integer, "lower_material_id" integer, "inner_material_id" integer, "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
179
+  (0.0ms) PRAGMA index_list("shoes")
180
+  (0.6ms) CREATE INDEX "index_shoes_on_inner_material_id" ON "shoes" ("inner_material_id")
181
+  (0.0ms) PRAGMA index_list("shoes")
182
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
183
+  (0.7ms) CREATE INDEX "index_shoes_on_lower_material_id" ON "shoes" ("lower_material_id")
184
+  (0.0ms) PRAGMA index_list("shoes")
185
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
186
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
187
+  (0.6ms) CREATE INDEX "index_shoes_on_upper_material_id" ON "shoes" ("upper_material_id")
188
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
189
+  (0.0ms) PRAGMA index_list("schema_migrations")
190
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
191
+  (0.1ms) SELECT version FROM "schema_migrations"
192
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009091652')
193
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121005205521')
194
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009054201')
195
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009055333')
196
+ Connecting to database specified by database.yml
197
+ Connecting to database specified by database.yml
198
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
199
+ Migrating to CreateHats (20121005205521)
200
+ Migrating to CreateMaterials (20121009054201)
201
+ Migrating to CreateShoes (20121009055333)
202
+ Migrating to CreateOutfits (20121009091652)
203
+ Migrating to CreateHatsOutfits (20121010161218)
204
+  (0.0ms) select sqlite_version(*)
205
+  (0.0ms) begin transaction
206
+  (0.4ms) CREATE TABLE "hats_outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hat_id" integer, "outfit_id" integer)
207
+  (0.0ms) PRAGMA index_list("hats_outfits")
208
+  (0.1ms) CREATE INDEX "index_hats_outfits_on_hat_id" ON "hats_outfits" ("hat_id")
209
+  (0.0ms) PRAGMA index_list("hats_outfits")
210
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
211
+  (0.1ms) CREATE INDEX "index_hats_outfits_on_outfi_id" ON "hats_outfits" ("outfi_id")
212
+ SQLite3::SQLException: table hats_outfits has no column named outfi_id: CREATE INDEX "index_hats_outfits_on_outfi_id" ON "hats_outfits" ("outfi_id")
213
+  (0.4ms) rollback transaction
214
+ Connecting to database specified by database.yml
215
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
216
+ Migrating to CreateHats (20121005205521)
217
+ Migrating to CreateMaterials (20121009054201)
218
+ Migrating to CreateShoes (20121009055333)
219
+ Migrating to CreateOutfits (20121009091652)
220
+ Migrating to CreateHatsOutfits (20121010161218)
221
+  (0.0ms) select sqlite_version(*)
222
+  (0.0ms) begin transaction
223
+  (0.3ms) CREATE TABLE "hats_outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hat_id" integer, "outfit_id" integer)
224
+  (0.0ms) PRAGMA index_list("hats_outfits")
225
+  (0.1ms) CREATE INDEX "index_hats_outfits_on_hat_id" ON "hats_outfits" ("hat_id")
226
+  (0.0ms) PRAGMA index_list("hats_outfits")
227
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
228
+  (0.1ms) CREATE INDEX "index_hats_outfits_on_outfit_id" ON "hats_outfits" ("outfit_id")
229
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121010161218')
230
+  (2.9ms) commit transaction
231
+  (0.3ms) select sqlite_version(*)
232
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
233
+  (0.0ms) PRAGMA index_list("hats")
234
+  (0.0ms) PRAGMA index_list("hats_outfits")
235
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_outfit_id')
236
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
237
+  (0.0ms) PRAGMA index_list("materials")
238
+  (0.0ms) PRAGMA index_list("outfits")
239
+  (0.0ms) PRAGMA index_info('index_outfits_on_hat_id')
240
+  (0.0ms) PRAGMA index_info('index_outfits_on_shoe_id')
241
+  (0.0ms) PRAGMA index_list("shoes")
242
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
243
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
244
+  (0.0ms) PRAGMA index_info('index_shoes_on_upper_material_id')
245
+ Connecting to database specified by database.yml
246
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
247
+  (0.2ms) select sqlite_version(*)
248
+  (1.1ms) CREATE TABLE "hats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "brim_type" varchar(255), "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
249
+  (0.9ms) CREATE TABLE "hats_outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hat_id" integer, "outfit_id" integer)
250
+  (0.0ms) PRAGMA index_list("hats_outfits")
251
+  (0.7ms) CREATE INDEX "index_hats_outfits_on_hat_id" ON "hats_outfits" ("hat_id")
252
+  (0.0ms) PRAGMA index_list("hats_outfits")
253
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
254
+  (0.8ms) CREATE INDEX "index_hats_outfits_on_outfit_id" ON "hats_outfits" ("outfit_id")
255
+  (1.0ms) CREATE TABLE "materials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
256
+  (1.1ms) CREATE TABLE "outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "style" varchar(255), "shoe_id" integer, "hat_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
257
+  (0.0ms) PRAGMA index_list("outfits")
258
+  (0.7ms) CREATE INDEX "index_outfits_on_hat_id" ON "outfits" ("hat_id")
259
+  (0.0ms) PRAGMA index_list("outfits")
260
+  (0.0ms) PRAGMA index_info('index_outfits_on_hat_id')
261
+  (1.0ms) CREATE INDEX "index_outfits_on_shoe_id" ON "outfits" ("shoe_id")
262
+  (1.1ms) CREATE TABLE "shoes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "upper_material_id" integer, "lower_material_id" integer, "inner_material_id" integer, "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
263
+  (0.0ms) PRAGMA index_list("shoes")
264
+  (0.7ms) CREATE INDEX "index_shoes_on_inner_material_id" ON "shoes" ("inner_material_id")
265
+  (0.0ms) PRAGMA index_list("shoes")
266
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
267
+  (0.9ms) CREATE INDEX "index_shoes_on_lower_material_id" ON "shoes" ("lower_material_id")
268
+  (0.0ms) PRAGMA index_list("shoes")
269
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
270
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
271
+  (0.9ms) CREATE INDEX "index_shoes_on_upper_material_id" ON "shoes" ("upper_material_id")
272
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
273
+  (0.0ms) PRAGMA index_list("schema_migrations")
274
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
275
+  (0.1ms) SELECT version FROM "schema_migrations"
276
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121010161218')
277
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121005205521')
278
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009054201')
279
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009055333')
280
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009091652')
281
+ Connecting to database specified by database.yml
282
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
283
+  (0.1ms) select sqlite_version(*)
284
+  (2.3ms) CREATE TABLE "hats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "brim_type" varchar(255), "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
285
+  (0.9ms) CREATE TABLE "hats_outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hat_id" integer, "outfit_id" integer)
286
+  (0.0ms) PRAGMA index_list("hats_outfits")
287
+  (0.8ms) CREATE INDEX "index_hats_outfits_on_hat_id" ON "hats_outfits" ("hat_id")
288
+  (0.0ms) PRAGMA index_list("hats_outfits")
289
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
290
+  (0.7ms) CREATE INDEX "index_hats_outfits_on_outfit_id" ON "hats_outfits" ("outfit_id")
291
+  (0.9ms) CREATE TABLE "materials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
292
+  (0.9ms) CREATE TABLE "outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "style" varchar(255), "shoe_id" integer, "hat_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
293
+  (0.0ms) PRAGMA index_list("outfits")
294
+  (0.8ms) CREATE INDEX "index_outfits_on_hat_id" ON "outfits" ("hat_id")
295
+  (0.4ms) PRAGMA index_list("outfits")
296
+  (0.0ms) PRAGMA index_info('index_outfits_on_hat_id')
297
+  (0.7ms) CREATE INDEX "index_outfits_on_shoe_id" ON "outfits" ("shoe_id")
298
+  (1.0ms) CREATE TABLE "shoes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "upper_material_id" integer, "lower_material_id" integer, "inner_material_id" integer, "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
299
+  (0.0ms) PRAGMA index_list("shoes")
300
+  (0.9ms) CREATE INDEX "index_shoes_on_inner_material_id" ON "shoes" ("inner_material_id")
301
+  (0.0ms) PRAGMA index_list("shoes")
302
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
303
+  (0.8ms) CREATE INDEX "index_shoes_on_lower_material_id" ON "shoes" ("lower_material_id")
304
+  (0.0ms) PRAGMA index_list("shoes")
305
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
306
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
307
+  (0.6ms) CREATE INDEX "index_shoes_on_upper_material_id" ON "shoes" ("upper_material_id")
308
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
309
+  (0.0ms) PRAGMA index_list("schema_migrations")
310
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
311
+  (0.1ms) SELECT version FROM "schema_migrations"
312
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121010161218')
313
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121005205521')
314
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009054201')
315
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009055333')
316
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009091652')
317
+ Connecting to database specified by database.yml
318
+ Connecting to database specified by database.yml
319
+ Connecting to database specified by database.yml
320
+ Connecting to database specified by database.yml
321
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
322
+ Migrating to CreateHats (20121005205521)
323
+ Migrating to CreateMaterials (20121009054201)
324
+ Migrating to CreateShoes (20121009055333)
325
+ Migrating to CreateOutfits (20121009091652)
326
+ Migrating to CreateHatsOutfits (20121010161218)
327
+ Migrating to CreateWardrobes (20121011131629)
328
+  (0.0ms) select sqlite_version(*)
329
+  (0.0ms) begin transaction
330
+  (0.3ms) CREATE TABLE "wardrobes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
331
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121011131629')
332
+  (0.8ms) commit transaction
333
+ Migrating to AddWardrobeToOutfit (20121011131724)
334
+  (0.0ms) begin transaction
335
+  (0.3ms) ALTER TABLE "outfits" ADD "wardrobe" belongs_to
336
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121011131724')
337
+  (0.7ms) commit transaction
338
+  (0.3ms) select sqlite_version(*)
339
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
340
+  (0.0ms) PRAGMA index_list("hats")
341
+  (0.0ms) PRAGMA index_list("hats_outfits")
342
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_outfit_id')
343
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
344
+  (0.0ms) PRAGMA index_list("materials")
345
+  (0.0ms) PRAGMA index_list("shoes")
346
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
347
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
348
+  (0.0ms) PRAGMA index_info('index_shoes_on_upper_material_id')
349
+  (0.0ms) PRAGMA index_list("wardrobes")
350
+ Connecting to database specified by database.yml
351
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
352
+ Migrating to CreateHats (20121005205521)
353
+ Migrating to CreateMaterials (20121009054201)
354
+ Migrating to CreateShoes (20121009055333)
355
+ Migrating to CreateOutfits (20121009091652)
356
+ Migrating to CreateHatsOutfits (20121010161218)
357
+ Migrating to CreateWardrobes (20121011131629)
358
+ Migrating to AddWardrobeToOutfit (20121011131724)
359
+  (0.2ms) select sqlite_version(*)
360
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
361
+  (0.0ms) PRAGMA index_list("hats")
362
+  (0.0ms) PRAGMA index_list("hats_outfits")
363
+  (0.1ms) PRAGMA index_info('index_hats_outfits_on_outfit_id')
364
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
365
+  (0.0ms) PRAGMA index_list("materials")
366
+  (0.0ms) PRAGMA index_list("shoes")
367
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
368
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
369
+  (0.0ms) PRAGMA index_info('index_shoes_on_upper_material_id')
370
+  (0.0ms) PRAGMA index_list("wardrobes")
371
+ Connecting to database specified by database.yml
372
+  (0.1ms) select sqlite_version(*)
373
+  (3.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
374
+  (0.0ms) PRAGMA index_list("schema_migrations")
375
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
376
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
377
+ Migrating to CreateHats (20121005205521)
378
+  (0.0ms) begin transaction
379
+  (0.4ms) CREATE TABLE "hats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "brim_type" varchar(255), "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
380
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121005205521')
381
+  (0.7ms) commit transaction
382
+ Migrating to CreateMaterials (20121009054201)
383
+  (0.0ms) begin transaction
384
+  (0.3ms) CREATE TABLE "materials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
385
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121009054201')
386
+  (0.7ms) commit transaction
387
+ Migrating to CreateShoes (20121009055333)
388
+  (0.0ms) begin transaction
389
+  (0.2ms) CREATE TABLE "shoes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "upper_material_id" integer, "lower_material_id" integer, "inner_material_id" integer, "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
390
+  (0.0ms) PRAGMA index_list("shoes")
391
+  (0.2ms) CREATE INDEX "index_shoes_on_upper_material_id" ON "shoes" ("upper_material_id")
392
+  (0.0ms) PRAGMA index_list("shoes")
393
+  (0.0ms) PRAGMA index_info('index_shoes_on_upper_material_id')
394
+  (0.1ms) CREATE INDEX "index_shoes_on_lower_material_id" ON "shoes" ("lower_material_id")
395
+  (0.0ms) PRAGMA index_list("shoes")
396
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
397
+  (0.0ms) PRAGMA index_info('index_shoes_on_upper_material_id')
398
+  (0.1ms) CREATE INDEX "index_shoes_on_inner_material_id" ON "shoes" ("inner_material_id")
399
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121009055333')
400
+  (0.8ms) commit transaction
401
+ Migrating to CreateOutfits (20121009091652)
402
+  (0.0ms) begin transaction
403
+  (0.3ms) CREATE TABLE "outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "style" varchar(255), "shoe_id" integer, "hat_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
404
+  (0.0ms) PRAGMA index_list("outfits")
405
+  (0.1ms) CREATE INDEX "index_outfits_on_shoe_id" ON "outfits" ("shoe_id")
406
+  (0.0ms) PRAGMA index_list("outfits")
407
+  (0.0ms) PRAGMA index_info('index_outfits_on_shoe_id')
408
+  (0.1ms) CREATE INDEX "index_outfits_on_hat_id" ON "outfits" ("hat_id")
409
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121009091652')
410
+  (0.7ms) commit transaction
411
+ Migrating to CreateHatsOutfits (20121010161218)
412
+  (0.0ms) begin transaction
413
+  (0.3ms) CREATE TABLE "hats_outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hat_id" integer, "outfit_id" integer) 
414
+  (0.0ms) PRAGMA index_list("hats_outfits")
415
+  (0.1ms) CREATE INDEX "index_hats_outfits_on_hat_id" ON "hats_outfits" ("hat_id")
416
+  (0.0ms) PRAGMA index_list("hats_outfits")
417
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
418
+  (0.1ms) CREATE INDEX "index_hats_outfits_on_outfit_id" ON "hats_outfits" ("outfit_id")
419
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121010161218')
420
+  (0.6ms) commit transaction
421
+ Migrating to CreateWardrobes (20121011131629)
422
+  (0.0ms) begin transaction
423
+  (0.2ms) CREATE TABLE "wardrobes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
424
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121011131629')
425
+  (0.6ms) commit transaction
426
+ Migrating to AddWardrobeToOutfit (20121011131724)
427
+  (0.0ms) begin transaction
428
+  (0.3ms) ALTER TABLE "outfits" ADD "wardrobe_id" integer
429
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121011131724')
430
+  (0.6ms) commit transaction
431
+  (0.2ms) select sqlite_version(*)
432
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
433
+  (0.0ms) PRAGMA index_list("hats")
434
+  (0.0ms) PRAGMA index_list("hats_outfits")
435
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_outfit_id')
436
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
437
+  (0.0ms) PRAGMA index_list("materials")
438
+  (0.0ms) PRAGMA index_list("outfits")
439
+  (0.0ms) PRAGMA index_info('index_outfits_on_hat_id')
440
+  (0.0ms) PRAGMA index_info('index_outfits_on_shoe_id')
441
+  (0.0ms) PRAGMA index_list("shoes")
442
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
443
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
444
+  (0.0ms) PRAGMA index_info('index_shoes_on_upper_material_id')
445
+  (0.0ms) PRAGMA index_list("wardrobes")
446
+ Connecting to database specified by database.yml
447
+  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
448
+ Migrating to CreateHats (20121005205521)
449
+ Migrating to CreateMaterials (20121009054201)
450
+ Migrating to CreateShoes (20121009055333)
451
+ Migrating to CreateOutfits (20121009091652)
452
+ Migrating to CreateHatsOutfits (20121010161218)
453
+ Migrating to CreateWardrobes (20121011131629)
454
+ Migrating to AddWardrobeToOutfit (20121011131724)
455
+  (0.3ms) select sqlite_version(*)
456
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
457
+  (0.0ms) PRAGMA index_list("hats")
458
+  (0.0ms) PRAGMA index_list("hats_outfits")
459
+  (0.1ms) PRAGMA index_info('index_hats_outfits_on_outfit_id')
460
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
461
+  (0.0ms) PRAGMA index_list("materials")
462
+  (0.0ms) PRAGMA index_list("outfits")
463
+  (0.0ms) PRAGMA index_info('index_outfits_on_hat_id')
464
+  (0.0ms) PRAGMA index_info('index_outfits_on_shoe_id')
465
+  (0.0ms) PRAGMA index_list("shoes")
466
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
467
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
468
+  (0.0ms) PRAGMA index_info('index_shoes_on_upper_material_id')
469
+  (0.0ms) PRAGMA index_list("wardrobes")
470
+ Connecting to database specified by database.yml
471
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
472
+ Migrating to CreateHats (20121005205521)
473
+ Migrating to CreateMaterials (20121009054201)
474
+ Migrating to CreateShoes (20121009055333)
475
+ Migrating to CreateOutfits (20121009091652)
476
+ Migrating to CreateHatsOutfits (20121010161218)
477
+ Migrating to CreateWardrobes (20121011131629)
478
+ Migrating to AddWardrobeToOutfit (20121011131724)
479
+  (0.2ms) select sqlite_version(*)
480
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
481
+  (0.0ms) PRAGMA index_list("hats")
482
+  (0.0ms) PRAGMA index_list("hats_outfits")
483
+  (0.1ms) PRAGMA index_info('index_hats_outfits_on_outfit_id')
484
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
485
+  (0.0ms) PRAGMA index_list("materials")
486
+  (0.0ms) PRAGMA index_list("outfits")
487
+  (0.0ms) PRAGMA index_info('index_outfits_on_hat_id')
488
+  (0.0ms) PRAGMA index_info('index_outfits_on_shoe_id')
489
+  (0.0ms) PRAGMA index_list("shoes")
490
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
491
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
492
+  (0.0ms) PRAGMA index_info('index_shoes_on_upper_material_id')
493
+  (0.0ms) PRAGMA index_list("wardrobes")
494
+ Connecting to database specified by database.yml
495
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
496
+  (0.2ms) select sqlite_version(*)
497
+  (1.1ms) CREATE TABLE "hats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "brim_type" varchar(255), "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
498
+  (0.8ms) CREATE TABLE "hats_outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hat_id" integer, "outfit_id" integer)
499
+  (0.0ms) PRAGMA index_list("hats_outfits")
500
+  (1.0ms) CREATE INDEX "index_hats_outfits_on_hat_id" ON "hats_outfits" ("hat_id")
501
+  (0.0ms) PRAGMA index_list("hats_outfits")
502
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
503
+  (0.9ms) CREATE INDEX "index_hats_outfits_on_outfit_id" ON "hats_outfits" ("outfit_id")
504
+  (0.7ms) CREATE TABLE "materials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
505
+  (1.0ms) CREATE TABLE "outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "style" varchar(255), "shoe_id" integer, "hat_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "wardrobe_id" integer) 
506
+  (0.0ms) PRAGMA index_list("outfits")
507
+  (0.7ms) CREATE INDEX "index_outfits_on_hat_id" ON "outfits" ("hat_id")
508
+  (0.0ms) PRAGMA index_list("outfits")
509
+  (0.0ms) PRAGMA index_info('index_outfits_on_hat_id')
510
+  (0.8ms) CREATE INDEX "index_outfits_on_shoe_id" ON "outfits" ("shoe_id")
511
+  (0.8ms) CREATE TABLE "shoes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "upper_material_id" integer, "lower_material_id" integer, "inner_material_id" integer, "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
512
+  (0.0ms) PRAGMA index_list("shoes")
513
+  (0.8ms) CREATE INDEX "index_shoes_on_inner_material_id" ON "shoes" ("inner_material_id")
514
+  (0.1ms) PRAGMA index_list("shoes")
515
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
516
+  (1.2ms) CREATE INDEX "index_shoes_on_lower_material_id" ON "shoes" ("lower_material_id")
517
+  (0.0ms) PRAGMA index_list("shoes")
518
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
519
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
520
+  (0.9ms) CREATE INDEX "index_shoes_on_upper_material_id" ON "shoes" ("upper_material_id")
521
+  (0.7ms) CREATE TABLE "wardrobes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
522
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
523
+  (0.0ms) PRAGMA index_list("schema_migrations")
524
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
525
+  (0.1ms) SELECT version FROM "schema_migrations"
526
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20121011131724')
527
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121005205521')
528
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009054201')
529
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009055333')
530
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009091652')
531
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121010161218')
532
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121011131629')
533
+ Connecting to database specified by database.yml
534
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
535
+  (0.2ms) select sqlite_version(*)
536
+  (3.1ms) CREATE TABLE "hats" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "brim_type" varchar(255), "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
537
+  (1.1ms) CREATE TABLE "hats_outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "hat_id" integer, "outfit_id" integer)
538
+  (0.0ms) PRAGMA index_list("hats_outfits")
539
+  (0.9ms) CREATE INDEX "index_hats_outfits_on_hat_id" ON "hats_outfits" ("hat_id")
540
+  (0.0ms) PRAGMA index_list("hats_outfits")
541
+  (0.0ms) PRAGMA index_info('index_hats_outfits_on_hat_id')
542
+  (0.8ms) CREATE INDEX "index_hats_outfits_on_outfit_id" ON "hats_outfits" ("outfit_id")
543
+  (0.6ms) CREATE TABLE "materials" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
544
+  (1.0ms) CREATE TABLE "outfits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "style" varchar(255), "shoe_id" integer, "hat_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "wardrobe_id" integer) 
545
+  (0.0ms) PRAGMA index_list("outfits")
546
+  (0.7ms) CREATE INDEX "index_outfits_on_hat_id" ON "outfits" ("hat_id")
547
+  (0.0ms) PRAGMA index_list("outfits")
548
+  (0.0ms) PRAGMA index_info('index_outfits_on_hat_id')
549
+  (0.9ms) CREATE INDEX "index_outfits_on_shoe_id" ON "outfits" ("shoe_id")
550
+  (0.9ms) CREATE TABLE "shoes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "upper_material_id" integer, "lower_material_id" integer, "inner_material_id" integer, "size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
551
+  (0.0ms) PRAGMA index_list("shoes")
552
+  (0.9ms) CREATE INDEX "index_shoes_on_inner_material_id" ON "shoes" ("inner_material_id")
553
+  (0.0ms) PRAGMA index_list("shoes")
554
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
555
+  (0.6ms) CREATE INDEX "index_shoes_on_lower_material_id" ON "shoes" ("lower_material_id")
556
+  (0.0ms) PRAGMA index_list("shoes")
557
+  (0.0ms) PRAGMA index_info('index_shoes_on_lower_material_id')
558
+  (0.0ms) PRAGMA index_info('index_shoes_on_inner_material_id')
559
+  (0.7ms) CREATE INDEX "index_shoes_on_upper_material_id" ON "shoes" ("upper_material_id")
560
+  (0.9ms) CREATE TABLE "wardrobes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
561
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
562
+  (0.0ms) PRAGMA index_list("schema_migrations")
563
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
564
+  (0.1ms) SELECT version FROM "schema_migrations"
565
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121011131724')
566
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121005205521')
567
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009054201')
568
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009055333')
569
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20121009091652')
570
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20121010161218')
571
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20121011131629')