seed_migrations 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/seed_migrations/version.rb +1 -1
- data/test/dummy/config/application.rb +2 -6
- data/test/dummy/log/test.log +453 -774
- data/test/dummy/tmp/development_secret.txt +1 -1
- data/test/test_helper.rb +1 -0
- metadata +32 -32
data/test/dummy/log/test.log
CHANGED
@@ -1,32 +1,57 @@
|
|
1
|
-
[1m[
|
2
|
-
[1m[
|
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
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
5
3
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
[1m[35m (0.1ms)[0m [1m[
|
4
|
+
--------------------------------------------------------
|
5
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
6
|
+
--------------------------------------------------------
|
7
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
8
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
9
|
+
[1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
|
10
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
11
|
+
[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]]
|
12
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
13
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
14
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:23:35 UTC], ["updated_at", 2017-04-25 14:23:35 UTC]]
|
15
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
16
|
+
[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]]
|
17
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
18
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
19
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", 2017-04-25 14:23:35 UTC], ["updated_at", 2017-04-25 14:23:35 UTC]]
|
20
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
21
|
+
[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]]
|
22
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
23
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
24
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
25
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
26
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
27
|
+
[1m[36mActiveRecord::SeedMigration Load (5.4ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
28
|
+
[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]]
|
29
|
+
[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]]
|
30
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
31
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
32
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
33
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
34
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
10
35
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11
36
|
--------------------------------------------------
|
12
37
|
SeedMigrationsTest: test_loading_seeds_is_possible
|
13
38
|
--------------------------------------------------
|
14
|
-
[1m[35m (0.
|
15
|
-
[1m[35m (0.
|
16
|
-
[1m[35m (0.
|
17
|
-
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT
|
39
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
40
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
41
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
42
|
+
[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
43
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
19
|
-
[1m[
|
20
|
-
[1m[
|
44
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
45
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:23:35 UTC], ["updated_at", 2017-04-25 14:23:35 UTC]]
|
21
46
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
22
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
47
|
+
[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
48
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
24
|
-
[1m[
|
25
|
-
[1m[
|
49
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
50
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", 2017-04-25 14:23:35 UTC], ["updated_at", 2017-04-25 14:23:35 UTC]]
|
26
51
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
27
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
28
|
-
[1m[35m (0.
|
29
|
-
[1m[
|
52
|
+
[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]]
|
53
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
54
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
30
55
|
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
31
56
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
32
57
|
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
@@ -34,971 +59,625 @@ SeedMigrationsTest: test_loading_seeds_is_possible
|
|
34
59
|
------------------------------------------------------------
|
35
60
|
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
36
61
|
------------------------------------------------------------
|
37
|
-
[1m[35m (0.
|
38
|
-
[1m[35m (0.
|
39
|
-
[1m[35m (0.
|
40
|
-
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT
|
62
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
63
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
64
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
65
|
+
[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
66
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
42
|
-
[1m[
|
43
|
-
[1m[
|
67
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
68
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:23:35 UTC], ["updated_at", 2017-04-25 14:23:35 UTC]]
|
44
69
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
45
|
-
[1m[36mActiveRecord::SeedMigration Load (0.
|
70
|
+
[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]]
|
46
71
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
47
|
-
[1m[
|
48
|
-
[1m[
|
49
|
-
[1m[35m (0.
|
50
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
72
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
73
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", 2017-04-25 14:23:35 UTC], ["updated_at", 2017-04-25 14:23:35 UTC]]
|
74
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
75
|
+
[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
76
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
52
|
-
[1m[
|
77
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
53
78
|
[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
79
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
56
|
-
[1m[
|
80
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
81
|
+
[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
82
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
58
|
-
[1m[
|
83
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
59
84
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
60
|
-
[1m[35m (0.
|
85
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
61
86
|
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
62
87
|
[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
88
|
----------------------------------------------------------------------
|
99
89
|
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
100
90
|
----------------------------------------------------------------------
|
101
|
-
[1m[35m (0.
|
102
|
-
[1m[
|
91
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
92
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
93
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
94
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
103
95
|
--------------------------------------------------------
|
104
96
|
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
105
97
|
--------------------------------------------------------
|
106
|
-
[1m[35m (0.
|
107
|
-
[1m[35m (0.
|
108
|
-
[1m[35m (0.1ms)[0m [1m[
|
109
|
-
[1m[
|
98
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
99
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
100
|
+
[1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
|
101
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
102
|
+
[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
103
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
111
|
-
[1m[
|
112
|
-
[1m[
|
113
|
-
[1m[35m (0.
|
114
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
104
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
105
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:25:37 UTC], ["updated_at", 2017-04-25 14:25:37 UTC]]
|
106
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
107
|
+
[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
108
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
116
|
-
[1m[
|
117
|
-
[1m[
|
109
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
110
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", 2017-04-25 14:25:37 UTC], ["updated_at", 2017-04-25 14:25:37 UTC]]
|
118
111
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
119
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
112
|
+
[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
113
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
121
|
-
[1m[
|
122
|
-
[1m[35m (0.
|
114
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
115
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
123
116
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
124
117
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
125
|
-
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT
|
126
|
-
[1m[36mActiveRecord::SeedMigration Load (
|
127
|
-
[1m[36mActiveRecord::SeedMigration Load (0.
|
118
|
+
[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]]
|
119
|
+
[1m[36mActiveRecord::SeedMigration Load (5.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
120
|
+
[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]]
|
128
121
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
129
|
-
[1m[
|
122
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
130
123
|
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
131
|
-
[1m[35m (0.
|
132
|
-
[1m[35m (0.
|
133
|
-
[1m[35m (0.
|
124
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
125
|
+
[1m[35m (0.8ms)[0m [1m[31mrollback transaction[0m
|
126
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
134
127
|
--------------------------------------------------
|
135
128
|
SeedMigrationsTest: test_loading_seeds_is_possible
|
136
129
|
--------------------------------------------------
|
137
130
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
138
|
-
[1m[35m (0.
|
139
|
-
[1m[35m (0.
|
140
|
-
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT
|
131
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
132
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
133
|
+
[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
134
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
142
|
-
[1m[
|
143
|
-
[1m[
|
144
|
-
[1m[35m (0.
|
145
|
-
[1m[36mActiveRecord::SeedMigration Load (0.
|
135
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
136
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:25:37 UTC], ["updated_at", 2017-04-25 14:25:37 UTC]]
|
137
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
138
|
+
[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]]
|
146
139
|
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
147
|
-
[1m[
|
148
|
-
[1m[
|
140
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
141
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", 2017-04-25 14:25:37 UTC], ["updated_at", 2017-04-25 14:25:37 UTC]]
|
149
142
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
150
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
143
|
+
[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
144
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
152
|
-
[1m[
|
145
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
153
146
|
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
154
147
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
155
|
-
[1m[35m (0.
|
148
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
156
149
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
157
150
|
------------------------------------------------------------
|
158
151
|
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
159
152
|
------------------------------------------------------------
|
160
153
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
161
|
-
[1m[35m (0.
|
162
|
-
[1m[35m (0.
|
163
|
-
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT
|
164
|
-
[1m[35m (0.
|
165
|
-
[1m[
|
166
|
-
[1m[
|
154
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
155
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
156
|
+
[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]]
|
157
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
158
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
159
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:25:37 UTC], ["updated_at", 2017-04-25 14:25:37 UTC]]
|
167
160
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
168
|
-
[1m[36mActiveRecord::SeedMigration Load (0.
|
161
|
+
[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]]
|
169
162
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
170
|
-
[1m[
|
171
|
-
[1m[
|
163
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
164
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", 2017-04-25 14:25:37 UTC], ["updated_at", 2017-04-25 14:25:37 UTC]]
|
172
165
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
173
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
166
|
+
[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
167
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
175
|
-
[1m[
|
176
|
-
[1m[35m (0.
|
168
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
169
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
177
170
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
178
171
|
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
179
|
-
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT
|
180
|
-
[1m[35m (0.
|
181
|
-
[1m[
|
172
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
173
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
174
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
182
175
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
183
176
|
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
184
|
-
[1m[35m (0.
|
185
|
-
[1m[35m (0.
|
186
|
-
|
187
|
-
|
188
|
-
|
177
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
178
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
179
|
+
----------------------------------------------------------------------
|
180
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
181
|
+
----------------------------------------------------------------------
|
182
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
183
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
184
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
189
185
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
[1m[35m (0.1ms)[0m [1m[
|
194
|
-
[1m[35m (0.
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
[1m[
|
199
|
-
[1m[
|
186
|
+
----------------------------------------------------------------------
|
187
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
188
|
+
----------------------------------------------------------------------
|
189
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
190
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
191
|
+
--------------------------------------------------------
|
192
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
193
|
+
--------------------------------------------------------
|
194
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
195
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
196
|
+
[1m[35m (0.1ms)[0m [1m[34mselect sqlite_version(*)[0m
|
197
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
198
|
+
[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]]
|
199
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
200
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
201
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:26:14 UTC], ["updated_at", 2017-04-25 14:26:14 UTC]]
|
200
202
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
201
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
203
|
+
[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
204
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
203
|
-
[1m[
|
204
|
-
[1m[
|
205
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
206
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", 2017-04-25 14:26:14 UTC], ["updated_at", 2017-04-25 14:26:14 UTC]]
|
205
207
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
206
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
208
|
+
[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]]
|
209
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
210
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
211
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
212
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
213
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
214
|
+
[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]]
|
215
|
+
[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]]
|
216
|
+
[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
217
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
208
|
-
[1m[
|
218
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
209
219
|
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
210
220
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
211
|
-
[1m[35m (0.
|
221
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
212
222
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
213
|
-
|
214
|
-
SeedMigrationsTest:
|
215
|
-
|
223
|
+
--------------------------------------------------
|
224
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
225
|
+
--------------------------------------------------
|
216
226
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
217
|
-
[1m[35m (0.
|
218
|
-
[1m[35m (0.
|
219
|
-
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT
|
227
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
228
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
229
|
+
[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
230
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
221
|
-
[1m[
|
222
|
-
[1m[
|
231
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
232
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:26:14 UTC], ["updated_at", 2017-04-25 14:26:14 UTC]]
|
223
233
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
224
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
234
|
+
[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
235
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
226
|
-
[1m[
|
227
|
-
[1m[
|
236
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
237
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", 2017-04-25 14:26:14 UTC], ["updated_at", 2017-04-25 14:26:14 UTC]]
|
228
238
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
229
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
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]]
|
239
|
+
[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
240
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
239
|
-
[1m[
|
241
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
240
242
|
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
241
243
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
242
|
-
[1m[35m (0.
|
244
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
243
245
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
244
246
|
------------------------------------------------------------
|
245
247
|
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
246
248
|
------------------------------------------------------------
|
247
249
|
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
248
|
-
[1m[35m (0.
|
249
|
-
[1m[35m (0.
|
250
|
-
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT
|
250
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
251
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
252
|
+
[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
253
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
252
|
-
[1m[
|
253
|
-
[1m[
|
254
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
255
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:26:14 UTC], ["updated_at", 2017-04-25 14:26:14 UTC]]
|
254
256
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
255
|
-
[1m[36mActiveRecord::SeedMigration Load (0.
|
257
|
+
[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]]
|
256
258
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
257
|
-
[1m[
|
258
|
-
[1m[
|
259
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
260
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", 2017-04-25 14:26:14 UTC], ["updated_at", 2017-04-25 14:26:14 UTC]]
|
259
261
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
260
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
262
|
+
[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
263
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
262
|
-
[1m[
|
263
|
-
[1m[35m (0.
|
264
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
265
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
264
266
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
265
|
-
[1m[35m (0.
|
266
|
-
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT
|
267
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
268
|
+
[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
269
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
268
|
-
[1m[
|
270
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
269
271
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
270
272
|
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
271
|
-
[1m[35m (0.
|
272
|
-
[1m[
|
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
|
273
|
+
[1m[35m (0.4ms)[0m [1m[31mrollback transaction[0m
|
274
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
275
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
280
276
|
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
281
277
|
--------------------------------------------------------
|
282
278
|
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
283
279
|
--------------------------------------------------------
|
284
280
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
285
|
-
[1m[35m (0.
|
286
|
-
[1m[35m (0.
|
287
|
-
[1m[
|
288
|
-
[1m[
|
289
|
-
[1m[
|
290
|
-
[1m[
|
281
|
+
[1m[35m (0.4ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
282
|
+
[1m[35m (0.0ms)[0m [1m[34mselect sqlite_version(*)[0m
|
283
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
284
|
+
[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]]
|
285
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
286
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
287
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:27:30 UTC], ["updated_at", 2017-04-25 14:27:30 UTC]]
|
291
288
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
292
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
289
|
+
[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
290
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
294
|
-
[1m[
|
295
|
-
[1m[
|
291
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
292
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", 2017-04-25 14:27:30 UTC], ["updated_at", 2017-04-25 14:27:30 UTC]]
|
296
293
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
297
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
294
|
+
[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
295
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
299
|
-
[1m[
|
296
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
297
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
298
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
299
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
300
|
+
[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]]
|
301
|
+
[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]]
|
302
|
+
[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]]
|
303
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
304
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
300
305
|
[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
306
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
303
|
-
[1m[
|
304
|
-
[1m[
|
305
|
-
|
307
|
+
[1m[35m (1.0ms)[0m [1m[31mrollback transaction[0m
|
308
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
309
|
+
------------------------------------------------------------
|
310
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
311
|
+
------------------------------------------------------------
|
312
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
313
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
314
|
+
[1m[35m (0.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
315
|
+
[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]]
|
306
316
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
307
|
-
[1m[
|
308
|
-
[1m[
|
317
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
318
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:27:30 UTC], ["updated_at", 2017-04-25 14:27:30 UTC]]
|
319
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
320
|
+
[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]]
|
321
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
322
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
323
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", 2017-04-25 14:27:30 UTC], ["updated_at", 2017-04-25 14:27:30 UTC]]
|
324
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
325
|
+
[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]]
|
326
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
327
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
328
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
309
329
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
310
|
-
[1m[35m (0.
|
330
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
331
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
332
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
333
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
334
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
335
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
336
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
311
337
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
312
338
|
--------------------------------------------------
|
313
339
|
SeedMigrationsTest: test_loading_seeds_is_possible
|
314
340
|
--------------------------------------------------
|
315
341
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
316
|
-
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id"
|
317
|
-
[1m[35m (0.
|
318
|
-
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT
|
342
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
|
343
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
344
|
+
[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
345
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
320
|
-
[1m[
|
321
|
-
[1m[
|
346
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
347
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:27:30 UTC], ["updated_at", 2017-04-25 14:27:30 UTC]]
|
322
348
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
323
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
349
|
+
[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
350
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
325
|
-
[1m[
|
326
|
-
[1m[
|
351
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
352
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", 2017-04-25 14:27:30 UTC], ["updated_at", 2017-04-25 14:27:30 UTC]]
|
327
353
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
328
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT
|
354
|
+
[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
355
|
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
330
|
-
[1m[
|
356
|
+
[1m[35mSQL (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
331
357
|
[1m[35m (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
332
358
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
333
|
-
[1m[35m (0.
|
359
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
334
360
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
361
|
+
----------------------------------------------------------------------
|
362
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
363
|
+
----------------------------------------------------------------------
|
364
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
365
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
366
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
367
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
368
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
369
|
+
----------------------------------------------------------------------
|
370
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
371
|
+
----------------------------------------------------------------------
|
372
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
373
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
335
374
|
------------------------------------------------------------
|
336
375
|
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
337
376
|
------------------------------------------------------------
|
338
|
-
[1m[
|
339
|
-
[1m[
|
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
|
377
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
378
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
463
379
|
--------------------------------------------------------
|
464
380
|
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
465
381
|
--------------------------------------------------------
|
466
|
-
[1m[
|
467
|
-
[1m[
|
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
|
382
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
383
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
523
384
|
--------------------------------------------------
|
524
385
|
SeedMigrationsTest: test_loading_seeds_is_possible
|
525
386
|
--------------------------------------------------
|
526
|
-
[1m[
|
527
|
-
[1m[35m (
|
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
|
387
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
388
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
551
389
|
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
552
|
-
[1m[
|
553
|
-
[1m[
|
390
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
391
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
554
392
|
--------------------------------------------------
|
555
393
|
SeedMigrationsTest: test_loading_seeds_is_possible
|
556
394
|
--------------------------------------------------
|
557
|
-
[1m[
|
558
|
-
[1m[
|
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
|
395
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
396
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
647
397
|
--------------------------------------------------------
|
648
|
-
|
649
|
-
|
650
|
-
[1m[
|
651
|
-
[1m[
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
[1m[
|
656
|
-
[1m[
|
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
|
398
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
399
|
+
--------------------------------------------------------
|
400
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
401
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
402
|
+
------------------------------------------------------------
|
403
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
404
|
+
------------------------------------------------------------
|
405
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
406
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
728
407
|
----------------------------------------------------------------------
|
729
408
|
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
730
409
|
----------------------------------------------------------------------
|
731
|
-
[1m[
|
732
|
-
[1m[35m (
|
410
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
411
|
+
[1m[35m (1.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
733
412
|
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
734
|
-
[1m[
|
735
|
-
[1m[
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
[1m[
|
740
|
-
[1m[
|
741
|
-
|
413
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
414
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
415
|
+
----------------------------------------------------------------------
|
416
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
417
|
+
----------------------------------------------------------------------
|
418
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
419
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
420
|
+
--------------------------------------------------------
|
421
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
422
|
+
--------------------------------------------------------
|
423
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
424
|
+
[1m[35m (2.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
|
425
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
742
426
|
[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[
|
427
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
428
|
+
[1m[36mPlant Create (0.3ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
429
|
+
[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", "2022-03-28 13:10:04.828246"], ["updated_at", "2022-03-28 13:10:04.828246"]]
|
430
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
431
|
+
[1m[36mActiveRecord::SeedMigration Load (0.3ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
432
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
744
433
|
[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", "
|
746
|
-
[1m[
|
747
|
-
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "
|
748
|
-
[1m[
|
434
|
+
[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", "2022-03-28 13:10:04.836373"], ["updated_at", "2022-03-28 13:10:04.836373"]]
|
435
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
436
|
+
[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]]
|
437
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
749
438
|
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
750
|
-
[1m[
|
751
|
-
[1m[
|
439
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
440
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
441
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
442
|
+
[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]]
|
443
|
+
[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]]
|
752
444
|
[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[
|
445
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
754
446
|
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
755
|
-
[1m[
|
756
|
-
[1m[
|
757
|
-
[1m[
|
758
|
-
[1m[
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
[1m[
|
763
|
-
[1m[35m (0.3ms)[0m [1m[
|
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
|
447
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
448
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
449
|
+
[1m[36mTRANSACTION (0.3ms)[0m [1m[31mrollback transaction[0m
|
450
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
451
|
+
------------------------------------------------------------
|
452
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
453
|
+
------------------------------------------------------------
|
454
|
+
[1m[36mPlant Count (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
455
|
+
[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
|
770
456
|
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
771
457
|
[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[
|
458
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
773
459
|
[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", "
|
775
|
-
[1m[
|
460
|
+
[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", "2022-03-28 13:10:04.847485"], ["updated_at", "2022-03-28 13:10:04.847485"]]
|
461
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
776
462
|
[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[
|
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
|
463
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
783
464
|
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
784
|
-
[1m[
|
785
|
-
[1m[
|
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]]
|
465
|
+
[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", "2022-03-28 13:10:04.849090"], ["updated_at", "2022-03-28 13:10:04.849090"]]
|
466
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
789
467
|
[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[
|
468
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
791
469
|
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
792
|
-
[1m[
|
793
|
-
[1m[
|
794
|
-
[1m[
|
795
|
-
[1m[
|
470
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
471
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
472
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
473
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
474
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
475
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
476
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
477
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
478
|
+
[1m[36mTRANSACTION (0.3ms)[0m [1m[31mrollback transaction[0m
|
479
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
796
480
|
--------------------------------------------------
|
797
481
|
SeedMigrationsTest: test_loading_seeds_is_possible
|
798
482
|
--------------------------------------------------
|
799
|
-
[1m[
|
800
|
-
[1m[35m (0.
|
483
|
+
[1m[36mPlant Count (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
484
|
+
[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
|
801
485
|
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
802
486
|
[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[
|
487
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
804
488
|
[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", "
|
806
|
-
[1m[
|
489
|
+
[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", "2022-03-28 13:10:04.858182"], ["updated_at", "2022-03-28 13:10:04.858182"]]
|
490
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
807
491
|
[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[
|
492
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
809
493
|
[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", "
|
811
|
-
[1m[
|
494
|
+
[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", "2022-03-28 13:10:04.859731"], ["updated_at", "2022-03-28 13:10:04.859731"]]
|
495
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
812
496
|
[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[
|
497
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
814
498
|
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
815
|
-
[1m[
|
816
|
-
[1m[
|
817
|
-
[1m[
|
818
|
-
[1m[35m (
|
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
|
499
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
500
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
501
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|
502
|
+
[1m[35m (1.5ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
824
503
|
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
825
|
-
[1m[
|
826
|
-
[1m[
|
504
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
505
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
827
506
|
--------------------------------------------------------
|
828
507
|
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
829
508
|
--------------------------------------------------------
|
830
|
-
[1m[
|
831
|
-
[1m[35m (0.
|
509
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
510
|
+
[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
|
832
511
|
[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.
|
834
|
-
[1m[
|
835
|
-
[1m[36mPlant Create (0.
|
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", "
|
837
|
-
[1m[
|
512
|
+
[1m[36mActiveRecord::SeedMigration Load (0.2ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
513
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
514
|
+
[1m[36mPlant Create (0.5ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
515
|
+
[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", "2022-03-28 13:11:12.163864"], ["updated_at", "2022-03-28 13:11:12.163864"]]
|
516
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
838
517
|
[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[
|
840
|
-
[1m[36mPlant Create (0.
|
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", "
|
842
|
-
[1m[
|
518
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
519
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
520
|
+
[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", "2022-03-28 13:11:12.166410"], ["updated_at", "2022-03-28 13:11:12.166410"]]
|
521
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
843
522
|
[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[
|
845
|
-
[1m[36mPlant Create (0.
|
846
|
-
[1m[
|
847
|
-
[1m[
|
848
|
-
[1m[
|
523
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
524
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
525
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
526
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
527
|
+
[1m[36mPlant Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
849
528
|
[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
529
|
[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
530
|
[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[
|
531
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
853
532
|
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
854
|
-
[1m[
|
855
|
-
[1m[
|
856
|
-
[1m[
|
857
|
-
[1m[
|
533
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
534
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
535
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[31mrollback transaction[0m
|
536
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
858
537
|
------------------------------------------------------------
|
859
538
|
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
860
539
|
------------------------------------------------------------
|
861
|
-
[1m[
|
862
|
-
[1m[35m (0.
|
540
|
+
[1m[36mPlant Count (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
541
|
+
[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
|
863
542
|
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
864
543
|
[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[
|
544
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
866
545
|
[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", "
|
868
|
-
[1m[
|
546
|
+
[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", "2022-03-28 13:11:12.175898"], ["updated_at", "2022-03-28 13:11:12.175898"]]
|
547
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
869
548
|
[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[
|
871
|
-
[1m[36mPlant Create (0.
|
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", "
|
873
|
-
[1m[
|
874
|
-
[1m[36mActiveRecord::SeedMigration Load (0.
|
875
|
-
[1m[
|
876
|
-
[1m[36mPlant Create (0.
|
877
|
-
[1m[
|
878
|
-
[1m[
|
879
|
-
[1m[
|
549
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
550
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
551
|
+
[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", "2022-03-28 13:11:12.177431"], ["updated_at", "2022-03-28 13:11:12.177431"]]
|
552
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
553
|
+
[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]]
|
554
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
555
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
556
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
557
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
558
|
+
[1m[36mPlant Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
880
559
|
[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[
|
882
|
-
[1m[36mPlant Create (0.
|
883
|
-
[1m[
|
884
|
-
[1m[
|
885
|
-
[1m[
|
886
|
-
[1m[
|
560
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
561
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
562
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
563
|
+
[1m[36mPlant Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
564
|
+
[1m[36mTRANSACTION (0.3ms)[0m [1m[31mrollback transaction[0m
|
565
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
887
566
|
--------------------------------------------------
|
888
567
|
SeedMigrationsTest: test_loading_seeds_is_possible
|
889
568
|
--------------------------------------------------
|
890
|
-
[1m[
|
569
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
891
570
|
[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
571
|
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
893
572
|
[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[
|
573
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
895
574
|
[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", "
|
897
|
-
[1m[
|
575
|
+
[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", "2022-03-28 13:11:12.184660"], ["updated_at", "2022-03-28 13:11:12.184660"]]
|
576
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
898
577
|
[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[
|
900
|
-
[1m[36mPlant Create (0.
|
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", "
|
902
|
-
[1m[
|
578
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
579
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
580
|
+
[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", "2022-03-28 13:11:12.186062"], ["updated_at", "2022-03-28 13:11:12.186062"]]
|
581
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
903
582
|
[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[
|
905
|
-
[1m[36mPlant Create (0.
|
906
|
-
[1m[
|
907
|
-
[1m[
|
908
|
-
[1m[
|
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
|
583
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
584
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
585
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
586
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
587
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|
917
588
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
918
589
|
----------------------------------------------------------------------
|
919
590
|
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
920
591
|
----------------------------------------------------------------------
|
921
592
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
922
|
-
[1m[
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
593
|
+
[1m[35m (1.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
594
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
595
|
+
[1m[36mActiveRecord::SchemaMigration Pluck (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
596
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
597
|
+
------------------------------------------------------------
|
598
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
599
|
+
------------------------------------------------------------
|
600
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
601
|
+
[1m[35m (1.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
|
928
602
|
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
929
603
|
[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.
|
931
|
-
[1m[36mPlant Create (0.
|
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", "
|
604
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
605
|
+
[1m[36mPlant Create (0.5ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
606
|
+
[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", "2022-03-28 13:11:52.748460"], ["updated_at", "2022-03-28 13:11:52.748460"]]
|
933
607
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
934
608
|
[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.
|
609
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
936
610
|
[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", "
|
611
|
+
[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", "2022-03-28 13:11:52.751342"], ["updated_at", "2022-03-28 13:11:52.751342"]]
|
938
612
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
939
613
|
[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
614
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
941
|
-
[1m[36mPlant Create (0.
|
615
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
942
616
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
943
|
-
[1m[
|
944
|
-
[1m[
|
945
|
-
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations"
|
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]]
|
617
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
618
|
+
[1m[36mPlant Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
619
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
948
620
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
949
621
|
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
950
|
-
[1m[36mTRANSACTION (0.0ms)[0m [1m[
|
951
|
-
[1m[
|
952
|
-
[1m[36mTRANSACTION (0.
|
622
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
623
|
+
[1m[36mPlant Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
624
|
+
[1m[36mTRANSACTION (0.3ms)[0m [1m[31mrollback transaction[0m
|
953
625
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
954
|
-
|
955
|
-
SeedMigrationsTest:
|
956
|
-
|
957
|
-
[1m[
|
626
|
+
--------------------------------------------------------
|
627
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
628
|
+
--------------------------------------------------------
|
629
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
958
630
|
[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
631
|
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
960
632
|
[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
633
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
962
634
|
[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", "
|
635
|
+
[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", "2022-03-28 13:11:52.759859"], ["updated_at", "2022-03-28 13:11:52.759859"]]
|
964
636
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
965
637
|
[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
638
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
967
639
|
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
968
|
-
[1m[36mActiveRecord::SeedMigration Create (0.
|
969
|
-
[1m[36mTRANSACTION (0.
|
640
|
+
[1m[36mActiveRecord::SeedMigration Create (0.5ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2022-03-28 13:11:52.761941"], ["updated_at", "2022-03-28 13:11:52.761941"]]
|
641
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
642
|
+
[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]]
|
643
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
644
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
645
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
646
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
647
|
+
[1m[36mPlant Count (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
648
|
+
[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]]
|
649
|
+
[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]]
|
970
650
|
[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
651
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
972
652
|
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
973
653
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
974
|
-
[1m[
|
975
|
-
[1m[36mTRANSACTION (0.
|
654
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
655
|
+
[1m[36mTRANSACTION (0.3ms)[0m [1m[31mrollback transaction[0m
|
976
656
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
977
|
-
|
978
|
-
SeedMigrationsTest:
|
979
|
-
|
980
|
-
[1m[
|
657
|
+
--------------------------------------------------
|
658
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
659
|
+
--------------------------------------------------
|
660
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
981
661
|
[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
662
|
[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.
|
984
|
-
[1m[36mTRANSACTION (0.
|
663
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
664
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
985
665
|
[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", "
|
666
|
+
[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", "2022-03-28 13:11:52.774961"], ["updated_at", "2022-03-28 13:11:52.774961"]]
|
987
667
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
988
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]]
|
989
669
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
990
670
|
[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", "
|
671
|
+
[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", "2022-03-28 13:11:52.776614"], ["updated_at", "2022-03-28 13:11:52.776614"]]
|
992
672
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
993
673
|
[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
674
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
995
675
|
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
996
|
-
[1m[36mTRANSACTION (0.
|
997
|
-
[1m[
|
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
|
676
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
677
|
+
[1m[36mPlant Count (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
1004
678
|
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|
679
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
680
|
+
----------------------------------------------------------------------
|
681
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
682
|
+
----------------------------------------------------------------------
|
683
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|