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.
@@ -1,32 +1,57 @@
1
-  (0.9ms) SELECT sqlite_version(*)
2
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
3
-  (0.0ms) SELECT sqlite_version(*)
4
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5
3
   (0.1ms) begin transaction
6
- ----------------------------------------------------------------------
7
- SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
8
- ----------------------------------------------------------------------
9
-  (0.1ms) rollback transaction
4
+ --------------------------------------------------------
5
+ SeedMigrationsTest: test_loading_seeds_happens_only_once
6
+ --------------------------------------------------------
7
+  (0.1ms) SELECT COUNT(*) FROM "plants"
8
+  (0.3ms) CREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
9
+  (0.1ms) select sqlite_version(*)
10
+  (0.3ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
11
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
12
+  (0.0ms) SAVEPOINT active_record_1
13
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
14
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:23:35 UTC], ["updated_at", 2017-04-25 14:23:35 UTC]]
15
+  (0.0ms) RELEASE SAVEPOINT active_record_1
16
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
17
+  (0.0ms) SAVEPOINT active_record_1
18
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
19
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
21
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
22
+  (0.0ms) SAVEPOINT active_record_1
23
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
24
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
25
+  (0.1ms) SELECT COUNT(*) FROM "plants"
26
+  (0.0ms) SELECT COUNT(*) FROM "plants"
27
+ ActiveRecord::SeedMigration Load (5.4ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
28
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
29
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
30
+  (0.0ms) SAVEPOINT active_record_1
31
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
32
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
33
+  (0.1ms) SELECT COUNT(*) FROM "plants"
34
+  (0.4ms) rollback transaction
10
35
   (0.0ms) begin transaction
11
36
  --------------------------------------------------
12
37
  SeedMigrationsTest: test_loading_seeds_is_possible
13
38
  --------------------------------------------------
14
-  (0.1ms) SELECT COUNT(*) FROM "plants"
15
-  (0.4ms) CREATE 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)
16
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
17
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
39
+  (0.2ms) SELECT COUNT(*) FROM "plants"
40
+  (0.3ms) CREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
41
+  (0.3ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
42
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
18
43
   (0.0ms) SAVEPOINT active_record_1
19
- Plant Create (0.2ms) INSERT INTO "plants" DEFAULT VALUES
20
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:11:32.040064"], ["updated_at", "2019-04-25 10:11:32.040064"]]
44
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
45
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:23:35 UTC], ["updated_at", 2017-04-25 14:23:35 UTC]]
21
46
   (0.0ms) RELEASE SAVEPOINT active_record_1
22
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
47
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
23
48
   (0.0ms) SAVEPOINT active_record_1
24
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
25
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:11:32.042364"], ["updated_at", "2019-04-25 10:11:32.042364"]]
49
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
50
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
   (0.0ms) RELEASE SAVEPOINT active_record_1
27
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
28
-  (0.1ms) SAVEPOINT active_record_1
29
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
52
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
53
+  (0.0ms) SAVEPOINT active_record_1
54
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
30
55
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
31
56
   (0.1ms) SELECT COUNT(*) FROM "plants"
32
57
   (0.3ms) rollback transaction
@@ -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
-  (0.1ms) SELECT COUNT(*) FROM "plants"
38
-  (0.2ms) CREATE 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)
39
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
40
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
62
+  (0.2ms) SELECT COUNT(*) FROM "plants"
63
+  (0.3ms) CREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
64
+  (0.3ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
65
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
41
66
   (0.0ms) SAVEPOINT active_record_1
42
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
43
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:11:32.048359"], ["updated_at", "2019-04-25 10:11:32.048359"]]
67
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
68
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:23:35 UTC], ["updated_at", 2017-04-25 14:23:35 UTC]]
44
69
   (0.0ms) RELEASE SAVEPOINT active_record_1
45
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
70
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
46
71
   (0.1ms) SAVEPOINT active_record_1
47
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
48
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:11:32.050235"], ["updated_at", "2019-04-25 10:11:32.050235"]]
49
-  (0.1ms) RELEASE SAVEPOINT active_record_1
50
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
72
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
73
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
75
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
51
76
   (0.0ms) SAVEPOINT active_record_1
52
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
77
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
53
78
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
54
-  (0.2ms) SELECT COUNT(*) FROM "plants"
55
79
   (0.1ms) SELECT COUNT(*) FROM "plants"
56
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
80
+  (0.0ms) SELECT COUNT(*) FROM "plants"
81
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
57
82
   (0.0ms) SAVEPOINT active_record_1
58
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
83
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
59
84
   (0.0ms) RELEASE SAVEPOINT active_record_1
60
-  (0.1ms) SELECT COUNT(*) FROM "plants"
85
+  (0.0ms) SELECT COUNT(*) FROM "plants"
61
86
   (0.3ms) rollback transaction
62
87
   (0.0ms) begin transaction
63
- --------------------------------------------------------
64
- SeedMigrationsTest: test_loading_seeds_happens_only_once
65
- --------------------------------------------------------
66
-  (0.2ms) SELECT COUNT(*) FROM "plants"
67
-  (0.2ms) CREATE 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)
68
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
69
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
70
-  (0.0ms) SAVEPOINT active_record_1
71
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
72
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:11:32.059183"], ["updated_at", "2019-04-25 10:11:32.059183"]]
73
-  (0.0ms) RELEASE SAVEPOINT active_record_1
74
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
75
-  (0.0ms) SAVEPOINT active_record_1
76
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
77
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
79
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
80
-  (0.0ms) SAVEPOINT active_record_1
81
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
82
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
83
-  (0.1ms) SELECT COUNT(*) FROM "plants"
84
-  (0.0ms) SELECT COUNT(*) FROM "plants"
85
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
86
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
87
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
88
-  (0.0ms) SAVEPOINT active_record_1
89
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
90
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
91
-  (0.1ms) SELECT COUNT(*) FROM "plants"
92
-  (0.2ms) rollback transaction
93
-  (0.7ms) SELECT sqlite_version(*)
94
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
95
-  (0.0ms) SELECT sqlite_version(*)
96
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
97
-  (0.1ms) begin transaction
98
88
  ----------------------------------------------------------------------
99
89
  SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
100
90
  ----------------------------------------------------------------------
101
-  (0.1ms) rollback transaction
102
-  (0.0ms) begin transaction
91
+  (0.0ms) rollback transaction
92
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
93
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
94
+  (0.1ms) begin transaction
103
95
  --------------------------------------------------------
104
96
  SeedMigrationsTest: test_loading_seeds_happens_only_once
105
97
  --------------------------------------------------------
106
-  (0.1ms) SELECT COUNT(*) FROM "plants"
107
-  (0.3ms) CREATE 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)
108
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
109
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
98
+  (0.0ms) SELECT COUNT(*) FROM "plants"
99
+  (0.4ms) CREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
100
+  (0.1ms) select sqlite_version(*)
101
+  (0.2ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
102
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
110
103
   (0.0ms) SAVEPOINT active_record_1
111
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
112
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:13:37.790288"], ["updated_at", "2019-04-25 10:13:37.790288"]]
113
-  (0.1ms) RELEASE SAVEPOINT active_record_1
114
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
104
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
105
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:25:37 UTC], ["updated_at", 2017-04-25 14:25:37 UTC]]
106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
107
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
115
108
   (0.0ms) SAVEPOINT active_record_1
116
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
117
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:13:37.792535"], ["updated_at", "2019-04-25 10:13:37.792535"]]
109
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
110
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
   (0.0ms) RELEASE SAVEPOINT active_record_1
119
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
112
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
120
113
   (0.0ms) SAVEPOINT active_record_1
121
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
122
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
114
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
115
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
123
116
   (0.1ms) SELECT COUNT(*) FROM "plants"
124
117
   (0.1ms) SELECT COUNT(*) FROM "plants"
125
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
126
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
127
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
118
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
119
+ ActiveRecord::SeedMigration Load (5.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
120
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
128
121
   (0.0ms) SAVEPOINT active_record_1
129
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
122
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
130
123
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
131
-  (0.3ms) SELECT COUNT(*) FROM "plants"
132
-  (0.2ms) rollback transaction
133
-  (0.0ms) begin transaction
124
+  (0.1ms) SELECT COUNT(*) FROM "plants"
125
+  (0.8ms) rollback transaction
126
+  (0.1ms) begin transaction
134
127
  --------------------------------------------------
135
128
  SeedMigrationsTest: test_loading_seeds_is_possible
136
129
  --------------------------------------------------
137
130
   (0.1ms) SELECT COUNT(*) FROM "plants"
138
-  (0.2ms) CREATE 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)
139
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
140
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
131
+  (0.3ms) CREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
132
+  (0.3ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
133
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
141
134
   (0.0ms) SAVEPOINT active_record_1
142
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
143
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:13:37.801009"], ["updated_at", "2019-04-25 10:13:37.801009"]]
144
-  (0.1ms) RELEASE SAVEPOINT active_record_1
145
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
135
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
136
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:25:37 UTC], ["updated_at", 2017-04-25 14:25:37 UTC]]
137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
138
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
146
139
   (0.1ms) SAVEPOINT active_record_1
147
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
148
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:13:37.803560"], ["updated_at", "2019-04-25 10:13:37.803560"]]
140
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
141
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
   (0.0ms) RELEASE SAVEPOINT active_record_1
150
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
143
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
151
144
   (0.0ms) SAVEPOINT active_record_1
152
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
145
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
153
146
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
154
147
   (0.1ms) SELECT COUNT(*) FROM "plants"
155
-  (0.2ms) rollback transaction
148
+  (0.3ms) rollback transaction
156
149
   (0.0ms) begin transaction
157
150
  ------------------------------------------------------------
158
151
  SeedMigrationsTest: test_reloading_the_last_seed_is_possible
159
152
  ------------------------------------------------------------
160
153
   (0.1ms) SELECT COUNT(*) FROM "plants"
161
-  (0.2ms) CREATE 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)
162
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
163
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
164
-  (0.0ms) SAVEPOINT active_record_1
165
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
166
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:13:37.808857"], ["updated_at", "2019-04-25 10:13:37.808857"]]
154
+  (0.3ms) CREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
155
+  (0.2ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
156
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
157
+  (0.1ms) SAVEPOINT active_record_1
158
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
159
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:25:37 UTC], ["updated_at", 2017-04-25 14:25:37 UTC]]
167
160
   (0.0ms) RELEASE SAVEPOINT active_record_1
168
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
161
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
169
162
   (0.0ms) SAVEPOINT active_record_1
170
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
171
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:13:37.810513"], ["updated_at", "2019-04-25 10:13:37.810513"]]
163
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
164
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
   (0.0ms) RELEASE SAVEPOINT active_record_1
173
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
166
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
174
167
   (0.0ms) SAVEPOINT active_record_1
175
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
176
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
168
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
169
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
177
170
   (0.1ms) SELECT COUNT(*) FROM "plants"
178
171
   (0.0ms) SELECT COUNT(*) FROM "plants"
179
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
180
-  (0.0ms) SAVEPOINT active_record_1
181
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
172
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
173
+  (0.1ms) SAVEPOINT active_record_1
174
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
182
175
   (0.0ms) RELEASE SAVEPOINT active_record_1
183
176
   (0.0ms) SELECT COUNT(*) FROM "plants"
184
-  (0.2ms) rollback transaction
185
-  (0.8ms) SELECT sqlite_version(*)
186
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
187
-  (0.0ms) SELECT sqlite_version(*)
188
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
177
+  (0.3ms) rollback transaction
178
+  (0.0ms) begin transaction
179
+ ----------------------------------------------------------------------
180
+ SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
181
+ ----------------------------------------------------------------------
182
+  (0.0ms) rollback transaction
183
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
184
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
189
185
   (0.1ms) begin transaction
190
- --------------------------------------------------
191
- SeedMigrationsTest: test_loading_seeds_is_possible
192
- --------------------------------------------------
193
-  (0.1ms) SELECT COUNT(*) FROM "plants"
194
-  (0.3ms) CREATE 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)
195
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
196
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
197
-  (0.0ms) SAVEPOINT active_record_1
198
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
199
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:14:14.532785"], ["updated_at", "2019-04-25 10:14:14.532785"]]
186
+ ----------------------------------------------------------------------
187
+ SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
188
+ ----------------------------------------------------------------------
189
+  (0.1ms) rollback transaction
190
+  (0.1ms) begin transaction
191
+ --------------------------------------------------------
192
+ SeedMigrationsTest: test_loading_seeds_happens_only_once
193
+ --------------------------------------------------------
194
+  (0.0ms) SELECT COUNT(*) FROM "plants"
195
+  (0.4ms) CREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
196
+  (0.1ms) select sqlite_version(*)
197
+  (0.3ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
198
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
199
+  (0.1ms) SAVEPOINT active_record_1
200
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
201
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:26:14 UTC], ["updated_at", 2017-04-25 14:26:14 UTC]]
200
202
   (0.0ms) RELEASE SAVEPOINT active_record_1
201
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
203
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
202
204
   (0.0ms) SAVEPOINT active_record_1
203
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
204
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:14:14.534977"], ["updated_at", "2019-04-25 10:14:14.534977"]]
205
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
206
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
   (0.0ms) RELEASE SAVEPOINT active_record_1
206
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
208
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
209
+  (0.1ms) SAVEPOINT active_record_1
210
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
211
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
212
+  (0.1ms) SELECT COUNT(*) FROM "plants"
213
+  (0.0ms) SELECT COUNT(*) FROM "plants"
214
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
215
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
216
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
207
217
   (0.0ms) SAVEPOINT active_record_1
208
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
218
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
209
219
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
210
220
   (0.1ms) SELECT COUNT(*) FROM "plants"
211
-  (0.3ms) rollback transaction
221
+  (0.4ms) rollback transaction
212
222
   (0.0ms) begin transaction
213
- --------------------------------------------------------
214
- SeedMigrationsTest: test_loading_seeds_happens_only_once
215
- --------------------------------------------------------
223
+ --------------------------------------------------
224
+ SeedMigrationsTest: test_loading_seeds_is_possible
225
+ --------------------------------------------------
216
226
   (0.1ms) SELECT COUNT(*) FROM "plants"
217
-  (0.2ms) CREATE 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)
218
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
219
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
227
+  (0.3ms) CREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
228
+  (0.4ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
229
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
220
230
   (0.0ms) SAVEPOINT active_record_1
221
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
222
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:14:14.540936"], ["updated_at", "2019-04-25 10:14:14.540936"]]
231
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
232
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:26:14 UTC], ["updated_at", 2017-04-25 14:26:14 UTC]]
223
233
   (0.0ms) RELEASE SAVEPOINT active_record_1
224
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
234
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
225
235
   (0.0ms) SAVEPOINT active_record_1
226
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
227
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:14:14.542794"], ["updated_at", "2019-04-25 10:14:14.542794"]]
236
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
237
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
   (0.0ms) RELEASE SAVEPOINT active_record_1
229
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
230
-  (0.0ms) SAVEPOINT active_record_1
231
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
232
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
233
-  (0.1ms) SELECT COUNT(*) FROM "plants"
234
-  (0.0ms) SELECT COUNT(*) FROM "plants"
235
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
236
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
237
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
239
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
238
240
   (0.0ms) SAVEPOINT active_record_1
239
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
241
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
240
242
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
241
243
   (0.1ms) SELECT COUNT(*) FROM "plants"
242
-  (0.2ms) rollback transaction
244
+  (0.3ms) rollback transaction
243
245
   (0.0ms) begin transaction
244
246
  ------------------------------------------------------------
245
247
  SeedMigrationsTest: test_reloading_the_last_seed_is_possible
246
248
  ------------------------------------------------------------
247
249
   (0.2ms) SELECT COUNT(*) FROM "plants"
248
-  (0.2ms) CREATE 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)
249
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
250
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
250
+  (0.3ms) CREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
251
+  (0.3ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
252
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
251
253
   (0.0ms) SAVEPOINT active_record_1
252
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
253
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-04-25 10:14:14.551681"], ["updated_at", "2019-04-25 10:14:14.551681"]]
254
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
255
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:26:14 UTC], ["updated_at", 2017-04-25 14:26:14 UTC]]
254
256
   (0.0ms) RELEASE SAVEPOINT active_record_1
255
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
257
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
256
258
   (0.0ms) SAVEPOINT active_record_1
257
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
258
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-04-25 10:14:14.553356"], ["updated_at", "2019-04-25 10:14:14.553356"]]
259
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
260
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
   (0.0ms) RELEASE SAVEPOINT active_record_1
260
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
262
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
261
263
   (0.0ms) SAVEPOINT active_record_1
262
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
263
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
264
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
265
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
264
266
   (0.1ms) SELECT COUNT(*) FROM "plants"
265
-  (0.0ms) SELECT COUNT(*) FROM "plants"
266
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
267
+  (0.1ms) SELECT COUNT(*) FROM "plants"
268
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
267
269
   (0.0ms) SAVEPOINT active_record_1
268
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
270
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
269
271
   (0.0ms) RELEASE SAVEPOINT active_record_1
270
272
   (0.0ms) SELECT COUNT(*) FROM "plants"
271
-  (0.2ms) rollback transaction
272
-  (0.0ms) begin transaction
273
- ----------------------------------------------------------------------
274
- SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
275
- ----------------------------------------------------------------------
276
-  (0.0ms) rollback transaction
277
-  (0.8ms) SELECT sqlite_version(*)
278
-  (0.1ms) SELECT sqlite_version(*)
279
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
273
+  (0.4ms) rollback transaction
274
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
275
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
280
276
   (0.1ms) begin transaction
281
277
  --------------------------------------------------------
282
278
  SeedMigrationsTest: test_loading_seeds_happens_only_once
283
279
  --------------------------------------------------------
284
280
   (0.1ms) SELECT COUNT(*) FROM "plants"
285
-  (0.2ms) CREATE 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)
286
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
287
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
288
-  (0.1ms) SAVEPOINT active_record_1
289
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
290
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:13:21.933244"], ["updated_at", "2019-08-19 10:13:21.933244"]]
281
+  (0.4ms) CREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
282
+  (0.0ms) select sqlite_version(*)
283
+  (0.3ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
284
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
285
+  (0.0ms) SAVEPOINT active_record_1
286
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
287
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:27:30 UTC], ["updated_at", 2017-04-25 14:27:30 UTC]]
291
288
   (0.0ms) RELEASE SAVEPOINT active_record_1
292
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
289
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
293
290
   (0.0ms) SAVEPOINT active_record_1
294
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
295
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:13:21.935121"], ["updated_at", "2019-08-19 10:13:21.935121"]]
291
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
292
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
   (0.0ms) RELEASE SAVEPOINT active_record_1
297
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
294
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
298
295
   (0.0ms) SAVEPOINT active_record_1
299
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
296
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
297
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
298
+  (0.4ms) SELECT COUNT(*) FROM "plants"
299
+  (0.0ms) SELECT COUNT(*) FROM "plants"
300
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
301
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
302
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
303
+  (0.0ms) SAVEPOINT active_record_1
304
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
300
305
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
301
-  (0.2ms) SELECT COUNT(*) FROM "plants"
302
306
   (0.1ms) SELECT COUNT(*) FROM "plants"
303
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
304
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
305
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
307
+  (1.0ms) rollback transaction
308
+  (0.1ms) begin transaction
309
+ ------------------------------------------------------------
310
+ SeedMigrationsTest: test_reloading_the_last_seed_is_possible
311
+ ------------------------------------------------------------
312
+  (0.2ms) SELECT COUNT(*) FROM "plants"
313
+  (0.3ms) CREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
314
+  (0.3ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
315
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
306
316
   (0.0ms) SAVEPOINT active_record_1
307
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
308
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
317
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
318
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:27:30 UTC], ["updated_at", 2017-04-25 14:27:30 UTC]]
319
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
321
+  (0.0ms) SAVEPOINT active_record_1
322
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
323
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
325
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
326
+  (0.0ms) SAVEPOINT active_record_1
327
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
328
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
309
329
   (0.1ms) SELECT COUNT(*) FROM "plants"
310
-  (0.2ms) rollback transaction
330
+  (0.0ms) SELECT COUNT(*) FROM "plants"
331
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
332
+  (0.1ms) SAVEPOINT active_record_1
333
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
334
+  (0.0ms) RELEASE SAVEPOINT active_record_1
335
+  (0.0ms) SELECT COUNT(*) FROM "plants"
336
+  (0.3ms) rollback transaction
311
337
   (0.0ms) begin transaction
312
338
  --------------------------------------------------
313
339
  SeedMigrationsTest: test_loading_seeds_is_possible
314
340
  --------------------------------------------------
315
341
   (0.1ms) SELECT COUNT(*) FROM "plants"
316
-  (0.2ms) CREATE 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)
317
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
318
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
342
+  (0.2ms) CREATE TABLE "seed_migrations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
343
+  (0.2ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
344
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
319
345
   (0.0ms) SAVEPOINT active_record_1
320
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
321
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:13:21.943293"], ["updated_at", "2019-08-19 10:13:21.943293"]]
346
+ SQL (0.1ms) INSERT INTO "plants" DEFAULT VALUES
347
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", 2017-04-25 14:27:30 UTC], ["updated_at", 2017-04-25 14:27:30 UTC]]
322
348
   (0.0ms) RELEASE SAVEPOINT active_record_1
323
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
349
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
324
350
   (0.0ms) SAVEPOINT active_record_1
325
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
326
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-19 10:13:21.944753"], ["updated_at", "2019-08-19 10:13:21.944753"]]
351
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
352
+ SQL (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
   (0.0ms) RELEASE SAVEPOINT active_record_1
328
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
354
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
329
355
   (0.0ms) SAVEPOINT active_record_1
330
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
356
+ SQL (0.0ms) INSERT INTO "plants" DEFAULT VALUES
331
357
   (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
332
358
   (0.1ms) SELECT COUNT(*) FROM "plants"
333
-  (0.2ms) rollback transaction
359
+  (0.3ms) rollback transaction
334
360
   (0.0ms) begin transaction
361
+ ----------------------------------------------------------------------
362
+ SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
363
+ ----------------------------------------------------------------------
364
+  (0.0ms) rollback transaction
365
+  (1.6ms) SELECT sqlite_version(*)
366
+  (0.1ms) SELECT sqlite_version(*)
367
+ ActiveRecord::SchemaMigration Pluck (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
368
+ TRANSACTION (0.1ms) begin transaction
369
+ ----------------------------------------------------------------------
370
+ SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
371
+ ----------------------------------------------------------------------
372
+ TRANSACTION (0.1ms) rollback transaction
373
+ TRANSACTION (0.1ms) begin transaction
335
374
  ------------------------------------------------------------
336
375
  SeedMigrationsTest: test_reloading_the_last_seed_is_possible
337
376
  ------------------------------------------------------------
338
-  (0.1ms) SELECT COUNT(*) FROM "plants"
339
-  (0.2ms) CREATE 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)
340
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
341
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
342
-  (0.0ms) SAVEPOINT active_record_1
343
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
344
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:13:21.949755"], ["updated_at", "2019-08-19 10:13:21.949755"]]
345
-  (0.0ms) RELEASE SAVEPOINT active_record_1
346
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
347
-  (0.1ms) SAVEPOINT active_record_1
348
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
349
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
351
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
352
-  (0.0ms) SAVEPOINT active_record_1
353
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
354
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
355
-  (0.1ms) SELECT COUNT(*) FROM "plants"
356
-  (0.1ms) SELECT COUNT(*) FROM "plants"
357
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
358
-  (0.0ms) SAVEPOINT active_record_1
359
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
360
-  (0.0ms) RELEASE SAVEPOINT active_record_1
361
-  (0.1ms) SELECT COUNT(*) FROM "plants"
362
-  (0.2ms) rollback transaction
363
-  (0.0ms) begin transaction
364
- ----------------------------------------------------------------------
365
- SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
366
- ----------------------------------------------------------------------
367
-  (0.0ms) rollback transaction
368
-  (0.9ms) SELECT sqlite_version(*)
369
-  (0.1ms) SELECT sqlite_version(*)
370
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
371
-  (0.1ms) begin transaction
372
- --------------------------------------------------------
373
- SeedMigrationsTest: test_loading_seeds_happens_only_once
374
- --------------------------------------------------------
375
-  (0.1ms) SELECT COUNT(*) FROM "plants"
376
-  (0.3ms) CREATE 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)
377
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
378
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
379
-  (0.0ms) SAVEPOINT active_record_1
380
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
381
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:15:22.051274"], ["updated_at", "2019-08-19 10:15:22.051274"]]
382
-  (0.0ms) RELEASE SAVEPOINT active_record_1
383
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
384
-  (0.0ms) SAVEPOINT active_record_1
385
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
386
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
388
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
389
-  (0.1ms) SAVEPOINT active_record_1
390
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
391
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
392
-  (0.1ms) SELECT COUNT(*) FROM "plants"
393
-  (0.1ms) SELECT COUNT(*) FROM "plants"
394
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
395
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
396
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
397
-  (0.0ms) SAVEPOINT active_record_1
398
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
399
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
400
-  (0.1ms) SELECT COUNT(*) FROM "plants"
401
-  (0.3ms) rollback transaction
402
-  (0.0ms) begin transaction
403
- --------------------------------------------------
404
- SeedMigrationsTest: test_loading_seeds_is_possible
405
- --------------------------------------------------
406
-  (0.1ms) SELECT COUNT(*) FROM "plants"
407
-  (0.2ms) CREATE 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)
408
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
409
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
410
-  (0.0ms) SAVEPOINT active_record_1
411
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
412
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:15:22.062255"], ["updated_at", "2019-08-19 10:15:22.062255"]]
413
-  (0.0ms) RELEASE SAVEPOINT active_record_1
414
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
415
-  (0.0ms) SAVEPOINT active_record_1
416
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
417
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
419
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
420
-  (0.0ms) SAVEPOINT active_record_1
421
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
422
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
423
-  (0.1ms) SELECT COUNT(*) FROM "plants"
424
-  (0.3ms) rollback transaction
425
-  (0.0ms) begin transaction
426
- ------------------------------------------------------------
427
- SeedMigrationsTest: test_reloading_the_last_seed_is_possible
428
- ------------------------------------------------------------
429
-  (0.1ms) SELECT COUNT(*) FROM "plants"
430
-  (0.2ms) CREATE 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)
431
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
432
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
433
-  (0.0ms) SAVEPOINT active_record_1
434
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
435
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:15:22.068748"], ["updated_at", "2019-08-19 10:15:22.068748"]]
436
-  (0.0ms) RELEASE SAVEPOINT active_record_1
437
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
438
-  (0.0ms) SAVEPOINT active_record_1
439
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
440
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
442
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
443
-  (0.0ms) SAVEPOINT active_record_1
444
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
445
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
446
-  (0.1ms) SELECT COUNT(*) FROM "plants"
447
-  (0.0ms) SELECT COUNT(*) FROM "plants"
448
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
449
-  (0.0ms) SAVEPOINT active_record_1
450
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
451
-  (0.0ms) RELEASE SAVEPOINT active_record_1
452
-  (0.1ms) SELECT COUNT(*) FROM "plants"
453
-  (1.0ms) rollback transaction
454
-  (0.1ms) begin transaction
455
- ----------------------------------------------------------------------
456
- SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
457
- ----------------------------------------------------------------------
458
-  (0.0ms) rollback transaction
459
-  (0.8ms) SELECT sqlite_version(*)
460
-  (0.1ms) SELECT sqlite_version(*)
461
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
462
-  (0.1ms) begin transaction
377
+ TRANSACTION (0.0ms) rollback transaction
378
+ TRANSACTION (0.1ms) begin transaction
463
379
  --------------------------------------------------------
464
380
  SeedMigrationsTest: test_loading_seeds_happens_only_once
465
381
  --------------------------------------------------------
466
-  (0.1ms) SELECT COUNT(*) FROM "plants"
467
-  (0.2ms) CREATE 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)
468
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
469
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
470
-  (0.0ms) SAVEPOINT active_record_1
471
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
472
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:15:27.208201"], ["updated_at", "2019-08-19 10:15:27.208201"]]
473
-  (0.0ms) RELEASE SAVEPOINT active_record_1
474
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
475
-  (0.0ms) SAVEPOINT active_record_1
476
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
477
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
479
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
480
-  (0.0ms) SAVEPOINT active_record_1
481
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
482
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
483
-  (0.1ms) SELECT COUNT(*) FROM "plants"
484
-  (0.0ms) SELECT COUNT(*) FROM "plants"
485
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
486
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
487
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
488
-  (0.0ms) SAVEPOINT active_record_1
489
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
490
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
491
-  (0.1ms) SELECT COUNT(*) FROM "plants"
492
-  (0.3ms) rollback transaction
493
-  (0.0ms) begin transaction
494
- ------------------------------------------------------------
495
- SeedMigrationsTest: test_reloading_the_last_seed_is_possible
496
- ------------------------------------------------------------
497
-  (0.1ms) SELECT COUNT(*) FROM "plants"
498
-  (0.2ms) CREATE 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)
499
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
500
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
501
-  (0.0ms) SAVEPOINT active_record_1
502
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
503
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:15:27.218707"], ["updated_at", "2019-08-19 10:15:27.218707"]]
504
-  (0.0ms) RELEASE SAVEPOINT active_record_1
505
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
506
-  (0.0ms) SAVEPOINT active_record_1
507
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
508
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
510
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
511
-  (0.0ms) SAVEPOINT active_record_1
512
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
513
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
514
-  (0.1ms) SELECT COUNT(*) FROM "plants"
515
-  (0.0ms) SELECT COUNT(*) FROM "plants"
516
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
517
-  (0.0ms) SAVEPOINT active_record_1
518
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
519
-  (0.0ms) RELEASE SAVEPOINT active_record_1
520
-  (0.1ms) SELECT COUNT(*) FROM "plants"
521
-  (0.3ms) rollback transaction
522
-  (0.0ms) begin transaction
382
+ TRANSACTION (0.0ms) rollback transaction
383
+ TRANSACTION (0.1ms) begin transaction
523
384
  --------------------------------------------------
524
385
  SeedMigrationsTest: test_loading_seeds_is_possible
525
386
  --------------------------------------------------
526
-  (0.2ms) SELECT COUNT(*) FROM "plants"
527
-  (0.2ms) CREATE 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)
528
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
529
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
530
-  (0.0ms) SAVEPOINT active_record_1
531
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
532
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:15:27.228213"], ["updated_at", "2019-08-19 10:15:27.228213"]]
533
-  (0.0ms) RELEASE SAVEPOINT active_record_1
534
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
535
-  (0.1ms) SAVEPOINT active_record_1
536
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
537
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
539
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
540
-  (0.0ms) SAVEPOINT active_record_1
541
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
542
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
543
-  (0.1ms) SELECT COUNT(*) FROM "plants"
544
-  (0.2ms) rollback transaction
545
-  (0.0ms) begin transaction
546
- ----------------------------------------------------------------------
547
- SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
548
- ----------------------------------------------------------------------
549
-  (0.1ms) rollback transaction
550
-  (1.7ms) SELECT sqlite_version(*)
387
+ TRANSACTION (0.0ms) rollback transaction
388
+  (1.4ms) SELECT sqlite_version(*)
551
389
   (0.1ms) SELECT sqlite_version(*)
552
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
553
-  (0.1ms) begin transaction
390
+ ActiveRecord::SchemaMigration Pluck (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
391
+ TRANSACTION (0.1ms) begin transaction
554
392
  --------------------------------------------------
555
393
  SeedMigrationsTest: test_loading_seeds_is_possible
556
394
  --------------------------------------------------
557
-  (0.1ms) SELECT COUNT(*) FROM "plants"
558
-  (1.0ms) CREATE 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)
559
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
560
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
561
-  (0.0ms) SAVEPOINT active_record_1
562
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
563
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:48:13.502501"], ["updated_at", "2019-08-19 10:48:13.502501"]]
564
-  (0.0ms) RELEASE SAVEPOINT active_record_1
565
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
566
-  (0.0ms) SAVEPOINT active_record_1
567
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
568
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
570
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
571
-  (0.1ms) SAVEPOINT active_record_1
572
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
573
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
574
-  (0.1ms) SELECT COUNT(*) FROM "plants"
575
-  (0.2ms) rollback transaction
576
-  (0.0ms) begin transaction
577
- ------------------------------------------------------------
578
- SeedMigrationsTest: test_reloading_the_last_seed_is_possible
579
- ------------------------------------------------------------
580
-  (0.2ms) SELECT COUNT(*) FROM "plants"
581
-  (0.2ms) CREATE 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)
582
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
583
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
584
-  (0.0ms) SAVEPOINT active_record_1
585
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
586
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:48:13.510845"], ["updated_at", "2019-08-19 10:48:13.510845"]]
587
-  (0.0ms) RELEASE SAVEPOINT active_record_1
588
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
589
-  (0.0ms) SAVEPOINT active_record_1
590
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
591
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
593
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
594
-  (0.0ms) SAVEPOINT active_record_1
595
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
596
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
597
-  (0.1ms) SELECT COUNT(*) FROM "plants"
598
-  (0.0ms) SELECT COUNT(*) FROM "plants"
599
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
600
-  (0.0ms) SAVEPOINT active_record_1
601
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
602
-  (0.0ms) RELEASE SAVEPOINT active_record_1
603
-  (0.0ms) SELECT COUNT(*) FROM "plants"
604
-  (0.2ms) rollback transaction
605
-  (0.0ms) begin transaction
606
- --------------------------------------------------------
607
- SeedMigrationsTest: test_loading_seeds_happens_only_once
608
- --------------------------------------------------------
609
-  (0.1ms) SELECT COUNT(*) FROM "plants"
610
-  (0.2ms) CREATE 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)
611
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
612
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
613
-  (0.0ms) SAVEPOINT active_record_1
614
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
615
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-19 10:48:13.520692"], ["updated_at", "2019-08-19 10:48:13.520692"]]
616
-  (0.1ms) RELEASE SAVEPOINT active_record_1
617
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
618
-  (0.1ms) SAVEPOINT active_record_1
619
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
620
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
622
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
623
-  (0.0ms) SAVEPOINT active_record_1
624
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
625
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
626
-  (0.1ms) SELECT COUNT(*) FROM "plants"
627
-  (0.0ms) SELECT COUNT(*) FROM "plants"
628
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
629
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
630
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
631
-  (0.1ms) SAVEPOINT active_record_1
632
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
633
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
634
-  (0.1ms) SELECT COUNT(*) FROM "plants"
635
-  (0.1ms) rollback transaction
636
-  (0.0ms) begin transaction
637
- ----------------------------------------------------------------------
638
- SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
639
- ----------------------------------------------------------------------
640
-  (0.0ms) rollback transaction
641
-  (2.2ms) SELECT sqlite_version(*)
642
-  (0.1ms) SELECT sqlite_version(*)
643
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
644
-  (0.0ms) begin transaction
645
- --------------------------------------------------------
646
- SeedMigrationsTest: test_loading_seeds_happens_only_once
395
+ TRANSACTION (0.0ms) rollback transaction
396
+ TRANSACTION (0.1ms) begin transaction
647
397
  --------------------------------------------------------
648
-  (0.1ms) SELECT COUNT(*) FROM "plants"
649
-  (0.3ms) CREATE 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)
650
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
651
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
652
-  (0.0ms) SAVEPOINT active_record_1
653
- Plant Create (0.3ms) INSERT INTO "plants" DEFAULT VALUES
654
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-20 08:24:16.962167"], ["updated_at", "2019-08-20 08:24:16.962167"]]
655
-  (0.0ms) RELEASE SAVEPOINT active_record_1
656
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
657
-  (0.0ms) SAVEPOINT active_record_1
658
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
659
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
661
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
662
-  (0.0ms) SAVEPOINT active_record_1
663
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
664
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
665
-  (0.1ms) SELECT COUNT(*) FROM "plants"
666
-  (0.0ms) SELECT COUNT(*) FROM "plants"
667
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
668
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
669
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
670
-  (0.0ms) SAVEPOINT active_record_1
671
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
672
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
673
-  (0.1ms) SELECT COUNT(*) FROM "plants"
674
-  (0.2ms) rollback transaction
675
-  (0.0ms) begin transaction
676
- --------------------------------------------------
677
- SeedMigrationsTest: test_loading_seeds_is_possible
678
- --------------------------------------------------
679
-  (0.1ms) SELECT COUNT(*) FROM "plants"
680
-  (0.2ms) CREATE 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)
681
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
682
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
683
-  (0.0ms) SAVEPOINT active_record_1
684
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
685
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-20 08:24:16.972140"], ["updated_at", "2019-08-20 08:24:16.972140"]]
686
-  (0.0ms) RELEASE SAVEPOINT active_record_1
687
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
688
-  (0.0ms) SAVEPOINT active_record_1
689
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
690
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
692
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
693
-  (0.1ms) SAVEPOINT active_record_1
694
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
695
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
696
-  (0.1ms) SELECT COUNT(*) FROM "plants"
697
-  (0.2ms) rollback transaction
698
-  (0.0ms) begin transaction
699
- ------------------------------------------------------------
700
- SeedMigrationsTest: test_reloading_the_last_seed_is_possible
701
- ------------------------------------------------------------
702
-  (0.1ms) SELECT COUNT(*) FROM "plants"
703
-  (0.2ms) CREATE 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)
704
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
705
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
706
-  (0.0ms) SAVEPOINT active_record_1
707
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
708
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-20 08:24:16.980246"], ["updated_at", "2019-08-20 08:24:16.980246"]]
709
-  (0.0ms) RELEASE SAVEPOINT active_record_1
710
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
711
-  (0.0ms) SAVEPOINT active_record_1
712
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
713
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
715
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
716
-  (0.0ms) SAVEPOINT active_record_1
717
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
718
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
719
-  (0.1ms) SELECT COUNT(*) FROM "plants"
720
-  (0.0ms) SELECT COUNT(*) FROM "plants"
721
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
722
-  (0.0ms) SAVEPOINT active_record_1
723
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
724
-  (0.0ms) RELEASE SAVEPOINT active_record_1
725
-  (0.0ms) SELECT COUNT(*) FROM "plants"
726
-  (0.2ms) rollback transaction
727
-  (0.0ms) begin transaction
398
+ SeedMigrationsTest: test_loading_seeds_happens_only_once
399
+ --------------------------------------------------------
400
+ TRANSACTION (0.0ms) rollback transaction
401
+ TRANSACTION (0.0ms) begin transaction
402
+ ------------------------------------------------------------
403
+ SeedMigrationsTest: test_reloading_the_last_seed_is_possible
404
+ ------------------------------------------------------------
405
+ TRANSACTION (0.0ms) rollback transaction
406
+ TRANSACTION (0.0ms) begin transaction
728
407
  ----------------------------------------------------------------------
729
408
  SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
730
409
  ----------------------------------------------------------------------
731
-  (0.0ms) rollback transaction
732
-  (0.7ms) SELECT sqlite_version(*)
410
+ TRANSACTION (0.1ms) rollback transaction
411
+  (1.7ms) SELECT sqlite_version(*)
733
412
   (0.1ms) SELECT sqlite_version(*)
734
-  (1.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
735
-  (0.1ms) begin transaction
736
- ------------------------------------------------------------
737
- SeedMigrationsTest: test_reloading_the_last_seed_is_possible
738
- ------------------------------------------------------------
739
-  (0.1ms) SELECT COUNT(*) FROM "plants"
740
-  (0.3ms) CREATE 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)
741
-  (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
413
+ ActiveRecord::SchemaMigration Pluck (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
414
+ TRANSACTION (0.1ms) begin transaction
415
+ ----------------------------------------------------------------------
416
+ SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
417
+ ----------------------------------------------------------------------
418
+ TRANSACTION (0.1ms) rollback transaction
419
+ TRANSACTION (0.1ms) begin transaction
420
+ --------------------------------------------------------
421
+ SeedMigrationsTest: test_loading_seeds_happens_only_once
422
+ --------------------------------------------------------
423
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
424
+  (2.3ms) CREATE 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)
425
+  (0.5ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
742
426
  ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
743
-  (0.0ms) SAVEPOINT active_record_1
427
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
428
+ Plant Create (0.3ms) INSERT INTO "plants" DEFAULT VALUES
429
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2022-03-28 13:10:04.828246"], ["updated_at", "2022-03-28 13:10:04.828246"]]
430
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
431
+ ActiveRecord::SeedMigration Load (0.3ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
432
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
744
433
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
745
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-20 08:24:56.669294"], ["updated_at", "2019-08-20 08:24:56.669294"]]
746
-  (0.1ms) RELEASE SAVEPOINT active_record_1
747
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
748
-  (0.1ms) SAVEPOINT active_record_1
434
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
436
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
437
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
749
438
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
750
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-20 08:24:56.677649"], ["updated_at", "2019-08-20 08:24:56.677649"]]
751
-  (0.0ms) RELEASE SAVEPOINT active_record_1
439
+ TRANSACTION (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
440
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
441
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
442
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
443
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
752
444
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
753
-  (0.0ms) SAVEPOINT active_record_1
445
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
754
446
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
755
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
756
-  (0.1ms) SELECT COUNT(*) FROM "plants"
757
-  (0.1ms) SELECT COUNT(*) FROM "plants"
758
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
759
-  (0.0ms) SAVEPOINT active_record_1
760
- Plant Create (0.4ms) INSERT INTO "plants" DEFAULT VALUES
761
-  (0.1ms) RELEASE SAVEPOINT active_record_1
762
-  (0.1ms) SELECT COUNT(*) FROM "plants"
763
-  (0.3ms) rollback transaction
764
-  (0.0ms) begin transaction
765
- --------------------------------------------------------
766
- SeedMigrationsTest: test_loading_seeds_happens_only_once
767
- --------------------------------------------------------
768
-  (0.1ms) SELECT COUNT(*) FROM "plants"
769
-  (0.2ms) CREATE 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)
447
+ TRANSACTION (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
448
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
449
+ TRANSACTION (0.3ms) rollback transaction
450
+ TRANSACTION (0.0ms) begin transaction
451
+ ------------------------------------------------------------
452
+ SeedMigrationsTest: test_reloading_the_last_seed_is_possible
453
+ ------------------------------------------------------------
454
+ Plant Count (0.2ms) SELECT COUNT(*) FROM "plants"
455
+  (0.3ms) CREATE 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)
770
456
   (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
771
457
  ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
772
-  (0.0ms) SAVEPOINT active_record_1
458
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
773
459
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
774
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-20 08:24:56.686132"], ["updated_at", "2019-08-20 08:24:56.686132"]]
775
-  (0.0ms) RELEASE SAVEPOINT active_record_1
460
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2022-03-28 13:10:04.847485"], ["updated_at", "2022-03-28 13:10:04.847485"]]
461
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
776
462
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
777
-  (0.0ms) SAVEPOINT active_record_1
778
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
779
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
781
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
782
-  (0.0ms) SAVEPOINT active_record_1
463
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
783
464
  Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
784
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
785
-  (0.1ms) SELECT COUNT(*) FROM "plants"
786
-  (0.0ms) SELECT COUNT(*) FROM "plants"
787
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
788
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
465
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
789
467
  ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
790
-  (0.1ms) SAVEPOINT active_record_1
468
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
791
469
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
792
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
793
-  (0.3ms) SELECT COUNT(*) FROM "plants"
794
-  (0.2ms) rollback transaction
795
-  (0.0ms) begin transaction
470
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
471
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
472
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
473
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
474
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
475
+ Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
476
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
477
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
478
+ TRANSACTION (0.3ms) rollback transaction
479
+ TRANSACTION (0.0ms) begin transaction
796
480
  --------------------------------------------------
797
481
  SeedMigrationsTest: test_loading_seeds_is_possible
798
482
  --------------------------------------------------
799
-  (0.1ms) SELECT COUNT(*) FROM "plants"
800
-  (0.2ms) CREATE 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)
483
+ Plant Count (0.2ms) SELECT COUNT(*) FROM "plants"
484
+  (0.3ms) CREATE 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)
801
485
   (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
802
486
  ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
803
-  (0.0ms) SAVEPOINT active_record_1
487
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
804
488
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
805
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2019-08-20 08:24:56.696366"], ["updated_at", "2019-08-20 08:24:56.696366"]]
806
-  (0.0ms) RELEASE SAVEPOINT active_record_1
489
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2022-03-28 13:10:04.858182"], ["updated_at", "2022-03-28 13:10:04.858182"]]
490
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
807
491
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
808
-  (0.0ms) SAVEPOINT active_record_1
492
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
809
493
  Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
810
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2019-08-20 08:24:56.697895"], ["updated_at", "2019-08-20 08:24:56.697895"]]
811
-  (0.0ms) RELEASE SAVEPOINT active_record_1
494
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
812
496
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
813
-  (0.0ms) SAVEPOINT active_record_1
497
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
814
498
  Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
815
-  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
816
-  (0.1ms) SELECT COUNT(*) FROM "plants"
817
-  (0.2ms) rollback transaction
818
-  (0.0ms) begin transaction
819
- ----------------------------------------------------------------------
820
- SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
821
- ----------------------------------------------------------------------
822
-  (0.0ms) rollback transaction
823
-  (0.8ms) SELECT sqlite_version(*)
499
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
500
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
501
+ TRANSACTION (0.2ms) rollback transaction
502
+  (1.5ms) SELECT sqlite_version(*)
824
503
   (0.1ms) SELECT sqlite_version(*)
825
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
826
-  (0.1ms) begin transaction
504
+ ActiveRecord::SchemaMigration Pluck (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
505
+ TRANSACTION (0.1ms) begin transaction
827
506
  --------------------------------------------------------
828
507
  SeedMigrationsTest: test_loading_seeds_happens_only_once
829
508
  --------------------------------------------------------
830
-  (0.3ms) SELECT COUNT(*) FROM "plants"
831
-  (0.5ms) CREATE 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)
509
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
510
+  (0.4ms) CREATE 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)
832
511
   (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
833
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
834
-  (0.1ms) SAVEPOINT active_record_1
835
- Plant Create (0.3ms) INSERT INTO "plants" DEFAULT VALUES
836
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2020-05-01 14:13:29.544147"], ["updated_at", "2020-05-01 14:13:29.544147"]]
837
-  (0.0ms) RELEASE SAVEPOINT active_record_1
512
+ ActiveRecord::SeedMigration Load (0.2ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
513
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
514
+ Plant Create (0.5ms) INSERT INTO "plants" DEFAULT VALUES
515
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2022-03-28 13:11:12.163864"], ["updated_at", "2022-03-28 13:11:12.163864"]]
516
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
838
517
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
839
-  (0.1ms) SAVEPOINT active_record_1
840
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
841
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-05-01 14:13:29.546677"], ["updated_at", "2020-05-01 14:13:29.546677"]]
842
-  (0.0ms) RELEASE SAVEPOINT active_record_1
518
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
519
+ Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
520
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
843
522
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
844
-  (0.1ms) SAVEPOINT active_record_1
845
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
846
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
847
-  (0.1ms) SELECT COUNT(*) FROM "plants"
848
-  (0.1ms) SELECT COUNT(*) FROM "plants"
523
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
524
+ Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
525
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
526
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
527
+ Plant Count (0.0ms) SELECT COUNT(*) FROM "plants"
849
528
  ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
850
529
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
851
530
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
852
-  (0.1ms) SAVEPOINT active_record_1
531
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
853
532
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
854
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
855
-  (0.1ms) SELECT COUNT(*) FROM "plants"
856
-  (0.2ms) rollback transaction
857
-  (0.0ms) begin transaction
533
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
534
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
535
+ TRANSACTION (0.5ms) rollback transaction
536
+ TRANSACTION (0.0ms) begin transaction
858
537
  ------------------------------------------------------------
859
538
  SeedMigrationsTest: test_reloading_the_last_seed_is_possible
860
539
  ------------------------------------------------------------
861
-  (0.2ms) SELECT COUNT(*) FROM "plants"
862
-  (0.2ms) CREATE 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)
540
+ Plant Count (0.2ms) SELECT COUNT(*) FROM "plants"
541
+  (0.3ms) CREATE 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)
863
542
   (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
864
543
  ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
865
-  (0.0ms) SAVEPOINT active_record_1
544
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
866
545
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
867
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2020-05-01 14:13:29.555923"], ["updated_at", "2020-05-01 14:13:29.555923"]]
868
-  (0.0ms) RELEASE SAVEPOINT active_record_1
546
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2022-03-28 13:11:12.175898"], ["updated_at", "2022-03-28 13:11:12.175898"]]
547
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
869
548
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
870
-  (0.0ms) SAVEPOINT active_record_1
871
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
872
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-05-01 14:13:29.557600"], ["updated_at", "2020-05-01 14:13:29.557600"]]
873
-  (0.0ms) RELEASE SAVEPOINT active_record_1
874
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
875
-  (0.1ms) SAVEPOINT active_record_1
876
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
877
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
878
-  (0.1ms) SELECT COUNT(*) FROM "plants"
879
-  (0.1ms) SELECT COUNT(*) FROM "plants"
549
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
550
+ Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
551
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
553
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
554
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
555
+ Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
556
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
557
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
558
+ Plant Count (0.0ms) SELECT COUNT(*) FROM "plants"
880
559
  ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
881
-  (0.1ms) SAVEPOINT active_record_1
882
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
883
-  (0.0ms) RELEASE SAVEPOINT active_record_1
884
-  (0.1ms) SELECT COUNT(*) FROM "plants"
885
-  (0.3ms) rollback transaction
886
-  (0.0ms) begin transaction
560
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
561
+ Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
562
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
563
+ Plant Count (0.0ms) SELECT COUNT(*) FROM "plants"
564
+ TRANSACTION (0.3ms) rollback transaction
565
+ TRANSACTION (0.0ms) begin transaction
887
566
  --------------------------------------------------
888
567
  SeedMigrationsTest: test_loading_seeds_is_possible
889
568
  --------------------------------------------------
890
-  (0.2ms) SELECT COUNT(*) FROM "plants"
569
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
891
570
   (0.2ms) CREATE 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)
892
571
   (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
893
572
  ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
894
-  (0.1ms) SAVEPOINT active_record_1
573
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
895
574
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
896
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2020-05-01 14:13:29.567020"], ["updated_at", "2020-05-01 14:13:29.567020"]]
897
-  (0.0ms) RELEASE SAVEPOINT active_record_1
575
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2022-03-28 13:11:12.184660"], ["updated_at", "2022-03-28 13:11:12.184660"]]
576
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
898
577
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
899
-  (0.1ms) SAVEPOINT active_record_1
900
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
901
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-05-01 14:13:29.568875"], ["updated_at", "2020-05-01 14:13:29.568875"]]
902
-  (0.0ms) RELEASE SAVEPOINT active_record_1
578
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
579
+ Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
580
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
903
582
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
904
-  (0.0ms) SAVEPOINT active_record_1
905
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
906
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
907
-  (0.1ms) SELECT COUNT(*) FROM "plants"
908
-  (0.2ms) rollback transaction
909
-  (0.0ms) begin transaction
910
- ----------------------------------------------------------------------
911
- SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
912
- ----------------------------------------------------------------------
913
-  (0.1ms) rollback transaction
914
-  (0.7ms) SELECT sqlite_version(*)
915
-  (0.1ms) SELECT sqlite_version(*)
916
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
583
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
584
+ Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
585
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
586
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
587
+ TRANSACTION (0.2ms) rollback transaction
917
588
  TRANSACTION (0.0ms) begin transaction
918
589
  ----------------------------------------------------------------------
919
590
  SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
920
591
  ----------------------------------------------------------------------
921
592
  TRANSACTION (0.0ms) rollback transaction
922
- TRANSACTION (0.0ms) begin transaction
923
- --------------------------------------------------------
924
- SeedMigrationsTest: test_loading_seeds_happens_only_once
925
- --------------------------------------------------------
926
-  (0.1ms) SELECT COUNT(*) FROM "plants"
927
-  (0.5ms) CREATE 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)
593
+  (1.6ms) SELECT sqlite_version(*)
594
+  (0.1ms) SELECT sqlite_version(*)
595
+ ActiveRecord::SchemaMigration Pluck (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
596
+ TRANSACTION (0.1ms) begin transaction
597
+ ------------------------------------------------------------
598
+ SeedMigrationsTest: test_reloading_the_last_seed_is_possible
599
+ ------------------------------------------------------------
600
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
601
+  (1.3ms) CREATE 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)
928
602
   (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
929
603
  ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
930
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
931
- Plant Create (0.2ms) INSERT INTO "plants" DEFAULT VALUES
932
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2020-12-15 11:40:55.489866"], ["updated_at", "2020-12-15 11:40:55.489866"]]
604
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
605
+ Plant Create (0.5ms) INSERT INTO "plants" DEFAULT VALUES
606
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2022-03-28 13:11:52.748460"], ["updated_at", "2022-03-28 13:11:52.748460"]]
933
607
  TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
934
608
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
935
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
609
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
936
610
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
937
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-12-15 11:40:55.492213"], ["updated_at", "2020-12-15 11:40:55.492213"]]
611
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
  TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
939
613
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
940
614
  TRANSACTION (0.0ms) SAVEPOINT active_record_1
941
- Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
615
+ Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
942
616
  TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
943
-  (0.1ms) SELECT COUNT(*) FROM "plants"
944
-  (0.0ms) SELECT COUNT(*) FROM "plants"
945
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
946
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
947
- ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
617
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
618
+ Plant Count (0.0ms) SELECT COUNT(*) FROM "plants"
619
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
948
620
  TRANSACTION (0.0ms) SAVEPOINT active_record_1
949
621
  Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
950
- TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
951
-  (0.1ms) SELECT COUNT(*) FROM "plants"
952
- TRANSACTION (0.2ms) rollback transaction
622
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
623
+ Plant Count (0.0ms) SELECT COUNT(*) FROM "plants"
624
+ TRANSACTION (0.3ms) rollback transaction
953
625
  TRANSACTION (0.0ms) begin transaction
954
- --------------------------------------------------
955
- SeedMigrationsTest: test_loading_seeds_is_possible
956
- --------------------------------------------------
957
-  (0.1ms) SELECT COUNT(*) FROM "plants"
626
+ --------------------------------------------------------
627
+ SeedMigrationsTest: test_loading_seeds_happens_only_once
628
+ --------------------------------------------------------
629
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
958
630
   (0.2ms) CREATE 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)
959
631
   (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
960
632
  ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
961
633
  TRANSACTION (0.0ms) SAVEPOINT active_record_1
962
634
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
963
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2020-12-15 11:40:55.500517"], ["updated_at", "2020-12-15 11:40:55.500517"]]
635
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2022-03-28 13:11:52.759859"], ["updated_at", "2022-03-28 13:11:52.759859"]]
964
636
  TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
965
637
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
966
638
  TRANSACTION (0.0ms) SAVEPOINT active_record_1
967
639
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
968
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-12-15 11:40:55.502380"], ["updated_at", "2020-12-15 11:40:55.502380"]]
969
- TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
640
+ ActiveRecord::SeedMigration Create (0.5ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
642
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
643
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
644
+ Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
645
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
646
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
647
+ Plant Count (0.0ms) SELECT COUNT(*) FROM "plants"
648
+ ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
649
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
970
650
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
971
651
  TRANSACTION (0.0ms) SAVEPOINT active_record_1
972
652
  Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
973
653
  TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
974
-  (0.1ms) SELECT COUNT(*) FROM "plants"
975
- TRANSACTION (0.2ms) rollback transaction
654
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
655
+ TRANSACTION (0.3ms) rollback transaction
976
656
  TRANSACTION (0.0ms) begin transaction
977
- ------------------------------------------------------------
978
- SeedMigrationsTest: test_reloading_the_last_seed_is_possible
979
- ------------------------------------------------------------
980
-  (0.1ms) SELECT COUNT(*) FROM "plants"
657
+ --------------------------------------------------
658
+ SeedMigrationsTest: test_loading_seeds_is_possible
659
+ --------------------------------------------------
660
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
981
661
   (0.2ms) CREATE 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)
982
662
   (0.1ms) CREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")
983
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
984
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
663
+ ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
664
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
985
665
  Plant Create (0.1ms) INSERT INTO "plants" DEFAULT VALUES
986
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2020-12-15 11:40:55.508317"], ["updated_at", "2020-12-15 11:40:55.508317"]]
666
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133720_add_plant"], ["created_at", "2022-03-28 13:11:52.774961"], ["updated_at", "2022-03-28 13:11:52.774961"]]
987
667
  TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
988
668
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
989
669
  TRANSACTION (0.0ms) SAVEPOINT active_record_1
990
670
  Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
991
- ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-12-15 11:40:55.509959"], ["updated_at", "2020-12-15 11:40:55.509959"]]
671
+ ActiveRecord::SeedMigration Create (0.1ms) INSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["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
  TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
993
673
  ActiveRecord::SeedMigration Load (0.0ms) SELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ? [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
994
674
  TRANSACTION (0.0ms) SAVEPOINT active_record_1
995
675
  Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
996
- TRANSACTION (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
997
-  (0.1ms) SELECT COUNT(*) FROM "plants"
998
-  (0.1ms) SELECT COUNT(*) FROM "plants"
999
- ActiveRecord::SeedMigration Load (0.1ms) SELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ? [["LIMIT", 1]]
1000
- TRANSACTION (0.0ms) SAVEPOINT active_record_1
1001
- Plant Create (0.0ms) INSERT INTO "plants" DEFAULT VALUES
1002
- TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1003
-  (0.1ms) SELECT COUNT(*) FROM "plants"
676
+ TRANSACTION (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
677
+ Plant Count (0.1ms) SELECT COUNT(*) FROM "plants"
1004
678
  TRANSACTION (0.2ms) rollback transaction
679
+ TRANSACTION (0.0ms) begin transaction
680
+ ----------------------------------------------------------------------
681
+ SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
682
+ ----------------------------------------------------------------------
683
+ TRANSACTION (0.0ms) rollback transaction