seed_migrations 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/seed_migrations/version.rb +1 -1
- data/test/dummy/log/test.log +182 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e5f2992031b8c964a5b4fa11c357a4dc49e02facaf8f0014ca2f949dcbd89a0
|
4
|
+
data.tar.gz: 3aa18ba2436d18254bae5d771d3c138f8747a6fc6c1f43bfbd75118dbc91ef79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 496e21077520ae3c539791b1da0b9d0d9a126c20eb84abaa5702c978957a19d63542f230dbee92839e1c303bcb902de4c3e0c311cf2fea1f46c6de1dcfaf8996
|
7
|
+
data.tar.gz: 3cca315d5325384c3a727f4f2aa3957c614e75daaa6e2cb4509e15dd95fd9921d134d6cd1503e545cd8d99008e19755690bab8725cd2a20832115f95dba18dc8
|
data/test/dummy/log/test.log
CHANGED
@@ -820,3 +820,185 @@ SeedMigrationsTest: test_loading_seeds_is_possible
|
|
820
820
|
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
821
821
|
----------------------------------------------------------------------
|
822
822
|
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
823
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
824
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
825
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
826
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
827
|
+
--------------------------------------------------------
|
828
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
829
|
+
--------------------------------------------------------
|
830
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
831
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
832
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
833
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
834
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
835
|
+
[1m[36mPlant Create (0.3ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
836
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2020-05-01 14:13:29.544147"], ["updated_at", "2020-05-01 14:13:29.544147"]]
|
837
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
838
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
839
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
840
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
841
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-05-01 14:13:29.546677"], ["updated_at", "2020-05-01 14:13:29.546677"]]
|
842
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
843
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
844
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
845
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
846
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
847
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
848
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
849
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
850
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
851
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
852
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
853
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
854
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
855
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
856
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
857
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
858
|
+
------------------------------------------------------------
|
859
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
860
|
+
------------------------------------------------------------
|
861
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
862
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
863
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
864
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
865
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
866
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
867
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2020-05-01 14:13:29.555923"], ["updated_at", "2020-05-01 14:13:29.555923"]]
|
868
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
869
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
870
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
871
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
872
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-05-01 14:13:29.557600"], ["updated_at", "2020-05-01 14:13:29.557600"]]
|
873
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
874
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
875
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
876
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
877
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
878
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
879
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
880
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
881
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
882
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
883
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
884
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
885
|
+
[1m[35m (0.3ms)[0m [1m[31mrollback transaction[0m
|
886
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
887
|
+
--------------------------------------------------
|
888
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
889
|
+
--------------------------------------------------
|
890
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
891
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
892
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
893
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
894
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
895
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
896
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2020-05-01 14:13:29.567020"], ["updated_at", "2020-05-01 14:13:29.567020"]]
|
897
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
898
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
899
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
900
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
901
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-05-01 14:13:29.568875"], ["updated_at", "2020-05-01 14:13:29.568875"]]
|
902
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
903
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
904
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
905
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
906
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
907
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
908
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
909
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
910
|
+
----------------------------------------------------------------------
|
911
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
912
|
+
----------------------------------------------------------------------
|
913
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
914
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
915
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
916
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
917
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
918
|
+
----------------------------------------------------------------------
|
919
|
+
SeedMigrationGeneratorTest: test_Assert_all_files_are_properly_created
|
920
|
+
----------------------------------------------------------------------
|
921
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mrollback transaction[0m
|
922
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
923
|
+
--------------------------------------------------------
|
924
|
+
SeedMigrationsTest: test_loading_seeds_happens_only_once
|
925
|
+
--------------------------------------------------------
|
926
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
927
|
+
[1m[35m (0.5ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
928
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
929
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
930
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
931
|
+
[1m[36mPlant Create (0.2ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
932
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2020-12-15 11:40:55.489866"], ["updated_at", "2020-12-15 11:40:55.489866"]]
|
933
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
934
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
935
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
936
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
937
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-12-15 11:40:55.492213"], ["updated_at", "2020-12-15 11:40:55.492213"]]
|
938
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
939
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
940
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
941
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
942
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
943
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
944
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
945
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
946
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
947
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
948
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
949
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
950
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
951
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
952
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|
953
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
954
|
+
--------------------------------------------------
|
955
|
+
SeedMigrationsTest: test_loading_seeds_is_possible
|
956
|
+
--------------------------------------------------
|
957
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
958
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
959
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
960
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
961
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
962
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
963
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2020-12-15 11:40:55.500517"], ["updated_at", "2020-12-15 11:40:55.500517"]]
|
964
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
965
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
966
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
967
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
968
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-12-15 11:40:55.502380"], ["updated_at", "2020-12-15 11:40:55.502380"]]
|
969
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
970
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
971
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
972
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
973
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
974
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
975
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|
976
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
977
|
+
------------------------------------------------------------
|
978
|
+
SeedMigrationsTest: test_reloading_the_last_seed_is_possible
|
979
|
+
------------------------------------------------------------
|
980
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
981
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "seed_migrations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar NOT NULL, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
982
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_seed_migrations_on_name" ON "seed_migrations" ("name")[0m
|
983
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133720_add_plant"], ["LIMIT", 1]]
|
984
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
985
|
+
[1m[36mPlant Create (0.1ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
986
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133720_add_plant"], ["created_at", "2020-12-15 11:40:55.508317"], ["updated_at", "2020-12-15 11:40:55.508317"]]
|
987
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
988
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133721_add_one_more_plant"], ["LIMIT", 1]]
|
989
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
990
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
991
|
+
[1m[36mActiveRecord::SeedMigration Create (0.1ms)[0m [1m[32mINSERT INTO "seed_migrations" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "20120604133721_add_one_more_plant"], ["created_at", "2020-12-15 11:40:55.509959"], ["updated_at", "2020-12-15 11:40:55.509959"]]
|
992
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
993
|
+
[1m[36mActiveRecord::SeedMigration Load (0.0ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" WHERE "seed_migrations"."name" = ? LIMIT ?[0m [["name", "20120604133722_add_one_more_plant_failing"], ["LIMIT", 1]]
|
994
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
995
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
996
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
997
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
998
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
999
|
+
[1m[36mActiveRecord::SeedMigration Load (0.1ms)[0m [1m[34mSELECT "seed_migrations".* FROM "seed_migrations" ORDER BY "seed_migrations"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
1000
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1001
|
+
[1m[36mPlant Create (0.0ms)[0m [1m[32mINSERT INTO "plants" DEFAULT VALUES[0m
|
1002
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1003
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "plants"[0m
|
1004
|
+
[1m[36mTRANSACTION (0.2ms)[0m [1m[31mrollback transaction[0m
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seed_migrations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dustin Eversmann
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-12-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
version: 6.0.0
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '6.
|
23
|
+
version: '6.2'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
version: 6.0.0
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '6.
|
33
|
+
version: '6.2'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: sqlite3
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|