uuids 1.0.2 → 1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -43,6 +43,12 @@ module Uuids
43
43
  expect(subject.uuid).to eq subject.uuids.map(&:value).sort.first
44
44
  end
45
45
 
46
+ it "defines the #uuid= method" do
47
+ value = "3ea8fd89-232f-4ed1-90b5-743da173cd7d"
48
+ expect { subject.uuid = value }.to change { subject.uuids.map(&:value) }
49
+ .to [value]
50
+ end
51
+
46
52
  it "defines +by_uuid+ class scope" do
47
53
  subject.save!
48
54
  expect(City.by_uuid(subject.uuid).first).to eq subject
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uuids
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kozin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-20 00:00:00.000000000 Z
11
+ date: 2014-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -175,12 +175,10 @@ files:
175
175
  - spec/dummy/config/locales/en.yml
176
176
  - spec/dummy/config/routes.rb
177
177
  - spec/dummy/config/secrets.yml
178
- - spec/dummy/db/development.sqlite3
179
178
  - spec/dummy/db/migrate/20141016113016_create_records.rb
180
179
  - spec/dummy/db/migrate/20141017081115_create_cities.rb
181
180
  - spec/dummy/db/schema.rb
182
181
  - spec/dummy/db/test.sqlite3
183
- - spec/dummy/log/development.log
184
182
  - spec/dummy/log/test.log
185
183
  - spec/dummy/public/404.html
186
184
  - spec/dummy/public/422.html
@@ -254,7 +252,6 @@ test_files:
254
252
  - spec/dummy/db/migrate/20141016113016_create_records.rb
255
253
  - spec/dummy/db/test.sqlite3
256
254
  - spec/dummy/db/schema.rb
257
- - spec/dummy/db/development.sqlite3
258
255
  - spec/dummy/app/views/layouts/application.html.erb
259
256
  - spec/dummy/app/models/record.rb
260
257
  - spec/dummy/app/models/city.rb
@@ -265,7 +262,6 @@ test_files:
265
262
  - spec/dummy/Rakefile
266
263
  - spec/dummy/spec/factories/records.rb
267
264
  - spec/dummy/README.rdoc
268
- - spec/dummy/log/development.log
269
265
  - spec/dummy/log/test.log
270
266
  - spec/dummy/config.ru
271
267
  - spec/dummy/bin/rake
Binary file
@@ -1,373 +0,0 @@
1
-  (5.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
-  (0.1ms) select sqlite_version(*)
3
-  (3.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
- Migrating to CreateUuidsUuids (20141019170907)
6
-  (0.1ms) begin transaction
7
-  (0.8ms) CREATE TABLE "uuids_uuids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(36) NOT NULL, "record_id" integer NOT NULL, "record_type" varchar(255) NOT NULL)
8
-  (0.1ms) CREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")
9
-  (0.1ms) SELECT sql
10
- FROM sqlite_master
11
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
12
- UNION ALL
13
- SELECT sql
14
- FROM sqlite_temp_master
15
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
16
-
17
-  (0.2ms) CREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")
18
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141019170907"]]
19
-  (2.8ms) commit transaction
20
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
21
-  (0.1ms)  SELECT sql
22
- FROM sqlite_master
23
- WHERE name='index_uuids_uuids_on_value' AND type='index'
24
- UNION ALL
25
- SELECT sql
26
- FROM sqlite_temp_master
27
- WHERE name='index_uuids_uuids_on_value' AND type='index'
28
- 
29
-  (0.1ms) SELECT sql
30
- FROM sqlite_master
31
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
32
- UNION ALL
33
- SELECT sql
34
- FROM sqlite_temp_master
35
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
36
-
37
-  (5.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
38
-  (0.2ms) select sqlite_version(*)
39
-  (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
40
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
41
- Migrating to CreateUuidsUuids (20141019170907)
42
-  (0.1ms) begin transaction
43
-  (0.8ms) CREATE TABLE "uuids_uuids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(36) NOT NULL, "record_id" integer NOT NULL, "record_type" varchar(255) NOT NULL)
44
-  (0.1ms) CREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")
45
-  (0.1ms) SELECT sql
46
- FROM sqlite_master
47
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
48
- UNION ALL
49
- SELECT sql
50
- FROM sqlite_temp_master
51
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
52
-
53
-  (0.2ms) CREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")
54
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141019170907"]]
55
-  (2.6ms) commit transaction
56
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
57
-  (0.1ms)  SELECT sql
58
- FROM sqlite_master
59
- WHERE name='index_uuids_uuids_on_value' AND type='index'
60
- UNION ALL
61
- SELECT sql
62
- FROM sqlite_temp_master
63
- WHERE name='index_uuids_uuids_on_value' AND type='index'
64
- 
65
-  (0.1ms) SELECT sql
66
- FROM sqlite_master
67
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
68
- UNION ALL
69
- SELECT sql
70
- FROM sqlite_temp_master
71
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
72
-
73
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
74
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
75
-  (0.1ms)  SELECT sql
76
- FROM sqlite_master
77
- WHERE name='index_uuids_uuids_on_value' AND type='index'
78
- UNION ALL
79
- SELECT sql
80
- FROM sqlite_temp_master
81
- WHERE name='index_uuids_uuids_on_value' AND type='index'
82
- 
83
-  (0.2ms) SELECT sql
84
- FROM sqlite_master
85
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
86
- UNION ALL
87
- SELECT sql
88
- FROM sqlite_temp_master
89
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
90
-
91
-  (5.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
92
-  (0.2ms) select sqlite_version(*)
93
-  (3.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
94
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
95
- Migrating to CreateUuidsUuids (20141016112506)
96
-  (0.1ms) begin transaction
97
-  (0.5ms) CREATE TABLE "uuids_uuids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(36) NOT NULL, "record_id" integer NOT NULL, "record_type" varchar(255) NOT NULL)
98
-  (0.2ms) CREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")
99
-  (0.1ms) SELECT sql
100
- FROM sqlite_master
101
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
102
- UNION ALL
103
- SELECT sql
104
- FROM sqlite_temp_master
105
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
106
-
107
-  (0.2ms) CREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")
108
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016112506"]]
109
-  (2.7ms) commit transaction
110
- Migrating to CreateRecords (20141016113016)
111
-  (0.1ms) begin transaction
112
-  (0.7ms) CREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
113
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016113016"]]
114
-  (3.1ms) commit transaction
115
- Migrating to CreateCities (20141017081115)
116
-  (0.1ms) begin transaction
117
-  (0.9ms) CREATE TABLE "cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
118
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141017081115"]]
119
-  (3.2ms) commit transaction
120
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
121
-  (0.3ms)  SELECT sql
122
- FROM sqlite_master
123
- WHERE name='index_uuids_uuids_on_value' AND type='index'
124
- UNION ALL
125
- SELECT sql
126
- FROM sqlite_temp_master
127
- WHERE name='index_uuids_uuids_on_value' AND type='index'
128
- 
129
-  (0.2ms) SELECT sql
130
- FROM sqlite_master
131
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
132
- UNION ALL
133
- SELECT sql
134
- FROM sqlite_temp_master
135
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
136
-
137
-  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
138
-  (0.1ms) select sqlite_version(*)
139
-  (2.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
140
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
141
- Migrating to CreateUuidsUuids (20141016112506)
142
-  (0.1ms) begin transaction
143
-  (0.5ms) CREATE TABLE "uuids_uuids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(36) NOT NULL, "record_id" integer NOT NULL, "record_type" varchar(255) NOT NULL)
144
-  (0.2ms) CREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")
145
-  (0.1ms) SELECT sql
146
- FROM sqlite_master
147
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
148
- UNION ALL
149
- SELECT sql
150
- FROM sqlite_temp_master
151
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
152
-
153
-  (0.2ms) CREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")
154
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016112506"]]
155
-  (2.6ms) commit transaction
156
- Migrating to CreateRecords (20141016113016)
157
-  (0.0ms) begin transaction
158
-  (0.3ms) CREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
159
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016113016"]]
160
-  (2.5ms) commit transaction
161
- Migrating to CreateCities (20141017081115)
162
-  (0.0ms) begin transaction
163
-  (0.3ms) CREATE TABLE "cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
164
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141017081115"]]
165
-  (2.4ms) commit transaction
166
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
167
-  (0.2ms)  SELECT sql
168
- FROM sqlite_master
169
- WHERE name='index_uuids_uuids_on_value' AND type='index'
170
- UNION ALL
171
- SELECT sql
172
- FROM sqlite_temp_master
173
- WHERE name='index_uuids_uuids_on_value' AND type='index'
174
- 
175
-  (0.1ms) SELECT sql
176
- FROM sqlite_master
177
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
178
- UNION ALL
179
- SELECT sql
180
- FROM sqlite_temp_master
181
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
182
-
183
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
184
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
185
-  (0.1ms)  SELECT sql
186
- FROM sqlite_master
187
- WHERE name='index_uuids_uuids_on_value' AND type='index'
188
- UNION ALL
189
- SELECT sql
190
- FROM sqlite_temp_master
191
- WHERE name='index_uuids_uuids_on_value' AND type='index'
192
- 
193
-  (0.1ms) SELECT sql
194
- FROM sqlite_master
195
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
196
- UNION ALL
197
- SELECT sql
198
- FROM sqlite_temp_master
199
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
200
-
201
-  (5.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
202
-  (0.2ms) select sqlite_version(*)
203
-  (3.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
204
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
205
- Migrating to CreateUuidsUuids (20141016112506)
206
-  (0.1ms) begin transaction
207
-  (0.8ms) CREATE TABLE "uuids_uuids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(36) NOT NULL, "record_id" integer NOT NULL, "record_type" varchar(255) NOT NULL)
208
-  (0.3ms) CREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")
209
-  (0.2ms) SELECT sql
210
- FROM sqlite_master
211
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
212
- UNION ALL
213
- SELECT sql
214
- FROM sqlite_temp_master
215
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
216
-
217
-  (0.4ms) CREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")
218
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016112506"]]
219
-  (4.3ms) commit transaction
220
- Migrating to CreateRecords (20141016113016)
221
-  (0.1ms) begin transaction
222
-  (0.8ms) CREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
223
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016113016"]]
224
-  (3.1ms) commit transaction
225
- Migrating to CreateCities (20141017081115)
226
-  (0.1ms) begin transaction
227
-  (0.8ms) CREATE TABLE "cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
228
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141017081115"]]
229
-  (3.4ms) commit transaction
230
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
231
-  (0.2ms)  SELECT sql
232
- FROM sqlite_master
233
- WHERE name='index_uuids_uuids_on_value' AND type='index'
234
- UNION ALL
235
- SELECT sql
236
- FROM sqlite_temp_master
237
- WHERE name='index_uuids_uuids_on_value' AND type='index'
238
- 
239
-  (0.2ms) SELECT sql
240
- FROM sqlite_master
241
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
242
- UNION ALL
243
- SELECT sql
244
- FROM sqlite_temp_master
245
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
246
-
247
-  (6.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
248
-  (0.2ms) select sqlite_version(*)
249
-  (4.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
250
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
251
- Migrating to CreateUuidsUuids (20141019192411)
252
-  (0.1ms) begin transaction
253
-  (0.9ms) CREATE TABLE "uuids_uuids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(36) NOT NULL, "record_id" integer NOT NULL, "record_type" varchar(255) NOT NULL)
254
-  (0.3ms) CREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")
255
-  (0.2ms) SELECT sql
256
- FROM sqlite_master
257
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
258
- UNION ALL
259
- SELECT sql
260
- FROM sqlite_temp_master
261
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
262
-
263
-  (0.4ms) CREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")
264
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141019192411"]]
265
-  (4.1ms) commit transaction
266
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
267
-  (0.1ms)  SELECT sql
268
- FROM sqlite_master
269
- WHERE name='index_uuids_uuids_on_value' AND type='index'
270
- UNION ALL
271
- SELECT sql
272
- FROM sqlite_temp_master
273
- WHERE name='index_uuids_uuids_on_value' AND type='index'
274
- 
275
-  (0.1ms) SELECT sql
276
- FROM sqlite_master
277
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
278
- UNION ALL
279
- SELECT sql
280
- FROM sqlite_temp_master
281
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
282
-
283
-  (5.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
284
-  (0.1ms) select sqlite_version(*)
285
-  (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
286
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
287
-  (5.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
288
-  (0.2ms) select sqlite_version(*)
289
-  (3.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
290
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
291
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
292
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
293
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
294
- Migrating to CreateUuidsUuids (20141016112506)
295
-  (0.1ms) begin transaction
296
-  (0.4ms) CREATE TABLE "uuids_uuids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(36) NOT NULL, "record_id" integer NOT NULL, "record_type" varchar(255) NOT NULL) 
297
-  (0.1ms) select sqlite_version(*)
298
-  (0.1ms) CREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")
299
-  (0.1ms) SELECT sql
300
- FROM sqlite_master
301
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
302
- UNION ALL
303
- SELECT sql
304
- FROM sqlite_temp_master
305
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
306
-
307
-  (0.2ms) CREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")
308
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016112506"]]
309
-  (5.1ms) commit transaction
310
- Migrating to CreateRecords (20141016113016)
311
-  (0.1ms) begin transaction
312
-  (0.7ms) CREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
313
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016113016"]]
314
-  (2.8ms) commit transaction
315
- Migrating to CreateCities (20141017081115)
316
-  (0.1ms) begin transaction
317
-  (0.5ms) CREATE TABLE "cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) 
318
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141017081115"]]
319
-  (2.5ms) commit transaction
320
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
321
-  (0.2ms)  SELECT sql
322
- FROM sqlite_master
323
- WHERE name='index_uuids_uuids_on_value' AND type='index'
324
- UNION ALL
325
- SELECT sql
326
- FROM sqlite_temp_master
327
- WHERE name='index_uuids_uuids_on_value' AND type='index'
328
- 
329
-  (0.2ms) SELECT sql
330
- FROM sqlite_master
331
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
332
- UNION ALL
333
- SELECT sql
334
- FROM sqlite_temp_master
335
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
336
-
337
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
338
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
339
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
340
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
341
- Migrating to CreateUuidsUuids (20141020084504)
342
-  (0.1ms) begin transaction
343
-  (0.4ms) CREATE TABLE "uuids_uuids" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" varchar(36) NOT NULL, "record_id" integer NOT NULL, "record_type" varchar(255) NOT NULL) 
344
-  (0.1ms) select sqlite_version(*)
345
-  (0.1ms) CREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")
346
-  (0.1ms) SELECT sql
347
- FROM sqlite_master
348
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
349
- UNION ALL
350
- SELECT sql
351
- FROM sqlite_temp_master
352
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
353
-
354
-  (0.2ms) CREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")
355
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141020084504"]]
356
-  (4.5ms) commit transaction
357
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
358
-  (0.2ms)  SELECT sql
359
- FROM sqlite_master
360
- WHERE name='index_uuids_uuids_on_value' AND type='index'
361
- UNION ALL
362
- SELECT sql
363
- FROM sqlite_temp_master
364
- WHERE name='index_uuids_uuids_on_value' AND type='index'
365
- 
366
-  (0.2ms) SELECT sql
367
- FROM sqlite_master
368
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
369
- UNION ALL
370
- SELECT sql
371
- FROM sqlite_temp_master
372
- WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
373
-