invitational 1.4.2 → 1.4.3
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/app/assets/config/manifest.js +0 -0
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +1423 -0
- metadata +24 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af388ccc20a3513b120fec55e474320a8b88c09cf053010469d88ba9873acfc0
|
4
|
+
data.tar.gz: d1e71d80069272487e609ef2bd31857e74a0481c44b5bd0e7406108987a46893
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 733a15218e67582ce0be92bc31d01b70ec7c88ae9134faee5449fa4e234f196f07f27a47b8e92c4140fc6ec7d4f61ffd0310bd4d0a890696fbccff0162a3d1f4
|
7
|
+
data.tar.gz: 7d40414dd5f4c86e9b77793e17c403d47fc27d493095f9a7fdfd90682f72b9a7b6290cd347ccf6693bd0e23f087d2c92a4003a48907952dbf33e802b0c2f8c0a
|
data/lib/invitational/version.rb
CHANGED
File without changes
|
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -36258,3 +36258,1426 @@ Migrating to CreateInvitations (20130528220144)
|
|
36258
36258
|
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36259
36259
|
[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]]
|
36260
36260
|
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36261
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
36262
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
36263
|
+
[1m[35m (0.0ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
36264
|
+
[1m[35m (1.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
|
36265
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "grandparents"[0m
|
36266
|
+
[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
|
36267
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "entities"[0m
|
36268
|
+
[1m[35m (1.7ms)[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
|
36269
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "children"[0m
|
36270
|
+
[1m[35m (1.6ms)[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
|
36271
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "other_entities"[0m
|
36272
|
+
[1m[35m (1.9ms)[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
|
36273
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "system_things"[0m
|
36274
|
+
[1m[35m (1.6ms)[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
|
36275
|
+
[1m[35m (2.2ms)[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
|
36276
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
36277
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36278
|
+
[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", "2020-10-07 15:23:20.497920"], ["updated_at", "2020-10-07 15:23:20.497920"]]
|
36279
|
+
[1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
|
36280
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
36281
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
36282
|
+
Migrating to CreateInvitations (20130528220144)
|
36283
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36284
|
+
[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
|
36285
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_invitations_on_invitable_id" ON "invitations" ("invitable_id")[0m
|
36286
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_invitations_on_invitable_type" ON "invitations" ("invitable_type")[0m
|
36287
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_invitations_on_user_id" ON "invitations" ("user_id")[0m
|
36288
|
+
[1m[36mprimary::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130528220144"]]
|
36289
|
+
[1m[35m (1.8ms)[0m [1m[36mcommit transaction[0m
|
36290
|
+
[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]]
|
36291
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
36292
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36293
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36294
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.693866"], ["updated_at", "2020-10-07 15:23:20.693866"]]
|
36295
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36296
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36297
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.698110"], ["updated_at", "2020-10-07 15:23:20.698110"]]
|
36298
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36299
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36300
|
+
[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", "2020-10-07 15:23:20.708717"], ["date_accepted", "2020-10-07 15:23:20.698852"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.708676"], ["updated_at", "2020-10-07 15:23:20.708676"]]
|
36301
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36302
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36303
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:20.710154"], ["updated_at", "2020-10-07 15:23:20.710154"]]
|
36304
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36305
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36306
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2020-10-07 15:23:20.711113"], ["updated_at", "2020-10-07 15:23:20.711113"]]
|
36307
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36308
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36309
|
+
[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", "2020-10-07 15:23:20.712152"], ["date_accepted", "2020-10-07 15:23:20.711778"], ["claim_hash", "8c9507910339c98a6990a85615f102c6c02ce1ee"], ["created_at", "2020-10-07 15:23:20.712128"], ["updated_at", "2020-10-07 15:23:20.712128"]]
|
36310
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36311
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36312
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2020-10-07 15:23:20.713154"], ["updated_at", "2020-10-07 15:23:20.713154"]]
|
36313
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36314
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36315
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2020-10-07 15:23:20.720981"], ["updated_at", "2020-10-07 15:23:20.720981"]]
|
36316
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36317
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36318
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2020-10-07 15:23:20.727157"], ["id", 2]]
|
36319
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36320
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36321
|
+
[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", "2020-10-07 15:23:20.729270"], ["date_accepted", "2020-10-07 15:23:20.728774"], ["claim_hash", "b5fb12f54214ebf41513a26833758d1fe7ad2cc9"], ["created_at", "2020-10-07 15:23:20.729244"], ["updated_at", "2020-10-07 15:23:20.729244"]]
|
36322
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36323
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36324
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:20.730272"], ["updated_at", "2020-10-07 15:23:20.730272"]]
|
36325
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36326
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36327
|
+
[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", "2020-10-07 15:23:20.731099"], ["claim_hash", "e75953766e09a3fa0b2d55e5a929b47bd742c7af"], ["created_at", "2020-10-07 15:23:20.731077"], ["updated_at", "2020-10-07 15:23:20.731077"]]
|
36328
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36329
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36330
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:20.731893"], ["updated_at", "2020-10-07 15:23:20.731893"]]
|
36331
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36332
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36333
|
+
[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", "2020-10-07 15:23:20.732677"], ["claim_hash", "583bc166383852cecf53c525be7e9124c9c2e542"], ["created_at", "2020-10-07 15:23:20.732655"], ["updated_at", "2020-10-07 15:23:20.732655"]]
|
36334
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36335
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
36336
|
+
[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]]
|
36337
|
+
[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]]
|
36338
|
+
[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]]
|
36339
|
+
[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]]
|
36340
|
+
[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]]
|
36341
|
+
[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]]
|
36342
|
+
[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]]
|
36343
|
+
[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]]
|
36344
|
+
[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]]
|
36345
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36346
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36347
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36348
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.743936"], ["updated_at", "2020-10-07 15:23:20.743936"]]
|
36349
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36350
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36351
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.744909"], ["updated_at", "2020-10-07 15:23:20.744909"]]
|
36352
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36353
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36354
|
+
[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", "2020-10-07 15:23:20.745901"], ["date_accepted", "2020-10-07 15:23:20.745535"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.745878"], ["updated_at", "2020-10-07 15:23:20.745878"]]
|
36355
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36356
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36357
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:20.746762"], ["updated_at", "2020-10-07 15:23:20.746762"]]
|
36358
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36359
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36360
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2020-10-07 15:23:20.747506"], ["updated_at", "2020-10-07 15:23:20.747506"]]
|
36361
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36362
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36363
|
+
[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", "2020-10-07 15:23:20.748404"], ["date_accepted", "2020-10-07 15:23:20.748084"], ["claim_hash", "8c9507910339c98a6990a85615f102c6c02ce1ee"], ["created_at", "2020-10-07 15:23:20.748381"], ["updated_at", "2020-10-07 15:23:20.748381"]]
|
36364
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36365
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36366
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2020-10-07 15:23:20.749289"], ["updated_at", "2020-10-07 15:23:20.749289"]]
|
36367
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36368
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36369
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2020-10-07 15:23:20.750109"], ["updated_at", "2020-10-07 15:23:20.750109"]]
|
36370
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36371
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36372
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2020-10-07 15:23:20.751141"], ["id", 2]]
|
36373
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36374
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36375
|
+
[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", "2020-10-07 15:23:20.752796"], ["date_accepted", "2020-10-07 15:23:20.752321"], ["claim_hash", "b5fb12f54214ebf41513a26833758d1fe7ad2cc9"], ["created_at", "2020-10-07 15:23:20.752768"], ["updated_at", "2020-10-07 15:23:20.752768"]]
|
36376
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36377
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36378
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:20.753981"], ["updated_at", "2020-10-07 15:23:20.753981"]]
|
36379
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36380
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36381
|
+
[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", "2020-10-07 15:23:20.754970"], ["claim_hash", "e75953766e09a3fa0b2d55e5a929b47bd742c7af"], ["created_at", "2020-10-07 15:23:20.754946"], ["updated_at", "2020-10-07 15:23:20.754946"]]
|
36382
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36383
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36384
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:20.755910"], ["updated_at", "2020-10-07 15:23:20.755910"]]
|
36385
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36386
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36387
|
+
[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", "2020-10-07 15:23:20.756833"], ["claim_hash", "583bc166383852cecf53c525be7e9124c9c2e542"], ["created_at", "2020-10-07 15:23:20.756807"], ["updated_at", "2020-10-07 15:23:20.756807"]]
|
36388
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36389
|
+
[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]]
|
36390
|
+
[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]]
|
36391
|
+
[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]]
|
36392
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
36393
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
36394
|
+
[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]]
|
36395
|
+
[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]]
|
36396
|
+
[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]]
|
36397
|
+
[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]]
|
36398
|
+
[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]]
|
36399
|
+
[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]]
|
36400
|
+
[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]]
|
36401
|
+
[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]]
|
36402
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36403
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36404
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36405
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.766871"], ["updated_at", "2020-10-07 15:23:20.766871"]]
|
36406
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36407
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36408
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.767847"], ["updated_at", "2020-10-07 15:23:20.767847"]]
|
36409
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36410
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36411
|
+
[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", "2020-10-07 15:23:20.768801"], ["date_accepted", "2020-10-07 15:23:20.768453"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.768777"], ["updated_at", "2020-10-07 15:23:20.768777"]]
|
36412
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36413
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36414
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:20.769663"], ["updated_at", "2020-10-07 15:23:20.769663"]]
|
36415
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36416
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36417
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2020-10-07 15:23:20.770354"], ["updated_at", "2020-10-07 15:23:20.770354"]]
|
36418
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36419
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36420
|
+
[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", "2020-10-07 15:23:20.771213"], ["date_accepted", "2020-10-07 15:23:20.770911"], ["claim_hash", "8c9507910339c98a6990a85615f102c6c02ce1ee"], ["created_at", "2020-10-07 15:23:20.771193"], ["updated_at", "2020-10-07 15:23:20.771193"]]
|
36421
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36422
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36423
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2020-10-07 15:23:20.772013"], ["updated_at", "2020-10-07 15:23:20.772013"]]
|
36424
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36425
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36426
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2020-10-07 15:23:20.772729"], ["updated_at", "2020-10-07 15:23:20.772729"]]
|
36427
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36428
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36429
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2020-10-07 15:23:20.773638"], ["id", 2]]
|
36430
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36431
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36432
|
+
[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", "2020-10-07 15:23:20.774556"], ["date_accepted", "2020-10-07 15:23:20.774231"], ["claim_hash", "b5fb12f54214ebf41513a26833758d1fe7ad2cc9"], ["created_at", "2020-10-07 15:23:20.774534"], ["updated_at", "2020-10-07 15:23:20.774534"]]
|
36433
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36434
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36435
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:20.775372"], ["updated_at", "2020-10-07 15:23:20.775372"]]
|
36436
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36437
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36438
|
+
[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", "2020-10-07 15:23:20.776149"], ["claim_hash", "e75953766e09a3fa0b2d55e5a929b47bd742c7af"], ["created_at", "2020-10-07 15:23:20.776128"], ["updated_at", "2020-10-07 15:23:20.776128"]]
|
36439
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36440
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36441
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:20.776888"], ["updated_at", "2020-10-07 15:23:20.776888"]]
|
36442
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36443
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36444
|
+
[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", "2020-10-07 15:23:20.777657"], ["claim_hash", "583bc166383852cecf53c525be7e9124c9c2e542"], ["created_at", "2020-10-07 15:23:20.777636"], ["updated_at", "2020-10-07 15:23:20.777636"]]
|
36445
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36446
|
+
[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]]
|
36447
|
+
[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]]
|
36448
|
+
[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]]
|
36449
|
+
[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]]
|
36450
|
+
[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]]
|
36451
|
+
[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]]
|
36452
|
+
[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]]
|
36453
|
+
[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]]
|
36454
|
+
[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]]
|
36455
|
+
[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]]
|
36456
|
+
[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]]
|
36457
|
+
[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]]
|
36458
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36459
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36460
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36461
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.784900"], ["updated_at", "2020-10-07 15:23:20.784900"]]
|
36462
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36463
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36464
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.786432"], ["updated_at", "2020-10-07 15:23:20.786432"]]
|
36465
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36466
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36467
|
+
[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", "2020-10-07 15:23:20.787847"], ["date_accepted", "2020-10-07 15:23:20.787377"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.787819"], ["updated_at", "2020-10-07 15:23:20.787819"]]
|
36468
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36469
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36470
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:20.788965"], ["updated_at", "2020-10-07 15:23:20.788965"]]
|
36471
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36472
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36473
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2020-10-07 15:23:20.789824"], ["updated_at", "2020-10-07 15:23:20.789824"]]
|
36474
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36475
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36476
|
+
[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", "2020-10-07 15:23:20.790859"], ["date_accepted", "2020-10-07 15:23:20.790472"], ["claim_hash", "8c9507910339c98a6990a85615f102c6c02ce1ee"], ["created_at", "2020-10-07 15:23:20.790835"], ["updated_at", "2020-10-07 15:23:20.790835"]]
|
36477
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36478
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36479
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2020-10-07 15:23:20.791858"], ["updated_at", "2020-10-07 15:23:20.791858"]]
|
36480
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36481
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36482
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2020-10-07 15:23:20.792690"], ["updated_at", "2020-10-07 15:23:20.792690"]]
|
36483
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36484
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36485
|
+
[1m[36mEntity Update (0.2ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2020-10-07 15:23:20.794166"], ["id", 2]]
|
36486
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36487
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36488
|
+
[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", "2020-10-07 15:23:20.797808"], ["date_accepted", "2020-10-07 15:23:20.796318"], ["claim_hash", "b5fb12f54214ebf41513a26833758d1fe7ad2cc9"], ["created_at", "2020-10-07 15:23:20.797756"], ["updated_at", "2020-10-07 15:23:20.797756"]]
|
36489
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36490
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36491
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:20.798957"], ["updated_at", "2020-10-07 15:23:20.798957"]]
|
36492
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36493
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36494
|
+
[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", "2020-10-07 15:23:20.799796"], ["claim_hash", "e75953766e09a3fa0b2d55e5a929b47bd742c7af"], ["created_at", "2020-10-07 15:23:20.799771"], ["updated_at", "2020-10-07 15:23:20.799771"]]
|
36495
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36496
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36497
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:20.800565"], ["updated_at", "2020-10-07 15:23:20.800565"]]
|
36498
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36499
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36500
|
+
[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", "2020-10-07 15:23:20.801352"], ["claim_hash", "583bc166383852cecf53c525be7e9124c9c2e542"], ["created_at", "2020-10-07 15:23:20.801331"], ["updated_at", "2020-10-07 15:23:20.801331"]]
|
36501
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36502
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36503
|
+
[1m[36mSystemThing Create (0.1ms)[0m [1m[32mINSERT INTO "system_things" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A System Object"], ["created_at", "2020-10-07 15:23:20.805003"], ["updated_at", "2020-10-07 15:23:20.805003"]]
|
36504
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36505
|
+
[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]]
|
36506
|
+
[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]]
|
36507
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36508
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36509
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36510
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.807694"], ["updated_at", "2020-10-07 15:23:20.807694"]]
|
36511
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36512
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36513
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.808597"], ["updated_at", "2020-10-07 15:23:20.808597"]]
|
36514
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36515
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36516
|
+
[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", "2020-10-07 15:23:20.809560"], ["date_accepted", "2020-10-07 15:23:20.809199"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.809537"], ["updated_at", "2020-10-07 15:23:20.809537"]]
|
36517
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36518
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36519
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:20.810389"], ["updated_at", "2020-10-07 15:23:20.810389"]]
|
36520
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36521
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36522
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2020-10-07 15:23:20.811119"], ["updated_at", "2020-10-07 15:23:20.811119"]]
|
36523
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36524
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36525
|
+
[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", "2020-10-07 15:23:20.812107"], ["date_accepted", "2020-10-07 15:23:20.811772"], ["claim_hash", "8c9507910339c98a6990a85615f102c6c02ce1ee"], ["created_at", "2020-10-07 15:23:20.812084"], ["updated_at", "2020-10-07 15:23:20.812084"]]
|
36526
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36527
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36528
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2020-10-07 15:23:20.813014"], ["updated_at", "2020-10-07 15:23:20.813014"]]
|
36529
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36530
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36531
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2020-10-07 15:23:20.813830"], ["updated_at", "2020-10-07 15:23:20.813830"]]
|
36532
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36533
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36534
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2020-10-07 15:23:20.814945"], ["id", 2]]
|
36535
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36536
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36537
|
+
[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", "2020-10-07 15:23:20.816407"], ["date_accepted", "2020-10-07 15:23:20.815943"], ["claim_hash", "b5fb12f54214ebf41513a26833758d1fe7ad2cc9"], ["created_at", "2020-10-07 15:23:20.816381"], ["updated_at", "2020-10-07 15:23:20.816381"]]
|
36538
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36539
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36540
|
+
[1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:20.818126"], ["updated_at", "2020-10-07 15:23:20.818126"]]
|
36541
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36542
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36543
|
+
[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", "2020-10-07 15:23:20.822417"], ["claim_hash", "e75953766e09a3fa0b2d55e5a929b47bd742c7af"], ["created_at", "2020-10-07 15:23:20.822386"], ["updated_at", "2020-10-07 15:23:20.822386"]]
|
36544
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36545
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36546
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:20.823454"], ["updated_at", "2020-10-07 15:23:20.823454"]]
|
36547
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36548
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36549
|
+
[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", "2020-10-07 15:23:20.824273"], ["claim_hash", "583bc166383852cecf53c525be7e9124c9c2e542"], ["created_at", "2020-10-07 15:23:20.824250"], ["updated_at", "2020-10-07 15:23:20.824250"]]
|
36550
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36551
|
+
[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]]
|
36552
|
+
[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]]
|
36553
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36554
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2020-10-07 15:23:20.829630"], ["updated_at", "2020-10-07 15:23:20.829630"]]
|
36555
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36556
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36557
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2020-10-07 15:23:20.831132"], ["id", 1]]
|
36558
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36559
|
+
[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]]
|
36560
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36561
|
+
[1m[36mOtherEntity Create (0.1ms)[0m [1m[32mINSERT INTO "other_entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test other entity"], ["created_at", "2020-10-07 15:23:20.835117"], ["updated_at", "2020-10-07 15:23:20.835117"]]
|
36562
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36563
|
+
[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]]
|
36564
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36565
|
+
[1m[36mSystemThing Create (0.1ms)[0m [1m[32mINSERT INTO "system_things" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A System Object"], ["created_at", "2020-10-07 15:23:20.836557"], ["updated_at", "2020-10-07 15:23:20.836557"]]
|
36566
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36567
|
+
[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]]
|
36568
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36569
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36570
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36571
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.838545"], ["updated_at", "2020-10-07 15:23:20.838545"]]
|
36572
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36573
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36574
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.839419"], ["updated_at", "2020-10-07 15:23:20.839419"]]
|
36575
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36576
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36577
|
+
[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", "2020-10-07 15:23:20.840406"], ["date_accepted", "2020-10-07 15:23:20.840040"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.840383"], ["updated_at", "2020-10-07 15:23:20.840383"]]
|
36578
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36579
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36580
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:20.841242"], ["updated_at", "2020-10-07 15:23:20.841242"]]
|
36581
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36582
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36583
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2020-10-07 15:23:20.841966"], ["updated_at", "2020-10-07 15:23:20.841966"]]
|
36584
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36585
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36586
|
+
[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", "2020-10-07 15:23:20.842875"], ["date_accepted", "2020-10-07 15:23:20.842547"], ["claim_hash", "8c9507910339c98a6990a85615f102c6c02ce1ee"], ["created_at", "2020-10-07 15:23:20.842851"], ["updated_at", "2020-10-07 15:23:20.842851"]]
|
36587
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36588
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36589
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2020-10-07 15:23:20.843760"], ["updated_at", "2020-10-07 15:23:20.843760"]]
|
36590
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36591
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36592
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2020-10-07 15:23:20.844507"], ["updated_at", "2020-10-07 15:23:20.844507"]]
|
36593
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36594
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36595
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2020-10-07 15:23:20.845517"], ["id", 2]]
|
36596
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36597
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36598
|
+
[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", "2020-10-07 15:23:20.846593"], ["date_accepted", "2020-10-07 15:23:20.846174"], ["claim_hash", "b5fb12f54214ebf41513a26833758d1fe7ad2cc9"], ["created_at", "2020-10-07 15:23:20.846565"], ["updated_at", "2020-10-07 15:23:20.846565"]]
|
36599
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36600
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36601
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:20.847657"], ["updated_at", "2020-10-07 15:23:20.847657"]]
|
36602
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36603
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36604
|
+
[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", "2020-10-07 15:23:20.849215"], ["claim_hash", "e75953766e09a3fa0b2d55e5a929b47bd742c7af"], ["created_at", "2020-10-07 15:23:20.849183"], ["updated_at", "2020-10-07 15:23:20.849183"]]
|
36605
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36606
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36607
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:20.850307"], ["updated_at", "2020-10-07 15:23:20.850307"]]
|
36608
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36609
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36610
|
+
[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", "2020-10-07 15:23:20.854416"], ["claim_hash", "583bc166383852cecf53c525be7e9124c9c2e542"], ["created_at", "2020-10-07 15:23:20.854319"], ["updated_at", "2020-10-07 15:23:20.854319"]]
|
36611
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36612
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36613
|
+
[1m[36mOtherEntity Create (0.1ms)[0m [1m[32mINSERT INTO "other_entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test other entity"], ["created_at", "2020-10-07 15:23:20.856071"], ["updated_at", "2020-10-07 15:23:20.856071"]]
|
36614
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36615
|
+
[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]]
|
36616
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36617
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36618
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36619
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.858435"], ["updated_at", "2020-10-07 15:23:20.858435"]]
|
36620
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36621
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36622
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.859313"], ["updated_at", "2020-10-07 15:23:20.859313"]]
|
36623
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36624
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36625
|
+
[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", "2020-10-07 15:23:20.860253"], ["date_accepted", "2020-10-07 15:23:20.859911"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.860231"], ["updated_at", "2020-10-07 15:23:20.860231"]]
|
36626
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36627
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36628
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:20.861101"], ["updated_at", "2020-10-07 15:23:20.861101"]]
|
36629
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36630
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36631
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2020-10-07 15:23:20.861817"], ["updated_at", "2020-10-07 15:23:20.861817"]]
|
36632
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36633
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36634
|
+
[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", "2020-10-07 15:23:20.862675"], ["date_accepted", "2020-10-07 15:23:20.862371"], ["claim_hash", "8c9507910339c98a6990a85615f102c6c02ce1ee"], ["created_at", "2020-10-07 15:23:20.862653"], ["updated_at", "2020-10-07 15:23:20.862653"]]
|
36635
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36636
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36637
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2020-10-07 15:23:20.863494"], ["updated_at", "2020-10-07 15:23:20.863494"]]
|
36638
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36639
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36640
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2020-10-07 15:23:20.864218"], ["updated_at", "2020-10-07 15:23:20.864218"]]
|
36641
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36642
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36643
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2020-10-07 15:23:20.865112"], ["id", 2]]
|
36644
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36645
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36646
|
+
[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", "2020-10-07 15:23:20.866037"], ["date_accepted", "2020-10-07 15:23:20.865712"], ["claim_hash", "b5fb12f54214ebf41513a26833758d1fe7ad2cc9"], ["created_at", "2020-10-07 15:23:20.866013"], ["updated_at", "2020-10-07 15:23:20.866013"]]
|
36647
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36648
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36649
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:20.866902"], ["updated_at", "2020-10-07 15:23:20.866902"]]
|
36650
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36651
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36652
|
+
[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", "2020-10-07 15:23:20.867705"], ["claim_hash", "e75953766e09a3fa0b2d55e5a929b47bd742c7af"], ["created_at", "2020-10-07 15:23:20.867684"], ["updated_at", "2020-10-07 15:23:20.867684"]]
|
36653
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36654
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36655
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:20.868456"], ["updated_at", "2020-10-07 15:23:20.868456"]]
|
36656
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36657
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36658
|
+
[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", "2020-10-07 15:23:20.869215"], ["claim_hash", "583bc166383852cecf53c525be7e9124c9c2e542"], ["created_at", "2020-10-07 15:23:20.869194"], ["updated_at", "2020-10-07 15:23:20.869194"]]
|
36659
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36660
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36661
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2020-10-07 15:23:20.870149"], ["updated_at", "2020-10-07 15:23:20.870149"]]
|
36662
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36663
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36664
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2020-10-07 15:23:20.871005"], ["id", 1]]
|
36665
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36666
|
+
[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]]
|
36667
|
+
[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]]
|
36668
|
+
[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]]
|
36669
|
+
[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]]
|
36670
|
+
[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]]
|
36671
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36672
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36673
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36674
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.874673"], ["updated_at", "2020-10-07 15:23:20.874673"]]
|
36675
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36676
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36677
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.875634"], ["updated_at", "2020-10-07 15:23:20.875634"]]
|
36678
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36679
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36680
|
+
[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", "2020-10-07 15:23:20.876678"], ["date_accepted", "2020-10-07 15:23:20.876268"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.876652"], ["updated_at", "2020-10-07 15:23:20.876652"]]
|
36681
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36682
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36683
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:20.877677"], ["updated_at", "2020-10-07 15:23:20.877677"]]
|
36684
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36685
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36686
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2020-10-07 15:23:20.878576"], ["updated_at", "2020-10-07 15:23:20.878576"]]
|
36687
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36688
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36689
|
+
[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", "2020-10-07 15:23:20.879690"], ["date_accepted", "2020-10-07 15:23:20.879265"], ["claim_hash", "8c9507910339c98a6990a85615f102c6c02ce1ee"], ["created_at", "2020-10-07 15:23:20.879662"], ["updated_at", "2020-10-07 15:23:20.879662"]]
|
36690
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36691
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36692
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2020-10-07 15:23:20.880832"], ["updated_at", "2020-10-07 15:23:20.880832"]]
|
36693
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36694
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36695
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2020-10-07 15:23:20.881892"], ["updated_at", "2020-10-07 15:23:20.881892"]]
|
36696
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36697
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36698
|
+
[1m[36mEntity Update (0.5ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2020-10-07 15:23:20.883186"], ["id", 2]]
|
36699
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36700
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36701
|
+
[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", "2020-10-07 15:23:20.887757"], ["date_accepted", "2020-10-07 15:23:20.886345"], ["claim_hash", "b5fb12f54214ebf41513a26833758d1fe7ad2cc9"], ["created_at", "2020-10-07 15:23:20.887674"], ["updated_at", "2020-10-07 15:23:20.887674"]]
|
36702
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36703
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36704
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:20.889266"], ["updated_at", "2020-10-07 15:23:20.889266"]]
|
36705
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36706
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36707
|
+
[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", "2020-10-07 15:23:20.890119"], ["claim_hash", "e75953766e09a3fa0b2d55e5a929b47bd742c7af"], ["created_at", "2020-10-07 15:23:20.890098"], ["updated_at", "2020-10-07 15:23:20.890098"]]
|
36708
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36709
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36710
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:20.890904"], ["updated_at", "2020-10-07 15:23:20.890904"]]
|
36711
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36712
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36713
|
+
[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", "2020-10-07 15:23:20.891718"], ["claim_hash", "583bc166383852cecf53c525be7e9124c9c2e542"], ["created_at", "2020-10-07 15:23:20.891697"], ["updated_at", "2020-10-07 15:23:20.891697"]]
|
36714
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36715
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36716
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2020-10-07 15:23:20.892636"], ["updated_at", "2020-10-07 15:23:20.892636"]]
|
36717
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36718
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36719
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2020-10-07 15:23:20.893487"], ["id", 1]]
|
36720
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36721
|
+
[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]]
|
36722
|
+
[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]]
|
36723
|
+
[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]]
|
36724
|
+
[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]]
|
36725
|
+
[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]]
|
36726
|
+
[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]]
|
36727
|
+
[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]]
|
36728
|
+
[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]]
|
36729
|
+
[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]]
|
36730
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36731
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36732
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36733
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.898396"], ["updated_at", "2020-10-07 15:23:20.898396"]]
|
36734
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36735
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36736
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.899323"], ["updated_at", "2020-10-07 15:23:20.899323"]]
|
36737
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36738
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36739
|
+
[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", "2020-10-07 15:23:20.900337"], ["date_accepted", "2020-10-07 15:23:20.899936"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.900314"], ["updated_at", "2020-10-07 15:23:20.900314"]]
|
36740
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36741
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36742
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:20.901201"], ["updated_at", "2020-10-07 15:23:20.901201"]]
|
36743
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36744
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36745
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2020-10-07 15:23:20.901911"], ["updated_at", "2020-10-07 15:23:20.901911"]]
|
36746
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36747
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36748
|
+
[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", "2020-10-07 15:23:20.902791"], ["date_accepted", "2020-10-07 15:23:20.902477"], ["claim_hash", "8c9507910339c98a6990a85615f102c6c02ce1ee"], ["created_at", "2020-10-07 15:23:20.902770"], ["updated_at", "2020-10-07 15:23:20.902770"]]
|
36749
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36750
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36751
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2020-10-07 15:23:20.903607"], ["updated_at", "2020-10-07 15:23:20.903607"]]
|
36752
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36753
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36754
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2020-10-07 15:23:20.904317"], ["updated_at", "2020-10-07 15:23:20.904317"]]
|
36755
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36756
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36757
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2020-10-07 15:23:20.905210"], ["id", 2]]
|
36758
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36759
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36760
|
+
[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", "2020-10-07 15:23:20.906199"], ["date_accepted", "2020-10-07 15:23:20.905855"], ["claim_hash", "b5fb12f54214ebf41513a26833758d1fe7ad2cc9"], ["created_at", "2020-10-07 15:23:20.906176"], ["updated_at", "2020-10-07 15:23:20.906176"]]
|
36761
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36762
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36763
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:20.907053"], ["updated_at", "2020-10-07 15:23:20.907053"]]
|
36764
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36765
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36766
|
+
[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", "2020-10-07 15:23:20.907949"], ["claim_hash", "e75953766e09a3fa0b2d55e5a929b47bd742c7af"], ["created_at", "2020-10-07 15:23:20.907926"], ["updated_at", "2020-10-07 15:23:20.907926"]]
|
36767
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36768
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36769
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:20.908799"], ["updated_at", "2020-10-07 15:23:20.908799"]]
|
36770
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36771
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36772
|
+
[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", "2020-10-07 15:23:20.909742"], ["claim_hash", "583bc166383852cecf53c525be7e9124c9c2e542"], ["created_at", "2020-10-07 15:23:20.909714"], ["updated_at", "2020-10-07 15:23:20.909714"]]
|
36773
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36774
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36775
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2020-10-07 15:23:20.910911"], ["updated_at", "2020-10-07 15:23:20.910911"]]
|
36776
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36777
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36778
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2020-10-07 15:23:20.912148"], ["id", 1]]
|
36779
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36780
|
+
[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]]
|
36781
|
+
[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]]
|
36782
|
+
[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]]
|
36783
|
+
[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]]
|
36784
|
+
[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]]
|
36785
|
+
[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]]
|
36786
|
+
[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]]
|
36787
|
+
[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]]
|
36788
|
+
[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]]
|
36789
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 1]]
|
36790
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
36791
|
+
[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]]
|
36792
|
+
[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]]
|
36793
|
+
[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]]
|
36794
|
+
[1m[35m (1.3ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
36795
|
+
[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]]
|
36796
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36797
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36798
|
+
[1m[36mInvitation Load (0.3ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36799
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36800
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.934196"], ["updated_at", "2020-10-07 15:23:20.934196"]]
|
36801
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36802
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36803
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.935143"], ["updated_at", "2020-10-07 15:23:20.935143"]]
|
36804
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36805
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36806
|
+
[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", "2020-10-07 15:23:20.936117"], ["date_accepted", "2020-10-07 15:23:20.935757"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.936092"], ["updated_at", "2020-10-07 15:23:20.936092"]]
|
36807
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36808
|
+
[1m[36mUser Exists? (0.2ms)[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]]
|
36809
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36810
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36811
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36812
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36813
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.943657"], ["updated_at", "2020-10-07 15:23:20.943657"]]
|
36814
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36815
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36816
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.944705"], ["updated_at", "2020-10-07 15:23:20.944705"]]
|
36817
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36818
|
+
[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]]
|
36819
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36820
|
+
[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", "2020-10-07 15:23:20.946461"], ["date_accepted", "2020-10-07 15:23:20.946212"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.946432"], ["updated_at", "2020-10-07 15:23:20.946432"]]
|
36821
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36822
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36823
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
36824
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36825
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36826
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.949573"], ["updated_at", "2020-10-07 15:23:20.949573"]]
|
36827
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36828
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36829
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.953034"], ["updated_at", "2020-10-07 15:23:20.953034"]]
|
36830
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36831
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36832
|
+
[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", "2020-10-07 15:23:20.954278"], ["date_accepted", "2020-10-07 15:23:20.953891"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.954253"], ["updated_at", "2020-10-07 15:23:20.954253"]]
|
36833
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36834
|
+
[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]]
|
36835
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36836
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36837
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36838
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36839
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.956850"], ["updated_at", "2020-10-07 15:23:20.956850"]]
|
36840
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36841
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36842
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.957764"], ["updated_at", "2020-10-07 15:23:20.957764"]]
|
36843
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36844
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36845
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36846
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36847
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36848
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.959570"], ["updated_at", "2020-10-07 15:23:20.959570"]]
|
36849
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36850
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36851
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.960368"], ["updated_at", "2020-10-07 15:23:20.960368"]]
|
36852
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36853
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36854
|
+
[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", "2020-10-07 15:23:20.961326"], ["date_accepted", "2020-10-07 15:23:20.960977"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.961303"], ["updated_at", "2020-10-07 15:23:20.961303"]]
|
36855
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36856
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36857
|
+
[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"]]
|
36858
|
+
[1m[36mInvitation Destroy (0.1ms)[0m [1m[31mDELETE FROM "invitations" WHERE "invitations"."id" = ?[0m [["id", 1]]
|
36859
|
+
[1m[36mEntity Destroy (0.1ms)[0m [1m[31mDELETE FROM "entities" WHERE "entities"."id" = ?[0m [["id", 1]]
|
36860
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36861
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
36862
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36863
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36864
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36865
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36866
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.965153"], ["updated_at", "2020-10-07 15:23:20.965153"]]
|
36867
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36868
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36869
|
+
[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", "2020-10-07 15:23:20.966114"], ["claim_hash", "b07adaf47ae46b41d88eb74846aaf7d13b357b50"], ["created_at", "2020-10-07 15:23:20.966089"], ["updated_at", "2020-10-07 15:23:20.966089"]]
|
36870
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36871
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36872
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36873
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36874
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36875
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.968109"], ["updated_at", "2020-10-07 15:23:20.968109"]]
|
36876
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36877
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36878
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.968982"], ["updated_at", "2020-10-07 15:23:20.968982"]]
|
36879
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36880
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36881
|
+
[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", "2020-10-07 15:23:20.969875"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.969843"], ["updated_at", "2020-10-07 15:23:20.969843"]]
|
36882
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36883
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36884
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36885
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36886
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36887
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:20.971894"], ["updated_at", "2020-10-07 15:23:20.971894"]]
|
36888
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36889
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36890
|
+
[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", "2020-10-07 15:23:20.973044"], ["claim_hash", "e75953766e09a3fa0b2d55e5a929b47bd742c7af"], ["created_at", "2020-10-07 15:23:20.973018"], ["updated_at", "2020-10-07 15:23:20.973018"]]
|
36891
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36892
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36893
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36894
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36895
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36896
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.975602"], ["updated_at", "2020-10-07 15:23:20.975602"]]
|
36897
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36898
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36899
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.976630"], ["updated_at", "2020-10-07 15:23:20.976630"]]
|
36900
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36901
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36902
|
+
[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", "2020-10-07 15:23:20.977642"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.977617"], ["updated_at", "2020-10-07 15:23:20.977617"]]
|
36903
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36904
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36905
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:20.978624"], ["updated_at", "2020-10-07 15:23:20.978624"]]
|
36906
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36907
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36908
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2020-10-07 15:23:20.979488"], ["updated_at", "2020-10-07 15:23:20.979488"]]
|
36909
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36910
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36911
|
+
[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", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2020-10-07 15:23:20.980694"], ["date_accepted", "2020-10-07 15:23:20.980168"], ["claim_hash", "8c9507910339c98a6990a85615f102c6c02ce1ee"], ["created_at", "2020-10-07 15:23:20.980655"], ["updated_at", "2020-10-07 15:23:20.980655"]]
|
36912
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36913
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
36914
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36915
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36916
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36917
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:20.984076"], ["updated_at", "2020-10-07 15:23:20.984076"]]
|
36918
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36919
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36920
|
+
[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", "2020-10-07 15:23:20.985580"], ["claim_hash", "e75953766e09a3fa0b2d55e5a929b47bd742c7af"], ["created_at", "2020-10-07 15:23:20.985546"], ["updated_at", "2020-10-07 15:23:20.985546"]]
|
36921
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36922
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36923
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36924
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36925
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36926
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.987993"], ["updated_at", "2020-10-07 15:23:20.987993"]]
|
36927
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36928
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36929
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.988902"], ["updated_at", "2020-10-07 15:23:20.988902"]]
|
36930
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36931
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36932
|
+
[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", "2020-10-07 15:23:20.989763"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.989740"], ["updated_at", "2020-10-07 15:23:20.989740"]]
|
36933
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36934
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36935
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36936
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36937
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36938
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:20.991572"], ["updated_at", "2020-10-07 15:23:20.991572"]]
|
36939
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36940
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36941
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2020-10-07 15:23:20.992400"], ["updated_at", "2020-10-07 15:23:20.992400"]]
|
36942
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36943
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36944
|
+
[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", "2020-10-07 15:23:20.993304"], ["date_accepted", "2020-10-07 15:23:20.992974"], ["claim_hash", "8c9507910339c98a6990a85615f102c6c02ce1ee"], ["created_at", "2020-10-07 15:23:20.993282"], ["updated_at", "2020-10-07 15:23:20.993282"]]
|
36945
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36946
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36947
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36948
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36949
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36950
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:20.995323"], ["updated_at", "2020-10-07 15:23:20.995323"]]
|
36951
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36952
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36953
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:20.996596"], ["updated_at", "2020-10-07 15:23:20.996596"]]
|
36954
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36955
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36956
|
+
[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", "2020-10-07 15:23:20.998027"], ["claim_hash", "98a7c11beacbd021848bcc9317efea4c1eb1c31b"], ["created_at", "2020-10-07 15:23:20.997989"], ["updated_at", "2020-10-07 15:23:20.997989"]]
|
36957
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36958
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = '98a7c11beacbd021848bcc9317efea4c1eb1c31b') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
36959
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36960
|
+
[1m[36mEntity Load (0.1ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
36961
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "date_accepted" = ?, "user_id" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["date_accepted", "2020-10-07 15:23:20.999830"], ["user_id", 1], ["updated_at", "2020-10-07 15:23:21.001492"], ["id", 1]]
|
36962
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36963
|
+
[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]]
|
36964
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36965
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
36966
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36967
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36968
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:21.005650"], ["updated_at", "2020-10-07 15:23:21.005650"]]
|
36969
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36970
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36971
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 3"], ["created_at", "2020-10-07 15:23:21.007157"], ["updated_at", "2020-10-07 15:23:21.007157"]]
|
36972
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36973
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36974
|
+
[1m[36mInvitation Create (0.2ms)[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", "2020-10-07 15:23:21.008440"], ["claim_hash", "0cbcebe4b11af60357e9903f19965592966db66f"], ["created_at", "2020-10-07 15:23:21.008412"], ["updated_at", "2020-10-07 15:23:21.008412"]]
|
36975
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36976
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (email = 'test4@d-i.co' AND user_id IS NULL)[0m
|
36977
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36978
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
36979
|
+
[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", "2020-10-07 15:23:21.010008"], ["updated_at", "2020-10-07 15:23:21.010883"], ["id", 1]]
|
36980
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36981
|
+
[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]]
|
36982
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36983
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
36984
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36985
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36986
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:21.014406"], ["updated_at", "2020-10-07 15:23:21.014406"]]
|
36987
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36988
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND (email = 'test4@d-i.co')[0m
|
36989
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36990
|
+
[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", "2020-10-07 15:23:21.016978"], ["claim_hash", "0cbcebe4b11af60357e9903f19965592966db66f"], ["created_at", "2020-10-07 15:23:21.016947"], ["updated_at", "2020-10-07 15:23:21.016947"]]
|
36991
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36992
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
36993
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
36994
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
36995
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
36996
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:21.019771"], ["updated_at", "2020-10-07 15:23:21.019771"]]
|
36997
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
36998
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
36999
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37000
|
+
[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", "2020-10-07 15:23:21.022448"], ["date_accepted", "2020-10-07 15:23:21.022188"], ["claim_hash", "0cbcebe4b11af60357e9903f19965592966db66f"], ["created_at", "2020-10-07 15:23:21.022411"], ["updated_at", "2020-10-07 15:23:21.022411"]]
|
37001
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37002
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37003
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37004
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37005
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37006
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:21.024684"], ["updated_at", "2020-10-07 15:23:21.024684"]]
|
37007
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37008
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37009
|
+
[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", "2020-10-07 15:23:21.025630"], ["claim_hash", "0cbcebe4b11af60357e9903f19965592966db66f"], ["created_at", "2020-10-07 15:23:21.025607"], ["updated_at", "2020-10-07 15:23:21.025607"]]
|
37010
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37011
|
+
[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]]
|
37012
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37013
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37014
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37015
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37016
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:21.028015"], ["updated_at", "2020-10-07 15:23:21.028015"]]
|
37017
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37018
|
+
[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
|
37019
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37020
|
+
[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", "2020-10-07 15:23:21.029259"], ["claim_hash", "0cbcebe4b11af60357e9903f19965592966db66f"], ["created_at", "2020-10-07 15:23:21.029236"], ["updated_at", "2020-10-07 15:23:21.029236"]]
|
37021
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37022
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37023
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37024
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37025
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37026
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:21.031285"], ["updated_at", "2020-10-07 15:23:21.031285"]]
|
37027
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37028
|
+
[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]]
|
37029
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37030
|
+
[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", "2020-10-07 15:23:21.032937"], ["date_accepted", "2020-10-07 15:23:21.032736"], ["claim_hash", "0cbcebe4b11af60357e9903f19965592966db66f"], ["created_at", "2020-10-07 15:23:21.032912"], ["updated_at", "2020-10-07 15:23:21.032912"]]
|
37031
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37032
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37033
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37034
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37035
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37036
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2020-10-07 15:23:21.035340"], ["updated_at", "2020-10-07 15:23:21.035340"]]
|
37037
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37038
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37039
|
+
[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", "2020-10-07 15:23:21.036669"], ["claim_hash", "0cbcebe4b11af60357e9903f19965592966db66f"], ["created_at", "2020-10-07 15:23:21.036637"], ["updated_at", "2020-10-07 15:23:21.036637"]]
|
37040
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37041
|
+
[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]]
|
37042
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37043
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
37044
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37045
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37046
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.040064"], ["updated_at", "2020-10-07 15:23:21.040064"]]
|
37047
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37048
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37049
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:21.041138"], ["updated_at", "2020-10-07 15:23:21.041138"]]
|
37050
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37051
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37052
|
+
[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", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2020-10-07 15:23:21.042410"], ["date_accepted", "2020-10-07 15:23:21.041873"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.042376"], ["updated_at", "2020-10-07 15:23:21.042376"]]
|
37053
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37054
|
+
[1m[36mEntity Exists? (0.2ms)[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]]
|
37055
|
+
[1m[35m (0.2ms)[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"]]
|
37056
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37057
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
37058
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37059
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37060
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.048653"], ["updated_at", "2020-10-07 15:23:21.048653"]]
|
37061
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37062
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37063
|
+
[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", "2020-10-07 15:23:21.049723"], ["claim_hash", "33e4c701d9603515b68067c3f1b42e63adaa0f1a"], ["created_at", "2020-10-07 15:23:21.049695"], ["updated_at", "2020-10-07 15:23:21.049695"]]
|
37064
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37065
|
+
[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]]
|
37066
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37067
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37068
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37069
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37070
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.052208"], ["updated_at", "2020-10-07 15:23:21.052208"]]
|
37071
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37072
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37073
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:21.053058"], ["updated_at", "2020-10-07 15:23:21.053058"]]
|
37074
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37075
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37076
|
+
[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", "2020-10-07 15:23:21.053972"], ["date_accepted", "2020-10-07 15:23:21.053635"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.053944"], ["updated_at", "2020-10-07 15:23:21.053944"]]
|
37077
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37078
|
+
[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]]
|
37079
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37080
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37081
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37082
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37083
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.056261"], ["updated_at", "2020-10-07 15:23:21.056261"]]
|
37084
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37085
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37086
|
+
[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", "2020-10-07 15:23:21.057224"], ["claim_hash", "33e4c701d9603515b68067c3f1b42e63adaa0f1a"], ["created_at", "2020-10-07 15:23:21.057189"], ["updated_at", "2020-10-07 15:23:21.057189"]]
|
37087
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37088
|
+
[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]]
|
37089
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37090
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37091
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37092
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37093
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.059501"], ["updated_at", "2020-10-07 15:23:21.059501"]]
|
37094
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37095
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37096
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:21.060338"], ["updated_at", "2020-10-07 15:23:21.060338"]]
|
37097
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37098
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37099
|
+
[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", "2020-10-07 15:23:21.061251"], ["date_accepted", "2020-10-07 15:23:21.060917"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.061229"], ["updated_at", "2020-10-07 15:23:21.061229"]]
|
37100
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37101
|
+
[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]]
|
37102
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37103
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37104
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37105
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37106
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.063764"], ["updated_at", "2020-10-07 15:23:21.063764"]]
|
37107
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37108
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37109
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:21.064864"], ["updated_at", "2020-10-07 15:23:21.064864"]]
|
37110
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37111
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37112
|
+
[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", "2020-10-07 15:23:21.065975"], ["date_accepted", "2020-10-07 15:23:21.065540"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.065947"], ["updated_at", "2020-10-07 15:23:21.065947"]]
|
37113
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37114
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
37115
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
37116
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
37117
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
37118
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37119
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37120
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.073667"], ["updated_at", "2020-10-07 15:23:21.073667"]]
|
37121
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37122
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37123
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:21.074601"], ["updated_at", "2020-10-07 15:23:21.074601"]]
|
37124
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37125
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37126
|
+
[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", "2020-10-07 15:23:21.075555"], ["date_accepted", "2020-10-07 15:23:21.075185"], ["claim_hash", "33e4c701d9603515b68067c3f1b42e63adaa0f1a"], ["created_at", "2020-10-07 15:23:21.075531"], ["updated_at", "2020-10-07 15:23:21.075531"]]
|
37127
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37128
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37129
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.076400"], ["updated_at", "2020-10-07 15:23:21.076400"]]
|
37130
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37131
|
+
[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]]
|
37132
|
+
[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]]
|
37133
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37134
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37135
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37136
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37137
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.079155"], ["updated_at", "2020-10-07 15:23:21.079155"]]
|
37138
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37139
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37140
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:21.080027"], ["updated_at", "2020-10-07 15:23:21.080027"]]
|
37141
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37142
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37143
|
+
[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", "2020-10-07 15:23:21.080972"], ["date_accepted", "2020-10-07 15:23:21.080611"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.080948"], ["updated_at", "2020-10-07 15:23:21.080948"]]
|
37144
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37145
|
+
[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]]
|
37146
|
+
[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]]
|
37147
|
+
[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]]
|
37148
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37149
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37150
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37151
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37152
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.084000"], ["updated_at", "2020-10-07 15:23:21.084000"]]
|
37153
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37154
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37155
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:21.084927"], ["updated_at", "2020-10-07 15:23:21.084927"]]
|
37156
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37157
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37158
|
+
[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", "2020-10-07 15:23:21.085902"], ["date_accepted", "2020-10-07 15:23:21.085556"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.085879"], ["updated_at", "2020-10-07 15:23:21.085879"]]
|
37159
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37160
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37161
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.086821"], ["updated_at", "2020-10-07 15:23:21.086821"]]
|
37162
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37163
|
+
[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]]
|
37164
|
+
[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]]
|
37165
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37166
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37167
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37168
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37169
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.089294"], ["updated_at", "2020-10-07 15:23:21.089294"]]
|
37170
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37171
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37172
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:21.090081"], ["updated_at", "2020-10-07 15:23:21.090081"]]
|
37173
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37174
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37175
|
+
[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", "2020-10-07 15:23:21.091008"], ["date_accepted", "2020-10-07 15:23:21.090669"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.090985"], ["updated_at", "2020-10-07 15:23:21.090985"]]
|
37176
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37177
|
+
[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]]
|
37178
|
+
[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]]
|
37179
|
+
[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]]
|
37180
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37181
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37182
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37183
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37184
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.094225"], ["updated_at", "2020-10-07 15:23:21.094225"]]
|
37185
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37186
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37187
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:21.095170"], ["updated_at", "2020-10-07 15:23:21.095170"]]
|
37188
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37189
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37190
|
+
[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", "2020-10-07 15:23:21.096190"], ["date_accepted", "2020-10-07 15:23:21.095820"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.096166"], ["updated_at", "2020-10-07 15:23:21.096166"]]
|
37191
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37192
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37193
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 1]]
|
37194
|
+
[1m[36mInvitation Destroy (0.1ms)[0m [1m[31mDELETE FROM "invitations" WHERE "invitations"."id" = ?[0m [["id", 1]]
|
37195
|
+
[1m[36mUser Destroy (0.1ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
37196
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37197
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
37198
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37199
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37200
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37201
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37202
|
+
[1m[36mUser Create (0.5ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.100842"], ["updated_at", "2020-10-07 15:23:21.100842"]]
|
37203
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37204
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37205
|
+
[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", "2020-10-07 15:23:21.104983"], ["claim_hash", "33e4c701d9603515b68067c3f1b42e63adaa0f1a"], ["created_at", "2020-10-07 15:23:21.104952"], ["updated_at", "2020-10-07 15:23:21.104952"]]
|
37206
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37207
|
+
[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
|
37208
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37209
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.108319"], ["updated_at", "2020-10-07 15:23:21.108319"]]
|
37210
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37211
|
+
[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
|
37212
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37213
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37214
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37215
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37216
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.110538"], ["updated_at", "2020-10-07 15:23:21.110538"]]
|
37217
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37218
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37219
|
+
[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", "2020-10-07 15:23:21.111454"], ["claim_hash", "33e4c701d9603515b68067c3f1b42e63adaa0f1a"], ["created_at", "2020-10-07 15:23:21.111431"], ["updated_at", "2020-10-07 15:23:21.111431"]]
|
37220
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37221
|
+
[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
|
37222
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37223
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.112928"], ["updated_at", "2020-10-07 15:23:21.112928"]]
|
37224
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37225
|
+
[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
|
37226
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37227
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37228
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37229
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37230
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.115205"], ["updated_at", "2020-10-07 15:23:21.115205"]]
|
37231
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37232
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37233
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.116042"], ["updated_at", "2020-10-07 15:23:21.116042"]]
|
37234
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37235
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37236
|
+
[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", "2020-10-07 15:23:21.116970"], ["date_accepted", "2020-10-07 15:23:21.116625"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.116947"], ["updated_at", "2020-10-07 15:23:21.116947"]]
|
37237
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37238
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37239
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:21.117802"], ["updated_at", "2020-10-07 15:23:21.117802"]]
|
37240
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37241
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37242
|
+
[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", "2020-10-07 15:23:21.118567"], ["claim_hash", "84b322578b3c7f044a898174d768c3eab2da1ba3"], ["created_at", "2020-10-07 15:23:21.118545"], ["updated_at", "2020-10-07 15:23:21.118545"]]
|
37243
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37244
|
+
[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]]
|
37245
|
+
[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]]
|
37246
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37247
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37248
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37249
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37250
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.121276"], ["updated_at", "2020-10-07 15:23:21.121276"]]
|
37251
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37252
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37253
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.122125"], ["updated_at", "2020-10-07 15:23:21.122125"]]
|
37254
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37255
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37256
|
+
[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", "2020-10-07 15:23:21.123050"], ["date_accepted", "2020-10-07 15:23:21.122703"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.123028"], ["updated_at", "2020-10-07 15:23:21.123028"]]
|
37257
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37258
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37259
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:21.123891"], ["updated_at", "2020-10-07 15:23:21.123891"]]
|
37260
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37261
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37262
|
+
[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", "2020-10-07 15:23:21.124680"], ["claim_hash", "84b322578b3c7f044a898174d768c3eab2da1ba3"], ["created_at", "2020-10-07 15:23:21.124658"], ["updated_at", "2020-10-07 15:23:21.124658"]]
|
37263
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37264
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37265
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.125453"], ["updated_at", "2020-10-07 15:23:21.125453"]]
|
37266
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37267
|
+
[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]]
|
37268
|
+
[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]]
|
37269
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37270
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37271
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37272
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37273
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.128525"], ["updated_at", "2020-10-07 15:23:21.128525"]]
|
37274
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37275
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37276
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.129622"], ["updated_at", "2020-10-07 15:23:21.129622"]]
|
37277
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37278
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37279
|
+
[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", "2020-10-07 15:23:21.130786"], ["date_accepted", "2020-10-07 15:23:21.130367"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.130760"], ["updated_at", "2020-10-07 15:23:21.130760"]]
|
37280
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37281
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37282
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:21.131855"], ["updated_at", "2020-10-07 15:23:21.131855"]]
|
37283
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37284
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37285
|
+
[1m[36mInvitation Create (0.2ms)[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", "2020-10-07 15:23:21.132914"], ["claim_hash", "84b322578b3c7f044a898174d768c3eab2da1ba3"], ["created_at", "2020-10-07 15:23:21.132890"], ["updated_at", "2020-10-07 15:23:21.132890"]]
|
37286
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37287
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
37288
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37289
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37290
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37291
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37292
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.139092"], ["updated_at", "2020-10-07 15:23:21.139092"]]
|
37293
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37294
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37295
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.140024"], ["updated_at", "2020-10-07 15:23:21.140024"]]
|
37296
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37297
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37298
|
+
[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", "2020-10-07 15:23:21.141035"], ["date_accepted", "2020-10-07 15:23:21.140650"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.141012"], ["updated_at", "2020-10-07 15:23:21.141012"]]
|
37299
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37300
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37301
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:21.141887"], ["updated_at", "2020-10-07 15:23:21.141887"]]
|
37302
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37303
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37304
|
+
[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", "2020-10-07 15:23:21.142655"], ["claim_hash", "84b322578b3c7f044a898174d768c3eab2da1ba3"], ["created_at", "2020-10-07 15:23:21.142635"], ["updated_at", "2020-10-07 15:23:21.142635"]]
|
37305
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37306
|
+
[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]]
|
37307
|
+
[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]]
|
37308
|
+
[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]]
|
37309
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37310
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37311
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37312
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37313
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.145630"], ["updated_at", "2020-10-07 15:23:21.145630"]]
|
37314
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37315
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37316
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.146459"], ["updated_at", "2020-10-07 15:23:21.146459"]]
|
37317
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37318
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37319
|
+
[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", "2020-10-07 15:23:21.147382"], ["date_accepted", "2020-10-07 15:23:21.147037"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.147359"], ["updated_at", "2020-10-07 15:23:21.147359"]]
|
37320
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37321
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37322
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:21.148309"], ["updated_at", "2020-10-07 15:23:21.148309"]]
|
37323
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37324
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37325
|
+
[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", "2020-10-07 15:23:21.149101"], ["claim_hash", "84b322578b3c7f044a898174d768c3eab2da1ba3"], ["created_at", "2020-10-07 15:23:21.149076"], ["updated_at", "2020-10-07 15:23:21.149076"]]
|
37326
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37327
|
+
[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]]
|
37328
|
+
[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]]
|
37329
|
+
[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]]
|
37330
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37331
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37332
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37333
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37334
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.152116"], ["updated_at", "2020-10-07 15:23:21.152116"]]
|
37335
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37336
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37337
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.152978"], ["updated_at", "2020-10-07 15:23:21.152978"]]
|
37338
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37339
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37340
|
+
[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", "2020-10-07 15:23:21.153886"], ["date_accepted", "2020-10-07 15:23:21.153560"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.153864"], ["updated_at", "2020-10-07 15:23:21.153864"]]
|
37341
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37342
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37343
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:21.154721"], ["updated_at", "2020-10-07 15:23:21.154721"]]
|
37344
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37345
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37346
|
+
[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", "2020-10-07 15:23:21.155634"], ["claim_hash", "84b322578b3c7f044a898174d768c3eab2da1ba3"], ["created_at", "2020-10-07 15:23:21.155611"], ["updated_at", "2020-10-07 15:23:21.155611"]]
|
37347
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37348
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37349
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.156474"], ["updated_at", "2020-10-07 15:23:21.156474"]]
|
37350
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37351
|
+
[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]]
|
37352
|
+
[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]]
|
37353
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37354
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37355
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37356
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37357
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.159474"], ["updated_at", "2020-10-07 15:23:21.159474"]]
|
37358
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37359
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37360
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.160594"], ["updated_at", "2020-10-07 15:23:21.160594"]]
|
37361
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37362
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37363
|
+
[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", "2020-10-07 15:23:21.161718"], ["date_accepted", "2020-10-07 15:23:21.161304"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.161692"], ["updated_at", "2020-10-07 15:23:21.161692"]]
|
37364
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37365
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37366
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:21.162843"], ["updated_at", "2020-10-07 15:23:21.162843"]]
|
37367
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37368
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37369
|
+
[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", "2020-10-07 15:23:21.163794"], ["claim_hash", "84b322578b3c7f044a898174d768c3eab2da1ba3"], ["created_at", "2020-10-07 15:23:21.163766"], ["updated_at", "2020-10-07 15:23:21.163766"]]
|
37370
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37371
|
+
[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]]
|
37372
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37373
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
37374
|
+
[1m[36mInvitation Load (0.2ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37375
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37376
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.167882"], ["updated_at", "2020-10-07 15:23:21.167882"]]
|
37377
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37378
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37379
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.170396"], ["updated_at", "2020-10-07 15:23:21.170396"]]
|
37380
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37381
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37382
|
+
[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", "2020-10-07 15:23:21.171435"], ["date_accepted", "2020-10-07 15:23:21.171059"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.171412"], ["updated_at", "2020-10-07 15:23:21.171412"]]
|
37383
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37384
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37385
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:21.172275"], ["updated_at", "2020-10-07 15:23:21.172275"]]
|
37386
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37387
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37388
|
+
[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", "2020-10-07 15:23:21.173039"], ["claim_hash", "84b322578b3c7f044a898174d768c3eab2da1ba3"], ["created_at", "2020-10-07 15:23:21.173018"], ["updated_at", "2020-10-07 15:23:21.173018"]]
|
37389
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37390
|
+
[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]]
|
37391
|
+
[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]]
|
37392
|
+
[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]]
|
37393
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37394
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37395
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37396
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37397
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.176150"], ["updated_at", "2020-10-07 15:23:21.176150"]]
|
37398
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37399
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37400
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.177026"], ["updated_at", "2020-10-07 15:23:21.177026"]]
|
37401
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37402
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37403
|
+
[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", "2020-10-07 15:23:21.177958"], ["date_accepted", "2020-10-07 15:23:21.177622"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.177932"], ["updated_at", "2020-10-07 15:23:21.177932"]]
|
37404
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37405
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37406
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:21.178777"], ["updated_at", "2020-10-07 15:23:21.178777"]]
|
37407
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37408
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37409
|
+
[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", "2020-10-07 15:23:21.179552"], ["claim_hash", "84b322578b3c7f044a898174d768c3eab2da1ba3"], ["created_at", "2020-10-07 15:23:21.179530"], ["updated_at", "2020-10-07 15:23:21.179530"]]
|
37410
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37411
|
+
[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]]
|
37412
|
+
[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]]
|
37413
|
+
[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]]
|
37414
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37415
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37416
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37417
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37418
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.182494"], ["updated_at", "2020-10-07 15:23:21.182494"]]
|
37419
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37420
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37421
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.183381"], ["updated_at", "2020-10-07 15:23:21.183381"]]
|
37422
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37423
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37424
|
+
[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", "2020-10-07 15:23:21.184325"], ["date_accepted", "2020-10-07 15:23:21.183978"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.184302"], ["updated_at", "2020-10-07 15:23:21.184302"]]
|
37425
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37426
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37427
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:21.185136"], ["updated_at", "2020-10-07 15:23:21.185136"]]
|
37428
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37429
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37430
|
+
[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", "2020-10-07 15:23:21.185894"], ["claim_hash", "84b322578b3c7f044a898174d768c3eab2da1ba3"], ["created_at", "2020-10-07 15:23:21.185874"], ["updated_at", "2020-10-07 15:23:21.185874"]]
|
37431
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37432
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37433
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.186641"], ["updated_at", "2020-10-07 15:23:21.186641"]]
|
37434
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37435
|
+
[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]]
|
37436
|
+
[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]]
|
37437
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37438
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37439
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37440
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37441
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2020-10-07 15:23:21.189451"], ["updated_at", "2020-10-07 15:23:21.189451"]]
|
37442
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37443
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37444
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.190665"], ["updated_at", "2020-10-07 15:23:21.190665"]]
|
37445
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37446
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37447
|
+
[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", "2020-10-07 15:23:21.191926"], ["date_accepted", "2020-10-07 15:23:21.191480"], ["claim_hash", "ea7b166242301b453da7a97c1add873669468fe5"], ["created_at", "2020-10-07 15:23:21.191900"], ["updated_at", "2020-10-07 15:23:21.191900"]]
|
37448
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37449
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37450
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2020-10-07 15:23:21.192968"], ["updated_at", "2020-10-07 15:23:21.192968"]]
|
37451
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37452
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37453
|
+
[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", "2020-10-07 15:23:21.193885"], ["claim_hash", "84b322578b3c7f044a898174d768c3eab2da1ba3"], ["created_at", "2020-10-07 15:23:21.193861"], ["updated_at", "2020-10-07 15:23:21.193861"]]
|
37454
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37455
|
+
[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]]
|
37456
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37457
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37458
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37459
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37460
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2020-10-07 15:23:21.196682"], ["updated_at", "2020-10-07 15:23:21.196682"]]
|
37461
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37462
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37463
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:21.198431"], ["updated_at", "2020-10-07 15:23:21.198431"]]
|
37464
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37465
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37466
|
+
[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", "2020-10-07 15:23:21.199970"], ["claim_hash", "778f6c83b7f593eae8a35c6fa0fae3c4b6472da8"], ["created_at", "2020-10-07 15:23:21.199941"], ["updated_at", "2020-10-07 15:23:21.199941"]]
|
37467
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37468
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37469
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2020-10-07 15:23:21.201210"], ["updated_at", "2020-10-07 15:23:21.201210"]]
|
37470
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37471
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37472
|
+
[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", "2020-10-07 15:23:21.202632"], ["claim_hash", "778f6c83b7f593eae8a35c6fa0fae3c4b6472da8"], ["created_at", "2020-10-07 15:23:21.202595"], ["updated_at", "2020-10-07 15:23:21.202595"]]
|
37473
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37474
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (email = 'test@d-i.co' AND user_id IS NULL)[0m
|
37475
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37476
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
37477
|
+
[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", "2020-10-07 15:23:21.203990"], ["updated_at", "2020-10-07 15:23:21.204702"], ["id", 1]]
|
37478
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37479
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37480
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
37481
|
+
[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", "2020-10-07 15:23:21.205259"], ["updated_at", "2020-10-07 15:23:21.205812"], ["id", 2]]
|
37482
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37483
|
+
[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]]
|
37484
|
+
[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]]
|
37485
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37486
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37487
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37488
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37489
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2020-10-07 15:23:21.208253"], ["updated_at", "2020-10-07 15:23:21.208253"]]
|
37490
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37491
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37492
|
+
[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", "2020-10-07 15:23:21.209197"], ["claim_hash", "b0bf320de5326f4b0ac2beebf3b4e465e4e442fa"], ["created_at", "2020-10-07 15:23:21.209170"], ["updated_at", "2020-10-07 15:23:21.209170"]]
|
37493
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37494
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37495
|
+
[1m[36mUser Create (1.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2020-10-07 15:23:21.216786"], ["updated_at", "2020-10-07 15:23:21.216786"]]
|
37496
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37497
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (email = 'test@d-i.co' AND user_id IS NULL)[0m
|
37498
|
+
[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]]
|
37499
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 1]]
|
37500
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37501
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37502
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37503
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37504
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2020-10-07 15:23:21.222314"], ["updated_at", "2020-10-07 15:23:21.222314"]]
|
37505
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37506
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37507
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.223444"], ["updated_at", "2020-10-07 15:23:21.223444"]]
|
37508
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37509
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37510
|
+
[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", "2020-10-07 15:23:21.224619"], ["claim_hash", "778f6c83b7f593eae8a35c6fa0fae3c4b6472da8"], ["created_at", "2020-10-07 15:23:21.224584"], ["updated_at", "2020-10-07 15:23:21.224584"]]
|
37511
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37512
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = '778f6c83b7f593eae8a35c6fa0fae3c4b6472da8') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
37513
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37514
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
37515
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "date_accepted" = ?, "user_id" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["date_accepted", "2020-10-07 15:23:21.226017"], ["user_id", 1], ["updated_at", "2020-10-07 15:23:21.226865"], ["id", 1]]
|
37516
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37517
|
+
[1m[36mInvitation Exists? (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
37518
|
+
[1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
|
37519
|
+
[1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
|
37520
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37521
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37522
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.232657"], ["updated_at", "2020-10-07 15:23:21.232657"]]
|
37523
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37524
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37525
|
+
[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", "2020-10-07 15:23:21.233757"], ["claim_hash", "b0bf320de5326f4b0ac2beebf3b4e465e4e442fa"], ["created_at", "2020-10-07 15:23:21.233733"], ["updated_at", "2020-10-07 15:23:21.233733"]]
|
37526
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37527
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37528
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2020-10-07 15:23:21.234615"], ["updated_at", "2020-10-07 15:23:21.234615"]]
|
37529
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37530
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'b0bf320de5326f4b0ac2beebf3b4e465e4e442fa') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
37531
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37532
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
37533
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "date_accepted" = ?, "user_id" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["date_accepted", "2020-10-07 15:23:21.235682"], ["user_id", 1], ["updated_at", "2020-10-07 15:23:21.236384"], ["id", 1]]
|
37534
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37535
|
+
[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]]
|
37536
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37537
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37538
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37539
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37540
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "foo@bar.com"], ["created_at", "2020-10-07 15:23:21.238658"], ["updated_at", "2020-10-07 15:23:21.238658"]]
|
37541
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37542
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37543
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.239532"], ["updated_at", "2020-10-07 15:23:21.239532"]]
|
37544
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37545
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37546
|
+
[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", "2020-10-07 15:23:21.240477"], ["date_accepted", "2020-10-07 15:23:21.240124"], ["claim_hash", "6bd47648c4f470d1a2dde02ad3ab8a5915056281"], ["created_at", "2020-10-07 15:23:21.240454"], ["updated_at", "2020-10-07 15:23:21.240454"]]
|
37547
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37548
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37549
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2020-10-07 15:23:21.241318"], ["updated_at", "2020-10-07 15:23:21.241318"]]
|
37550
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37551
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = '6bd47648c4f470d1a2dde02ad3ab8a5915056281') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
37552
|
+
[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]]
|
37553
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 2]]
|
37554
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37555
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37556
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37557
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37558
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2020-10-07 15:23:21.244264"], ["updated_at", "2020-10-07 15:23:21.244264"]]
|
37559
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37560
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37561
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2020-10-07 15:23:21.245188"], ["updated_at", "2020-10-07 15:23:21.245188"]]
|
37562
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37563
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37564
|
+
[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", "2020-10-07 15:23:21.246112"], ["claim_hash", "778f6c83b7f593eae8a35c6fa0fae3c4b6472da8"], ["created_at", "2020-10-07 15:23:21.246088"], ["updated_at", "2020-10-07 15:23:21.246088"]]
|
37565
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37566
|
+
[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]]
|
37567
|
+
[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]]
|
37568
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 1]]
|
37569
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37570
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37571
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37572
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37573
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2020-10-07 15:23:21.249365"], ["updated_at", "2020-10-07 15:23:21.249365"]]
|
37574
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37575
|
+
[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"]]
|
37576
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37577
|
+
[1m[36mInvitation Create (0.2ms)[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", "2020-10-07 15:23:21.251186"], ["claim_hash", "778f6c83b7f593eae8a35c6fa0fae3c4b6472da8"], ["created_at", "2020-10-07 15:23:21.251155"], ["updated_at", "2020-10-07 15:23:21.251155"]]
|
37578
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37579
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37580
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37581
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37582
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37583
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2020-10-07 15:23:21.253868"], ["updated_at", "2020-10-07 15:23:21.253868"]]
|
37584
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37585
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37586
|
+
[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", "2020-10-07 15:23:21.255026"], ["claim_hash", "778f6c83b7f593eae8a35c6fa0fae3c4b6472da8"], ["created_at", "2020-10-07 15:23:21.255000"], ["updated_at", "2020-10-07 15:23:21.255000"]]
|
37587
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37588
|
+
[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"]]
|
37589
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37590
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37591
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37592
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37593
|
+
[1m[36mEntity Create (0.2ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2020-10-07 15:23:21.258003"], ["updated_at", "2020-10-07 15:23:21.258003"]]
|
37594
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37595
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37596
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2020-10-07 15:23:21.259567"], ["updated_at", "2020-10-07 15:23:21.259567"]]
|
37597
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37598
|
+
[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]]
|
37599
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37600
|
+
[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", "2020-10-07 15:23:21.262100"], ["date_accepted", "2020-10-07 15:23:21.261812"], ["claim_hash", "778f6c83b7f593eae8a35c6fa0fae3c4b6472da8"], ["created_at", "2020-10-07 15:23:21.262069"], ["updated_at", "2020-10-07 15:23:21.262069"]]
|
37601
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37602
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37603
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37604
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37605
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37606
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2020-10-07 15:23:21.265014"], ["updated_at", "2020-10-07 15:23:21.265014"]]
|
37607
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37608
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37609
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2020-10-07 15:23:21.265969"], ["updated_at", "2020-10-07 15:23:21.265969"]]
|
37610
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37611
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37612
|
+
[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", "2020-10-07 15:23:21.267062"], ["claim_hash", "778f6c83b7f593eae8a35c6fa0fae3c4b6472da8"], ["created_at", "2020-10-07 15:23:21.267037"], ["updated_at", "2020-10-07 15:23:21.267037"]]
|
37613
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37614
|
+
[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]]
|
37615
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37616
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37617
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37618
|
+
[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
|
37619
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37620
|
+
[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", "2020-10-07 15:23:21.270095"], ["claim_hash", "778f6c83b7f593eae8a35c6fa0fae3c4b6472da8"], ["created_at", "2020-10-07 15:23:21.270071"], ["updated_at", "2020-10-07 15:23:21.270071"]]
|
37621
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37622
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37623
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37624
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37625
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37626
|
+
[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", "2020-10-07 15:23:21.271919"], ["claim_hash", "778f6c83b7f593eae8a35c6fa0fae3c4b6472da8"], ["created_at", "2020-10-07 15:23:21.271897"], ["updated_at", "2020-10-07 15:23:21.271897"]]
|
37627
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37628
|
+
[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
|
37629
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37630
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37631
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37632
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37633
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.274219"], ["updated_at", "2020-10-07 15:23:21.274219"]]
|
37634
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37635
|
+
[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]]
|
37636
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37637
|
+
[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", "2020-10-07 15:23:21.275725"], ["date_accepted", "2020-10-07 15:23:21.275555"], ["claim_hash", "33e4c701d9603515b68067c3f1b42e63adaa0f1a"], ["created_at", "2020-10-07 15:23:21.275702"], ["updated_at", "2020-10-07 15:23:21.275702"]]
|
37638
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37639
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37640
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37641
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37642
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37643
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.277572"], ["updated_at", "2020-10-07 15:23:21.277572"]]
|
37644
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37645
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37646
|
+
[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", "2020-10-07 15:23:21.278480"], ["claim_hash", "33e4c701d9603515b68067c3f1b42e63adaa0f1a"], ["created_at", "2020-10-07 15:23:21.278457"], ["updated_at", "2020-10-07 15:23:21.278457"]]
|
37647
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37648
|
+
[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]]
|
37649
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37650
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37651
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37652
|
+
[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
|
37653
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37654
|
+
[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", "2020-10-07 15:23:21.281772"], ["claim_hash", "778f6c83b7f593eae8a35c6fa0fae3c4b6472da8"], ["created_at", "2020-10-07 15:23:21.281743"], ["updated_at", "2020-10-07 15:23:21.281743"]]
|
37655
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37656
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37657
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
37658
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37659
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37660
|
+
[1m[36mInvitation Create (0.5ms)[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", "2020-10-07 15:23:21.285942"], ["claim_hash", "778f6c83b7f593eae8a35c6fa0fae3c4b6472da8"], ["created_at", "2020-10-07 15:23:21.285808"], ["updated_at", "2020-10-07 15:23:21.285808"]]
|
37661
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37662
|
+
[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
|
37663
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37664
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37665
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37666
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37667
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.290620"], ["updated_at", "2020-10-07 15:23:21.290620"]]
|
37668
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37669
|
+
[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]]
|
37670
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37671
|
+
[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", "2020-10-07 15:23:21.292145"], ["date_accepted", "2020-10-07 15:23:21.291967"], ["claim_hash", "33e4c701d9603515b68067c3f1b42e63adaa0f1a"], ["created_at", "2020-10-07 15:23:21.292119"], ["updated_at", "2020-10-07 15:23:21.292119"]]
|
37672
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37673
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37674
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
37675
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
37676
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37677
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2020-10-07 15:23:21.294076"], ["updated_at", "2020-10-07 15:23:21.294076"]]
|
37678
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37679
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37680
|
+
[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", "2020-10-07 15:23:21.295214"], ["claim_hash", "33e4c701d9603515b68067c3f1b42e63adaa0f1a"], ["created_at", "2020-10-07 15:23:21.295187"], ["updated_at", "2020-10-07 15:23:21.295187"]]
|
37681
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37682
|
+
[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]]
|
37683
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|