seed_migrations 0.0.3 → 1.4.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.
- checksums.yaml +7 -0
- data/README.md +2 -0
- data/Rakefile +1 -0
- data/lib/generators/seed_migrations/templates/seed_migration.rb +1 -1
- data/lib/seed_migrations/seed_migration.rb +46 -42
- data/lib/seed_migrations/version.rb +1 -1
- data/test/dummy/config/application.rb +0 -6
- data/test/dummy/config/environments/development.rb +1 -5
- data/test/dummy/config/environments/production.rb +2 -0
- data/test/dummy/config/environments/test.rb +4 -5
- data/test/dummy/log/test.log +1004 -581
- data/test/dummy/tmp/development_secret.txt +1 -0
- metadata +85 -86
- data/test/dummy/log/development.log +0 -23
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6e5f2992031b8c964a5b4fa11c357a4dc49e02facaf8f0014ca2f949dcbd89a0
|
4
|
+
data.tar.gz: 3aa18ba2436d18254bae5d771d3c138f8747a6fc6c1f43bfbd75118dbc91ef79
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 496e21077520ae3c539791b1da0b9d0d9a126c20eb84abaa5702c978957a19d63542f230dbee92839e1c303bcb902de4c3e0c311cf2fea1f46c6de1dcfaf8996
|
7
|
+
data.tar.gz: 3cca315d5325384c3a727f4f2aa3957c614e75daaa6e2cb4509e15dd95fd9921d134d6cd1503e545cd8d99008e19755690bab8725cd2a20832115f95dba18dc8
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -1,60 +1,64 @@
|
|
1
1
|
class ActiveRecord::SeedMigration < ActiveRecord::Base
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
3
|
+
class << self
|
4
|
+
|
5
|
+
def load_seeds
|
6
|
+
puts 'Loading all seeds'
|
7
|
+
ensure_table_is_set
|
8
|
+
Dir.chdir(File.join(Rails.root, "db", "seed"))
|
9
|
+
Dir.glob('*.rb').sort.each do |file_name|
|
10
|
+
if seed_name = file_name.match(/[0-9]+_(.*).rb/).captures.first
|
11
|
+
unless find_by_name(file_name.chomp('.rb'))
|
12
|
+
ActiveRecord::Base.transaction do
|
13
|
+
puts "- Loading data from #{file_name}"
|
14
|
+
load File.join(Rails.root, "db", "seed", file_name)
|
15
|
+
seed_class = begin
|
16
|
+
seed_name.camelize.constantize
|
17
|
+
rescue NameError
|
18
|
+
puts 'No appropriate class specified in the file! Skipping it!'
|
19
|
+
end
|
20
|
+
seed_class.up if seed_class
|
21
|
+
seed = new
|
22
|
+
seed.name = file_name.chomp('.rb')
|
23
|
+
seed.save!
|
17
24
|
end
|
18
|
-
seed_class.up if seed_class
|
19
|
-
seed = new
|
20
|
-
seed.name = file_name.chomp('.rb')
|
21
|
-
seed.save!
|
22
25
|
end
|
23
26
|
end
|
24
27
|
end
|
25
28
|
end
|
26
|
-
end
|
27
29
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
30
|
+
def reload_last_seed
|
31
|
+
puts 'Reloading last seed'
|
32
|
+
ensure_table_is_set
|
33
|
+
if last_seeding = last
|
34
|
+
seed_name = last_seeding.name.match(/[0-9]+_(.*)/).captures.first
|
35
|
+
ActiveRecord::Base.transaction do
|
36
|
+
puts "- Loading data from #{last_seeding.name}.rb"
|
37
|
+
load File.join(Rails.root, "db", "seed", last_seeding.name + '.rb')
|
38
|
+
seed_class = begin
|
39
|
+
seed_name.camelize.constantize
|
40
|
+
rescue NameError
|
41
|
+
puts 'No appropriate class specified in the file! Skipping it!'
|
42
|
+
end
|
43
|
+
seed_class.up if seed_class
|
40
44
|
end
|
41
|
-
seed_class.up if seed_class
|
42
45
|
end
|
43
46
|
end
|
44
|
-
end
|
45
47
|
|
46
|
-
|
48
|
+
private
|
47
49
|
|
48
|
-
|
49
|
-
|
50
|
-
|
50
|
+
def ensure_table_is_set
|
51
|
+
create_seed_migrations_table unless ActiveRecord::Migration.data_source_exists?("seed_migrations")
|
52
|
+
end
|
51
53
|
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
54
|
+
def create_seed_migrations_table
|
55
|
+
ActiveRecord::Migration.create_table :seed_migrations do |t|
|
56
|
+
t.string :name, :null => false
|
57
|
+
t.timestamps
|
58
|
+
end
|
59
|
+
ActiveRecord::Migration.add_index("seed_migrations", :name, :unique => true)
|
56
60
|
end
|
57
|
-
|
61
|
+
|
58
62
|
end
|
59
63
|
|
60
64
|
end
|
@@ -40,12 +40,6 @@ module Dummy
|
|
40
40
|
# like if you have constraints or database-specific column types
|
41
41
|
# config.active_record.schema_format = :sql
|
42
42
|
|
43
|
-
# Enforce whitelist mode for mass assignment.
|
44
|
-
# This will create an empty whitelist of attributes available for mass-assignment for all models
|
45
|
-
# in your app. As such, your models will need to explicitly whitelist or blacklist accessible
|
46
|
-
# parameters by using an attr_accessible or attr_protected declaration.
|
47
|
-
config.active_record.whitelist_attributes = true
|
48
|
-
|
49
43
|
# Enable the asset pipeline
|
50
44
|
config.assets.enabled = true
|
51
45
|
|
@@ -6,8 +6,7 @@ Dummy::Application.configure do
|
|
6
6
|
# since you don't have to restart the web server when you make code changes.
|
7
7
|
config.cache_classes = false
|
8
8
|
|
9
|
-
|
10
|
-
config.whiny_nils = true
|
9
|
+
config.eager_load = false
|
11
10
|
|
12
11
|
# Show full error reports and disable caching
|
13
12
|
config.consider_all_requests_local = true
|
@@ -22,9 +21,6 @@ Dummy::Application.configure do
|
|
22
21
|
# Only use best-standards-support built into browsers
|
23
22
|
config.action_dispatch.best_standards_support = :builtin
|
24
23
|
|
25
|
-
# Raise exception on mass assignment protection for Active Record models
|
26
|
-
config.active_record.mass_assignment_sanitizer = :strict
|
27
|
-
|
28
24
|
# Log the query plan for queries taking more than this (works
|
29
25
|
# with SQLite, MySQL, and PostgreSQL)
|
30
26
|
config.active_record.auto_explain_threshold_in_seconds = 0.5
|
@@ -7,10 +7,12 @@ Dummy::Application.configure do
|
|
7
7
|
# and recreated between test runs. Don't rely on the data there!
|
8
8
|
config.cache_classes = true
|
9
9
|
|
10
|
+
config.eager_load = false
|
11
|
+
|
10
12
|
# Configure static asset server for tests with Cache-Control for performance
|
11
13
|
config.serve_static_assets = true
|
12
|
-
config.
|
13
|
-
|
14
|
+
config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
|
15
|
+
|
14
16
|
# Log error messages when you accidentally call methods on nil
|
15
17
|
config.whiny_nils = true
|
16
18
|
|
@@ -29,9 +31,6 @@ Dummy::Application.configure do
|
|
29
31
|
# ActionMailer::Base.deliveries array.
|
30
32
|
config.action_mailer.delivery_method = :test
|
31
33
|
|
32
|
-
# Raise exception on mass assignment protection for Active Record models
|
33
|
-
config.active_record.mass_assignment_sanitizer = :strict
|
34
|
-
|
35
34
|
# Print deprecation notices to the stderr
|
36
35
|
config.active_support.deprecation = :stderr
|
37
36
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -1,581 +1,1004 @@
|
|
1
|
-
|
2
|
-
[1m[
|
3
|
-
[1m[35m (0.
|
4
|
-
[1m[
|
5
|
-
[1m[35m (0.1ms)[0m
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
[1m[35m (0.
|
10
|
-
[1m[
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
[1m[
|
15
|
-
[1m[35m (0.
|
16
|
-
[1m[
|
17
|
-
[1m[
|
18
|
-
[1m[
|
19
|
-
[1m[
|
20
|
-
[1m[
|
21
|
-
[1m[35m (0.
|
22
|
-
[1m[
|
23
|
-
[1m[35m (0.0ms)[0m
|
24
|
-
[1m[
|
25
|
-
[1m[
|
26
|
-
[1m[
|
27
|
-
[1m[
|
28
|
-
[1m[
|
29
|
-
[1m[
|
30
|
-
[1m[
|
31
|
-
[1m[35m (0.
|
32
|
-
[1m[
|
33
|
-
[1m[35m (0.
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
[1m[35m (0.
|
38
|
-
[1m[
|
39
|
-
[1m[35m (0.1ms)[0m
|
40
|
-
[1m[
|
41
|
-
[1m[35m (0.
|
42
|
-
[1m[
|
43
|
-
[1m[
|
44
|
-
[1m[
|
45
|
-
[1m[
|
46
|
-
[1m[
|
47
|
-
[1m[
|
48
|
-
[1m[
|
49
|
-
[1m[35m (0.
|
50
|
-
[1m[
|
51
|
-
[1m[35m (0.0ms)[0m
|
52
|
-
[1m[
|
53
|
-
[1m[35m (0.
|
54
|
-
[1m[
|
55
|
-
[1m[35m (0.
|
56
|
-
[1m[
|
57
|
-
|
58
|
-
[1m[
|
59
|
-
[1m[35m (0.
|
60
|
-
[1m[
|
61
|
-
[1m[35m (0.
|
62
|
-
[1m[
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
[1m[
|
67
|
-
[1m[35m (0.
|
68
|
-
[1m[
|
69
|
-
[1m[
|
70
|
-
[1m[
|
71
|
-
[1m[
|
72
|
-
[1m[
|
73
|
-
[1m[35m (0.
|
74
|
-
[1m[
|
75
|
-
[1m[35m (0.
|
76
|
-
[1m[
|
77
|
-
[1m[
|
78
|
-
[1m[
|
79
|
-
[1m[
|
80
|
-
[1m[
|
81
|
-
[1m[
|
82
|
-
[1m[
|
83
|
-
[1m[35m (0.
|
84
|
-
[1m[
|
85
|
-
[1m[
|
86
|
-
[1m[36mActiveRecord::SeedMigration Load (0.
|
87
|
-
[1m[
|
88
|
-
[1m[
|
89
|
-
[1m[
|
90
|
-
[1m[
|
91
|
-
|
92
|
-
[1m[
|
93
|
-
[1m[35m (0.
|
94
|
-
[1m[
|
95
|
-
[1m[35m (0.
|
96
|
-
[1m[
|
97
|
-
[1m[35m (0.
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
[1m[35m (0.
|
102
|
-
[1m[
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
[1m[
|
107
|
-
[1m[35m (0.3ms)[0m
|
108
|
-
[1m[
|
109
|
-
[1m[
|
110
|
-
[1m[
|
111
|
-
[1m[
|
112
|
-
[1m[
|
113
|
-
[1m[35m (0.1ms)[0m
|
114
|
-
[1m[
|
115
|
-
[1m[35m (0.0ms)[0m
|
116
|
-
[1m[
|
117
|
-
[1m[
|
118
|
-
[1m[
|
119
|
-
[1m[
|
120
|
-
[1m[
|
121
|
-
[1m[
|
122
|
-
[1m[
|
123
|
-
[1m[35m (0.1ms)[0m
|
124
|
-
[1m[
|
125
|
-
|
126
|
-
[1m[
|
127
|
-
[1m[
|
128
|
-
[1m[
|
129
|
-
[1m[
|
130
|
-
[1m[
|
131
|
-
[1m[35m (0.
|
132
|
-
[1m[
|
133
|
-
[1m[35m (0.
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
[1m[35m (0.1ms)[0m
|
138
|
-
[1m[
|
139
|
-
[1m[35m (0.
|
140
|
-
[1m[
|
141
|
-
[1m[35m (0.
|
142
|
-
[1m[
|
143
|
-
[1m[
|
144
|
-
[1m[
|
145
|
-
[1m[
|
146
|
-
[1m[
|
147
|
-
[1m[
|
148
|
-
[1m[
|
149
|
-
[1m[35m (0.0ms)[0m
|
150
|
-
[1m[
|
151
|
-
[1m[35m (0.
|
152
|
-
[1m[
|
153
|
-
[1m[35m (0.
|
154
|
-
[1m[
|
155
|
-
[1m[35m (0.
|
156
|
-
[1m[
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
[1m[
|
161
|
-
[1m[35m (0.
|
162
|
-
[1m[
|
163
|
-
[1m[
|
164
|
-
[1m[
|
165
|
-
[1m[
|
166
|
-
[1m[
|
167
|
-
[1m[35m (0.
|
168
|
-
[1m[36mActiveRecord::SeedMigration Load (0.
|
169
|
-
[1m[35m (0.0ms)[0m
|
170
|
-
[1m[
|
171
|
-
[1m[
|
172
|
-
[1m[
|
173
|
-
[1m[
|
174
|
-
[1m[
|
175
|
-
[1m[
|
176
|
-
[1m[
|
177
|
-
[1m[35m (0.1ms)[0m
|
178
|
-
[1m[
|
179
|
-
[1m[
|
180
|
-
[1m[
|
181
|
-
[1m[
|
182
|
-
[1m[
|
183
|
-
[1m[35m (0.0ms)[0m
|
184
|
-
[1m[
|
185
|
-
[1m[
|
186
|
-
[1m[
|
187
|
-
[1m[35m (0.0ms)[0m
|
188
|
-
[1m[
|
189
|
-
[1m[35m (0.1ms)[0m
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
[1m[35m (0.
|
194
|
-
[1m[
|
195
|
-
[1m[35m (0.
|
196
|
-
[1m[
|
197
|
-
[1m[
|
198
|
-
[1m[
|
199
|
-
[1m[
|
200
|
-
[1m[
|
201
|
-
[1m[
|
202
|
-
[1m[
|
203
|
-
[1m[
|
204
|
-
[1m[
|
205
|
-
[1m[
|
206
|
-
[1m[
|
207
|
-
[1m[
|
208
|
-
[1m[
|
209
|
-
[1m[
|
210
|
-
[1m[
|
211
|
-
[1m[35m (0.
|
212
|
-
[1m[
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
[1m[
|
217
|
-
[1m[35m (0.
|
218
|
-
[1m[
|
219
|
-
[1m[
|
220
|
-
[1m[
|
221
|
-
[1m[
|
222
|
-
[1m[
|
223
|
-
[1m[
|
224
|
-
[1m[
|
225
|
-
[1m[
|
226
|
-
[1m[
|
227
|
-
[1m[
|
228
|
-
[1m[
|
229
|
-
[1m[
|
230
|
-
[1m[
|
231
|
-
[1m[
|
232
|
-
[1m[
|
233
|
-
[1m[35m (0.
|
234
|
-
[1m[
|
235
|
-
|
236
|
-
[1m[
|
237
|
-
[1m[
|
238
|
-
[1m[
|
239
|
-
[1m[
|
240
|
-
[1m[
|
241
|
-
[1m[35m (0.
|
242
|
-
[1m[
|
243
|
-
[1m[35m (0.
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
[1m[
|
248
|
-
[1m[
|
249
|
-
[1m[
|
250
|
-
[1m[
|
251
|
-
[1m[
|
252
|
-
[1m[
|
253
|
-
[1m[
|
254
|
-
[1m[
|
255
|
-
[1m[
|
256
|
-
[1m[
|
257
|
-
[1m[
|
258
|
-
[1m[
|
259
|
-
[1m[35m (0.0ms)[0m
|
260
|
-
[1m[36mActiveRecord::SeedMigration Load (0.
|
261
|
-
[1m[
|
262
|
-
[1m[
|
263
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
264
|
-
[1m[
|
265
|
-
[1m[35m (0.0ms)[0m
|
266
|
-
[1m[
|
267
|
-
[1m[35m (0.
|
268
|
-
[1m[
|
269
|
-
[1m[35m (0.
|
270
|
-
[1m[
|
271
|
-
[1m[35m (0.
|
272
|
-
[1m[
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
[1m[
|
277
|
-
[1m[35m (0.
|
278
|
-
[1m[
|
279
|
-
[1m[35m (0.
|
280
|
-
[1m[
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
[1m[
|
285
|
-
[1m[
|
286
|
-
[1m[
|
287
|
-
[1m[
|
288
|
-
[1m[
|
289
|
-
[1m[
|
290
|
-
[1m[
|
291
|
-
[1m[35m (0.
|
292
|
-
[1m[
|
293
|
-
[1m[35m (0.
|
294
|
-
[1m[
|
295
|
-
[1m[
|
296
|
-
[1m[
|
297
|
-
[1m[
|
298
|
-
[1m[
|
299
|
-
[1m[
|
300
|
-
[1m[
|
301
|
-
[1m[
|
302
|
-
[1m[
|
303
|
-
[1m[
|
304
|
-
[1m[36mActiveRecord::SeedMigration Load (0.
|
305
|
-
[1m[
|
306
|
-
[1m[
|
307
|
-
[1m[
|
308
|
-
[1m[
|
309
|
-
[1m[35m (0.
|
310
|
-
[1m[
|
311
|
-
[1m[35m (0.0ms)[0m
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
[1m[35m (0.
|
316
|
-
|
317
|
-
[1m[
|
318
|
-
[1m[
|
319
|
-
[1m[
|
320
|
-
[1m[
|
321
|
-
[1m[
|
322
|
-
[1m[35m (0.
|
323
|
-
[1m[
|
324
|
-
[1m[35m (0.
|
325
|
-
[1m[
|
326
|
-
[1m[
|
327
|
-
[1m[
|
328
|
-
[1m[
|
329
|
-
[1m[
|
330
|
-
[1m[
|
331
|
-
[1m[
|
332
|
-
[1m[35m (0.1ms)[0m
|
333
|
-
[1m[
|
334
|
-
[1m[35m (0.
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
[1m[
|
340
|
-
[1m[35m (0.1ms)[0m
|
341
|
-
[1m[
|
342
|
-
[1m[35m (0.
|
343
|
-
[1m[
|
344
|
-
[1m[
|
345
|
-
[1m[
|
346
|
-
[1m[
|
347
|
-
[1m[
|
348
|
-
[1m[
|
349
|
-
[1m[
|
350
|
-
[1m[
|
351
|
-
[1m[
|
352
|
-
[1m[
|
353
|
-
[1m[
|
354
|
-
[1m[
|
355
|
-
[1m[
|
356
|
-
[1m[35m (0.1ms)[0m
|
357
|
-
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [
|
358
|
-
[1m[35m (0.0ms)[0m
|
359
|
-
[1m[
|
360
|
-
[1m[35m (0.
|
361
|
-
[1m[
|
362
|
-
[1m[35m (0.
|
363
|
-
[1m[
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
[1m[
|
368
|
-
[1m[35m (0.
|
369
|
-
[1m[
|
370
|
-
[1m[35m (0.
|
371
|
-
[1m[
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
[1m[
|
376
|
-
[1m[
|
377
|
-
[1m[
|
378
|
-
[1m[
|
379
|
-
[1m[
|
380
|
-
[1m[
|
381
|
-
[1m[36mActiveRecord::SeedMigration
|
382
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
383
|
-
[1m[
|
384
|
-
[1m[
|
385
|
-
[1m[
|
386
|
-
[1m[
|
387
|
-
[1m[
|
388
|
-
[1m[
|
389
|
-
[1m[
|
390
|
-
[1m[
|
391
|
-
[1m[
|
392
|
-
[1m[35m (0.
|
393
|
-
[1m[
|
394
|
-
[1m[
|
395
|
-
[1m[
|
396
|
-
[1m[
|
397
|
-
[1m[
|
398
|
-
[1m[
|
399
|
-
[1m[
|
400
|
-
[1m[
|
401
|
-
[1m[
|
402
|
-
[1m[
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
[1m[35m (0.1ms)[0m
|
407
|
-
[1m[
|
408
|
-
[1m[35m (0.
|
409
|
-
[1m[
|
410
|
-
[1m[35m (0.
|
411
|
-
[1m[
|
412
|
-
[1m[
|
413
|
-
[1m[
|
414
|
-
[1m[
|
415
|
-
[1m[
|
416
|
-
[1m[
|
417
|
-
[1m[
|
418
|
-
[1m[35m (0.
|
419
|
-
|
420
|
-
[1m[
|
421
|
-
[1m[
|
422
|
-
[1m[
|
423
|
-
[1m[35m (0.1ms)[0m
|
424
|
-
[1m[
|
425
|
-
[1m[35m (0.
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
[1m[35m (0.
|
430
|
-
[1m[
|
431
|
-
[1m[
|
432
|
-
[1m[
|
433
|
-
[1m[
|
434
|
-
[1m[
|
435
|
-
[1m[
|
436
|
-
[1m[
|
437
|
-
[1m[
|
438
|
-
[1m[
|
439
|
-
[1m[
|
440
|
-
[1m[
|
441
|
-
[1m[35m (0.
|
442
|
-
[1m[
|
443
|
-
[1m[35m (0.0ms)[0m
|
444
|
-
[1m[
|
445
|
-
[1m[
|
446
|
-
[1m[
|
447
|
-
[1m[35m (0.0ms)[0m
|
448
|
-
[1m[
|
449
|
-
[1m[35m (0.0ms)[0m
|
450
|
-
[1m[
|
451
|
-
[1m[35m (0.
|
452
|
-
[1m[
|
453
|
-
[1m[35m (
|
454
|
-
[1m[
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
[1m[
|
459
|
-
[1m[
|
460
|
-
[1m[
|
461
|
-
[1m[35m (0.
|
462
|
-
[1m[
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
[1m[
|
467
|
-
[1m[
|
468
|
-
[1m[
|
469
|
-
[1m[
|
470
|
-
[1m[
|
471
|
-
[1m[
|
472
|
-
[1m[
|
473
|
-
[1m[35m (0.
|
474
|
-
[1m[
|
475
|
-
[1m[35m (0.
|
476
|
-
[1m[
|
477
|
-
[1m[
|
478
|
-
[1m[
|
479
|
-
[1m[
|
480
|
-
[1m[
|
481
|
-
[1m[
|
482
|
-
[1m[
|
483
|
-
[1m[
|
484
|
-
[1m[
|
485
|
-
[1m[
|
486
|
-
[1m[
|
487
|
-
[1m[
|
488
|
-
[1m[
|
489
|
-
[1m[
|
490
|
-
[1m[
|
491
|
-
[1m[35m (0.1ms)[0m
|
492
|
-
[1m[
|
493
|
-
[1m[35m (0.0ms)[0m
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
[1m[35m (0.
|
498
|
-
[1m[
|
499
|
-
[1m[35m (0.
|
500
|
-
|
501
|
-
[1m[
|
502
|
-
[1m[
|
503
|
-
[1m[
|
504
|
-
[1m[35m (0.
|
505
|
-
[1m[
|
506
|
-
[1m[35m (0.
|
507
|
-
[1m[
|
508
|
-
[1m[
|
509
|
-
[1m[
|
510
|
-
[1m[
|
511
|
-
[1m[
|
512
|
-
[1m[
|
513
|
-
[1m[
|
514
|
-
[1m[
|
515
|
-
[1m[
|
516
|
-
[1m[
|
517
|
-
[1m[
|
518
|
-
[1m[
|
519
|
-
[1m[
|
520
|
-
[1m[35m (0.
|
521
|
-
[1m[
|
522
|
-
[1m[35m (0.
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
[1m[
|
527
|
-
[1m[
|
528
|
-
[1m[35m (0.
|
529
|
-
[1m[
|
530
|
-
[1m[35m (0.
|
531
|
-
[1m[
|
532
|
-
[1m[
|
533
|
-
[1m[
|
534
|
-
[1m[
|
535
|
-
[1m[
|
536
|
-
[1m[
|
537
|
-
[1m[
|
538
|
-
[1m[
|
539
|
-
[1m[
|
540
|
-
[1m[
|
541
|
-
[1m[
|
542
|
-
[1m[35m (0.
|
543
|
-
[1m[
|
544
|
-
[1m[35m (0.
|
545
|
-
[1m[
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
[1m[
|
550
|
-
[1m[
|
551
|
-
[1m[
|
552
|
-
[1m[35m (0.
|
553
|
-
[1m[
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
[1m[
|
558
|
-
[1m[35m (
|
559
|
-
[1m[
|
560
|
-
[1m[
|
561
|
-
[1m[
|
562
|
-
[1m[
|
563
|
-
[1m[
|
564
|
-
[1m[
|
565
|
-
[1m[
|
566
|
-
[1m[
|
567
|
-
[1m[
|
568
|
-
[1m[
|
569
|
-
[1m[
|
570
|
-
[1m[
|
571
|
-
[1m[
|
572
|
-
[1m[
|
573
|
-
[1m[
|
574
|
-
[1m[35m (0.
|
575
|
-
[1m[
|
576
|
-
[1m[35m (0.0ms)[0m
|
577
|
-
|
578
|
-
|
579
|
-
|
580
|
-
[1m[35m (0.
|
581
|
-
|
1
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
2
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
3
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
4
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
5
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6
|
+
----------------------------------------------------------------------
|
7
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
8
|
+
----------------------------------------------------------------------
|
9
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
10
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11
|
+
--------------------------------------------------
|
12
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
13
|
+
--------------------------------------------------
|
14
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
15
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
16
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
17
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
18
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19
|
+
[1m[36mPlant Create (0.2ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
20
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:11:32.040064"], ["updated_at", "2019-04-25 10:11:32.040064"]]
|
21
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
22
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
23
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
24
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
25
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:11:32.042364"], ["updated_at", "2019-04-25 10:11:32.042364"]]
|
26
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
27
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
28
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
29
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
30
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
31
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
32
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
33
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
34
|
+
------------------------------------------------------------
|
35
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
36
|
+
------------------------------------------------------------
|
37
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
38
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
39
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
40
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
41
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
42
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
43
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:11:32.048359"], ["updated_at", "2019-04-25 10:11:32.048359"]]
|
44
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
45
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
46
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
47
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
48
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:11:32.050235"], ["updated_at", "2019-04-25 10:11:32.050235"]]
|
49
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
50
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
51
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
52
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
53
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
54
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
55
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
56
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
57
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
58
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
59
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
60
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
61
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
62
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
63
|
+
--------------------------------------------------------
|
64
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
65
|
+
--------------------------------------------------------
|
66
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
67
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
68
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
69
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
70
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
71
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
72
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:11:32.059183"], ["updated_at", "2019-04-25 10:11:32.059183"]]
|
73
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
74
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
75
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
76
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
77
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:11:32.060778"], ["updated_at", "2019-04-25 10:11:32.060778"]]
|
78
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
79
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
80
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
81
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
82
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
83
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
84
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
85
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
86
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
87
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
88
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
89
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
90
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
91
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
92
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
93
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
94
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
95
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
96
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
97
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
98
|
+
----------------------------------------------------------------------
|
99
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
100
|
+
----------------------------------------------------------------------
|
101
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
102
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
103
|
+
--------------------------------------------------------
|
104
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
105
|
+
--------------------------------------------------------
|
106
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
107
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
108
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
109
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
110
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
111
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
112
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:13:37.790288"], ["updated_at", "2019-04-25 10:13:37.790288"]]
|
113
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
114
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
115
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
116
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
117
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:13:37.792535"], ["updated_at", "2019-04-25 10:13:37.792535"]]
|
118
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
119
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
120
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
121
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
122
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
123
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
124
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
125
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
126
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
127
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
128
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
129
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
130
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
131
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
132
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
133
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
134
|
+
--------------------------------------------------
|
135
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
136
|
+
--------------------------------------------------
|
137
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
138
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
139
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
140
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
141
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
142
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
143
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:13:37.801009"], ["updated_at", "2019-04-25 10:13:37.801009"]]
|
144
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
145
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
146
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
147
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
148
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:13:37.803560"], ["updated_at", "2019-04-25 10:13:37.803560"]]
|
149
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
150
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
151
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
152
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
153
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
154
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
155
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
156
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
157
|
+
------------------------------------------------------------
|
158
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
159
|
+
------------------------------------------------------------
|
160
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
161
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
162
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
163
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
164
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
165
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
166
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:13:37.808857"], ["updated_at", "2019-04-25 10:13:37.808857"]]
|
167
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
168
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
169
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
170
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
171
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:13:37.810513"], ["updated_at", "2019-04-25 10:13:37.810513"]]
|
172
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
173
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
174
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
175
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
176
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
177
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
178
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
179
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
180
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
181
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
182
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
183
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
184
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
185
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
186
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
187
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
188
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
189
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
190
|
+
--------------------------------------------------
|
191
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
192
|
+
--------------------------------------------------
|
193
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
194
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
195
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
196
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
197
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
198
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
199
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:14:14.532785"], ["updated_at", "2019-04-25 10:14:14.532785"]]
|
200
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
201
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
202
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
203
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
204
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:14:14.534977"], ["updated_at", "2019-04-25 10:14:14.534977"]]
|
205
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
206
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
207
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
208
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
209
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
210
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
211
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
212
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
213
|
+
--------------------------------------------------------
|
214
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
215
|
+
--------------------------------------------------------
|
216
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
217
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
218
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
219
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
220
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
221
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
222
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:14:14.540936"], ["updated_at", "2019-04-25 10:14:14.540936"]]
|
223
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
224
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
225
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
226
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
227
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:14:14.542794"], ["updated_at", "2019-04-25 10:14:14.542794"]]
|
228
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
229
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
230
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
231
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
232
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
233
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
234
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
235
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
236
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
237
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
238
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
239
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
240
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
241
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
242
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
243
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
244
|
+
------------------------------------------------------------
|
245
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
246
|
+
------------------------------------------------------------
|
247
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
248
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
249
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
250
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
251
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
252
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
253
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:14:14.551681"], ["updated_at", "2019-04-25 10:14:14.551681"]]
|
254
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
255
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
256
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
257
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
258
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:14:14.553356"], ["updated_at", "2019-04-25 10:14:14.553356"]]
|
259
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
260
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
261
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
262
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
263
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
264
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
265
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
266
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
267
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
268
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
269
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
270
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
271
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
272
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
273
|
+
----------------------------------------------------------------------
|
274
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
275
|
+
----------------------------------------------------------------------
|
276
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
277
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
278
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
279
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
280
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
281
|
+
--------------------------------------------------------
|
282
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
283
|
+
--------------------------------------------------------
|
284
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
285
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
286
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
287
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
288
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
289
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
290
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:13:21.933244"], ["updated_at", "2019-08-19 10:13:21.933244"]]
|
291
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
292
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
293
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
294
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
295
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:13:21.935121"], ["updated_at", "2019-08-19 10:13:21.935121"]]
|
296
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
297
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
298
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
299
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
300
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
301
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
302
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
303
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
304
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
305
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
306
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
307
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
308
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
309
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
310
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
311
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
312
|
+
--------------------------------------------------
|
313
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
314
|
+
--------------------------------------------------
|
315
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
316
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
317
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
318
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
319
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
320
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
321
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:13:21.943293"], ["updated_at", "2019-08-19 10:13:21.943293"]]
|
322
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
323
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
324
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
325
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
326
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:13:21.944753"], ["updated_at", "2019-08-19 10:13:21.944753"]]
|
327
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
328
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
329
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
330
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
331
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
332
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
333
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
334
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
335
|
+
------------------------------------------------------------
|
336
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
337
|
+
------------------------------------------------------------
|
338
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
339
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
340
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
341
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
342
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
343
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
344
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:13:21.949755"], ["updated_at", "2019-08-19 10:13:21.949755"]]
|
345
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
346
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
347
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
348
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
349
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:13:21.951538"], ["updated_at", "2019-08-19 10:13:21.951538"]]
|
350
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
351
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
352
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
353
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
354
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
355
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
356
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
357
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
358
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
359
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
360
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
361
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
362
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
363
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
364
|
+
----------------------------------------------------------------------
|
365
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
366
|
+
----------------------------------------------------------------------
|
367
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
368
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
369
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
370
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
371
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
372
|
+
--------------------------------------------------------
|
373
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
374
|
+
--------------------------------------------------------
|
375
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
376
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
377
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
378
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
379
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
380
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
381
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:15:22.051274"], ["updated_at", "2019-08-19 10:15:22.051274"]]
|
382
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
383
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
384
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
385
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
386
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:15:22.053337"], ["updated_at", "2019-08-19 10:15:22.053337"]]
|
387
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
388
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
389
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
390
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
391
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
392
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
393
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
394
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
395
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
396
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
397
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
398
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
399
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
400
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
401
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
402
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
403
|
+
--------------------------------------------------
|
404
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
405
|
+
--------------------------------------------------
|
406
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
407
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
408
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
409
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
410
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
411
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
412
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:15:22.062255"], ["updated_at", "2019-08-19 10:15:22.062255"]]
|
413
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
414
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
415
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
416
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
417
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:15:22.063699"], ["updated_at", "2019-08-19 10:15:22.063699"]]
|
418
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
419
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
420
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
421
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
422
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
423
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
424
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
425
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
426
|
+
------------------------------------------------------------
|
427
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
428
|
+
------------------------------------------------------------
|
429
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
430
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
431
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
432
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
433
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
434
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
435
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:15:22.068748"], ["updated_at", "2019-08-19 10:15:22.068748"]]
|
436
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
437
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
438
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
439
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
440
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:15:22.070574"], ["updated_at", "2019-08-19 10:15:22.070574"]]
|
441
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
442
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
443
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
444
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
445
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
446
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
447
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
448
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
449
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
450
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
451
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
452
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
453
|
+
[1m[35m (1.0ms)[0m [1m[31mrollback transaction[0m
|
454
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
455
|
+
----------------------------------------------------------------------
|
456
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
457
|
+
----------------------------------------------------------------------
|
458
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
459
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
460
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
461
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
462
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
463
|
+
--------------------------------------------------------
|
464
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
465
|
+
--------------------------------------------------------
|
466
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
467
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
468
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
469
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
470
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
471
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
472
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:15:27.208201"], ["updated_at", "2019-08-19 10:15:27.208201"]]
|
473
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
474
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
475
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
476
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
477
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:15:27.210189"], ["updated_at", "2019-08-19 10:15:27.210189"]]
|
478
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
479
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
480
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
481
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
482
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
483
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
484
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
485
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
486
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
487
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
488
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
489
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
490
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
491
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
492
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
493
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
494
|
+
------------------------------------------------------------
|
495
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
496
|
+
------------------------------------------------------------
|
497
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
498
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
499
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
500
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
501
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
502
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
503
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:15:27.218707"], ["updated_at", "2019-08-19 10:15:27.218707"]]
|
504
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
505
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
506
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
507
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
508
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:15:27.220160"], ["updated_at", "2019-08-19 10:15:27.220160"]]
|
509
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
510
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
511
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
512
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
513
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
514
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
515
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
516
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
517
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
518
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
519
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
520
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
521
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
522
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
523
|
+
--------------------------------------------------
|
524
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
525
|
+
--------------------------------------------------
|
526
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
527
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
528
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
529
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
530
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
531
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
532
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:15:27.228213"], ["updated_at", "2019-08-19 10:15:27.228213"]]
|
533
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
534
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
535
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
536
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
537
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:15:27.230024"], ["updated_at", "2019-08-19 10:15:27.230024"]]
|
538
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
539
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
540
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
541
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
542
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
543
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
544
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
545
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
546
|
+
----------------------------------------------------------------------
|
547
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
548
|
+
----------------------------------------------------------------------
|
549
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
550
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
551
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
552
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
553
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
554
|
+
--------------------------------------------------
|
555
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
556
|
+
--------------------------------------------------
|
557
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
558
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
559
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
560
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
561
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
562
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
563
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:48:13.502501"], ["updated_at", "2019-08-19 10:48:13.502501"]]
|
564
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
565
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
566
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
567
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
568
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:48:13.504698"], ["updated_at", "2019-08-19 10:48:13.504698"]]
|
569
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
570
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
571
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
572
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
573
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
574
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
575
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
576
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
577
|
+
------------------------------------------------------------
|
578
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
579
|
+
------------------------------------------------------------
|
580
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
581
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
582
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
583
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
584
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
585
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
586
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:48:13.510845"], ["updated_at", "2019-08-19 10:48:13.510845"]]
|
587
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
588
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
589
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
590
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
591
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:48:13.512384"], ["updated_at", "2019-08-19 10:48:13.512384"]]
|
592
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
593
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
594
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
595
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
596
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
597
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
598
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
599
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
600
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
601
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
602
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
603
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
604
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
605
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
606
|
+
--------------------------------------------------------
|
607
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
608
|
+
--------------------------------------------------------
|
609
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
610
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
611
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
612
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
613
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
614
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
615
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:48:13.520692"], ["updated_at", "2019-08-19 10:48:13.520692"]]
|
616
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
617
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
618
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
619
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
620
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:48:13.523343"], ["updated_at", "2019-08-19 10:48:13.523343"]]
|
621
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
622
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
623
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
624
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
625
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
626
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
627
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
628
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
629
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
630
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
631
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
632
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
633
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
634
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
635
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
636
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
637
|
+
----------------------------------------------------------------------
|
638
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
639
|
+
----------------------------------------------------------------------
|
640
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
641
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
642
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
643
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
644
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
645
|
+
--------------------------------------------------------
|
646
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
647
|
+
--------------------------------------------------------
|
648
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
649
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
650
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
651
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
652
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
653
|
+
[1m[36mPlant Create (0.3ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
654
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-20 08:24:16.962167"], ["updated_at", "2019-08-20 08:24:16.962167"]]
|
655
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
656
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
657
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
658
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
659
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-20 08:24:16.964241"], ["updated_at", "2019-08-20 08:24:16.964241"]]
|
660
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
661
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
662
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
663
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
664
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
665
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
666
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
667
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
668
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
669
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
670
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
671
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
672
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
673
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
674
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
675
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
676
|
+
--------------------------------------------------
|
677
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
678
|
+
--------------------------------------------------
|
679
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
680
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
681
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
682
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
683
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
684
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
685
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-20 08:24:16.972140"], ["updated_at", "2019-08-20 08:24:16.972140"]]
|
686
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
687
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
688
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
689
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
690
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-20 08:24:16.974179"], ["updated_at", "2019-08-20 08:24:16.974179"]]
|
691
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
692
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
693
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
694
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
695
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
696
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
697
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
698
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
699
|
+
------------------------------------------------------------
|
700
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
701
|
+
------------------------------------------------------------
|
702
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
703
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
704
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
705
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
706
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
707
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
708
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-20 08:24:16.980246"], ["updated_at", "2019-08-20 08:24:16.980246"]]
|
709
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
710
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
711
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
712
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
713
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-20 08:24:16.981712"], ["updated_at", "2019-08-20 08:24:16.981712"]]
|
714
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
715
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
716
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
717
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
718
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
719
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
720
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
721
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
722
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
723
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
724
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
725
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
726
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
727
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
728
|
+
----------------------------------------------------------------------
|
729
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
730
|
+
----------------------------------------------------------------------
|
731
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
732
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
733
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
734
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
735
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
736
|
+
------------------------------------------------------------
|
737
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
738
|
+
------------------------------------------------------------
|
739
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
740
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
741
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
742
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
743
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
744
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
745
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-20 08:24:56.669294"], ["updated_at", "2019-08-20 08:24:56.669294"]]
|
746
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
747
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
748
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
749
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
750
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-20 08:24:56.677649"], ["updated_at", "2019-08-20 08:24:56.677649"]]
|
751
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
752
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
753
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
754
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
755
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
756
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
757
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
758
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
759
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
760
|
+
[1m[36mPlant Create (0.4ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
761
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
762
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
763
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
764
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
765
|
+
--------------------------------------------------------
|
766
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
767
|
+
--------------------------------------------------------
|
768
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
769
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
770
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
771
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
772
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
773
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
774
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-20 08:24:56.686132"], ["updated_at", "2019-08-20 08:24:56.686132"]]
|
775
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
776
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
777
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
778
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
779
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-20 08:24:56.687551"], ["updated_at", "2019-08-20 08:24:56.687551"]]
|
780
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
781
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
782
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
783
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
784
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
785
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
786
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
787
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
788
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
789
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
790
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
791
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
792
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
793
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
794
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
795
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
796
|
+
--------------------------------------------------
|
797
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
798
|
+
--------------------------------------------------
|
799
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
800
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
801
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
802
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
803
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
804
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
805
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2019-08-20 08:24:56.696366"], ["updated_at", "2019-08-20 08:24:56.696366"]]
|
806
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
807
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
808
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
809
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
810
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-20 08:24:56.697895"], ["updated_at", "2019-08-20 08:24:56.697895"]]
|
811
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
812
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
813
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
814
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
815
|
+
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
816
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
817
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
818
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
819
|
+
----------------------------------------------------------------------
|
820
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
821
|
+
----------------------------------------------------------------------
|
822
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
823
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
824
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
825
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
826
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
827
|
+
--------------------------------------------------------
|
828
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
829
|
+
--------------------------------------------------------
|
830
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
831
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
832
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
833
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
834
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
835
|
+
[1m[36mPlant Create (0.3ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
836
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2020-05-01 14:13:29.544147"], ["updated_at", "2020-05-01 14:13:29.544147"]]
|
837
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
838
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
839
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
840
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
841
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-05-01 14:13:29.546677"], ["updated_at", "2020-05-01 14:13:29.546677"]]
|
842
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
843
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
844
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
845
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
846
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
847
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
848
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
849
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
850
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
851
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
852
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
853
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
854
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
855
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
856
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
857
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
858
|
+
------------------------------------------------------------
|
859
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
860
|
+
------------------------------------------------------------
|
861
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
862
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
863
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
864
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
865
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
866
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
867
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2020-05-01 14:13:29.555923"], ["updated_at", "2020-05-01 14:13:29.555923"]]
|
868
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
869
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
870
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
871
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
872
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-05-01 14:13:29.557600"], ["updated_at", "2020-05-01 14:13:29.557600"]]
|
873
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
874
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
875
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
876
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
877
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
878
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
879
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
880
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
881
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
882
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
883
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
884
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
885
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
886
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
887
|
+
--------------------------------------------------
|
888
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
889
|
+
--------------------------------------------------
|
890
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
891
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
892
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
893
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
894
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
895
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
896
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2020-05-01 14:13:29.567020"], ["updated_at", "2020-05-01 14:13:29.567020"]]
|
897
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
898
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
899
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
900
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
901
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-05-01 14:13:29.568875"], ["updated_at", "2020-05-01 14:13:29.568875"]]
|
902
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
903
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
904
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
905
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
906
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
907
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
908
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
909
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
910
|
+
----------------------------------------------------------------------
|
911
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
912
|
+
----------------------------------------------------------------------
|
913
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
914
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
915
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
916
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
917
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
918
|
+
----------------------------------------------------------------------
|
919
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
920
|
+
----------------------------------------------------------------------
|
921
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
922
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
923
|
+
--------------------------------------------------------
|
924
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
925
|
+
--------------------------------------------------------
|
926
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
927
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
928
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
929
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
930
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
931
|
+
[1m[36mPlant Create (0.2ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
932
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2020-12-15 11:40:55.489866"], ["updated_at", "2020-12-15 11:40:55.489866"]]
|
933
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
934
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
935
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
936
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
937
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-12-15 11:40:55.492213"], ["updated_at", "2020-12-15 11:40:55.492213"]]
|
938
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
939
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
940
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
941
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
942
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
943
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
944
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
945
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
946
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
947
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
948
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
949
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
950
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
951
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
952
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|
953
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
954
|
+
--------------------------------------------------
|
955
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
956
|
+
--------------------------------------------------
|
957
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
958
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
959
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
960
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
961
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
962
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
963
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2020-12-15 11:40:55.500517"], ["updated_at", "2020-12-15 11:40:55.500517"]]
|
964
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
965
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
966
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
967
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
968
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-12-15 11:40:55.502380"], ["updated_at", "2020-12-15 11:40:55.502380"]]
|
969
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
970
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
971
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
972
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
973
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
974
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
975
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|
976
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
977
|
+
------------------------------------------------------------
|
978
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
979
|
+
------------------------------------------------------------
|
980
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
981
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
982
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
983
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
984
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
985
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
986
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2020-12-15 11:40:55.508317"], ["updated_at", "2020-12-15 11:40:55.508317"]]
|
987
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
988
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
989
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
990
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
991
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-12-15 11:40:55.509959"], ["updated_at", "2020-12-15 11:40:55.509959"]]
|
992
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
993
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
994
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
995
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
996
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
997
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
998
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
999
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
1000
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1001
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
1002
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1003
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
1004
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|