uuids 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -2
- data/lib/tasks/uuids_tasks.rake +18 -2
- data/lib/uuids/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +1 -11
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +373 -0
- data/spec/dummy/log/test.log +1430 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c07550ac270d35f7867895627c915f0a46be9ac9
|
4
|
+
data.tar.gz: fb748d34c03ca8835522731a32bb5bd36361774c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa118ddada7dc4853575b1621ec5dce75509d9f56d5563f843cc5b0e0c467ba21a8adbc81700c128b883530792ca66083bc1d745bf6485082fa107c4f2af05d9
|
7
|
+
data.tar.gz: 54581ef09f7277d0803b59e220f8c5c53b892dd6dc39fe3ea480488b1e697b629e9e64b3be9a156bee56a55667d6819e75c74b98b8f05a7b68354c1d461a5b2b
|
data/Rakefile
CHANGED
@@ -29,8 +29,7 @@ require "bundler/gem_tasks"
|
|
29
29
|
require "rspec/core/rake_task"
|
30
30
|
|
31
31
|
RSpec::Core::RakeTask.new :spec
|
32
|
-
task :
|
33
|
-
sh "bundle exec rake db:migrate RAILS_ENV=test"
|
32
|
+
task default: %w(app:uuids:test:prepare) do
|
34
33
|
sh "bundle exec rspec spec"
|
35
34
|
end
|
36
35
|
|
data/lib/tasks/uuids_tasks.rake
CHANGED
@@ -1,7 +1,23 @@
|
|
1
1
|
namespace :uuids do
|
2
2
|
|
3
|
+
def app
|
4
|
+
@app ||= (
|
5
|
+
Rake::Task.task_defined?("railties:install:migrations") ? "" : "app:"
|
6
|
+
)
|
7
|
+
end
|
8
|
+
|
3
9
|
desc "Installs the uuids gem inside a Rails application"
|
4
|
-
task install: %w(
|
5
|
-
|
10
|
+
task install: %w(environment) do
|
11
|
+
Rake::Task["#{ app }railties:install:migrations"].reenable
|
12
|
+
system "rake #{ app }uuids:install:migrations"
|
13
|
+
system "rake db:migrate SCOPE=uuids RAILS_ENV=#{ Rails.env }"
|
14
|
+
end
|
15
|
+
|
16
|
+
namespace :test do
|
17
|
+
|
18
|
+
desc "Prepares the uuids gem for testing"
|
19
|
+
task :prepare do
|
20
|
+
system "rake db:migrate RAILS_ENV=test"
|
21
|
+
end
|
6
22
|
end
|
7
23
|
end
|
data/lib/uuids/version.rb
CHANGED
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,17 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
15
|
-
|
16
|
-
create_table "cities", force: true do |t|
|
17
|
-
t.datetime "created_at"
|
18
|
-
t.datetime "updated_at"
|
19
|
-
end
|
20
|
-
|
21
|
-
create_table "records", force: true do |t|
|
22
|
-
t.datetime "created_at"
|
23
|
-
t.datetime "updated_at"
|
24
|
-
end
|
14
|
+
ActiveRecord::Schema.define(version: 20141020084504) do
|
25
15
|
|
26
16
|
create_table "uuids_uuids", force: true do |t|
|
27
17
|
t.string "value", limit: 36, null: false
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -0,0 +1,373 @@
|
|
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
|
+
|