uuids 1.0.2 → 1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +6 -5
- data/lib/uuids/base.rb +12 -2
- data/lib/uuids/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +309 -19780
- data/spec/lib/uuids/base_spec.rb +6 -0
- metadata +2 -6
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/log/development.log +0 -373
data/spec/lib/uuids/base_spec.rb
CHANGED
@@ -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.
|
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-
|
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
|
-
[1m[36m (5.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
-
[1m[36m (3.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
-
Migrating to CreateUuidsUuids (20141019170907)
|
6
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
-
[1m[35m (0.8ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")[0m
|
9
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")[0m
|
18
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141019170907"]]
|
19
|
-
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
20
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
21
|
-
[1m[36m (0.1ms)[0m [1m 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
|
-
[0m
|
29
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (5.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
38
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
39
|
-
[1m[36m (3.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
40
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
41
|
-
Migrating to CreateUuidsUuids (20141019170907)
|
42
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43
|
-
[1m[35m (0.8ms)[0m 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
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")[0m
|
45
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")[0m
|
54
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141019170907"]]
|
55
|
-
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
56
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
57
|
-
[1m[36m (0.1ms)[0m [1m 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
|
-
[0m
|
65
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
74
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
75
|
-
[1m[36m (0.1ms)[0m [1m 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
|
-
[0m
|
83
|
-
[1m[35m (0.2ms)[0m 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
|
-
[1m[36m (5.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
92
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
93
|
-
[1m[36m (3.5ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
94
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
95
|
-
Migrating to CreateUuidsUuids (20141016112506)
|
96
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
97
|
-
[1m[35m (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")[0m
|
99
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")[0m
|
108
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016112506"]]
|
109
|
-
[1m[36m (2.7ms)[0m [1mcommit transaction[0m
|
110
|
-
Migrating to CreateRecords (20141016113016)
|
111
|
-
[1m[35m (0.1ms)[0m begin transaction
|
112
|
-
[1m[36m (0.7ms)[0m [1mCREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
113
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016113016"]]
|
114
|
-
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
115
|
-
Migrating to CreateCities (20141017081115)
|
116
|
-
[1m[35m (0.1ms)[0m begin transaction
|
117
|
-
[1m[36m (0.9ms)[0m [1mCREATE TABLE "cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
118
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141017081115"]]
|
119
|
-
[1m[36m (3.2ms)[0m [1mcommit transaction[0m
|
120
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
121
|
-
[1m[36m (0.3ms)[0m [1m 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
|
-
[0m
|
129
|
-
[1m[35m (0.2ms)[0m 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
|
-
[1m[36m (2.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
138
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
139
|
-
[1m[36m (2.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
140
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
141
|
-
Migrating to CreateUuidsUuids (20141016112506)
|
142
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
143
|
-
[1m[35m (0.5ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")[0m
|
145
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")[0m
|
154
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016112506"]]
|
155
|
-
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
156
|
-
Migrating to CreateRecords (20141016113016)
|
157
|
-
[1m[35m (0.0ms)[0m begin transaction
|
158
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
159
|
-
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016113016"]]
|
160
|
-
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
161
|
-
Migrating to CreateCities (20141017081115)
|
162
|
-
[1m[35m (0.0ms)[0m begin transaction
|
163
|
-
[1m[36m (0.3ms)[0m [1mCREATE TABLE "cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
164
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141017081115"]]
|
165
|
-
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
166
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
167
|
-
[1m[36m (0.2ms)[0m [1m 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
|
-
[0m
|
175
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
184
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
185
|
-
[1m[36m (0.1ms)[0m [1m 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
|
-
[0m
|
193
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (5.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
202
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
203
|
-
[1m[36m (3.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
204
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
205
|
-
Migrating to CreateUuidsUuids (20141016112506)
|
206
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
207
|
-
[1m[35m (0.8ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")[0m
|
209
|
-
[1m[35m (0.2ms)[0m 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
|
-
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")[0m
|
218
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016112506"]]
|
219
|
-
[1m[36m (4.3ms)[0m [1mcommit transaction[0m
|
220
|
-
Migrating to CreateRecords (20141016113016)
|
221
|
-
[1m[35m (0.1ms)[0m begin transaction
|
222
|
-
[1m[36m (0.8ms)[0m [1mCREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
223
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016113016"]]
|
224
|
-
[1m[36m (3.1ms)[0m [1mcommit transaction[0m
|
225
|
-
Migrating to CreateCities (20141017081115)
|
226
|
-
[1m[35m (0.1ms)[0m begin transaction
|
227
|
-
[1m[36m (0.8ms)[0m [1mCREATE TABLE "cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
228
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141017081115"]]
|
229
|
-
[1m[36m (3.4ms)[0m [1mcommit transaction[0m
|
230
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
231
|
-
[1m[36m (0.2ms)[0m [1m 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
|
-
[0m
|
239
|
-
[1m[35m (0.2ms)[0m 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
|
-
[1m[36m (6.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
248
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
249
|
-
[1m[36m (4.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
250
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
251
|
-
Migrating to CreateUuidsUuids (20141019192411)
|
252
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
253
|
-
[1m[35m (0.9ms)[0m 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
|
-
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")[0m
|
255
|
-
[1m[35m (0.2ms)[0m 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
|
-
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")[0m
|
264
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141019192411"]]
|
265
|
-
[1m[36m (4.1ms)[0m [1mcommit transaction[0m
|
266
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
267
|
-
[1m[36m (0.1ms)[0m [1m 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
|
-
[0m
|
275
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (5.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
284
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
285
|
-
[1m[36m (2.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
286
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
287
|
-
[1m[36m (5.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
288
|
-
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
289
|
-
[1m[36m (3.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
290
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
291
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
292
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
293
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
294
|
-
Migrating to CreateUuidsUuids (20141016112506)
|
295
|
-
[1m[35m (0.1ms)[0m begin transaction
|
296
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
297
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
298
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")[0m
|
299
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")[0m
|
308
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016112506"]]
|
309
|
-
[1m[36m (5.1ms)[0m [1mcommit transaction[0m
|
310
|
-
Migrating to CreateRecords (20141016113016)
|
311
|
-
[1m[35m (0.1ms)[0m begin transaction
|
312
|
-
[1m[36m (0.7ms)[0m [1mCREATE TABLE "records" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
313
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141016113016"]]
|
314
|
-
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
315
|
-
Migrating to CreateCities (20141017081115)
|
316
|
-
[1m[35m (0.1ms)[0m begin transaction
|
317
|
-
[1m[36m (0.5ms)[0m [1mCREATE TABLE "cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
318
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141017081115"]]
|
319
|
-
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
320
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
321
|
-
[1m[36m (0.2ms)[0m [1m 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
|
-
[0m
|
329
|
-
[1m[35m (0.2ms)[0m 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
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
338
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
339
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
340
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
341
|
-
Migrating to CreateUuidsUuids (20141020084504)
|
342
|
-
[1m[35m (0.1ms)[0m begin transaction
|
343
|
-
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
344
|
-
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
345
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_uuids_uuids_on_record_id_and_record_type" ON "uuids_uuids" ("record_id", "record_type")[0m
|
346
|
-
[1m[35m (0.1ms)[0m 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
|
-
[1m[36m (0.2ms)[0m [1mCREATE UNIQUE INDEX "index_uuids_uuids_on_value" ON "uuids_uuids" ("value")[0m
|
355
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141020084504"]]
|
356
|
-
[1m[36m (4.5ms)[0m [1mcommit transaction[0m
|
357
|
-
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
358
|
-
[1m[36m (0.2ms)[0m [1m 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
|
-
[0m
|
366
|
-
[1m[35m (0.2ms)[0m 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
|
-
|