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