invitational 1.5.0 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/invitational/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +2880 -0
- metadata +4 -4
data/spec/internal/log/test.log
CHANGED
@@ -39121,3 +39121,2883 @@ Migrating to CreateInvitations (20130528220144)
|
|
39121
39121
|
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39122
39122
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39123
39123
|
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39124
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
39125
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
39126
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
39127
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
39128
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "grandparents"[0m
|
39129
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "grandparents" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
39130
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "entities"[0m
|
39131
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE TABLE "entities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "grandparent_id" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
39132
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "children"[0m
|
39133
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE TABLE "children" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "entity_id" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
39134
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "other_entities"[0m
|
39135
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE TABLE "other_entities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
39136
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "system_things"[0m
|
39137
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE TABLE "system_things" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
39138
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
39139
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
39140
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
39141
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2021-10-05 13:35:56.772240"], ["updated_at", "2021-10-05 13:35:56.772240"]]
|
39142
|
+
[1m[36mTRANSACTION (1.3ms)[0m [1m[36mcommit transaction[0m
|
39143
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
39144
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
39145
|
+
Migrating to CreateInvitations (20130528220144)
|
39146
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39147
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "invitations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "role" varchar, "invitable_type" varchar, "invitable_id" integer, "user_id" integer, "date_sent" datetime, "date_accepted" datetime, "claim_hash" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
39148
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_invitations_on_invitable_id" ON "invitations" ("invitable_id")[0m
|
39149
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_invitations_on_invitable_type" ON "invitations" ("invitable_type")[0m
|
39150
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_invitations_on_user_id" ON "invitations" ("user_id")[0m
|
39151
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130528220144"]]
|
39152
|
+
[1m[36mTRANSACTION (1.9ms)[0m [1m[36mcommit transaction[0m
|
39153
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
39154
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
39155
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39156
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39157
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.073873"], ["updated_at", "2021-10-05 13:35:57.073873"]]
|
39158
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39159
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39160
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.084276"], ["updated_at", "2021-10-05 13:35:57.084276"]]
|
39161
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39162
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39163
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.107437"], ["date_accepted", "2021-10-05 13:35:57.085257"], ["claim_hash", "yZwf0tARnDIy9K3MuYrqAupuySV4NPFKCtjSppC6"], ["created_at", "2021-10-05 13:35:57.107385"], ["updated_at", "2021-10-05 13:35:57.107385"]]
|
39164
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39165
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39166
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.108751"], ["updated_at", "2021-10-05 13:35:57.108751"]]
|
39167
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39168
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39169
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.109569"], ["updated_at", "2021-10-05 13:35:57.109569"]]
|
39170
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39171
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39172
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.110535"], ["date_accepted", "2021-10-05 13:35:57.110211"], ["claim_hash", "UcAxOTfqnw3jgUYZBqMpfGogpOtcwTYElaOHPX3T"], ["created_at", "2021-10-05 13:35:57.110514"], ["updated_at", "2021-10-05 13:35:57.110514"]]
|
39173
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39174
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39175
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:35:57.111461"], ["updated_at", "2021-10-05 13:35:57.111461"]]
|
39176
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39177
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39178
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:35:57.116601"], ["updated_at", "2021-10-05 13:35:57.116601"]]
|
39179
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39180
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39181
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:35:57.122646"], ["id", 2]]
|
39182
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39183
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39184
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:35:57.124000"], ["date_accepted", "2021-10-05 13:35:57.123623"], ["claim_hash", "FdKswqeKr5abHIJ7p1iMYGkJo8cgWit8CJBBO5E2"], ["created_at", "2021-10-05 13:35:57.123979"], ["updated_at", "2021-10-05 13:35:57.123979"]]
|
39185
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39186
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39187
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.124963"], ["updated_at", "2021-10-05 13:35:57.124963"]]
|
39188
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39189
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39190
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:35:57.125814"], ["claim_hash", "IaLWuJ1LyVOb2DUglNHS5U7jyToF8MUNglHjG7rt"], ["created_at", "2021-10-05 13:35:57.125796"], ["updated_at", "2021-10-05 13:35:57.125796"]]
|
39191
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39192
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39193
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.126656"], ["updated_at", "2021-10-05 13:35:57.126656"]]
|
39194
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39195
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39196
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:35:57.127458"], ["claim_hash", "1pyeR1S8b4KRrlNU7nNAEu51SOnfsoCINd9gsyMN"], ["created_at", "2021-10-05 13:35:57.127439"], ["updated_at", "2021-10-05 13:35:57.127439"]]
|
39197
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39198
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39199
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
39200
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
39201
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39202
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
39203
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
39204
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39205
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
39206
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39207
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
39208
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39209
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39210
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39211
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.137314"], ["updated_at", "2021-10-05 13:35:57.137314"]]
|
39212
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39213
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39214
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.138335"], ["updated_at", "2021-10-05 13:35:57.138335"]]
|
39215
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39216
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39217
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.139524"], ["date_accepted", "2021-10-05 13:35:57.139137"], ["claim_hash", "JG18LH7ZqCl6kef4l18qNEolfWssFkJUOmR9W4yV"], ["created_at", "2021-10-05 13:35:57.139503"], ["updated_at", "2021-10-05 13:35:57.139503"]]
|
39218
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39219
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39220
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.140503"], ["updated_at", "2021-10-05 13:35:57.140503"]]
|
39221
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39222
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39223
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.141288"], ["updated_at", "2021-10-05 13:35:57.141288"]]
|
39224
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39225
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39226
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.142196"], ["date_accepted", "2021-10-05 13:35:57.141902"], ["claim_hash", "Lui061hmk1qPDIXNOr7ZFk0XeRhIKezfCu46SniJ"], ["created_at", "2021-10-05 13:35:57.142178"], ["updated_at", "2021-10-05 13:35:57.142178"]]
|
39227
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39228
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39229
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:35:57.143064"], ["updated_at", "2021-10-05 13:35:57.143064"]]
|
39230
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39231
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39232
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:35:57.143814"], ["updated_at", "2021-10-05 13:35:57.143814"]]
|
39233
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39234
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39235
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:35:57.144797"], ["id", 2]]
|
39236
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39237
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39238
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:35:57.145739"], ["date_accepted", "2021-10-05 13:35:57.145434"], ["claim_hash", "mU1ZN10DpZcV3kgCYwYPJeNEnZPs9E2kBLjucgAY"], ["created_at", "2021-10-05 13:35:57.145721"], ["updated_at", "2021-10-05 13:35:57.145721"]]
|
39239
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39240
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39241
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.146622"], ["updated_at", "2021-10-05 13:35:57.146622"]]
|
39242
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39243
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39244
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:35:57.147475"], ["claim_hash", "IZWSMfA249ly95Jvl4wVOfNv0KcCz9yqIHOhPHAw"], ["created_at", "2021-10-05 13:35:57.147455"], ["updated_at", "2021-10-05 13:35:57.147455"]]
|
39245
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39246
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39247
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.148461"], ["updated_at", "2021-10-05 13:35:57.148461"]]
|
39248
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39249
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39250
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:35:57.149374"], ["claim_hash", "QzWC0jLTUTPiZwE8H3pR9BkysXlFm70iccs8UhYm"], ["created_at", "2021-10-05 13:35:57.149354"], ["updated_at", "2021-10-05 13:35:57.149354"]]
|
39251
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39252
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
39253
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
39254
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 2], ["LIMIT", 1]]
|
39255
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
39256
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
39257
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 2], ["LIMIT", 1]]
|
39258
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
39259
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
39260
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 2], ["LIMIT", 1]]
|
39261
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
39262
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
39263
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
39264
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
39265
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39266
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39267
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39268
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.157261"], ["updated_at", "2021-10-05 13:35:57.157261"]]
|
39269
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39270
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39271
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.158307"], ["updated_at", "2021-10-05 13:35:57.158307"]]
|
39272
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39273
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39274
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.159324"], ["date_accepted", "2021-10-05 13:35:57.158971"], ["claim_hash", "tfkdBt45BM8Iq1tUYIveciY02iMGaDqX7hLpJdwG"], ["created_at", "2021-10-05 13:35:57.159305"], ["updated_at", "2021-10-05 13:35:57.159305"]]
|
39275
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39276
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39277
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.160278"], ["updated_at", "2021-10-05 13:35:57.160278"]]
|
39278
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39279
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39280
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.161062"], ["updated_at", "2021-10-05 13:35:57.161062"]]
|
39281
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39282
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39283
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.161985"], ["date_accepted", "2021-10-05 13:35:57.161686"], ["claim_hash", "4fhMXEqyXmyvAP8a2NKNKwsgufieacEA3NxbOMJk"], ["created_at", "2021-10-05 13:35:57.161965"], ["updated_at", "2021-10-05 13:35:57.161965"]]
|
39284
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39285
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39286
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:35:57.162898"], ["updated_at", "2021-10-05 13:35:57.162898"]]
|
39287
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39288
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39289
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:35:57.163758"], ["updated_at", "2021-10-05 13:35:57.163758"]]
|
39290
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39291
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39292
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:35:57.165050"], ["id", 2]]
|
39293
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39294
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39295
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:35:57.166095"], ["date_accepted", "2021-10-05 13:35:57.165749"], ["claim_hash", "rTsUQjpxv9eQhTIp3s2gKg7RfVfPydRAEdUPKPTw"], ["created_at", "2021-10-05 13:35:57.166075"], ["updated_at", "2021-10-05 13:35:57.166075"]]
|
39296
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39297
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39298
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.167063"], ["updated_at", "2021-10-05 13:35:57.167063"]]
|
39299
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39300
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39301
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:35:57.167970"], ["claim_hash", "tslP3QdXqy37iWtNrQhdEblFqL2bFXhzrcJw7UzC"], ["created_at", "2021-10-05 13:35:57.167949"], ["updated_at", "2021-10-05 13:35:57.167949"]]
|
39302
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39303
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39304
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.169023"], ["updated_at", "2021-10-05 13:35:57.169023"]]
|
39305
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39306
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39307
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:35:57.170135"], ["claim_hash", "L1fRqi6jEpuOBLKVvROqknNXn0SDRpmTSkHtUUUi"], ["created_at", "2021-10-05 13:35:57.170114"], ["updated_at", "2021-10-05 13:35:57.170114"]]
|
39308
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39309
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39310
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
39311
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39312
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
39313
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39314
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
39315
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
39316
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
39317
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
39318
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
39319
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
39320
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
39321
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39322
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39323
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39324
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.177530"], ["updated_at", "2021-10-05 13:35:57.177530"]]
|
39325
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39326
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39327
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.178535"], ["updated_at", "2021-10-05 13:35:57.178535"]]
|
39328
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39329
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39330
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.179563"], ["date_accepted", "2021-10-05 13:35:57.179211"], ["claim_hash", "REzM8AkgxrNQHTaL8O2U2gLiW95lkdVacZrzgOxS"], ["created_at", "2021-10-05 13:35:57.179543"], ["updated_at", "2021-10-05 13:35:57.179543"]]
|
39331
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39332
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39333
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.180540"], ["updated_at", "2021-10-05 13:35:57.180540"]]
|
39334
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39335
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39336
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.181336"], ["updated_at", "2021-10-05 13:35:57.181336"]]
|
39337
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39338
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39339
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.182269"], ["date_accepted", "2021-10-05 13:35:57.181950"], ["claim_hash", "VyP3uZBf3lu0iGI0OgVI6ygD4Pyq7SJ0Q24EqgPA"], ["created_at", "2021-10-05 13:35:57.182251"], ["updated_at", "2021-10-05 13:35:57.182251"]]
|
39340
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39341
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39342
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:35:57.183168"], ["updated_at", "2021-10-05 13:35:57.183168"]]
|
39343
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39344
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39345
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:35:57.183933"], ["updated_at", "2021-10-05 13:35:57.183933"]]
|
39346
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39347
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39348
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:35:57.184920"], ["id", 2]]
|
39349
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39350
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39351
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:35:57.185854"], ["date_accepted", "2021-10-05 13:35:57.185552"], ["claim_hash", "RHuheoGpHB0C74VG6ZqwXNhwJ0VbRBWpMEH4D1h8"], ["created_at", "2021-10-05 13:35:57.185836"], ["updated_at", "2021-10-05 13:35:57.185836"]]
|
39352
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39353
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39354
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.186751"], ["updated_at", "2021-10-05 13:35:57.186751"]]
|
39355
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39356
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39357
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:35:57.187573"], ["claim_hash", "Ft2Q2mkI9OUXhZNgj7eVR4mMTzhAA67WSD59iYiP"], ["created_at", "2021-10-05 13:35:57.187554"], ["updated_at", "2021-10-05 13:35:57.187554"]]
|
39358
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39359
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39360
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.188421"], ["updated_at", "2021-10-05 13:35:57.188421"]]
|
39361
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39362
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39363
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:35:57.189428"], ["claim_hash", "9DPsgj5ynFIAMXA8ybmWQ5EiM7WASOSz7g9U69uM"], ["created_at", "2021-10-05 13:35:57.189408"], ["updated_at", "2021-10-05 13:35:57.189408"]]
|
39364
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39365
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39366
|
+
[1m[36mSystemThing Create (0.1ms)[0m [1m[32mINSERT INTO "system_things" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A System Object"], ["created_at", "2021-10-05 13:35:57.192732"], ["updated_at", "2021-10-05 13:35:57.192732"]]
|
39367
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39368
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 5]]
|
39369
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 5]]
|
39370
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39371
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39372
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39373
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.195811"], ["updated_at", "2021-10-05 13:35:57.195811"]]
|
39374
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39375
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39376
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.196875"], ["updated_at", "2021-10-05 13:35:57.196875"]]
|
39377
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39378
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39379
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.197895"], ["date_accepted", "2021-10-05 13:35:57.197541"], ["claim_hash", "Soylh1omPAt0xEYW9mp5CJgCr6yeILC3N7PKXSDS"], ["created_at", "2021-10-05 13:35:57.197875"], ["updated_at", "2021-10-05 13:35:57.197875"]]
|
39380
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39381
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39382
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.198824"], ["updated_at", "2021-10-05 13:35:57.198824"]]
|
39383
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39384
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39385
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.199592"], ["updated_at", "2021-10-05 13:35:57.199592"]]
|
39386
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39387
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39388
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.200582"], ["date_accepted", "2021-10-05 13:35:57.200276"], ["claim_hash", "KIflslkVERUQdJhdrSrxOLAQ3v3UUN2AS5w1JPBK"], ["created_at", "2021-10-05 13:35:57.200563"], ["updated_at", "2021-10-05 13:35:57.200563"]]
|
39389
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39390
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39391
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:35:57.201541"], ["updated_at", "2021-10-05 13:35:57.201541"]]
|
39392
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39393
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39394
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:35:57.202446"], ["updated_at", "2021-10-05 13:35:57.202446"]]
|
39395
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39396
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39397
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:35:57.203582"], ["id", 2]]
|
39398
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39399
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39400
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:35:57.204624"], ["date_accepted", "2021-10-05 13:35:57.204276"], ["claim_hash", "6Xp4MahGxEDwwUbHwD2ZLasTATBzs27uE1kUa4SO"], ["created_at", "2021-10-05 13:35:57.204604"], ["updated_at", "2021-10-05 13:35:57.204604"]]
|
39401
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39402
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39403
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.205667"], ["updated_at", "2021-10-05 13:35:57.205667"]]
|
39404
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39405
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39406
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:35:57.206642"], ["claim_hash", "PEznh85Om9qvlMRMWqJpBySoKiic5ypeskqeiu4Z"], ["created_at", "2021-10-05 13:35:57.206622"], ["updated_at", "2021-10-05 13:35:57.206622"]]
|
39407
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39408
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39409
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.207527"], ["updated_at", "2021-10-05 13:35:57.207527"]]
|
39410
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39411
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39412
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:35:57.208409"], ["claim_hash", "DAfco1J4wWpaYwusr3GgHpqkC36MUxGA6E6CwieB"], ["created_at", "2021-10-05 13:35:57.208390"], ["updated_at", "2021-10-05 13:35:57.208390"]]
|
39413
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39414
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
39415
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
39416
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39417
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2021-10-05 13:35:57.213334"], ["updated_at", "2021-10-05 13:35:57.213334"]]
|
39418
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39419
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39420
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2021-10-05 13:35:57.215072"], ["id", 1]]
|
39421
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39422
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
39423
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39424
|
+
[1m[36mOtherEntity Create (0.1ms)[0m [1m[32mINSERT INTO "other_entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test other entity"], ["created_at", "2021-10-05 13:35:57.218691"], ["updated_at", "2021-10-05 13:35:57.218691"]]
|
39425
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39426
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
39427
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39428
|
+
[1m[36mSystemThing Create (0.1ms)[0m [1m[32mINSERT INTO "system_things" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A System Object"], ["created_at", "2021-10-05 13:35:57.220111"], ["updated_at", "2021-10-05 13:35:57.220111"]]
|
39429
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39430
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
39431
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39432
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39433
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39434
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.222454"], ["updated_at", "2021-10-05 13:35:57.222454"]]
|
39435
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39436
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39437
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.223461"], ["updated_at", "2021-10-05 13:35:57.223461"]]
|
39438
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39439
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39440
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.224518"], ["date_accepted", "2021-10-05 13:35:57.224148"], ["claim_hash", "TcEyHaJuQCrIbrHKfZqduPutr9ApxiLzMkUsciik"], ["created_at", "2021-10-05 13:35:57.224498"], ["updated_at", "2021-10-05 13:35:57.224498"]]
|
39441
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39442
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39443
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.225478"], ["updated_at", "2021-10-05 13:35:57.225478"]]
|
39444
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39445
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39446
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.226432"], ["updated_at", "2021-10-05 13:35:57.226432"]]
|
39447
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39448
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39449
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.227525"], ["date_accepted", "2021-10-05 13:35:57.227182"], ["claim_hash", "OdwLF7ihlxS3PovsK9TaUb2BO7evOlfwVIWhGqzL"], ["created_at", "2021-10-05 13:35:57.227505"], ["updated_at", "2021-10-05 13:35:57.227505"]]
|
39450
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39451
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39452
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:35:57.228465"], ["updated_at", "2021-10-05 13:35:57.228465"]]
|
39453
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39454
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39455
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:35:57.229249"], ["updated_at", "2021-10-05 13:35:57.229249"]]
|
39456
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39457
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39458
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:35:57.230256"], ["id", 2]]
|
39459
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39460
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39461
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:35:57.231199"], ["date_accepted", "2021-10-05 13:35:57.230885"], ["claim_hash", "jp2AY6Qn1oXU9nGfZAqF98LdabtPcOLzkO9oLKXz"], ["created_at", "2021-10-05 13:35:57.231182"], ["updated_at", "2021-10-05 13:35:57.231182"]]
|
39462
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39463
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39464
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.232111"], ["updated_at", "2021-10-05 13:35:57.232111"]]
|
39465
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39466
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39467
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:35:57.232993"], ["claim_hash", "RTEEm8SDGViRH3OKK34xY0sO8DAz7qFkAHdu093P"], ["created_at", "2021-10-05 13:35:57.232974"], ["updated_at", "2021-10-05 13:35:57.232974"]]
|
39468
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39469
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39470
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.233840"], ["updated_at", "2021-10-05 13:35:57.233840"]]
|
39471
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39472
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39473
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:35:57.234722"], ["claim_hash", "xDJLYE7klthdaHyj0nM1VXg1552xtKQwbvmpabOI"], ["created_at", "2021-10-05 13:35:57.234703"], ["updated_at", "2021-10-05 13:35:57.234703"]]
|
39474
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39475
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39476
|
+
[1m[36mOtherEntity Create (0.1ms)[0m [1m[32mINSERT INTO "other_entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test other entity"], ["created_at", "2021-10-05 13:35:57.235923"], ["updated_at", "2021-10-05 13:35:57.235923"]]
|
39477
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39478
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
39479
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39480
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39481
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39482
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.238795"], ["updated_at", "2021-10-05 13:35:57.238795"]]
|
39483
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39484
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39485
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.240034"], ["updated_at", "2021-10-05 13:35:57.240034"]]
|
39486
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39487
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39488
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.241257"], ["date_accepted", "2021-10-05 13:35:57.240884"], ["claim_hash", "WJUTLshJmXq4B3Kn7BqbYNyOq22Q3SrxRBf1eih6"], ["created_at", "2021-10-05 13:35:57.241237"], ["updated_at", "2021-10-05 13:35:57.241237"]]
|
39489
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39490
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39491
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.242229"], ["updated_at", "2021-10-05 13:35:57.242229"]]
|
39492
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39493
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39494
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.243010"], ["updated_at", "2021-10-05 13:35:57.243010"]]
|
39495
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39496
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39497
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.243925"], ["date_accepted", "2021-10-05 13:35:57.243628"], ["claim_hash", "gNu6DjFqfLbKV4q0BvvFeRfzjsijyPUlrSBfaTdD"], ["created_at", "2021-10-05 13:35:57.243901"], ["updated_at", "2021-10-05 13:35:57.243901"]]
|
39498
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39499
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39500
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:35:57.244826"], ["updated_at", "2021-10-05 13:35:57.244826"]]
|
39501
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39502
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39503
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:35:57.245596"], ["updated_at", "2021-10-05 13:35:57.245596"]]
|
39504
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39505
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39506
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:35:57.246563"], ["id", 2]]
|
39507
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39508
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39509
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:35:57.247575"], ["date_accepted", "2021-10-05 13:35:57.247255"], ["claim_hash", "6RPG6S5lTB1O62YrRGCZGqJdKBFVILzmjE2ZL4WN"], ["created_at", "2021-10-05 13:35:57.247552"], ["updated_at", "2021-10-05 13:35:57.247552"]]
|
39510
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39511
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39512
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.248518"], ["updated_at", "2021-10-05 13:35:57.248518"]]
|
39513
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39514
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39515
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:35:57.249347"], ["claim_hash", "v6dH6nDzZGUAPKo78pmPUv6s65BhAbkscZ9AifyP"], ["created_at", "2021-10-05 13:35:57.249328"], ["updated_at", "2021-10-05 13:35:57.249328"]]
|
39516
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39517
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39518
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.250171"], ["updated_at", "2021-10-05 13:35:57.250171"]]
|
39519
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39520
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39521
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:35:57.250987"], ["claim_hash", "ZPBr782p61JdefTw36iu5KZ8SOMWSCQbuqpA9Ycn"], ["created_at", "2021-10-05 13:35:57.250969"], ["updated_at", "2021-10-05 13:35:57.250969"]]
|
39522
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39523
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39524
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2021-10-05 13:35:57.252007"], ["updated_at", "2021-10-05 13:35:57.252007"]]
|
39525
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39526
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39527
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2021-10-05 13:35:57.252965"], ["id", 1]]
|
39528
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39529
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
39530
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 2]]
|
39531
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
39532
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
39533
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 2], ["LIMIT", 1]]
|
39534
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39535
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39536
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39537
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.257217"], ["updated_at", "2021-10-05 13:35:57.257217"]]
|
39538
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39539
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39540
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.258528"], ["updated_at", "2021-10-05 13:35:57.258528"]]
|
39541
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39542
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39543
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.259596"], ["date_accepted", "2021-10-05 13:35:57.259229"], ["claim_hash", "IBie6Ur8bodOtIH4bov91Ow0u2EodY4zojcyxqsL"], ["created_at", "2021-10-05 13:35:57.259576"], ["updated_at", "2021-10-05 13:35:57.259576"]]
|
39544
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39545
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39546
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.260542"], ["updated_at", "2021-10-05 13:35:57.260542"]]
|
39547
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39548
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39549
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.261306"], ["updated_at", "2021-10-05 13:35:57.261306"]]
|
39550
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39551
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39552
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.262222"], ["date_accepted", "2021-10-05 13:35:57.261929"], ["claim_hash", "RlGMV89Aob3EOuLWOodoOlu95xlA2fo0mZvbswSQ"], ["created_at", "2021-10-05 13:35:57.262204"], ["updated_at", "2021-10-05 13:35:57.262204"]]
|
39553
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39554
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39555
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:35:57.263103"], ["updated_at", "2021-10-05 13:35:57.263103"]]
|
39556
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39557
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39558
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:35:57.263879"], ["updated_at", "2021-10-05 13:35:57.263879"]]
|
39559
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39560
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39561
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:35:57.264885"], ["id", 2]]
|
39562
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39563
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39564
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:35:57.265812"], ["date_accepted", "2021-10-05 13:35:57.265510"], ["claim_hash", "srDrIPaJuBjyokRgNLkFCer8LTT0mmCEM7c2zrG3"], ["created_at", "2021-10-05 13:35:57.265793"], ["updated_at", "2021-10-05 13:35:57.265793"]]
|
39565
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39566
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39567
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.266691"], ["updated_at", "2021-10-05 13:35:57.266691"]]
|
39568
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39569
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39570
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:35:57.267519"], ["claim_hash", "S7qfDTCooC8htcyk3H34Dr6aPLA8xsIob0foxXC0"], ["created_at", "2021-10-05 13:35:57.267501"], ["updated_at", "2021-10-05 13:35:57.267501"]]
|
39571
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39572
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39573
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.268496"], ["updated_at", "2021-10-05 13:35:57.268496"]]
|
39574
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39575
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39576
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:35:57.269539"], ["claim_hash", "S6NkLf3Hk2xTFyfYNuzVig7zbIMoprFN6zacMSy9"], ["created_at", "2021-10-05 13:35:57.269519"], ["updated_at", "2021-10-05 13:35:57.269519"]]
|
39577
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39578
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39579
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2021-10-05 13:35:57.270684"], ["updated_at", "2021-10-05 13:35:57.270684"]]
|
39580
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39581
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39582
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2021-10-05 13:35:57.271845"], ["id", 1]]
|
39583
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39584
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
39585
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 3]]
|
39586
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
39587
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 3]]
|
39588
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
39589
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 3]]
|
39590
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
39591
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Grandparent' AND invitable_id = 1)[0m [["user_id", 3]]
|
39592
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Grandparent' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 3], ["LIMIT", 1]]
|
39593
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39594
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39595
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39596
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.277110"], ["updated_at", "2021-10-05 13:35:57.277110"]]
|
39597
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39598
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39599
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.278100"], ["updated_at", "2021-10-05 13:35:57.278100"]]
|
39600
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39601
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39602
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.279129"], ["date_accepted", "2021-10-05 13:35:57.278766"], ["claim_hash", "h60zMhywiXtM102R5DKnzlZSFYNdMW5tc9Uwn6K8"], ["created_at", "2021-10-05 13:35:57.279107"], ["updated_at", "2021-10-05 13:35:57.279107"]]
|
39603
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39604
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39605
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.280059"], ["updated_at", "2021-10-05 13:35:57.280059"]]
|
39606
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39607
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39608
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.280880"], ["updated_at", "2021-10-05 13:35:57.280880"]]
|
39609
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39610
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39611
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.281837"], ["date_accepted", "2021-10-05 13:35:57.281526"], ["claim_hash", "I0xQhG76k6jaS0acsrJ73MI3AApzuazPrNLOx5G5"], ["created_at", "2021-10-05 13:35:57.281818"], ["updated_at", "2021-10-05 13:35:57.281818"]]
|
39612
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39613
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39614
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:35:57.282748"], ["updated_at", "2021-10-05 13:35:57.282748"]]
|
39615
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39616
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39617
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:35:57.283520"], ["updated_at", "2021-10-05 13:35:57.283520"]]
|
39618
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39619
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39620
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:35:57.284531"], ["id", 2]]
|
39621
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39622
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39623
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:35:57.285463"], ["date_accepted", "2021-10-05 13:35:57.285160"], ["claim_hash", "KYl2yFHwNn1BMv953DLM6AaQbo8AmDBwUqb20yuj"], ["created_at", "2021-10-05 13:35:57.285444"], ["updated_at", "2021-10-05 13:35:57.285444"]]
|
39624
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39625
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39626
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.286343"], ["updated_at", "2021-10-05 13:35:57.286343"]]
|
39627
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39628
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39629
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:35:57.287134"], ["claim_hash", "VwDQGSg1tSUkTcujF4mokFxLsXheATYCyoeQwlRM"], ["created_at", "2021-10-05 13:35:57.287117"], ["updated_at", "2021-10-05 13:35:57.287117"]]
|
39630
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39631
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39632
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.287972"], ["updated_at", "2021-10-05 13:35:57.287972"]]
|
39633
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39634
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39635
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:35:57.289209"], ["claim_hash", "PrIxtS5O1WjLarptYfQjIrTmha7ewxZ3trWSVA59"], ["created_at", "2021-10-05 13:35:57.289184"], ["updated_at", "2021-10-05 13:35:57.289184"]]
|
39636
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39637
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39638
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2021-10-05 13:35:57.290481"], ["updated_at", "2021-10-05 13:35:57.290481"]]
|
39639
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39640
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39641
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2021-10-05 13:35:57.291613"], ["id", 1]]
|
39642
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39643
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39644
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 1]]
|
39645
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39646
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
39647
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39648
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
39649
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39650
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Grandparent' AND invitable_id = 1)[0m [["user_id", 1]]
|
39651
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39652
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 1]]
|
39653
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39654
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
39655
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39656
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
39657
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39658
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Grandparent' AND invitable_id = 1)[0m [["user_id", 1]]
|
39659
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39660
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39661
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39662
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39663
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.299396"], ["updated_at", "2021-10-05 13:35:57.299396"]]
|
39664
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39665
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39666
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.300388"], ["updated_at", "2021-10-05 13:35:57.300388"]]
|
39667
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39668
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39669
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.301390"], ["date_accepted", "2021-10-05 13:35:57.301042"], ["claim_hash", "lNJcZIbvvui3uowDgq7ZzLlZ5SmA5LmpuvQCfnse"], ["created_at", "2021-10-05 13:35:57.301371"], ["updated_at", "2021-10-05 13:35:57.301371"]]
|
39670
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39671
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "users"."id" = "invitations"."user_id" WHERE "invitations"."invitable_id" = ? AND "invitations"."invitable_type" = ? AND (invitations.role = 'admin') AND "users"."id" = ? LIMIT ?[0m [["invitable_id", 1], ["invitable_type", "Entity"], ["id", 1], ["LIMIT", 1]]
|
39672
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39673
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39674
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39675
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39676
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.310032"], ["updated_at", "2021-10-05 13:35:57.310032"]]
|
39677
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39678
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39679
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.310996"], ["updated_at", "2021-10-05 13:35:57.310996"]]
|
39680
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39681
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
39682
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39683
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.312616"], ["date_accepted", "2021-10-05 13:35:57.312410"], ["claim_hash", "MEBP6GPxcmeniW9yaR5q7KmpYq54e1Jc8rzCgvlU"], ["created_at", "2021-10-05 13:35:57.312596"], ["updated_at", "2021-10-05 13:35:57.312596"]]
|
39684
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39685
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39686
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39687
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39688
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39689
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.314645"], ["updated_at", "2021-10-05 13:35:57.314645"]]
|
39690
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39691
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39692
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.315548"], ["updated_at", "2021-10-05 13:35:57.315548"]]
|
39693
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39694
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39695
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.316516"], ["date_accepted", "2021-10-05 13:35:57.316203"], ["claim_hash", "X9gXW8f9uulpLEhuuQIi6DL36Ssan6Z5rAqQuTV9"], ["created_at", "2021-10-05 13:35:57.316497"], ["updated_at", "2021-10-05 13:35:57.316497"]]
|
39696
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39697
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
39698
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39699
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39700
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39701
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39702
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.319258"], ["updated_at", "2021-10-05 13:35:57.319258"]]
|
39703
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39704
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39705
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.320588"], ["updated_at", "2021-10-05 13:35:57.320588"]]
|
39706
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39707
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39708
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39709
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39710
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39711
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.323031"], ["updated_at", "2021-10-05 13:35:57.323031"]]
|
39712
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39713
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39714
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.324033"], ["updated_at", "2021-10-05 13:35:57.324033"]]
|
39715
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39716
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39717
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.325105"], ["date_accepted", "2021-10-05 13:35:57.324745"], ["claim_hash", "2eGOdFUhMObAsimmmvzpo0AKglhVnH0rJjWjEKeu"], ["created_at", "2021-10-05 13:35:57.325085"], ["updated_at", "2021-10-05 13:35:57.325085"]]
|
39718
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39719
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39720
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."invitable_id" = ? AND "invitations"."invitable_type" = ?[0m [["invitable_id", 1], ["invitable_type", "Entity"]]
|
39721
|
+
[1m[36mInvitation Destroy (0.1ms)[0m [1m[31mDELETE FROM "invitations" WHERE "invitations"."id" = ?[0m [["id", 1]]
|
39722
|
+
[1m[36mEntity Destroy (0.0ms)[0m [1m[31mDELETE FROM "entities" WHERE "entities"."id" = ?[0m [["id", 1]]
|
39723
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39724
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
39725
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39726
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39727
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39728
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39729
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.329477"], ["updated_at", "2021-10-05 13:35:57.329477"]]
|
39730
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39731
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39732
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test999@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.330566"], ["claim_hash", "heVBDP4jsH4Vi8ISJA0QFPFHJecHehcaFSQrX1tW"], ["created_at", "2021-10-05 13:35:57.330545"], ["updated_at", "2021-10-05 13:35:57.330545"]]
|
39733
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39734
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39735
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39736
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39737
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39738
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.332599"], ["updated_at", "2021-10-05 13:35:57.332599"]]
|
39739
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39740
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39741
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test999@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.333775"], ["claim_hash", "U8EdAJyuzQdIhrHPnZXcPkYgu9CNMzTsFabMRPaA"], ["created_at", "2021-10-05 13:35:57.333752"], ["updated_at", "2021-10-05 13:35:57.333752"]]
|
39742
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39743
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39744
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.334910"], ["updated_at", "2021-10-05 13:35:57.334910"]]
|
39745
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39746
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39747
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test999@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 2], ["date_sent", "2021-10-05 13:35:57.335959"], ["claim_hash", "GcvGExUd4v3WpRWUNcarsTDaItDHonjpuXescDS6"], ["created_at", "2021-10-05 13:35:57.335932"], ["updated_at", "2021-10-05 13:35:57.335932"]]
|
39748
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39749
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39750
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39751
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39752
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39753
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.338033"], ["updated_at", "2021-10-05 13:35:57.338033"]]
|
39754
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39755
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39756
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.339218"], ["updated_at", "2021-10-05 13:35:57.339218"]]
|
39757
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39758
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39759
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.340206"], ["claim_hash", "N60xcVReKjnB82UjhALc7rqRxCfbuhwZwh1fpmS3"], ["created_at", "2021-10-05 13:35:57.340179"], ["updated_at", "2021-10-05 13:35:57.340179"]]
|
39760
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39761
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39762
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39763
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39764
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39765
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.342215"], ["updated_at", "2021-10-05 13:35:57.342215"]]
|
39766
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39767
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39768
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.343182"], ["claim_hash", "jmZd5CA1LTizm1o8oHo4EA8wBWzFIOjlihQeQiPq"], ["created_at", "2021-10-05 13:35:57.343162"], ["updated_at", "2021-10-05 13:35:57.343162"]]
|
39769
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39770
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39771
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39772
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39773
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39774
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.345074"], ["updated_at", "2021-10-05 13:35:57.345074"]]
|
39775
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39776
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39777
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.345965"], ["updated_at", "2021-10-05 13:35:57.345965"]]
|
39778
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39779
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39780
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.346874"], ["claim_hash", "z51Gq3T96m4zLW34myCUSf3h50SzWXrUGlKB9GmZ"], ["created_at", "2021-10-05 13:35:57.346854"], ["updated_at", "2021-10-05 13:35:57.346854"]]
|
39781
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39782
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39783
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.347789"], ["updated_at", "2021-10-05 13:35:57.347789"]]
|
39784
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39785
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39786
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.348565"], ["updated_at", "2021-10-05 13:35:57.348565"]]
|
39787
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39788
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39789
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.349463"], ["date_accepted", "2021-10-05 13:35:57.349180"], ["claim_hash", "4JbZ83BIjvzknVn8POIyxQEq9jUZMtVDeHZFNJni"], ["created_at", "2021-10-05 13:35:57.349445"], ["updated_at", "2021-10-05 13:35:57.349445"]]
|
39790
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39791
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39792
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39793
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39794
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39795
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.351705"], ["updated_at", "2021-10-05 13:35:57.351705"]]
|
39796
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39797
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39798
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.352911"], ["claim_hash", "xIifzoayI3fCdN0Gr59MFYHhLZs8yqjv5RpoBR9R"], ["created_at", "2021-10-05 13:35:57.352881"], ["updated_at", "2021-10-05 13:35:57.352881"]]
|
39799
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39800
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39801
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39802
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39803
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39804
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.355308"], ["updated_at", "2021-10-05 13:35:57.355308"]]
|
39805
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39806
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39807
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.356419"], ["updated_at", "2021-10-05 13:35:57.356419"]]
|
39808
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39809
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39810
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.357383"], ["claim_hash", "CENGWbQer1OfUOMJhXBPEqqJA28iWnD1tVSgJ2jy"], ["created_at", "2021-10-05 13:35:57.357360"], ["updated_at", "2021-10-05 13:35:57.357360"]]
|
39811
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39812
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39813
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39814
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39815
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39816
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.359402"], ["updated_at", "2021-10-05 13:35:57.359402"]]
|
39817
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39818
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39819
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.360323"], ["updated_at", "2021-10-05 13:35:57.360323"]]
|
39820
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39821
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39822
|
+
[1m[36mInvitation Create (1.4ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.369155"], ["date_accepted", "2021-10-05 13:35:57.360984"], ["claim_hash", "DOzlBCGQdXx3B7PPOJzbDYS3ISb3WAxyDgtg2fdz"], ["created_at", "2021-10-05 13:35:57.361289"], ["updated_at", "2021-10-05 13:35:57.361289"]]
|
39823
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39824
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39825
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39826
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39827
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39828
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.373301"], ["updated_at", "2021-10-05 13:35:57.373301"]]
|
39829
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39830
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39831
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.374307"], ["updated_at", "2021-10-05 13:35:57.374307"]]
|
39832
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39833
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39834
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.375246"], ["claim_hash", "CJjE0Cz6H9sS07g22Upey14KdFZoAyXPzUCt6VKS"], ["created_at", "2021-10-05 13:35:57.375226"], ["updated_at", "2021-10-05 13:35:57.375226"]]
|
39835
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39836
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'CJjE0Cz6H9sS07g22Upey14KdFZoAyXPzUCt6VKS') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
39837
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39838
|
+
[1m[36mEntity Load (0.1ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
39839
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-10-05 13:35:57.376545"], ["updated_at", "2021-10-05 13:35:57.377554"], ["id", 1]]
|
39840
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39841
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
39842
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39843
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39844
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39845
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39846
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.380034"], ["updated_at", "2021-10-05 13:35:57.380034"]]
|
39847
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39848
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39849
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 3"], ["created_at", "2021-10-05 13:35:57.381026"], ["updated_at", "2021-10-05 13:35:57.381026"]]
|
39850
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39851
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39852
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.382214"], ["claim_hash", "Z4CX8y0OaBAnMmkaSa4WwvN32F0TZcGjoVcV5iLJ"], ["created_at", "2021-10-05 13:35:57.382191"], ["updated_at", "2021-10-05 13:35:57.382191"]]
|
39853
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39854
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (email = 'test4@d-i.co' AND user_id IS NULL)[0m
|
39855
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39856
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
39857
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-10-05 13:35:57.383489"], ["updated_at", "2021-10-05 13:35:57.384296"], ["id", 1]]
|
39858
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39859
|
+
[1m[36mEntity Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "entities" INNER JOIN "invitations" ON "entities"."id" = "invitations"."invitable_id" WHERE "invitations"."user_id" = ? AND "invitations"."invitable_type" = ? AND "entities"."id" = ? LIMIT ?[0m [["user_id", 1], ["invitable_type", "Entity"], ["id", 1], ["LIMIT", 1]]
|
39860
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39861
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39862
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39863
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39864
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.387692"], ["updated_at", "2021-10-05 13:35:57.387692"]]
|
39865
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39866
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND (email = 'test4@d-i.co')[0m
|
39867
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39868
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "uberadmin"], ["date_sent", "2021-10-05 13:35:57.389358"], ["claim_hash", "83exYciePYvuGDlxTQyyhHU6Ixvr4PLY9yifoWZU"], ["created_at", "2021-10-05 13:35:57.389329"], ["updated_at", "2021-10-05 13:35:57.389329"]]
|
39869
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39870
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39871
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39872
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39873
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39874
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.391440"], ["updated_at", "2021-10-05 13:35:57.391440"]]
|
39875
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39876
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39877
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39878
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.393044"], ["date_accepted", "2021-10-05 13:35:57.392879"], ["claim_hash", "3Pc5oecSGfH7gqpAzOxPWxswefUR7HWUntjnDP33"], ["created_at", "2021-10-05 13:35:57.393024"], ["updated_at", "2021-10-05 13:35:57.393024"]]
|
39879
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39880
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39881
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39882
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39883
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39884
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.395094"], ["updated_at", "2021-10-05 13:35:57.395094"]]
|
39885
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39886
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39887
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.396214"], ["claim_hash", "UsEnSmGUZTSx2Fj1X070hoE2GJz6FOxniG9xnqVB"], ["created_at", "2021-10-05 13:35:57.396192"], ["updated_at", "2021-10-05 13:35:57.396192"]]
|
39888
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39889
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39890
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39891
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39892
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39893
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39894
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.398921"], ["updated_at", "2021-10-05 13:35:57.398921"]]
|
39895
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39896
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'employer') AND (email = 'test4@d-i.co')[0m
|
39897
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39898
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["date_sent", "2021-10-05 13:35:57.400295"], ["claim_hash", "53I03ldK2SJuqYgdGGY4sXI2E3wPYLgfHg2BPwmQ"], ["created_at", "2021-10-05 13:35:57.400269"], ["updated_at", "2021-10-05 13:35:57.400269"]]
|
39899
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39900
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39901
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39902
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39903
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39904
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.402433"], ["updated_at", "2021-10-05 13:35:57.402433"]]
|
39905
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39906
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
39907
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39908
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.404376"], ["date_accepted", "2021-10-05 13:35:57.404137"], ["claim_hash", "rWGkOaTBWgNgS3Cn9AbBaZJcLCBT8aqvbMhuUsLH"], ["created_at", "2021-10-05 13:35:57.404345"], ["updated_at", "2021-10-05 13:35:57.404345"]]
|
39909
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39910
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39911
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39912
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39913
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39914
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:35:57.406999"], ["updated_at", "2021-10-05 13:35:57.406999"]]
|
39915
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39916
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39917
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.408028"], ["claim_hash", "ywX1ETqgZ9yImCEjWLIJinGGOSBEywXaFmiWazXT"], ["created_at", "2021-10-05 13:35:57.408007"], ["updated_at", "2021-10-05 13:35:57.408007"]]
|
39918
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39919
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
39920
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39921
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39922
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39923
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39924
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.410736"], ["updated_at", "2021-10-05 13:35:57.410736"]]
|
39925
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39926
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39927
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.411681"], ["updated_at", "2021-10-05 13:35:57.411681"]]
|
39928
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39929
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39930
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.413073"], ["date_accepted", "2021-10-05 13:35:57.412666"], ["claim_hash", "qc9TgclvVwT7iNzA3PoZCewyw9Hh5lPpJkfxbOjW"], ["created_at", "2021-10-05 13:35:57.413046"], ["updated_at", "2021-10-05 13:35:57.413046"]]
|
39931
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39932
|
+
[1m[36mEntity Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "entities" INNER JOIN "invitations" ON "entities"."id" = "invitations"."invitable_id" WHERE "invitations"."user_id" = ? AND "invitations"."invitable_type" = ? AND "entities"."id" = ? LIMIT ?[0m [["user_id", 1], ["invitable_type", "Entity"], ["id", 1], ["LIMIT", 1]]
|
39933
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "children" INNER JOIN "invitations" ON "children"."id" = "invitations"."invitable_id" WHERE "invitations"."user_id" = ? AND "invitations"."invitable_type" = ?[0m [["user_id", 1], ["invitable_type", "Child"]]
|
39934
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39935
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39936
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39937
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39938
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.418846"], ["updated_at", "2021-10-05 13:35:57.418846"]]
|
39939
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39940
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39941
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.420241"], ["claim_hash", "E5gM2AVkfu0lWyaMrsb233LJW12uCJyLKWXMmXLh"], ["created_at", "2021-10-05 13:35:57.420212"], ["updated_at", "2021-10-05 13:35:57.420212"]]
|
39942
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39943
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39944
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39945
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39946
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39947
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39948
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.423261"], ["updated_at", "2021-10-05 13:35:57.423261"]]
|
39949
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39950
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39951
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.424245"], ["updated_at", "2021-10-05 13:35:57.424245"]]
|
39952
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39953
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39954
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.425222"], ["date_accepted", "2021-10-05 13:35:57.424893"], ["claim_hash", "gi4e5QiTfxdsRTYVrjzBGnPpU03zywChC9YXHAGo"], ["created_at", "2021-10-05 13:35:57.425202"], ["updated_at", "2021-10-05 13:35:57.425202"]]
|
39955
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39956
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39957
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39958
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39959
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39960
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39961
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.427703"], ["updated_at", "2021-10-05 13:35:57.427703"]]
|
39962
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39963
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39964
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.428689"], ["claim_hash", "MVyNxe3LJCbbpjFSQ0XZm1Mascn3sThMvwMvGysJ"], ["created_at", "2021-10-05 13:35:57.428670"], ["updated_at", "2021-10-05 13:35:57.428670"]]
|
39965
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39966
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
39967
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39968
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39969
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39970
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39971
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.431116"], ["updated_at", "2021-10-05 13:35:57.431116"]]
|
39972
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39973
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39974
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.432035"], ["updated_at", "2021-10-05 13:35:57.432035"]]
|
39975
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39976
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39977
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.433035"], ["date_accepted", "2021-10-05 13:35:57.432705"], ["claim_hash", "VfqRgVsWdUt5MTztKMNmbv0Ld54IMgoqrCoKgvtA"], ["created_at", "2021-10-05 13:35:57.433016"], ["updated_at", "2021-10-05 13:35:57.433016"]]
|
39978
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39979
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
39980
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39981
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39982
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39983
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39984
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.435558"], ["updated_at", "2021-10-05 13:35:57.435558"]]
|
39985
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39986
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39987
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.436478"], ["updated_at", "2021-10-05 13:35:57.436478"]]
|
39988
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39989
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39990
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.437431"], ["date_accepted", "2021-10-05 13:35:57.437108"], ["claim_hash", "P9k9LARUHyZD8rDh5bMTEPXmkEMTPm3pu8E7rSXi"], ["created_at", "2021-10-05 13:35:57.437411"], ["updated_at", "2021-10-05 13:35:57.437411"]]
|
39991
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39992
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39993
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
39994
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39995
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39996
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39997
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39998
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.440516"], ["updated_at", "2021-10-05 13:35:57.440516"]]
|
39999
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40000
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40001
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.441465"], ["updated_at", "2021-10-05 13:35:57.441465"]]
|
40002
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40003
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40004
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.442467"], ["date_accepted", "2021-10-05 13:35:57.442103"], ["claim_hash", "QVUxnZ74pFsVeiPSjV1gTyumwibu5gEC56wXPpPM"], ["created_at", "2021-10-05 13:35:57.442445"], ["updated_at", "2021-10-05 13:35:57.442445"]]
|
40005
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40006
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40007
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.443808"], ["updated_at", "2021-10-05 13:35:57.443808"]]
|
40008
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40009
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40010
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
40011
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40012
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40013
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40014
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40015
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.446641"], ["updated_at", "2021-10-05 13:35:57.446641"]]
|
40016
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40017
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40018
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.447513"], ["updated_at", "2021-10-05 13:35:57.447513"]]
|
40019
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40020
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40021
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.448568"], ["date_accepted", "2021-10-05 13:35:57.448195"], ["claim_hash", "8vEBtLlZBds3aTLUuAYhukUYp1QkGWXrFJwJfBsz"], ["created_at", "2021-10-05 13:35:57.448549"], ["updated_at", "2021-10-05 13:35:57.448549"]]
|
40022
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40023
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40024
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
40025
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
40026
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40027
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40028
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40029
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40030
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.451855"], ["updated_at", "2021-10-05 13:35:57.451855"]]
|
40031
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40032
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40033
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.452978"], ["updated_at", "2021-10-05 13:35:57.452978"]]
|
40034
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40035
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40036
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.454318"], ["date_accepted", "2021-10-05 13:35:57.453918"], ["claim_hash", "3IhcVHs2g3fySnxRQcJfGGPbMGYJNJF04oqqAYYg"], ["created_at", "2021-10-05 13:35:57.454297"], ["updated_at", "2021-10-05 13:35:57.454297"]]
|
40037
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40038
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40039
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.455590"], ["updated_at", "2021-10-05 13:35:57.455590"]]
|
40040
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40041
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40042
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
40043
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40044
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40045
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40046
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40047
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.458443"], ["updated_at", "2021-10-05 13:35:57.458443"]]
|
40048
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40049
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40050
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.459334"], ["updated_at", "2021-10-05 13:35:57.459334"]]
|
40051
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40052
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40053
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.460331"], ["date_accepted", "2021-10-05 13:35:57.459963"], ["claim_hash", "Kb3GAIRouEWAQfx77LWumicmVbX4wtBB3TIPWPnC"], ["created_at", "2021-10-05 13:35:57.460307"], ["updated_at", "2021-10-05 13:35:57.460307"]]
|
40054
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40055
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40056
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
40057
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
40058
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40059
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40060
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40061
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40062
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.463553"], ["updated_at", "2021-10-05 13:35:57.463553"]]
|
40063
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40064
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40065
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.464542"], ["updated_at", "2021-10-05 13:35:57.464542"]]
|
40066
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40067
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40068
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.465546"], ["date_accepted", "2021-10-05 13:35:57.465208"], ["claim_hash", "kCztjZLWfFvaCfjNXqSsrfYBTmzt1ldnIdgn4fjH"], ["created_at", "2021-10-05 13:35:57.465526"], ["updated_at", "2021-10-05 13:35:57.465526"]]
|
40069
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40070
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40071
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 1]]
|
40072
|
+
[1m[36mInvitation Destroy (0.1ms)[0m [1m[31mDELETE FROM "invitations" WHERE "invitations"."id" = ?[0m [["id", 1]]
|
40073
|
+
[1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
40074
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40075
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
40076
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40077
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40078
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40079
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40080
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.469238"], ["updated_at", "2021-10-05 13:35:57.469238"]]
|
40081
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40082
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40083
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.470203"], ["claim_hash", "khfNHYLRbP9Pr3lxRe2OeQJ2otZKKq8WW2Q4m96J"], ["created_at", "2021-10-05 13:35:57.470184"], ["updated_at", "2021-10-05 13:35:57.470184"]]
|
40084
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40085
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
40086
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40087
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.473023"], ["updated_at", "2021-10-05 13:35:57.473023"]]
|
40088
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40089
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
40090
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'uberadmin')[0m
|
40091
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40092
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40093
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40094
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40095
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.476249"], ["updated_at", "2021-10-05 13:35:57.476249"]]
|
40096
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40097
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40098
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.477267"], ["claim_hash", "NKcQD7XPslv5oRIrENsCW5VxzmSRLBl6MWSXYsZZ"], ["created_at", "2021-10-05 13:35:57.477246"], ["updated_at", "2021-10-05 13:35:57.477246"]]
|
40099
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40100
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'employer') AND "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
40101
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40102
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.478947"], ["updated_at", "2021-10-05 13:35:57.478947"]]
|
40103
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40104
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'employer') AND "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
40105
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'employer')[0m
|
40106
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40107
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40108
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40109
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40110
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.481647"], ["updated_at", "2021-10-05 13:35:57.481647"]]
|
40111
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40112
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40113
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.482517"], ["updated_at", "2021-10-05 13:35:57.482517"]]
|
40114
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40115
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40116
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.483524"], ["date_accepted", "2021-10-05 13:35:57.483180"], ["claim_hash", "HXyB64WbHV9xtNeGi62twza9qBWdqpXm2ce9ObuG"], ["created_at", "2021-10-05 13:35:57.483504"], ["updated_at", "2021-10-05 13:35:57.483504"]]
|
40117
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40118
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40119
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.484514"], ["updated_at", "2021-10-05 13:35:57.484514"]]
|
40120
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40121
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40122
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.485547"], ["claim_hash", "1xUTkxcKbgCBQtKi72a2ctyDIgB6yMdMVfQg9y98"], ["created_at", "2021-10-05 13:35:57.485523"], ["updated_at", "2021-10-05 13:35:57.485523"]]
|
40123
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40124
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40125
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
40126
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40127
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40128
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40129
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40130
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.488669"], ["updated_at", "2021-10-05 13:35:57.488669"]]
|
40131
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40132
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40133
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.489740"], ["updated_at", "2021-10-05 13:35:57.489740"]]
|
40134
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40135
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40136
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.490747"], ["date_accepted", "2021-10-05 13:35:57.490402"], ["claim_hash", "XcdkSzJcIWTszwzbHIf7JS06c5l8FFtT0PZGOaLj"], ["created_at", "2021-10-05 13:35:57.490727"], ["updated_at", "2021-10-05 13:35:57.490727"]]
|
40137
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40138
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40139
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.491652"], ["updated_at", "2021-10-05 13:35:57.491652"]]
|
40140
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40141
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40142
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.492518"], ["claim_hash", "qbpi2hl4WtoPtzsyAI9GTJQ2C7ZlL8jR9ZLOQWHD"], ["created_at", "2021-10-05 13:35:57.492499"], ["updated_at", "2021-10-05 13:35:57.492499"]]
|
40143
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40144
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40145
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.493353"], ["updated_at", "2021-10-05 13:35:57.493353"]]
|
40146
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40147
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
40148
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 3]]
|
40149
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40150
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40151
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40152
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40153
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.496035"], ["updated_at", "2021-10-05 13:35:57.496035"]]
|
40154
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40155
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40156
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.496939"], ["updated_at", "2021-10-05 13:35:57.496939"]]
|
40157
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40158
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40159
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.497976"], ["date_accepted", "2021-10-05 13:35:57.497625"], ["claim_hash", "WYeUaYAAk18aeqFjYm7KjVqnzWIk4xirM967lWma"], ["created_at", "2021-10-05 13:35:57.497956"], ["updated_at", "2021-10-05 13:35:57.497956"]]
|
40160
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40161
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40162
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.498910"], ["updated_at", "2021-10-05 13:35:57.498910"]]
|
40163
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40164
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40165
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.499718"], ["claim_hash", "CFXfNgkrDOShK6zVpfXSL9yGqJuRAaIxWnxphQC1"], ["created_at", "2021-10-05 13:35:57.499699"], ["updated_at", "2021-10-05 13:35:57.499699"]]
|
40166
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40167
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40168
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40169
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40170
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40171
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40172
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.502172"], ["updated_at", "2021-10-05 13:35:57.502172"]]
|
40173
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40174
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40175
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.503051"], ["updated_at", "2021-10-05 13:35:57.503051"]]
|
40176
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40177
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40178
|
+
[1m[36mInvitation Create (0.2ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.504012"], ["date_accepted", "2021-10-05 13:35:57.503681"], ["claim_hash", "bLnRVMuctqQGJfR2nuKwE6tHOvpXIFoXaFwKPy6R"], ["created_at", "2021-10-05 13:35:57.503991"], ["updated_at", "2021-10-05 13:35:57.503991"]]
|
40179
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40180
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40181
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.505421"], ["updated_at", "2021-10-05 13:35:57.505421"]]
|
40182
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40183
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40184
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.506516"], ["claim_hash", "nGrlLlxAekrfHaQpyi9K0NcDpUSqe1yLMUjKHk1J"], ["created_at", "2021-10-05 13:35:57.506492"], ["updated_at", "2021-10-05 13:35:57.506492"]]
|
40185
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40186
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40187
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
40188
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
40189
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40190
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40191
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40192
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40193
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.510104"], ["updated_at", "2021-10-05 13:35:57.510104"]]
|
40194
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40195
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40196
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.511039"], ["updated_at", "2021-10-05 13:35:57.511039"]]
|
40197
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40198
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40199
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.512006"], ["date_accepted", "2021-10-05 13:35:57.511674"], ["claim_hash", "TCKVxRhQNlB5MdXKUTeLgTnI5WOgEc8Ygb5uNFs7"], ["created_at", "2021-10-05 13:35:57.511979"], ["updated_at", "2021-10-05 13:35:57.511979"]]
|
40200
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40201
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40202
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.512958"], ["updated_at", "2021-10-05 13:35:57.512958"]]
|
40203
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40204
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40205
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.513789"], ["claim_hash", "aZqTyI95lbVqjbd4oUlQbZiQ19O3vmHGj8COr8xq"], ["created_at", "2021-10-05 13:35:57.513769"], ["updated_at", "2021-10-05 13:35:57.513769"]]
|
40206
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40207
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40208
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
40209
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
40210
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40211
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40212
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40213
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40214
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.516948"], ["updated_at", "2021-10-05 13:35:57.516948"]]
|
40215
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40216
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40217
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.517848"], ["updated_at", "2021-10-05 13:35:57.517848"]]
|
40218
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40219
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40220
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.518801"], ["date_accepted", "2021-10-05 13:35:57.518481"], ["claim_hash", "92pD6roPppMeTbBRi2VERrgjmNs2zo71WkudiZcu"], ["created_at", "2021-10-05 13:35:57.518783"], ["updated_at", "2021-10-05 13:35:57.518783"]]
|
40221
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40222
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40223
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.519697"], ["updated_at", "2021-10-05 13:35:57.519697"]]
|
40224
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40225
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40226
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.520520"], ["claim_hash", "2B3FBWW8uzY9DJbfh9Q5X1eslbGZI5ZU5fFH2Fq4"], ["created_at", "2021-10-05 13:35:57.520501"], ["updated_at", "2021-10-05 13:35:57.520501"]]
|
40227
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40228
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40229
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.521341"], ["updated_at", "2021-10-05 13:35:57.521341"]]
|
40230
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40231
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
40232
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 3]]
|
40233
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40234
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40235
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40236
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40237
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.524310"], ["updated_at", "2021-10-05 13:35:57.524310"]]
|
40238
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40239
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40240
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.525248"], ["updated_at", "2021-10-05 13:35:57.525248"]]
|
40241
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40242
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40243
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.526215"], ["date_accepted", "2021-10-05 13:35:57.525892"], ["claim_hash", "Wsy0ESgKPq6ITi0inuqS0We4KwGNWd1sBhApqKY7"], ["created_at", "2021-10-05 13:35:57.526195"], ["updated_at", "2021-10-05 13:35:57.526195"]]
|
40244
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40245
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40246
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.527118"], ["updated_at", "2021-10-05 13:35:57.527118"]]
|
40247
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40248
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40249
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.527920"], ["claim_hash", "OMpAkuzBVakPZiTkL6ZCmH83gxrp3EIFAP2eHT0E"], ["created_at", "2021-10-05 13:35:57.527902"], ["updated_at", "2021-10-05 13:35:57.527902"]]
|
40250
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40251
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40252
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40253
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40254
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40255
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40256
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.530368"], ["updated_at", "2021-10-05 13:35:57.530368"]]
|
40257
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40258
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40259
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.531242"], ["updated_at", "2021-10-05 13:35:57.531242"]]
|
40260
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40261
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40262
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.532199"], ["date_accepted", "2021-10-05 13:35:57.531872"], ["claim_hash", "6Yixa4VgFHMMpZsfY0FiZF0u8LgMq1fqIfkdrNcE"], ["created_at", "2021-10-05 13:35:57.532180"], ["updated_at", "2021-10-05 13:35:57.532180"]]
|
40263
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40264
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40265
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.533108"], ["updated_at", "2021-10-05 13:35:57.533108"]]
|
40266
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40267
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40268
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.533914"], ["claim_hash", "1X4iKYltQoFTapk0wifVrfI5wsV7TlIUF12wv15c"], ["created_at", "2021-10-05 13:35:57.533896"], ["updated_at", "2021-10-05 13:35:57.533896"]]
|
40269
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40270
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40271
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
40272
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
40273
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40274
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40275
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40276
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40277
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.537510"], ["updated_at", "2021-10-05 13:35:57.537510"]]
|
40278
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40279
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40280
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.538674"], ["updated_at", "2021-10-05 13:35:57.538674"]]
|
40281
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40282
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40283
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.540006"], ["date_accepted", "2021-10-05 13:35:57.539604"], ["claim_hash", "qB9rzZdClGyDtkoaVMrwrWOMY003AU8dLXGtJhxi"], ["created_at", "2021-10-05 13:35:57.539984"], ["updated_at", "2021-10-05 13:35:57.539984"]]
|
40284
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40285
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40286
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.540986"], ["updated_at", "2021-10-05 13:35:57.540986"]]
|
40287
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40288
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40289
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.541800"], ["claim_hash", "uZ0GfAjlglzrNGuWHTLnxhKb6XsckYC9GndcjiBP"], ["created_at", "2021-10-05 13:35:57.541781"], ["updated_at", "2021-10-05 13:35:57.541781"]]
|
40290
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40291
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40292
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
40293
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
40294
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40295
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40296
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40297
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40298
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.545012"], ["updated_at", "2021-10-05 13:35:57.545012"]]
|
40299
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40300
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40301
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.545911"], ["updated_at", "2021-10-05 13:35:57.545911"]]
|
40302
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40303
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40304
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.546854"], ["date_accepted", "2021-10-05 13:35:57.546539"], ["claim_hash", "tr1liYBpZOHd07NGYf4XsEszacRHAogU51rHPRJV"], ["created_at", "2021-10-05 13:35:57.546835"], ["updated_at", "2021-10-05 13:35:57.546835"]]
|
40305
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40306
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40307
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.547830"], ["updated_at", "2021-10-05 13:35:57.547830"]]
|
40308
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40309
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40310
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.548681"], ["claim_hash", "0aBfStSa2YH0XTk3uAvbVa6jc3ge8VeswUrQOPju"], ["created_at", "2021-10-05 13:35:57.548661"], ["updated_at", "2021-10-05 13:35:57.548661"]]
|
40311
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40312
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40313
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.549501"], ["updated_at", "2021-10-05 13:35:57.549501"]]
|
40314
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40315
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
40316
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 3]]
|
40317
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40318
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40319
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40320
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40321
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:35:57.552130"], ["updated_at", "2021-10-05 13:35:57.552130"]]
|
40322
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40323
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40324
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.553001"], ["updated_at", "2021-10-05 13:35:57.553001"]]
|
40325
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40326
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40327
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.553970"], ["date_accepted", "2021-10-05 13:35:57.553631"], ["claim_hash", "XubE1UPdFXusGhHaKM0bYdlC4WSRxKmFN6REW8Oj"], ["created_at", "2021-10-05 13:35:57.553950"], ["updated_at", "2021-10-05 13:35:57.553950"]]
|
40328
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40329
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40330
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:35:57.554904"], ["updated_at", "2021-10-05 13:35:57.554904"]]
|
40331
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40332
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40333
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:35:57.555876"], ["claim_hash", "Y7ExLnulbChQAwmijKcrcXeaxteDEOVd32juRnDu"], ["created_at", "2021-10-05 13:35:57.555848"], ["updated_at", "2021-10-05 13:35:57.555848"]]
|
40334
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40335
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40336
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40337
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40338
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40339
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40340
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:35:57.558522"], ["updated_at", "2021-10-05 13:35:57.558522"]]
|
40341
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40342
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40343
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.559444"], ["updated_at", "2021-10-05 13:35:57.559444"]]
|
40344
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40345
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40346
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.560364"], ["claim_hash", "mlZMPDNWu4gzULpNnDXfz752Vw6mA5cJil45P2s7"], ["created_at", "2021-10-05 13:35:57.560344"], ["updated_at", "2021-10-05 13:35:57.560344"]]
|
40347
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40348
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40349
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:35:57.561245"], ["updated_at", "2021-10-05 13:35:57.561245"]]
|
40350
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40351
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40352
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 2], ["date_sent", "2021-10-05 13:35:57.562076"], ["claim_hash", "YsPmWwvMOlQxnTF9uHST4Z39s85GglZY6yRuDUsi"], ["created_at", "2021-10-05 13:35:57.562058"], ["updated_at", "2021-10-05 13:35:57.562058"]]
|
40353
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40354
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (email = 'test@d-i.co' AND user_id IS NULL)[0m
|
40355
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40356
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
40357
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-10-05 13:35:57.563119"], ["updated_at", "2021-10-05 13:35:57.563845"], ["id", 1]]
|
40358
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40359
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40360
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
40361
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-10-05 13:35:57.564504"], ["updated_at", "2021-10-05 13:35:57.565112"], ["id", 2]]
|
40362
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40363
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
40364
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 2], ["LIMIT", 1]]
|
40365
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40366
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40367
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40368
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40369
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:35:57.568131"], ["updated_at", "2021-10-05 13:35:57.568131"]]
|
40370
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40371
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40372
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "foo@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.569428"], ["claim_hash", "z5Lh877wex1UW1Loj1nukXiyEt8jfxFfIf8mvZmB"], ["created_at", "2021-10-05 13:35:57.569403"], ["updated_at", "2021-10-05 13:35:57.569403"]]
|
40373
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40374
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40375
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:35:57.570625"], ["updated_at", "2021-10-05 13:35:57.570625"]]
|
40376
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40377
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (email = 'test@d-i.co' AND user_id IS NULL)[0m
|
40378
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
40379
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 1]]
|
40380
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40381
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40382
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40383
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40384
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:35:57.574006"], ["updated_at", "2021-10-05 13:35:57.574006"]]
|
40385
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40386
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40387
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.574971"], ["updated_at", "2021-10-05 13:35:57.574971"]]
|
40388
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40389
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40390
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.575894"], ["claim_hash", "CU9I5Ti03WYMX5slC08KQvLojGUSYwKaI2f40n1Y"], ["created_at", "2021-10-05 13:35:57.575873"], ["updated_at", "2021-10-05 13:35:57.575873"]]
|
40391
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40392
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'CU9I5Ti03WYMX5slC08KQvLojGUSYwKaI2f40n1Y') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
40393
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40394
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
40395
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-10-05 13:35:57.577143"], ["updated_at", "2021-10-05 13:35:57.577858"], ["id", 1]]
|
40396
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40397
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
40398
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40399
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40400
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40401
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40402
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.580239"], ["updated_at", "2021-10-05 13:35:57.580239"]]
|
40403
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40404
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40405
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "foo@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.581340"], ["claim_hash", "1RlEGllpeFt51fPxxaKOb41okeq6PjsQzwLh6Uad"], ["created_at", "2021-10-05 13:35:57.581319"], ["updated_at", "2021-10-05 13:35:57.581319"]]
|
40406
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40407
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40408
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:35:57.582294"], ["updated_at", "2021-10-05 13:35:57.582294"]]
|
40409
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40410
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = '1RlEGllpeFt51fPxxaKOb41okeq6PjsQzwLh6Uad') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
40411
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40412
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
40413
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-10-05 13:35:57.583427"], ["updated_at", "2021-10-05 13:35:57.584161"], ["id", 1]]
|
40414
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40415
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
40416
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40417
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40418
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40419
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40420
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "foo@bar.com"], ["created_at", "2021-10-05 13:35:57.586564"], ["updated_at", "2021-10-05 13:35:57.586564"]]
|
40421
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40422
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40423
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.587477"], ["updated_at", "2021-10-05 13:35:57.587477"]]
|
40424
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40425
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40426
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "foo@bar.com"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.588600"], ["date_accepted", "2021-10-05 13:35:57.588224"], ["claim_hash", "LSlv583jEtkzqKKQEpgxwJwtGE8QT9Fce0k2qgAy"], ["created_at", "2021-10-05 13:35:57.588579"], ["updated_at", "2021-10-05 13:35:57.588579"]]
|
40427
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40428
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40429
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:35:57.589588"], ["updated_at", "2021-10-05 13:35:57.589588"]]
|
40430
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40431
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'LSlv583jEtkzqKKQEpgxwJwtGE8QT9Fce0k2qgAy') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
40432
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 2], ["id", 1], ["LIMIT", 1]]
|
40433
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 2]]
|
40434
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40435
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40436
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40437
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40438
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:35:57.592722"], ["updated_at", "2021-10-05 13:35:57.592722"]]
|
40439
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40440
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40441
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:35:57.593595"], ["updated_at", "2021-10-05 13:35:57.593595"]]
|
40442
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40443
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40444
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.594497"], ["claim_hash", "ih7KJokC6cseEsZfn2MadQsUqwdp3PwPC8fV9AB5"], ["created_at", "2021-10-05 13:35:57.594471"], ["updated_at", "2021-10-05 13:35:57.594471"]]
|
40445
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40446
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'THIS_IS_A_BAD_HASH') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
40447
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
40448
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 1]]
|
40449
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40450
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40451
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40452
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40453
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2021-10-05 13:35:57.597797"], ["updated_at", "2021-10-05 13:35:57.597797"]]
|
40454
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40455
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."invitable_id" = ? AND "invitations"."invitable_type" = ? AND (email = 'test@d-i.co')[0m [["invitable_id", 1], ["invitable_type", "Entity"]]
|
40456
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40457
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.599782"], ["claim_hash", "GsE55mkyhRUKkq5EmcjGruVv5YqxIrs7soMJD0Wf"], ["created_at", "2021-10-05 13:35:57.599760"], ["updated_at", "2021-10-05 13:35:57.599760"]]
|
40458
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40459
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40460
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40461
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40462
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40463
|
+
[1m[36mEntity Create (0.2ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2021-10-05 13:35:57.601972"], ["updated_at", "2021-10-05 13:35:57.601972"]]
|
40464
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40465
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40466
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:35:57.603254"], ["claim_hash", "8mV2FcO59QVQQeclFGu6b6XizGZNl9j6GqbkrfgK"], ["created_at", "2021-10-05 13:35:57.603228"], ["updated_at", "2021-10-05 13:35:57.603228"]]
|
40467
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40468
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."invitable_id" = ? AND "invitations"."invitable_type" = ? AND (email = 'test@d-i.co')[0m [["invitable_id", 1], ["invitable_type", "Entity"]]
|
40469
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40470
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40471
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40472
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40473
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2021-10-05 13:35:57.606288"], ["updated_at", "2021-10-05 13:35:57.606288"]]
|
40474
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40475
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40476
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:35:57.607295"], ["updated_at", "2021-10-05 13:35:57.607295"]]
|
40477
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40478
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
40479
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40480
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.608890"], ["date_accepted", "2021-10-05 13:35:57.608687"], ["claim_hash", "JDDh27OZ0NoBcz6AhdXc6hFMdtvj3W3s1GuqUDEk"], ["created_at", "2021-10-05 13:35:57.608868"], ["updated_at", "2021-10-05 13:35:57.608868"]]
|
40481
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40482
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40483
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40484
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40485
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40486
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2021-10-05 13:35:57.610975"], ["updated_at", "2021-10-05 13:35:57.610975"]]
|
40487
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40488
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40489
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:35:57.611857"], ["updated_at", "2021-10-05 13:35:57.611857"]]
|
40490
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40491
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40492
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.612774"], ["claim_hash", "EvoTrcYLAo5I1NHyfwGgEEo5b5Wxt2SA83dQF8JB"], ["created_at", "2021-10-05 13:35:57.612754"], ["updated_at", "2021-10-05 13:35:57.612754"]]
|
40493
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40494
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
40495
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40496
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40497
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40498
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'employer') AND (email = 'test@d-i.co')[0m
|
40499
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40500
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "employer"], ["date_sent", "2021-10-05 13:35:57.615899"], ["claim_hash", "qrHDirw6LXh13W32iim9QtQArhwulIlowOPNy58u"], ["created_at", "2021-10-05 13:35:57.615877"], ["updated_at", "2021-10-05 13:35:57.615877"]]
|
40501
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40502
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40503
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40504
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40505
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40506
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "employer"], ["date_sent", "2021-10-05 13:35:57.617938"], ["claim_hash", "OKZm8WCEATzr5E9Gm9gVndDfzDIpgx4nE4Qooyo4"], ["created_at", "2021-10-05 13:35:57.617916"], ["updated_at", "2021-10-05 13:35:57.617916"]]
|
40507
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40508
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'employer') AND (email = 'test@d-i.co')[0m
|
40509
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40510
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40511
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40512
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40513
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.620253"], ["updated_at", "2021-10-05 13:35:57.620253"]]
|
40514
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40515
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
40516
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40517
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.621976"], ["date_accepted", "2021-10-05 13:35:57.621779"], ["claim_hash", "xrJncJNo9dlPuUwKgyDictGizlqwSmpu9g14OCKP"], ["created_at", "2021-10-05 13:35:57.621953"], ["updated_at", "2021-10-05 13:35:57.621953"]]
|
40518
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40519
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40520
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40521
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40522
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40523
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.624112"], ["updated_at", "2021-10-05 13:35:57.624112"]]
|
40524
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40525
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40526
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.625081"], ["claim_hash", "ASB3FQOLYC4gneKvoUGRHL1UWEoQ5iWc8ldTTgsx"], ["created_at", "2021-10-05 13:35:57.625060"], ["updated_at", "2021-10-05 13:35:57.625060"]]
|
40527
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40528
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
40529
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40530
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40531
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40532
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND (email = 'test@d-i.co')[0m
|
40533
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40534
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "uberadmin"], ["date_sent", "2021-10-05 13:35:57.627971"], ["claim_hash", "dKDCFewfnhrOTUafcUNj83985G53pPnOOrWivuWn"], ["created_at", "2021-10-05 13:35:57.627952"], ["updated_at", "2021-10-05 13:35:57.627952"]]
|
40535
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40536
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40537
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40538
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40539
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40540
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "uberadmin"], ["date_sent", "2021-10-05 13:35:57.630373"], ["claim_hash", "wk5mM4oRlgYONqgSCjY5lqKhcRz3KbNYJC2jog1M"], ["created_at", "2021-10-05 13:35:57.630352"], ["updated_at", "2021-10-05 13:35:57.630352"]]
|
40541
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40542
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND (email = 'test@d-i.co')[0m
|
40543
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40544
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40545
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40546
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40547
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.632844"], ["updated_at", "2021-10-05 13:35:57.632844"]]
|
40548
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40549
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40550
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40551
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.634436"], ["date_accepted", "2021-10-05 13:35:57.634254"], ["claim_hash", "68iYEa5oDuvuTckutwm8QKWrSSxFxHFNj6YVqaXU"], ["created_at", "2021-10-05 13:35:57.634415"], ["updated_at", "2021-10-05 13:35:57.634415"]]
|
40552
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40553
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40554
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40555
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
40556
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40557
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:35:57.636824"], ["updated_at", "2021-10-05 13:35:57.636824"]]
|
40558
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40559
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40560
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:35:57.637878"], ["claim_hash", "PPDCblZtp0w6iQfP2rDx3CDcZusbowbBAcMmhU3J"], ["created_at", "2021-10-05 13:35:57.637857"], ["updated_at", "2021-10-05 13:35:57.637857"]]
|
40561
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40562
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40563
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40564
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
40565
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
40566
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
40567
|
+
[1m[35m (3.7ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
40568
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "grandparents"[0m
|
40569
|
+
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "grandparents" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
40570
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "entities"[0m
|
40571
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "entities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "grandparent_id" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
40572
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "children"[0m
|
40573
|
+
[1m[35m (2.3ms)[0m [1m[35mCREATE TABLE "children" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "entity_id" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
40574
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "other_entities"[0m
|
40575
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE TABLE "other_entities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
40576
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "system_things"[0m
|
40577
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "system_things" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
40578
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
40579
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
40580
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40581
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2021-10-05 13:36:12.535667"], ["updated_at", "2021-10-05 13:36:12.535667"]]
|
40582
|
+
[1m[36mTRANSACTION (1.4ms)[0m [1m[36mcommit transaction[0m
|
40583
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
40584
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
40585
|
+
Migrating to CreateInvitations (20130528220144)
|
40586
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40587
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE TABLE "invitations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "role" varchar, "invitable_type" varchar, "invitable_id" integer, "user_id" integer, "date_sent" datetime, "date_accepted" datetime, "claim_hash" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
40588
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_invitations_on_invitable_id" ON "invitations" ("invitable_id")[0m
|
40589
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_invitations_on_invitable_type" ON "invitations" ("invitable_type")[0m
|
40590
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_invitations_on_user_id" ON "invitations" ("user_id")[0m
|
40591
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130528220144"]]
|
40592
|
+
[1m[36mTRANSACTION (1.6ms)[0m [1m[36mcommit transaction[0m
|
40593
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
40594
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
40595
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40596
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40597
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:12.813791"], ["updated_at", "2021-10-05 13:36:12.813791"]]
|
40598
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40599
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40600
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:12.817870"], ["updated_at", "2021-10-05 13:36:12.817870"]]
|
40601
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40602
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40603
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:12.826760"], ["date_accepted", "2021-10-05 13:36:12.818688"], ["claim_hash", "EREMFuI9EFnGWFrISXlurLLZGrVxaE5WIlCRgFT3"], ["created_at", "2021-10-05 13:36:12.826717"], ["updated_at", "2021-10-05 13:36:12.826717"]]
|
40604
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40605
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40606
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:12.827996"], ["updated_at", "2021-10-05 13:36:12.827996"]]
|
40607
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40608
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40609
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:12.829033"], ["updated_at", "2021-10-05 13:36:12.829033"]]
|
40610
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40611
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40612
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:36:12.829995"], ["date_accepted", "2021-10-05 13:36:12.829669"], ["claim_hash", "oPItXphw1y0WXbVobvfkR42cPpr89Gj0OuntVEpt"], ["created_at", "2021-10-05 13:36:12.829977"], ["updated_at", "2021-10-05 13:36:12.829977"]]
|
40613
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40614
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40615
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:36:12.830882"], ["updated_at", "2021-10-05 13:36:12.830882"]]
|
40616
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40617
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40618
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:36:12.835632"], ["updated_at", "2021-10-05 13:36:12.835632"]]
|
40619
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40620
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40621
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:36:12.840655"], ["id", 2]]
|
40622
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40623
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40624
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:36:12.841929"], ["date_accepted", "2021-10-05 13:36:12.841556"], ["claim_hash", "mp57UYkaGYdRIAfdH24H3Nr5rII9PZRtH6rHLbvl"], ["created_at", "2021-10-05 13:36:12.841909"], ["updated_at", "2021-10-05 13:36:12.841909"]]
|
40625
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40626
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40627
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:12.842935"], ["updated_at", "2021-10-05 13:36:12.842935"]]
|
40628
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40629
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40630
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:36:12.843764"], ["claim_hash", "KAN27MdFVzY3PnjkPD27qb2dRn7ISzPviDTzqf0s"], ["created_at", "2021-10-05 13:36:12.843746"], ["updated_at", "2021-10-05 13:36:12.843746"]]
|
40631
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40632
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40633
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:12.844674"], ["updated_at", "2021-10-05 13:36:12.844674"]]
|
40634
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40635
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40636
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:36:12.845706"], ["claim_hash", "DgxKqmqkf3Qq4H5KlJvGx5PBezYvX2jOa1yr5dlt"], ["created_at", "2021-10-05 13:36:12.845687"], ["updated_at", "2021-10-05 13:36:12.845687"]]
|
40637
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40638
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40639
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
40640
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
40641
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40642
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
40643
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
40644
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40645
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
40646
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40647
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
40648
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40649
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40650
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40651
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:12.855311"], ["updated_at", "2021-10-05 13:36:12.855311"]]
|
40652
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40653
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40654
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:12.856335"], ["updated_at", "2021-10-05 13:36:12.856335"]]
|
40655
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40656
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40657
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:12.857361"], ["date_accepted", "2021-10-05 13:36:12.857020"], ["claim_hash", "SSjGMwNcIeEHcTZX7sDwUArfqJnjeHpj6iwNq9k9"], ["created_at", "2021-10-05 13:36:12.857339"], ["updated_at", "2021-10-05 13:36:12.857339"]]
|
40658
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40659
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40660
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:12.858291"], ["updated_at", "2021-10-05 13:36:12.858291"]]
|
40661
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40662
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40663
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:12.859030"], ["updated_at", "2021-10-05 13:36:12.859030"]]
|
40664
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40665
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40666
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:36:12.859902"], ["date_accepted", "2021-10-05 13:36:12.859620"], ["claim_hash", "RcnuqXyggbSfNZMZqHxtLdFxeAHBEmI5v4hnRVkD"], ["created_at", "2021-10-05 13:36:12.859884"], ["updated_at", "2021-10-05 13:36:12.859884"]]
|
40667
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40668
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40669
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:36:12.860776"], ["updated_at", "2021-10-05 13:36:12.860776"]]
|
40670
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40671
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40672
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:36:12.861651"], ["updated_at", "2021-10-05 13:36:12.861651"]]
|
40673
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40674
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40675
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:36:12.862732"], ["id", 2]]
|
40676
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40677
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40678
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:36:12.863708"], ["date_accepted", "2021-10-05 13:36:12.863372"], ["claim_hash", "NFPVS75FhlNoqFYhmcP45dIaxc8KGz0dSlBuUqKt"], ["created_at", "2021-10-05 13:36:12.863689"], ["updated_at", "2021-10-05 13:36:12.863689"]]
|
40679
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40680
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40681
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:12.864604"], ["updated_at", "2021-10-05 13:36:12.864604"]]
|
40682
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40683
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40684
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:36:12.865433"], ["claim_hash", "L8kJWHSdisSatxqWKMIhyuvMBz0NhDMsGgpPulb3"], ["created_at", "2021-10-05 13:36:12.865415"], ["updated_at", "2021-10-05 13:36:12.865415"]]
|
40685
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40686
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40687
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:12.866370"], ["updated_at", "2021-10-05 13:36:12.866370"]]
|
40688
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40689
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40690
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:36:12.867233"], ["claim_hash", "fuICcthP1YwdkgmP70rKP5goQroR6xv0Dqw8LhZn"], ["created_at", "2021-10-05 13:36:12.867215"], ["updated_at", "2021-10-05 13:36:12.867215"]]
|
40691
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40692
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40693
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
40694
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 2], ["LIMIT", 1]]
|
40695
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40696
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
40697
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 2], ["LIMIT", 1]]
|
40698
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40699
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
40700
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 2], ["LIMIT", 1]]
|
40701
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40702
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
40703
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40704
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
40705
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40706
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40707
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40708
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:12.873988"], ["updated_at", "2021-10-05 13:36:12.873988"]]
|
40709
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40710
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40711
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:12.875037"], ["updated_at", "2021-10-05 13:36:12.875037"]]
|
40712
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40713
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40714
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:12.876340"], ["date_accepted", "2021-10-05 13:36:12.875859"], ["claim_hash", "sG4TXKxxSB1MmrNwoXvM31VHB6K1EiwWQFZdTEvu"], ["created_at", "2021-10-05 13:36:12.876311"], ["updated_at", "2021-10-05 13:36:12.876311"]]
|
40715
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40716
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40717
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:12.877471"], ["updated_at", "2021-10-05 13:36:12.877471"]]
|
40718
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40719
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40720
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:12.878450"], ["updated_at", "2021-10-05 13:36:12.878450"]]
|
40721
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40722
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40723
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:36:12.879508"], ["date_accepted", "2021-10-05 13:36:12.879167"], ["claim_hash", "DQ4Sw7fQjLe70A9zLA3fRHiivYiYXdR0QdsP1Wik"], ["created_at", "2021-10-05 13:36:12.879490"], ["updated_at", "2021-10-05 13:36:12.879490"]]
|
40724
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40725
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40726
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:36:12.880426"], ["updated_at", "2021-10-05 13:36:12.880426"]]
|
40727
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40728
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40729
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:36:12.881239"], ["updated_at", "2021-10-05 13:36:12.881239"]]
|
40730
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40731
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40732
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:36:12.882678"], ["id", 2]]
|
40733
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40734
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40735
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:36:12.883769"], ["date_accepted", "2021-10-05 13:36:12.883416"], ["claim_hash", "eZcqR6xmvCmENJkXnSg96vK7IhdXY9mrdMsN9Udx"], ["created_at", "2021-10-05 13:36:12.883749"], ["updated_at", "2021-10-05 13:36:12.883749"]]
|
40736
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40737
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40738
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:12.884745"], ["updated_at", "2021-10-05 13:36:12.884745"]]
|
40739
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40740
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40741
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:36:12.885622"], ["claim_hash", "arKf55BJZ5m10dNMvyzBG9QnrozERWOVUQUjwy4F"], ["created_at", "2021-10-05 13:36:12.885604"], ["updated_at", "2021-10-05 13:36:12.885604"]]
|
40742
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40743
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40744
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:12.886569"], ["updated_at", "2021-10-05 13:36:12.886569"]]
|
40745
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40746
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40747
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:36:12.887479"], ["claim_hash", "fwJBNmFf0glI0wQREW7lloGbeQegjvR51CdHSFM9"], ["created_at", "2021-10-05 13:36:12.887461"], ["updated_at", "2021-10-05 13:36:12.887461"]]
|
40748
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40749
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40750
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
40751
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40752
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
40753
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
40754
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
40755
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40756
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
40757
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40758
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
40759
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40760
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
40761
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40762
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
40763
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40764
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:12.895126"], ["updated_at", "2021-10-05 13:36:12.895126"]]
|
40765
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40766
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40767
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:12.896330"], ["updated_at", "2021-10-05 13:36:12.896330"]]
|
40768
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40769
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40770
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:12.897379"], ["date_accepted", "2021-10-05 13:36:12.897018"], ["claim_hash", "fPlhQNPbuoq69UtafpUhjPEgVJI78r31X5wbarrd"], ["created_at", "2021-10-05 13:36:12.897359"], ["updated_at", "2021-10-05 13:36:12.897359"]]
|
40771
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40772
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40773
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:12.898349"], ["updated_at", "2021-10-05 13:36:12.898349"]]
|
40774
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40775
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40776
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:12.899103"], ["updated_at", "2021-10-05 13:36:12.899103"]]
|
40777
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40778
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40779
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:36:12.900010"], ["date_accepted", "2021-10-05 13:36:12.899723"], ["claim_hash", "FvCEU6qSe2gurEE19Cyin3WYkxzwMV0reAIEcHd7"], ["created_at", "2021-10-05 13:36:12.899992"], ["updated_at", "2021-10-05 13:36:12.899992"]]
|
40780
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40781
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40782
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:36:12.900906"], ["updated_at", "2021-10-05 13:36:12.900906"]]
|
40783
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40784
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40785
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:36:12.901676"], ["updated_at", "2021-10-05 13:36:12.901676"]]
|
40786
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40787
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40788
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:36:12.902651"], ["id", 2]]
|
40789
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40790
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40791
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:36:12.903610"], ["date_accepted", "2021-10-05 13:36:12.903302"], ["claim_hash", "IFbILmGTTbPpmEkmDphDQxGmnZDv0Qox8zxjPZdR"], ["created_at", "2021-10-05 13:36:12.903591"], ["updated_at", "2021-10-05 13:36:12.903591"]]
|
40792
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40793
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40794
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:12.904562"], ["updated_at", "2021-10-05 13:36:12.904562"]]
|
40795
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40796
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40797
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:36:12.905422"], ["claim_hash", "saVuUFSerZ6yRVD3toZmJvdyAnZ3CChhZdDeuvZr"], ["created_at", "2021-10-05 13:36:12.905404"], ["updated_at", "2021-10-05 13:36:12.905404"]]
|
40798
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40799
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40800
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:12.906267"], ["updated_at", "2021-10-05 13:36:12.906267"]]
|
40801
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40802
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40803
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:36:12.907086"], ["claim_hash", "BK3s5qrxzeTTyK8PAqZidUefQwfRQdKRtln2QuL6"], ["created_at", "2021-10-05 13:36:12.907068"], ["updated_at", "2021-10-05 13:36:12.907068"]]
|
40804
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40805
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40806
|
+
[1m[36mSystemThing Create (0.1ms)[0m [1m[32mINSERT INTO "system_things" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A System Object"], ["created_at", "2021-10-05 13:36:12.910254"], ["updated_at", "2021-10-05 13:36:12.910254"]]
|
40807
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40808
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 5]]
|
40809
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 5]]
|
40810
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40811
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40812
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40813
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:12.913759"], ["updated_at", "2021-10-05 13:36:12.913759"]]
|
40814
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40815
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40816
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:12.914853"], ["updated_at", "2021-10-05 13:36:12.914853"]]
|
40817
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40818
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40819
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:12.915858"], ["date_accepted", "2021-10-05 13:36:12.915510"], ["claim_hash", "kaRypJnJQNQY4jaT3rzwGt0MDsCn29YdVCfWfkZH"], ["created_at", "2021-10-05 13:36:12.915834"], ["updated_at", "2021-10-05 13:36:12.915834"]]
|
40820
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40821
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40822
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:12.916820"], ["updated_at", "2021-10-05 13:36:12.916820"]]
|
40823
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40824
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40825
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:12.917550"], ["updated_at", "2021-10-05 13:36:12.917550"]]
|
40826
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40827
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40828
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:36:12.918534"], ["date_accepted", "2021-10-05 13:36:12.918203"], ["claim_hash", "xFjqt3zME0FntuVtWqIi0ljc36EECddgBu8UoJDq"], ["created_at", "2021-10-05 13:36:12.918515"], ["updated_at", "2021-10-05 13:36:12.918515"]]
|
40829
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40830
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40831
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:36:12.919444"], ["updated_at", "2021-10-05 13:36:12.919444"]]
|
40832
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40833
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40834
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:36:12.920224"], ["updated_at", "2021-10-05 13:36:12.920224"]]
|
40835
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40836
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40837
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:36:12.921191"], ["id", 2]]
|
40838
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40839
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40840
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:36:12.922149"], ["date_accepted", "2021-10-05 13:36:12.921824"], ["claim_hash", "1l2nHz8eWvLLtNU8fcsheWx6mtP5RubKMomGHQNb"], ["created_at", "2021-10-05 13:36:12.922131"], ["updated_at", "2021-10-05 13:36:12.922131"]]
|
40841
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40842
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40843
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:12.923089"], ["updated_at", "2021-10-05 13:36:12.923089"]]
|
40844
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40845
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40846
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:36:12.923926"], ["claim_hash", "v7eqXrMxXncRKkAVOKEfM4FNL4KEMKhL5PbCt6iZ"], ["created_at", "2021-10-05 13:36:12.923904"], ["updated_at", "2021-10-05 13:36:12.923904"]]
|
40847
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40848
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40849
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:12.924799"], ["updated_at", "2021-10-05 13:36:12.924799"]]
|
40850
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40851
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40852
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:36:12.925694"], ["claim_hash", "Hd1rYqB7ga9AaYN4Yr23FCvenu4VvM9fnt5XkQzM"], ["created_at", "2021-10-05 13:36:12.925670"], ["updated_at", "2021-10-05 13:36:12.925670"]]
|
40853
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40854
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
40855
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
40856
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40857
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2021-10-05 13:36:12.931047"], ["updated_at", "2021-10-05 13:36:12.931047"]]
|
40858
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40859
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40860
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2021-10-05 13:36:12.932733"], ["id", 1]]
|
40861
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40862
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
40863
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40864
|
+
[1m[36mOtherEntity Create (0.1ms)[0m [1m[32mINSERT INTO "other_entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test other entity"], ["created_at", "2021-10-05 13:36:12.936279"], ["updated_at", "2021-10-05 13:36:12.936279"]]
|
40865
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40866
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
40867
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40868
|
+
[1m[36mSystemThing Create (0.1ms)[0m [1m[32mINSERT INTO "system_things" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A System Object"], ["created_at", "2021-10-05 13:36:12.937785"], ["updated_at", "2021-10-05 13:36:12.937785"]]
|
40869
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40870
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
40871
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40872
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40873
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40874
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:12.939949"], ["updated_at", "2021-10-05 13:36:12.939949"]]
|
40875
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40876
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40877
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:12.940910"], ["updated_at", "2021-10-05 13:36:12.940910"]]
|
40878
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40879
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40880
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:12.941890"], ["date_accepted", "2021-10-05 13:36:12.941550"], ["claim_hash", "LxZRk0gJXQ7x1AIZI4PmpA2FQCOqpV4y3NbWeMSy"], ["created_at", "2021-10-05 13:36:12.941871"], ["updated_at", "2021-10-05 13:36:12.941871"]]
|
40881
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40882
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40883
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:12.942938"], ["updated_at", "2021-10-05 13:36:12.942938"]]
|
40884
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40885
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40886
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:12.943844"], ["updated_at", "2021-10-05 13:36:12.943844"]]
|
40887
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40888
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40889
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:36:12.945138"], ["date_accepted", "2021-10-05 13:36:12.944656"], ["claim_hash", "F1llCBqkNOQZ4mDDx1V3vlPU5yRGR081AUsTtZ1p"], ["created_at", "2021-10-05 13:36:12.945115"], ["updated_at", "2021-10-05 13:36:12.945115"]]
|
40890
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40891
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40892
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:36:12.946282"], ["updated_at", "2021-10-05 13:36:12.946282"]]
|
40893
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40894
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40895
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:36:12.947277"], ["updated_at", "2021-10-05 13:36:12.947277"]]
|
40896
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40897
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40898
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:36:12.948498"], ["id", 2]]
|
40899
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40900
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40901
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:36:12.949530"], ["date_accepted", "2021-10-05 13:36:12.949176"], ["claim_hash", "ewphkF5EOIfZavwlXAJja6R6jykcikrtWem1iWlG"], ["created_at", "2021-10-05 13:36:12.949511"], ["updated_at", "2021-10-05 13:36:12.949511"]]
|
40902
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40903
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40904
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:12.950451"], ["updated_at", "2021-10-05 13:36:12.950451"]]
|
40905
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40906
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40907
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:36:12.951277"], ["claim_hash", "iR7U2f3XAbeqwwjwGJFccxEy1gMZus3xadViNVXV"], ["created_at", "2021-10-05 13:36:12.951259"], ["updated_at", "2021-10-05 13:36:12.951259"]]
|
40908
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40909
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40910
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:12.952113"], ["updated_at", "2021-10-05 13:36:12.952113"]]
|
40911
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40912
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40913
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:36:12.952925"], ["claim_hash", "Urp15qCEDehJsajdf1WIQlSRx2vXEXZQ7n3M1gk0"], ["created_at", "2021-10-05 13:36:12.952908"], ["updated_at", "2021-10-05 13:36:12.952908"]]
|
40914
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40915
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40916
|
+
[1m[36mOtherEntity Create (0.1ms)[0m [1m[32mINSERT INTO "other_entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test other entity"], ["created_at", "2021-10-05 13:36:12.953949"], ["updated_at", "2021-10-05 13:36:12.953949"]]
|
40917
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40918
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
40919
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40920
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40921
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40922
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:12.956400"], ["updated_at", "2021-10-05 13:36:12.956400"]]
|
40923
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40924
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40925
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:12.957351"], ["updated_at", "2021-10-05 13:36:12.957351"]]
|
40926
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40927
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40928
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:12.958345"], ["date_accepted", "2021-10-05 13:36:12.958009"], ["claim_hash", "Yfky9pkP2RXzLuBF7moYCCj7ohCA1P7S8MJJ72xn"], ["created_at", "2021-10-05 13:36:12.958320"], ["updated_at", "2021-10-05 13:36:12.958320"]]
|
40929
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40930
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40931
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:12.959298"], ["updated_at", "2021-10-05 13:36:12.959298"]]
|
40932
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40933
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40934
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:12.960058"], ["updated_at", "2021-10-05 13:36:12.960058"]]
|
40935
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40936
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40937
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:36:12.960972"], ["date_accepted", "2021-10-05 13:36:12.960672"], ["claim_hash", "L1kJmCQJ9YTHFUXDqhPHcDR6g192Rj1YDWwtVONv"], ["created_at", "2021-10-05 13:36:12.960954"], ["updated_at", "2021-10-05 13:36:12.960954"]]
|
40938
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40939
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40940
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:36:12.961972"], ["updated_at", "2021-10-05 13:36:12.961972"]]
|
40941
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40942
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40943
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:36:12.962955"], ["updated_at", "2021-10-05 13:36:12.962955"]]
|
40944
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40945
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40946
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:36:12.964116"], ["id", 2]]
|
40947
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40948
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40949
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:36:12.965128"], ["date_accepted", "2021-10-05 13:36:12.964782"], ["claim_hash", "bvtwbffkQh1jzgz6DSFXL2ogZhCc9U2X4a8aJ6fu"], ["created_at", "2021-10-05 13:36:12.965109"], ["updated_at", "2021-10-05 13:36:12.965109"]]
|
40950
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40951
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40952
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:12.966054"], ["updated_at", "2021-10-05 13:36:12.966054"]]
|
40953
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40954
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40955
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:36:12.966892"], ["claim_hash", "Kgvg5wMToX871XUNX7iwodWM51UdZAL9xIjDAO9e"], ["created_at", "2021-10-05 13:36:12.966874"], ["updated_at", "2021-10-05 13:36:12.966874"]]
|
40956
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40957
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40958
|
+
[1m[36mUser Create (0.0ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:12.967683"], ["updated_at", "2021-10-05 13:36:12.967683"]]
|
40959
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40960
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40961
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:36:12.968481"], ["claim_hash", "605C0Yb1ChGDuGfaJAnkujXJHBrMPXDmlpmZ1F1C"], ["created_at", "2021-10-05 13:36:12.968464"], ["updated_at", "2021-10-05 13:36:12.968464"]]
|
40962
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40963
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40964
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2021-10-05 13:36:12.969492"], ["updated_at", "2021-10-05 13:36:12.969492"]]
|
40965
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40966
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40967
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2021-10-05 13:36:12.970378"], ["id", 1]]
|
40968
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40969
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40970
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 2]]
|
40971
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
40972
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
40973
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 2], ["LIMIT", 1]]
|
40974
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
40975
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
40976
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40977
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:12.974045"], ["updated_at", "2021-10-05 13:36:12.974045"]]
|
40978
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40979
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40980
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:12.975239"], ["updated_at", "2021-10-05 13:36:12.975239"]]
|
40981
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40982
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40983
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:12.976463"], ["date_accepted", "2021-10-05 13:36:12.976045"], ["claim_hash", "cK1OSzRW2WOqa1pQhcHmhisfGZWRGBzqmNumnNRX"], ["created_at", "2021-10-05 13:36:12.976442"], ["updated_at", "2021-10-05 13:36:12.976442"]]
|
40984
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40985
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40986
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:12.977754"], ["updated_at", "2021-10-05 13:36:12.977754"]]
|
40987
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40988
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40989
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:12.978780"], ["updated_at", "2021-10-05 13:36:12.978780"]]
|
40990
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40991
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40992
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:36:12.979840"], ["date_accepted", "2021-10-05 13:36:12.979499"], ["claim_hash", "gM3Tmyit36p9Fx8SHHJhmwPg5ZjljzxsaXG50zii"], ["created_at", "2021-10-05 13:36:12.979821"], ["updated_at", "2021-10-05 13:36:12.979821"]]
|
40993
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40994
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40995
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:36:12.980797"], ["updated_at", "2021-10-05 13:36:12.980797"]]
|
40996
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
40997
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
40998
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:36:12.981566"], ["updated_at", "2021-10-05 13:36:12.981566"]]
|
40999
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41000
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41001
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:36:12.982548"], ["id", 2]]
|
41002
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41003
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41004
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:36:12.983525"], ["date_accepted", "2021-10-05 13:36:12.983183"], ["claim_hash", "7wZxc6bAvdOcXYquYiAyy3f7QbbTQlzx45GOz9pR"], ["created_at", "2021-10-05 13:36:12.983506"], ["updated_at", "2021-10-05 13:36:12.983506"]]
|
41005
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41006
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41007
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:12.984439"], ["updated_at", "2021-10-05 13:36:12.984439"]]
|
41008
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41009
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41010
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:36:12.985251"], ["claim_hash", "lKZ89MSeEImGEFNeQYarYWeexeICDm5HtVLyBi1H"], ["created_at", "2021-10-05 13:36:12.985234"], ["updated_at", "2021-10-05 13:36:12.985234"]]
|
41011
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41012
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41013
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:12.986091"], ["updated_at", "2021-10-05 13:36:12.986091"]]
|
41014
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41015
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41016
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:36:12.986875"], ["claim_hash", "HJjDkuhjCWB3sCBtKhfjFwFh3oyvRdY0zyI9kmP3"], ["created_at", "2021-10-05 13:36:12.986858"], ["updated_at", "2021-10-05 13:36:12.986858"]]
|
41017
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41018
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41019
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2021-10-05 13:36:12.987873"], ["updated_at", "2021-10-05 13:36:12.987873"]]
|
41020
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41021
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41022
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2021-10-05 13:36:12.988804"], ["id", 1]]
|
41023
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41024
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
41025
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 3]]
|
41026
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
41027
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 3]]
|
41028
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
41029
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 3]]
|
41030
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
41031
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Grandparent' AND invitable_id = 1)[0m [["user_id", 3]]
|
41032
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Grandparent' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 3], ["LIMIT", 1]]
|
41033
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41034
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41035
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41036
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:12.993801"], ["updated_at", "2021-10-05 13:36:12.993801"]]
|
41037
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41038
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41039
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:12.994869"], ["updated_at", "2021-10-05 13:36:12.994869"]]
|
41040
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41041
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41042
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:12.996049"], ["date_accepted", "2021-10-05 13:36:12.995676"], ["claim_hash", "HthfrBNcTjuzerRJbW5y7PuDd7faFF47FF79lgGB"], ["created_at", "2021-10-05 13:36:12.996029"], ["updated_at", "2021-10-05 13:36:12.996029"]]
|
41043
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41044
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41045
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:12.997031"], ["updated_at", "2021-10-05 13:36:12.997031"]]
|
41046
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41047
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41048
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:12.997781"], ["updated_at", "2021-10-05 13:36:12.997781"]]
|
41049
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41050
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41051
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:36:12.998664"], ["date_accepted", "2021-10-05 13:36:12.998383"], ["claim_hash", "eR8HxCJU4Fv08gzc58JEYMmGsWuW4436Gp5xjBti"], ["created_at", "2021-10-05 13:36:12.998647"], ["updated_at", "2021-10-05 13:36:12.998647"]]
|
41052
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41053
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41054
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-10-05 13:36:12.999533"], ["updated_at", "2021-10-05 13:36:12.999533"]]
|
41055
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41056
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41057
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-10-05 13:36:13.000289"], ["updated_at", "2021-10-05 13:36:13.000289"]]
|
41058
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41059
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41060
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-10-05 13:36:13.001284"], ["id", 2]]
|
41061
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41062
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41063
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-10-05 13:36:13.002242"], ["date_accepted", "2021-10-05 13:36:13.001926"], ["claim_hash", "RxZgLMfzbTubtki9ZMCRLgSgky03ERJisGJO6cGj"], ["created_at", "2021-10-05 13:36:13.002224"], ["updated_at", "2021-10-05 13:36:13.002224"]]
|
41064
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41065
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41066
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.003150"], ["updated_at", "2021-10-05 13:36:13.003150"]]
|
41067
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41068
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41069
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-10-05 13:36:13.003994"], ["claim_hash", "hzQyI91IOp502dpyoukJ0QYB56GN8fnJ6MDxsfry"], ["created_at", "2021-10-05 13:36:13.003977"], ["updated_at", "2021-10-05 13:36:13.003977"]]
|
41070
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41071
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41072
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:13.004828"], ["updated_at", "2021-10-05 13:36:13.004828"]]
|
41073
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41074
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41075
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-10-05 13:36:13.005841"], ["claim_hash", "0Oyf6DtGXsTOLZtOQbT9YEEOh4zhh4tl4JFedcrx"], ["created_at", "2021-10-05 13:36:13.005819"], ["updated_at", "2021-10-05 13:36:13.005819"]]
|
41076
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41077
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41078
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2021-10-05 13:36:13.006978"], ["updated_at", "2021-10-05 13:36:13.006978"]]
|
41079
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41080
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41081
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2021-10-05 13:36:13.007967"], ["id", 1]]
|
41082
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41083
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41084
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 1]]
|
41085
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41086
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
41087
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41088
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
41089
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41090
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Grandparent' AND invitable_id = 1)[0m [["user_id", 1]]
|
41091
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41092
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 1]]
|
41093
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41094
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
41095
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41096
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
41097
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41098
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Grandparent' AND invitable_id = 1)[0m [["user_id", 1]]
|
41099
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41100
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41101
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41102
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41103
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.016269"], ["updated_at", "2021-10-05 13:36:13.016269"]]
|
41104
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41105
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41106
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.017366"], ["updated_at", "2021-10-05 13:36:13.017366"]]
|
41107
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41108
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41109
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.018453"], ["date_accepted", "2021-10-05 13:36:13.018072"], ["claim_hash", "y4TjP52Epk6SNzZ18iRVezpivTlsGwTc3XCIEi7j"], ["created_at", "2021-10-05 13:36:13.018429"], ["updated_at", "2021-10-05 13:36:13.018429"]]
|
41110
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41111
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "users"."id" = "invitations"."user_id" WHERE "invitations"."invitable_id" = ? AND "invitations"."invitable_type" = ? AND (invitations.role = 'admin') AND "users"."id" = ? LIMIT ?[0m [["invitable_id", 1], ["invitable_type", "Entity"], ["id", 1], ["LIMIT", 1]]
|
41112
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41113
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41114
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41115
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41116
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.026597"], ["updated_at", "2021-10-05 13:36:13.026597"]]
|
41117
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41118
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41119
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.027586"], ["updated_at", "2021-10-05 13:36:13.027586"]]
|
41120
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41121
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
41122
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41123
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.029422"], ["date_accepted", "2021-10-05 13:36:13.029194"], ["claim_hash", "zERw5Mc2qvNP5rfcKU6xc71lbayhuSCd5baoYLpB"], ["created_at", "2021-10-05 13:36:13.029395"], ["updated_at", "2021-10-05 13:36:13.029395"]]
|
41124
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41125
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41126
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41127
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41128
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41129
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.031596"], ["updated_at", "2021-10-05 13:36:13.031596"]]
|
41130
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41131
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41132
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.032526"], ["updated_at", "2021-10-05 13:36:13.032526"]]
|
41133
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41134
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41135
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.033513"], ["date_accepted", "2021-10-05 13:36:13.033178"], ["claim_hash", "58lScKCbrQekrOSOqqV1AyZqycAyUJWOWO2iE0qy"], ["created_at", "2021-10-05 13:36:13.033495"], ["updated_at", "2021-10-05 13:36:13.033495"]]
|
41136
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41137
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
41138
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41139
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41140
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41141
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41142
|
+
[1m[36mEntity Create (0.2ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.036442"], ["updated_at", "2021-10-05 13:36:13.036442"]]
|
41143
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41144
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41145
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.037973"], ["updated_at", "2021-10-05 13:36:13.037973"]]
|
41146
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41147
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41148
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41149
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41150
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41151
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.040281"], ["updated_at", "2021-10-05 13:36:13.040281"]]
|
41152
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41153
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41154
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.041247"], ["updated_at", "2021-10-05 13:36:13.041247"]]
|
41155
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41156
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41157
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.042351"], ["date_accepted", "2021-10-05 13:36:13.041972"], ["claim_hash", "L7HvqZxLZWKYefMPmIS9bWHd8AABYLVVTvNh3XPb"], ["created_at", "2021-10-05 13:36:13.042330"], ["updated_at", "2021-10-05 13:36:13.042330"]]
|
41158
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41159
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41160
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."invitable_id" = ? AND "invitations"."invitable_type" = ?[0m [["invitable_id", 1], ["invitable_type", "Entity"]]
|
41161
|
+
[1m[36mInvitation Destroy (0.1ms)[0m [1m[31mDELETE FROM "invitations" WHERE "invitations"."id" = ?[0m [["id", 1]]
|
41162
|
+
[1m[36mEntity Destroy (0.1ms)[0m [1m[31mDELETE FROM "entities" WHERE "entities"."id" = ?[0m [["id", 1]]
|
41163
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41164
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
41165
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41166
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41167
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41168
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41169
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.047238"], ["updated_at", "2021-10-05 13:36:13.047238"]]
|
41170
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41171
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41172
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test999@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.048377"], ["claim_hash", "WWcWvyLQRTJWfYx21TOuLZjfLzG09mDDJMgmDZlL"], ["created_at", "2021-10-05 13:36:13.048355"], ["updated_at", "2021-10-05 13:36:13.048355"]]
|
41173
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41174
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41175
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41176
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41177
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41178
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.050321"], ["updated_at", "2021-10-05 13:36:13.050321"]]
|
41179
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41180
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41181
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test999@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.051343"], ["claim_hash", "kNGddQJM7oWl7QA7PMlg9lBmdP9R7f03087LTNav"], ["created_at", "2021-10-05 13:36:13.051324"], ["updated_at", "2021-10-05 13:36:13.051324"]]
|
41182
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41183
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41184
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:13.052286"], ["updated_at", "2021-10-05 13:36:13.052286"]]
|
41185
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41186
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41187
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test999@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 2], ["date_sent", "2021-10-05 13:36:13.053160"], ["claim_hash", "HfpgUUdE5T4sk7W0xIJcfiYs1uVSyOR5fR9ysaQy"], ["created_at", "2021-10-05 13:36:13.053142"], ["updated_at", "2021-10-05 13:36:13.053142"]]
|
41188
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41189
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41190
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41191
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41192
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41193
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.055177"], ["updated_at", "2021-10-05 13:36:13.055177"]]
|
41194
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41195
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41196
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.056137"], ["updated_at", "2021-10-05 13:36:13.056137"]]
|
41197
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41198
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41199
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.057054"], ["claim_hash", "G17UFETYIrEH8BKSc6vtboDYQFzpX0NUdjoQVETW"], ["created_at", "2021-10-05 13:36:13.057036"], ["updated_at", "2021-10-05 13:36:13.057036"]]
|
41200
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41201
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41202
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41203
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41204
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41205
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.059028"], ["updated_at", "2021-10-05 13:36:13.059028"]]
|
41206
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41207
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41208
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.059994"], ["claim_hash", "L8UqTKAxBzQuoK96epv0DN6tWENYOYwK1BOmI1tB"], ["created_at", "2021-10-05 13:36:13.059974"], ["updated_at", "2021-10-05 13:36:13.059974"]]
|
41209
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41210
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41211
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41212
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41213
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41214
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.070585"], ["updated_at", "2021-10-05 13:36:13.070585"]]
|
41215
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41216
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41217
|
+
[1m[36mEntity Create (1.5ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.071649"], ["updated_at", "2021-10-05 13:36:13.071649"]]
|
41218
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41219
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41220
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.074227"], ["claim_hash", "wgvAHxLrpL6L3XPVDxyrQnxXXiD3ELllP6g1Yrdf"], ["created_at", "2021-10-05 13:36:13.074197"], ["updated_at", "2021-10-05 13:36:13.074197"]]
|
41221
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41222
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41223
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.075369"], ["updated_at", "2021-10-05 13:36:13.075369"]]
|
41224
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41225
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41226
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:13.076298"], ["updated_at", "2021-10-05 13:36:13.076298"]]
|
41227
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41228
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41229
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-10-05 13:36:13.077426"], ["date_accepted", "2021-10-05 13:36:13.077053"], ["claim_hash", "zE5aUXuGrmW988T2HiML6hBdxXzisbZ2nU4hY6HF"], ["created_at", "2021-10-05 13:36:13.077406"], ["updated_at", "2021-10-05 13:36:13.077406"]]
|
41230
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41231
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41232
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41233
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41234
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41235
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.079655"], ["updated_at", "2021-10-05 13:36:13.079655"]]
|
41236
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41237
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41238
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.080829"], ["claim_hash", "i05KiM3lX4XA1TAxTwV4ZCdPTx0GnJaKzgPUzXc7"], ["created_at", "2021-10-05 13:36:13.080795"], ["updated_at", "2021-10-05 13:36:13.080795"]]
|
41239
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41240
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41241
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
41242
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41243
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41244
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.083457"], ["updated_at", "2021-10-05 13:36:13.083457"]]
|
41245
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41246
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41247
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.084671"], ["updated_at", "2021-10-05 13:36:13.084671"]]
|
41248
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41249
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41250
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.085812"], ["claim_hash", "mpg2BO13Dy29WAYm1FhRQmDUPzY3rKXt0ZXDZfLQ"], ["created_at", "2021-10-05 13:36:13.085790"], ["updated_at", "2021-10-05 13:36:13.085790"]]
|
41251
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41252
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41253
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41254
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41255
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41256
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.087900"], ["updated_at", "2021-10-05 13:36:13.087900"]]
|
41257
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41258
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41259
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:13.088875"], ["updated_at", "2021-10-05 13:36:13.088875"]]
|
41260
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41261
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41262
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.089897"], ["date_accepted", "2021-10-05 13:36:13.089541"], ["claim_hash", "ziTsqdOYAPDkgWbGeOZT2lDSo7TLRHtLI7Hus8ar"], ["created_at", "2021-10-05 13:36:13.089877"], ["updated_at", "2021-10-05 13:36:13.089877"]]
|
41263
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41264
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41265
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41266
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41267
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41268
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.092040"], ["updated_at", "2021-10-05 13:36:13.092040"]]
|
41269
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41270
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41271
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.092977"], ["updated_at", "2021-10-05 13:36:13.092977"]]
|
41272
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41273
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41274
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.093889"], ["claim_hash", "C1Akn30qARPLZoIHnCi54rP1P5Pq5sHzgAspBEUh"], ["created_at", "2021-10-05 13:36:13.093870"], ["updated_at", "2021-10-05 13:36:13.093870"]]
|
41275
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41276
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'C1Akn30qARPLZoIHnCi54rP1P5Pq5sHzgAspBEUh') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
41277
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41278
|
+
[1m[36mEntity Load (0.1ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
41279
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-10-05 13:36:13.095180"], ["updated_at", "2021-10-05 13:36:13.096326"], ["id", 1]]
|
41280
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41281
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
41282
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41283
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41284
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41285
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41286
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:13.099283"], ["updated_at", "2021-10-05 13:36:13.099283"]]
|
41287
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41288
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41289
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 3"], ["created_at", "2021-10-05 13:36:13.100331"], ["updated_at", "2021-10-05 13:36:13.100331"]]
|
41290
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41291
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41292
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.101270"], ["claim_hash", "8gL1BlDEUzcnsPDynYTGt21NAOEhtdvJxu8H2zjx"], ["created_at", "2021-10-05 13:36:13.101250"], ["updated_at", "2021-10-05 13:36:13.101250"]]
|
41293
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41294
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (email = 'test4@d-i.co' AND user_id IS NULL)[0m
|
41295
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41296
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
41297
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-10-05 13:36:13.102398"], ["updated_at", "2021-10-05 13:36:13.103098"], ["id", 1]]
|
41298
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41299
|
+
[1m[36mEntity Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "entities" INNER JOIN "invitations" ON "entities"."id" = "invitations"."invitable_id" WHERE "invitations"."user_id" = ? AND "invitations"."invitable_type" = ? AND "entities"."id" = ? LIMIT ?[0m [["user_id", 1], ["invitable_type", "Entity"], ["id", 1], ["LIMIT", 1]]
|
41300
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41301
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41302
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41303
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41304
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:13.106123"], ["updated_at", "2021-10-05 13:36:13.106123"]]
|
41305
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41306
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND (email = 'test4@d-i.co')[0m
|
41307
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41308
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "uberadmin"], ["date_sent", "2021-10-05 13:36:13.107457"], ["claim_hash", "pFxjKX4EXrgJmoDSJg29sdHP2HEaFw8GzXxjQkjc"], ["created_at", "2021-10-05 13:36:13.107436"], ["updated_at", "2021-10-05 13:36:13.107436"]]
|
41309
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41310
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41311
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41312
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41313
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41314
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:13.109654"], ["updated_at", "2021-10-05 13:36:13.109654"]]
|
41315
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41316
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41317
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41318
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.111413"], ["date_accepted", "2021-10-05 13:36:13.111233"], ["claim_hash", "aCJmOta1maSEvs2HFrJgY41NoB5M4MRfCpORDYLn"], ["created_at", "2021-10-05 13:36:13.111392"], ["updated_at", "2021-10-05 13:36:13.111392"]]
|
41319
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41320
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41321
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41322
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41323
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41324
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:13.113741"], ["updated_at", "2021-10-05 13:36:13.113741"]]
|
41325
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41326
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41327
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.114775"], ["claim_hash", "aVAXmPJvVwWycclHkHjz4yg0Kxz0ovlXQfWAj6FD"], ["created_at", "2021-10-05 13:36:13.114755"], ["updated_at", "2021-10-05 13:36:13.114755"]]
|
41328
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41329
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41330
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41331
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41332
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41333
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41334
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:13.117308"], ["updated_at", "2021-10-05 13:36:13.117308"]]
|
41335
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41336
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'employer') AND (email = 'test4@d-i.co')[0m
|
41337
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41338
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["date_sent", "2021-10-05 13:36:13.118594"], ["claim_hash", "hTvMWWmgsNoMt4R2z0wKIl9FTEUNZWO4seKuoVUE"], ["created_at", "2021-10-05 13:36:13.118576"], ["updated_at", "2021-10-05 13:36:13.118576"]]
|
41339
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41340
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41341
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41342
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41343
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41344
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:13.120496"], ["updated_at", "2021-10-05 13:36:13.120496"]]
|
41345
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41346
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
41347
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41348
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.122061"], ["date_accepted", "2021-10-05 13:36:13.121891"], ["claim_hash", "mhtKk3HxAvA53HxQVdv41CeSWrlBcDenM0gz5Orv"], ["created_at", "2021-10-05 13:36:13.122040"], ["updated_at", "2021-10-05 13:36:13.122040"]]
|
41349
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41350
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41351
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41352
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41353
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41354
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-10-05 13:36:13.124176"], ["updated_at", "2021-10-05 13:36:13.124176"]]
|
41355
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41356
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41357
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.125176"], ["claim_hash", "PhGbpLOCKIBWl8jrI19vCoCGqYvgYgayaFvjEN6t"], ["created_at", "2021-10-05 13:36:13.125156"], ["updated_at", "2021-10-05 13:36:13.125156"]]
|
41358
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41359
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
41360
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41361
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41362
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41363
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41364
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.127822"], ["updated_at", "2021-10-05 13:36:13.127822"]]
|
41365
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41366
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41367
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.128921"], ["updated_at", "2021-10-05 13:36:13.128921"]]
|
41368
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41369
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41370
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.130294"], ["date_accepted", "2021-10-05 13:36:13.129884"], ["claim_hash", "Ixlhru0t0WfM7imuGYedI7RJWqcFbr548fVQeuVP"], ["created_at", "2021-10-05 13:36:13.130273"], ["updated_at", "2021-10-05 13:36:13.130273"]]
|
41371
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41372
|
+
[1m[36mEntity Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "entities" INNER JOIN "invitations" ON "entities"."id" = "invitations"."invitable_id" WHERE "invitations"."user_id" = ? AND "invitations"."invitable_type" = ? AND "entities"."id" = ? LIMIT ?[0m [["user_id", 1], ["invitable_type", "Entity"], ["id", 1], ["LIMIT", 1]]
|
41373
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "children" INNER JOIN "invitations" ON "children"."id" = "invitations"."invitable_id" WHERE "invitations"."user_id" = ? AND "invitations"."invitable_type" = ?[0m [["user_id", 1], ["invitable_type", "Child"]]
|
41374
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41375
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41376
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41377
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41378
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.135504"], ["updated_at", "2021-10-05 13:36:13.135504"]]
|
41379
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41380
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41381
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.136567"], ["claim_hash", "Wk7CB3bYiliL7VhYsb2vO24Q6pWSRocYuBwQ13Wm"], ["created_at", "2021-10-05 13:36:13.136547"], ["updated_at", "2021-10-05 13:36:13.136547"]]
|
41382
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41383
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41384
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41385
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41386
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41387
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41388
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.138984"], ["updated_at", "2021-10-05 13:36:13.138984"]]
|
41389
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41390
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41391
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.139883"], ["updated_at", "2021-10-05 13:36:13.139883"]]
|
41392
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41393
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41394
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.140853"], ["date_accepted", "2021-10-05 13:36:13.140530"], ["claim_hash", "mWL0GMZqemRtBJkRln7UG4MEB5DEqm87auHT3tIl"], ["created_at", "2021-10-05 13:36:13.140834"], ["updated_at", "2021-10-05 13:36:13.140834"]]
|
41395
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41396
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41397
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41398
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41399
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41400
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41401
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.143586"], ["updated_at", "2021-10-05 13:36:13.143586"]]
|
41402
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41403
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41404
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.144717"], ["claim_hash", "y72jRDflcwCsquOOrD6alMks9rtgXs86febJI7vN"], ["created_at", "2021-10-05 13:36:13.144697"], ["updated_at", "2021-10-05 13:36:13.144697"]]
|
41405
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41406
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
41407
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41408
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41409
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41410
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41411
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.147529"], ["updated_at", "2021-10-05 13:36:13.147529"]]
|
41412
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41413
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41414
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.148487"], ["updated_at", "2021-10-05 13:36:13.148487"]]
|
41415
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41416
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41417
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.149458"], ["date_accepted", "2021-10-05 13:36:13.149123"], ["claim_hash", "bWrcmVyS0fnwvuQCg31A33ZXB322UhZXOBqTJo6c"], ["created_at", "2021-10-05 13:36:13.149439"], ["updated_at", "2021-10-05 13:36:13.149439"]]
|
41418
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41419
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
41420
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41421
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41422
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41423
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41424
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.152000"], ["updated_at", "2021-10-05 13:36:13.152000"]]
|
41425
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41426
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41427
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.152903"], ["updated_at", "2021-10-05 13:36:13.152903"]]
|
41428
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41429
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41430
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.153850"], ["date_accepted", "2021-10-05 13:36:13.153525"], ["claim_hash", "m6YtcaVz07D4j9Ccwih36mJRMuQ0Y4D3NqAfqfz8"], ["created_at", "2021-10-05 13:36:13.153826"], ["updated_at", "2021-10-05 13:36:13.153826"]]
|
41431
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41432
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41433
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
41434
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41435
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41436
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41437
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41438
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.156845"], ["updated_at", "2021-10-05 13:36:13.156845"]]
|
41439
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41440
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41441
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.157775"], ["updated_at", "2021-10-05 13:36:13.157775"]]
|
41442
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41443
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41444
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.158748"], ["date_accepted", "2021-10-05 13:36:13.158415"], ["claim_hash", "bVWBOsQCjKKLqKtahwgEnBEnHzhkjvzZlpE7398h"], ["created_at", "2021-10-05 13:36:13.158730"], ["updated_at", "2021-10-05 13:36:13.158730"]]
|
41445
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41446
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41447
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.159742"], ["updated_at", "2021-10-05 13:36:13.159742"]]
|
41448
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41449
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
41450
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
41451
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41452
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41453
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41454
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41455
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.163243"], ["updated_at", "2021-10-05 13:36:13.163243"]]
|
41456
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41457
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41458
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.164357"], ["updated_at", "2021-10-05 13:36:13.164357"]]
|
41459
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41460
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41461
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.165415"], ["date_accepted", "2021-10-05 13:36:13.165059"], ["claim_hash", "AhGUf3bQNygHBJtdvZ97gysr0AbndJTjGAlbCARk"], ["created_at", "2021-10-05 13:36:13.165396"], ["updated_at", "2021-10-05 13:36:13.165396"]]
|
41462
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41463
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41464
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
41465
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
41466
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41467
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41468
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41469
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41470
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.169168"], ["updated_at", "2021-10-05 13:36:13.169168"]]
|
41471
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41472
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41473
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.170117"], ["updated_at", "2021-10-05 13:36:13.170117"]]
|
41474
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41475
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41476
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.171112"], ["date_accepted", "2021-10-05 13:36:13.170775"], ["claim_hash", "QMDqVWp1PFk5KFfsOB5d8XfFnH5tpI1jqWQmM7Ap"], ["created_at", "2021-10-05 13:36:13.171092"], ["updated_at", "2021-10-05 13:36:13.171092"]]
|
41477
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41478
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41479
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.172158"], ["updated_at", "2021-10-05 13:36:13.172158"]]
|
41480
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41481
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
41482
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
41483
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41484
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41485
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41486
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41487
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.174819"], ["updated_at", "2021-10-05 13:36:13.174819"]]
|
41488
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41489
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41490
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.175693"], ["updated_at", "2021-10-05 13:36:13.175693"]]
|
41491
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41492
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41493
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.176668"], ["date_accepted", "2021-10-05 13:36:13.176332"], ["claim_hash", "e3e5VqLC4QtM2x5mJ6bAH9yeSteXWKhoR7YPP0dg"], ["created_at", "2021-10-05 13:36:13.176646"], ["updated_at", "2021-10-05 13:36:13.176646"]]
|
41494
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41495
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41496
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
41497
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
41498
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41499
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41500
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41501
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41502
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.180236"], ["updated_at", "2021-10-05 13:36:13.180236"]]
|
41503
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41504
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41505
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.181215"], ["updated_at", "2021-10-05 13:36:13.181215"]]
|
41506
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41507
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41508
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.182176"], ["date_accepted", "2021-10-05 13:36:13.181848"], ["claim_hash", "OeDvvKfsZlvSarfJdAgmiFUInlQtdVkUxufntKko"], ["created_at", "2021-10-05 13:36:13.182157"], ["updated_at", "2021-10-05 13:36:13.182157"]]
|
41509
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41510
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41511
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 1]]
|
41512
|
+
[1m[36mInvitation Destroy (0.1ms)[0m [1m[31mDELETE FROM "invitations" WHERE "invitations"."id" = ?[0m [["id", 1]]
|
41513
|
+
[1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
41514
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41515
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
41516
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41517
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41518
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41519
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41520
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.185879"], ["updated_at", "2021-10-05 13:36:13.185879"]]
|
41521
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41522
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41523
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.186861"], ["claim_hash", "XgtZsdsOD2mUiTQSdY9ed0asiLA1j0SOJrrVmzg3"], ["created_at", "2021-10-05 13:36:13.186842"], ["updated_at", "2021-10-05 13:36:13.186842"]]
|
41524
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41525
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
41526
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41527
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.189279"], ["updated_at", "2021-10-05 13:36:13.189279"]]
|
41528
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41529
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
41530
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'uberadmin')[0m
|
41531
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41532
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41533
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41534
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41535
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.192237"], ["updated_at", "2021-10-05 13:36:13.192237"]]
|
41536
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41537
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41538
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.193374"], ["claim_hash", "GthnScT8CiFcSd1QsPTyzEeoYQvNRBu77RwAOtXe"], ["created_at", "2021-10-05 13:36:13.193347"], ["updated_at", "2021-10-05 13:36:13.193347"]]
|
41539
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41540
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'employer') AND "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
41541
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41542
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.195427"], ["updated_at", "2021-10-05 13:36:13.195427"]]
|
41543
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41544
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'employer') AND "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
41545
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'employer')[0m
|
41546
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41547
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41548
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41549
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41550
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.198452"], ["updated_at", "2021-10-05 13:36:13.198452"]]
|
41551
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41552
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41553
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.199357"], ["updated_at", "2021-10-05 13:36:13.199357"]]
|
41554
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41555
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41556
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.200336"], ["date_accepted", "2021-10-05 13:36:13.199995"], ["claim_hash", "J3VWTnpLY7ON2hr4nOAw7CtGtVKVyKeYEUXqoefc"], ["created_at", "2021-10-05 13:36:13.200317"], ["updated_at", "2021-10-05 13:36:13.200317"]]
|
41557
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41558
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41559
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.201241"], ["updated_at", "2021-10-05 13:36:13.201241"]]
|
41560
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41561
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41562
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:36:13.202043"], ["claim_hash", "1Mqv26g7uw0y1J0gywkkX68x79RtUbsH6Xqg1uAQ"], ["created_at", "2021-10-05 13:36:13.202025"], ["updated_at", "2021-10-05 13:36:13.202025"]]
|
41563
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41564
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41565
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
41566
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41567
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41568
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41569
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41570
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.204844"], ["updated_at", "2021-10-05 13:36:13.204844"]]
|
41571
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41572
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41573
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.205776"], ["updated_at", "2021-10-05 13:36:13.205776"]]
|
41574
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41575
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41576
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.206755"], ["date_accepted", "2021-10-05 13:36:13.206416"], ["claim_hash", "AghlyOYnCzCHslcEudGUJ2s3e71faH9KFejthTYz"], ["created_at", "2021-10-05 13:36:13.206736"], ["updated_at", "2021-10-05 13:36:13.206736"]]
|
41577
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41578
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41579
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.207657"], ["updated_at", "2021-10-05 13:36:13.207657"]]
|
41580
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41581
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41582
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:36:13.208469"], ["claim_hash", "gYMokCHpUScm0ncH7UbzNHsqyNCPq8Wa2ZvFYw5i"], ["created_at", "2021-10-05 13:36:13.208452"], ["updated_at", "2021-10-05 13:36:13.208452"]]
|
41583
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41584
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41585
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.209290"], ["updated_at", "2021-10-05 13:36:13.209290"]]
|
41586
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41587
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
41588
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 3]]
|
41589
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41590
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41591
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41592
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41593
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.211993"], ["updated_at", "2021-10-05 13:36:13.211993"]]
|
41594
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41595
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41596
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.213120"], ["updated_at", "2021-10-05 13:36:13.213120"]]
|
41597
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41598
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41599
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.214119"], ["date_accepted", "2021-10-05 13:36:13.213783"], ["claim_hash", "pYEQ8aWJORtdFWKdMsdrgcRBjLJ9vGqf47ZinpCX"], ["created_at", "2021-10-05 13:36:13.214101"], ["updated_at", "2021-10-05 13:36:13.214101"]]
|
41600
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41601
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41602
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.215024"], ["updated_at", "2021-10-05 13:36:13.215024"]]
|
41603
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41604
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41605
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:36:13.215821"], ["claim_hash", "tve9tDatfYq7TSbBwSTb1njGjCGusIS3t7qi5OGS"], ["created_at", "2021-10-05 13:36:13.215803"], ["updated_at", "2021-10-05 13:36:13.215803"]]
|
41606
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41607
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
41608
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41609
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41610
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41611
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41612
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.218309"], ["updated_at", "2021-10-05 13:36:13.218309"]]
|
41613
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41614
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41615
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.219215"], ["updated_at", "2021-10-05 13:36:13.219215"]]
|
41616
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41617
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41618
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.220177"], ["date_accepted", "2021-10-05 13:36:13.219844"], ["claim_hash", "v5hxEdo3kEfewe9YkzWxXszfiB8VljaWBTa4X19a"], ["created_at", "2021-10-05 13:36:13.220157"], ["updated_at", "2021-10-05 13:36:13.220157"]]
|
41619
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41620
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41621
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.221072"], ["updated_at", "2021-10-05 13:36:13.221072"]]
|
41622
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41623
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41624
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:36:13.221868"], ["claim_hash", "w8M8QJIYVCuY34LvAYZnQOAloNaZK6qyXTVRCcqk"], ["created_at", "2021-10-05 13:36:13.221850"], ["updated_at", "2021-10-05 13:36:13.221850"]]
|
41625
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41626
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41627
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
41628
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
41629
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41630
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41631
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41632
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41633
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.225484"], ["updated_at", "2021-10-05 13:36:13.225484"]]
|
41634
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41635
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41636
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.226609"], ["updated_at", "2021-10-05 13:36:13.226609"]]
|
41637
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41638
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41639
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.227679"], ["date_accepted", "2021-10-05 13:36:13.227324"], ["claim_hash", "Sxr0QaD6TH3cDf4WeCEQzVX0WkUvUuIYG6XHVZMs"], ["created_at", "2021-10-05 13:36:13.227661"], ["updated_at", "2021-10-05 13:36:13.227661"]]
|
41640
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41641
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41642
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.228660"], ["updated_at", "2021-10-05 13:36:13.228660"]]
|
41643
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41644
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41645
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:36:13.229673"], ["claim_hash", "dgONzOTI8jVZ7qsCGdILCqFz6NUCh5cZpLulZRlY"], ["created_at", "2021-10-05 13:36:13.229653"], ["updated_at", "2021-10-05 13:36:13.229653"]]
|
41646
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41647
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41648
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
41649
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
41650
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41651
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41652
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41653
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41654
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.232939"], ["updated_at", "2021-10-05 13:36:13.232939"]]
|
41655
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41656
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41657
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.233860"], ["updated_at", "2021-10-05 13:36:13.233860"]]
|
41658
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41659
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41660
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.234817"], ["date_accepted", "2021-10-05 13:36:13.234494"], ["claim_hash", "knkVjubfnGNbowKgh8rl1eUmnooUSZfVZGLEJxW6"], ["created_at", "2021-10-05 13:36:13.234797"], ["updated_at", "2021-10-05 13:36:13.234797"]]
|
41661
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41662
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41663
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.235710"], ["updated_at", "2021-10-05 13:36:13.235710"]]
|
41664
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41665
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41666
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:36:13.236524"], ["claim_hash", "kSANoLkxmovrvTuI5CjuIIZ6coCXzgtXA7hD3o7v"], ["created_at", "2021-10-05 13:36:13.236506"], ["updated_at", "2021-10-05 13:36:13.236506"]]
|
41667
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41668
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41669
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.237329"], ["updated_at", "2021-10-05 13:36:13.237329"]]
|
41670
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41671
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
41672
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 3]]
|
41673
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41674
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41675
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41676
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41677
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.240960"], ["updated_at", "2021-10-05 13:36:13.240960"]]
|
41678
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41679
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41680
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.241966"], ["updated_at", "2021-10-05 13:36:13.241966"]]
|
41681
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41682
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41683
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.242965"], ["date_accepted", "2021-10-05 13:36:13.242620"], ["claim_hash", "jDboFuzyiGUIwuGcw6MhzhTICPgoLMBCtDWl6cRA"], ["created_at", "2021-10-05 13:36:13.242943"], ["updated_at", "2021-10-05 13:36:13.242943"]]
|
41684
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41685
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41686
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.243887"], ["updated_at", "2021-10-05 13:36:13.243887"]]
|
41687
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41688
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41689
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:36:13.244711"], ["claim_hash", "DCXQXzEayEMcfARF4Xl6lDojno5EvXkSnqXyQWXj"], ["created_at", "2021-10-05 13:36:13.244690"], ["updated_at", "2021-10-05 13:36:13.244690"]]
|
41690
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41691
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
41692
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41693
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41694
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41695
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41696
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.247444"], ["updated_at", "2021-10-05 13:36:13.247444"]]
|
41697
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41698
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41699
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.248387"], ["updated_at", "2021-10-05 13:36:13.248387"]]
|
41700
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41701
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41702
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.249355"], ["date_accepted", "2021-10-05 13:36:13.249024"], ["claim_hash", "t0AtzmPXh0MzRbym7saM78eD3cOv5TuApnQwY9pA"], ["created_at", "2021-10-05 13:36:13.249336"], ["updated_at", "2021-10-05 13:36:13.249336"]]
|
41703
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41704
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41705
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.250258"], ["updated_at", "2021-10-05 13:36:13.250258"]]
|
41706
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41707
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41708
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:36:13.251072"], ["claim_hash", "46SjMZD3FIQE8baz0YlhxXL8GwNkNvnkUZiaRQH1"], ["created_at", "2021-10-05 13:36:13.251055"], ["updated_at", "2021-10-05 13:36:13.251055"]]
|
41709
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41710
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41711
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
41712
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
41713
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41714
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41715
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41716
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41717
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.254530"], ["updated_at", "2021-10-05 13:36:13.254530"]]
|
41718
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41719
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41720
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.255530"], ["updated_at", "2021-10-05 13:36:13.255530"]]
|
41721
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41722
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41723
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.256511"], ["date_accepted", "2021-10-05 13:36:13.256180"], ["claim_hash", "sSlE1X2su291QJPygQEGt5krcbhla9Db8lmXVrYQ"], ["created_at", "2021-10-05 13:36:13.256491"], ["updated_at", "2021-10-05 13:36:13.256491"]]
|
41724
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41725
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41726
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.257428"], ["updated_at", "2021-10-05 13:36:13.257428"]]
|
41727
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41728
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41729
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:36:13.258273"], ["claim_hash", "VI2g05wuG6t070B2CC84429LLHyn8TLgRZCwtNqL"], ["created_at", "2021-10-05 13:36:13.258255"], ["updated_at", "2021-10-05 13:36:13.258255"]]
|
41730
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41731
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41732
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
41733
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
41734
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41735
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41736
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41737
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41738
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.261868"], ["updated_at", "2021-10-05 13:36:13.261868"]]
|
41739
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41740
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41741
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.262981"], ["updated_at", "2021-10-05 13:36:13.262981"]]
|
41742
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41743
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41744
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.263968"], ["date_accepted", "2021-10-05 13:36:13.263631"], ["claim_hash", "DvrdZ5SmgNM1zcxjRgFyxZOB7Zcc4RdNDN4mMvcW"], ["created_at", "2021-10-05 13:36:13.263949"], ["updated_at", "2021-10-05 13:36:13.263949"]]
|
41745
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41746
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41747
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.264917"], ["updated_at", "2021-10-05 13:36:13.264917"]]
|
41748
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41749
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41750
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:36:13.265746"], ["claim_hash", "A6QmzqDNp8TN8MAFHeoNz9ngLDMIg3QUXLAwtNSx"], ["created_at", "2021-10-05 13:36:13.265728"], ["updated_at", "2021-10-05 13:36:13.265728"]]
|
41751
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41752
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41753
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.266566"], ["updated_at", "2021-10-05 13:36:13.266566"]]
|
41754
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41755
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
41756
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 3]]
|
41757
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41758
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41759
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41760
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41761
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-10-05 13:36:13.269255"], ["updated_at", "2021-10-05 13:36:13.269255"]]
|
41762
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41763
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41764
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.270112"], ["updated_at", "2021-10-05 13:36:13.270112"]]
|
41765
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41766
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41767
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.271060"], ["date_accepted", "2021-10-05 13:36:13.270737"], ["claim_hash", "XN75bybpzxnLVV90Ifa3jMGP8kE6b4d5DxBIg5gN"], ["created_at", "2021-10-05 13:36:13.271041"], ["updated_at", "2021-10-05 13:36:13.271041"]]
|
41768
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41769
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41770
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-10-05 13:36:13.271995"], ["updated_at", "2021-10-05 13:36:13.271995"]]
|
41771
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41772
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41773
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-10-05 13:36:13.272835"], ["claim_hash", "emiSLXc6xpTHTMhagPzNbu1ZUtbXTcDnTwRsx3va"], ["created_at", "2021-10-05 13:36:13.272817"], ["updated_at", "2021-10-05 13:36:13.272817"]]
|
41774
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41775
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
41776
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41777
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41778
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41779
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41780
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:36:13.275295"], ["updated_at", "2021-10-05 13:36:13.275295"]]
|
41781
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41782
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41783
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.276193"], ["updated_at", "2021-10-05 13:36:13.276193"]]
|
41784
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41785
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41786
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.277087"], ["claim_hash", "GiAG1YowapGj8f7n22fvH0zDmPHtxqJxwTc9SReN"], ["created_at", "2021-10-05 13:36:13.277068"], ["updated_at", "2021-10-05 13:36:13.277068"]]
|
41787
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41788
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41789
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-10-05 13:36:13.277968"], ["updated_at", "2021-10-05 13:36:13.277968"]]
|
41790
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41791
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41792
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 2], ["date_sent", "2021-10-05 13:36:13.278936"], ["claim_hash", "gL0kpxNqELWTdR9dg4AXlM5gTRlozJf6O848rFUc"], ["created_at", "2021-10-05 13:36:13.278907"], ["updated_at", "2021-10-05 13:36:13.278907"]]
|
41793
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41794
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (email = 'test@d-i.co' AND user_id IS NULL)[0m
|
41795
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41796
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
41797
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-10-05 13:36:13.280119"], ["updated_at", "2021-10-05 13:36:13.280855"], ["id", 1]]
|
41798
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41799
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41800
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
41801
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-10-05 13:36:13.281494"], ["updated_at", "2021-10-05 13:36:13.282089"], ["id", 2]]
|
41802
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41803
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
41804
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 2], ["LIMIT", 1]]
|
41805
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41806
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41807
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41808
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41809
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-10-05 13:36:13.284891"], ["updated_at", "2021-10-05 13:36:13.284891"]]
|
41810
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41811
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41812
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "foo@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.286156"], ["claim_hash", "b6g7nIbCzNKBNvh4OiD2PGPFUdq8tutcp8sCiQpv"], ["created_at", "2021-10-05 13:36:13.286135"], ["updated_at", "2021-10-05 13:36:13.286135"]]
|
41813
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41814
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41815
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:36:13.287074"], ["updated_at", "2021-10-05 13:36:13.287074"]]
|
41816
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41817
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (email = 'test@d-i.co' AND user_id IS NULL)[0m
|
41818
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
41819
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 1]]
|
41820
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41821
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41822
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41823
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41824
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:36:13.290068"], ["updated_at", "2021-10-05 13:36:13.290068"]]
|
41825
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41826
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41827
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.291021"], ["updated_at", "2021-10-05 13:36:13.291021"]]
|
41828
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41829
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41830
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.291988"], ["claim_hash", "ejolpPGCnGxEQjzPjyZUk5nph2TAR3QkJy8IP6yT"], ["created_at", "2021-10-05 13:36:13.291968"], ["updated_at", "2021-10-05 13:36:13.291968"]]
|
41831
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41832
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'ejolpPGCnGxEQjzPjyZUk5nph2TAR3QkJy8IP6yT') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
41833
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41834
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
41835
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-10-05 13:36:13.293429"], ["updated_at", "2021-10-05 13:36:13.294190"], ["id", 1]]
|
41836
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41837
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
41838
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41839
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41840
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41841
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41842
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.296867"], ["updated_at", "2021-10-05 13:36:13.296867"]]
|
41843
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41844
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41845
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "foo@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.297979"], ["claim_hash", "UqqQ71YGBK25XOo1V1R8bjKUURuzIMCbmgGvhps0"], ["created_at", "2021-10-05 13:36:13.297959"], ["updated_at", "2021-10-05 13:36:13.297959"]]
|
41846
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41847
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41848
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:36:13.298895"], ["updated_at", "2021-10-05 13:36:13.298895"]]
|
41849
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41850
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'UqqQ71YGBK25XOo1V1R8bjKUURuzIMCbmgGvhps0') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
41851
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41852
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
41853
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-10-05 13:36:13.299976"], ["updated_at", "2021-10-05 13:36:13.300695"], ["id", 1]]
|
41854
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41855
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
41856
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41857
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41858
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41859
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41860
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "foo@bar.com"], ["created_at", "2021-10-05 13:36:13.303037"], ["updated_at", "2021-10-05 13:36:13.303037"]]
|
41861
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41862
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41863
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.303914"], ["updated_at", "2021-10-05 13:36:13.303914"]]
|
41864
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41865
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41866
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "foo@bar.com"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.304913"], ["date_accepted", "2021-10-05 13:36:13.304578"], ["claim_hash", "4BXLZ3cEvBCFXTcO6wDw3xd67L2qYvslwoMPmejl"], ["created_at", "2021-10-05 13:36:13.304894"], ["updated_at", "2021-10-05 13:36:13.304894"]]
|
41867
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41868
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41869
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:36:13.305858"], ["updated_at", "2021-10-05 13:36:13.305858"]]
|
41870
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41871
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = '4BXLZ3cEvBCFXTcO6wDw3xd67L2qYvslwoMPmejl') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
41872
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 2], ["id", 1], ["LIMIT", 1]]
|
41873
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 2]]
|
41874
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41875
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41876
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41877
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41878
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:36:13.308932"], ["updated_at", "2021-10-05 13:36:13.308932"]]
|
41879
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41880
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41881
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-10-05 13:36:13.309792"], ["updated_at", "2021-10-05 13:36:13.309792"]]
|
41882
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41883
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41884
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.310698"], ["claim_hash", "Lgaj4Ex2zxuLaQYDnztw702vFCS26G7zxYBXbeZO"], ["created_at", "2021-10-05 13:36:13.310679"], ["updated_at", "2021-10-05 13:36:13.310679"]]
|
41885
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41886
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'THIS_IS_A_BAD_HASH') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
41887
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
41888
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 1]]
|
41889
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41890
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41891
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41892
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41893
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2021-10-05 13:36:13.314179"], ["updated_at", "2021-10-05 13:36:13.314179"]]
|
41894
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41895
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."invitable_id" = ? AND "invitations"."invitable_type" = ? AND (email = 'test@d-i.co')[0m [["invitable_id", 1], ["invitable_type", "Entity"]]
|
41896
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41897
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.316152"], ["claim_hash", "osWMvI8eQgu9Zlq2VaHN9fiMmxX1s2upHM2QJ3VT"], ["created_at", "2021-10-05 13:36:13.316126"], ["updated_at", "2021-10-05 13:36:13.316126"]]
|
41898
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41899
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41900
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41901
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41902
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41903
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2021-10-05 13:36:13.318316"], ["updated_at", "2021-10-05 13:36:13.318316"]]
|
41904
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41905
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41906
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-10-05 13:36:13.319338"], ["claim_hash", "74sNrc7CCimDl4zKOCxoXAMjZ8CUm54FLnkDaIKw"], ["created_at", "2021-10-05 13:36:13.319317"], ["updated_at", "2021-10-05 13:36:13.319317"]]
|
41907
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41908
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."invitable_id" = ? AND "invitations"."invitable_type" = ? AND (email = 'test@d-i.co')[0m [["invitable_id", 1], ["invitable_type", "Entity"]]
|
41909
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41910
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41911
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41912
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41913
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2021-10-05 13:36:13.321915"], ["updated_at", "2021-10-05 13:36:13.321915"]]
|
41914
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41915
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41916
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:36:13.322813"], ["updated_at", "2021-10-05 13:36:13.322813"]]
|
41917
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41918
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
41919
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41920
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.324355"], ["date_accepted", "2021-10-05 13:36:13.324150"], ["claim_hash", "aaUtFlPgQ6du5YvxFc3dA6ONGS7QXDdlilhV3ZGq"], ["created_at", "2021-10-05 13:36:13.324334"], ["updated_at", "2021-10-05 13:36:13.324334"]]
|
41921
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41922
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41923
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41924
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41925
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41926
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2021-10-05 13:36:13.326628"], ["updated_at", "2021-10-05 13:36:13.326628"]]
|
41927
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41928
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41929
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-10-05 13:36:13.327679"], ["updated_at", "2021-10-05 13:36:13.327679"]]
|
41930
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41931
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41932
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.328650"], ["claim_hash", "Ra2fMdmW57k1iGio4Y7tau2uqoK0K6VMsLmyKUeY"], ["created_at", "2021-10-05 13:36:13.328629"], ["updated_at", "2021-10-05 13:36:13.328629"]]
|
41933
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41934
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
41935
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41936
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41937
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41938
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'employer') AND (email = 'test@d-i.co')[0m
|
41939
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41940
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "employer"], ["date_sent", "2021-10-05 13:36:13.332075"], ["claim_hash", "Qve0SrjVAsj5FK3qBjK4DWQRsfKgzRZZMmwUlUCI"], ["created_at", "2021-10-05 13:36:13.332054"], ["updated_at", "2021-10-05 13:36:13.332054"]]
|
41941
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41942
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41943
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41944
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41945
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41946
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "employer"], ["date_sent", "2021-10-05 13:36:13.334134"], ["claim_hash", "CX4yVxyvgwEYfyCor64606LTXtarFOozk0poLKnd"], ["created_at", "2021-10-05 13:36:13.334116"], ["updated_at", "2021-10-05 13:36:13.334116"]]
|
41947
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41948
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'employer') AND (email = 'test@d-i.co')[0m
|
41949
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41950
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41951
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41952
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41953
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.336471"], ["updated_at", "2021-10-05 13:36:13.336471"]]
|
41954
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41955
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
41956
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41957
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.338043"], ["date_accepted", "2021-10-05 13:36:13.337864"], ["claim_hash", "OmIgoEZ0QhrhiiRl0SegxAW1D65jEGqctuD1MKBa"], ["created_at", "2021-10-05 13:36:13.338022"], ["updated_at", "2021-10-05 13:36:13.338022"]]
|
41958
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41959
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41960
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41961
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41962
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41963
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.340458"], ["updated_at", "2021-10-05 13:36:13.340458"]]
|
41964
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41965
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41966
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.341630"], ["claim_hash", "VgpuHPspqoVSvkA0f8T942lKp705NlMxaRNf9PB9"], ["created_at", "2021-10-05 13:36:13.341609"], ["updated_at", "2021-10-05 13:36:13.341609"]]
|
41967
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41968
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
41969
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41970
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41971
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41972
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND (email = 'test@d-i.co')[0m
|
41973
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41974
|
+
[1m[36mInvitation Create (0.2ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "uberadmin"], ["date_sent", "2021-10-05 13:36:13.344849"], ["claim_hash", "GifBVHgNpNLyFdu2hHnJJxm24VXjZ49jmZbXzzQy"], ["created_at", "2021-10-05 13:36:13.344827"], ["updated_at", "2021-10-05 13:36:13.344827"]]
|
41975
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41976
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41977
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41978
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41979
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41980
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "uberadmin"], ["date_sent", "2021-10-05 13:36:13.347367"], ["claim_hash", "bi6YU1tj0jlhSrlwiY3YMv7C3E8y3ohXP4APrXwu"], ["created_at", "2021-10-05 13:36:13.347344"], ["updated_at", "2021-10-05 13:36:13.347344"]]
|
41981
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41982
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND (email = 'test@d-i.co')[0m
|
41983
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41984
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41985
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41986
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41987
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.349935"], ["updated_at", "2021-10-05 13:36:13.349935"]]
|
41988
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41989
|
+
[1m[35m (1.8ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
41990
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41991
|
+
[1m[36mInvitation Create (0.3ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.360945"], ["date_accepted", "2021-10-05 13:36:13.360664"], ["claim_hash", "ovrkTUqtW2R41lKpmf2Z6Wu6CeEAF7hMBXptpVeS"], ["created_at", "2021-10-05 13:36:13.360920"], ["updated_at", "2021-10-05 13:36:13.360920"]]
|
41992
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41993
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
41994
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
41995
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
41996
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
41997
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-10-05 13:36:13.363755"], ["updated_at", "2021-10-05 13:36:13.363755"]]
|
41998
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
41999
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
42000
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-10-05 13:36:13.364909"], ["claim_hash", "R44pGbKcusLRlKxTT0Zoo7sjIy7kmFRmQWNXqCp6"], ["created_at", "2021-10-05 13:36:13.364888"], ["updated_at", "2021-10-05 13:36:13.364888"]]
|
42001
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
42002
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
42003
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|