global-registry-bindings 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,5 +4,5 @@ class Country < ApplicationRecord
4
4
  has_many :employees, class_name: 'Namespaced::Person', inverse_of: :country_of_service
5
5
  has_many :residents, class_name: 'Namespaced::Person', inverse_of: :country_of_residence
6
6
 
7
- global_registry_bindings ensure_entity_type: false
7
+ global_registry_bindings ensure_entity_type: false, include_all_columns: true
8
8
  end
@@ -17,19 +17,19 @@ module Namespaced
17
17
  global_registry_bindings binding: :entity,
18
18
  mdm_id_column: :global_registry_mdm_id,
19
19
  mdm_timeout: 24.hours,
20
- exclude_fields: %i[guid country_of_service_gr_id country_of_service_id
21
- country_of_residence_gr_id country_of_residence_id]
20
+ include_all_columns: true,
21
+ exclude: %i[guid country_of_service_gr_id country_of_service_id
22
+ country_of_residence_gr_id country_of_residence_id]
22
23
 
23
24
  global_registry_bindings binding: :relationship,
24
25
  type: :country_of_service,
25
26
  id_column: :country_of_service_gr_id,
26
27
  client_integration_id: ->(model) { "cos_#{model.id}" },
27
28
  related_association: :country_of_service,
28
- exclude_fields: :exclude_cos_fields,
29
- extra_fields: :extra_cos_fields,
29
+ exclude: :exclude_cos_fields,
30
+ fields: :extra_cos_fields,
30
31
  ensure_relationship_type: false,
31
- rename_entity_type: false,
32
- include_all_columns: false
32
+ rename_entity_type: false
33
33
 
34
34
  global_registry_bindings binding: :relationship,
35
35
  type: :country_of_residence,
@@ -37,8 +37,7 @@ module Namespaced
37
37
  client_integration_id: ->(model) { "cor_#{model.id}" },
38
38
  related_association: :country_of_residence,
39
39
  ensure_relationship_type: false,
40
- rename_entity_type: false,
41
- include_all_columns: false
40
+ rename_entity_type: false
42
41
 
43
42
  def entity_attributes_to_push
44
43
  entity_attributes = super
@@ -13,17 +13,17 @@ class Organization < ApplicationRecord
13
13
  type: ->(_model) { :fancy_org },
14
14
  push_on: %i[create destroy],
15
15
  parent_association: :parent,
16
- exclude_fields: :exclude_gr_fields,
17
- extra_fields: proc { |_type, _model| {} }
16
+ include_all_columns: true,
17
+ exclude: :exclude_gr_fields,
18
+ fields: proc { |_type, _model| {} }
18
19
 
19
20
  global_registry_bindings binding: :relationship,
20
21
  type: :area,
21
22
  id_column: :global_registry_area_id,
22
23
  related_association: :area,
23
- exclude_fields: proc { |_type, _model| %i[] },
24
- extra_fields: proc { |_type, _model| { priority: :string } },
25
- rename_entity_type: false,
26
- include_all_columns: false
24
+ exclude: proc { |_type, _model| %i[] },
25
+ fields: proc { |_type, _model| { priority: :string } },
26
+ rename_entity_type: false
27
27
 
28
28
  def exclude_gr_fields(_type)
29
29
  %i[id created_at updated_at gr_id parent_id area_id global_registry_area_id]
@@ -145424,3 +145424,3658 @@
145424
145424
   (0.0ms) RELEASE SAVEPOINT active_record_1
145425
145425
  SQL (0.0ms) UPDATE "communities" SET "infobase_gr_id" = 'ee40f9ed-d625-405b-8ce6-aec821611ec6' WHERE "communities"."id" = ? [["id", 1]]
145426
145426
   (0.1ms) rollback transaction
145427
+  (0.1ms) DROP TABLE IF EXISTS "people"
145428
+  (1.7ms) SELECT sqlite_version(*)
145429
+  (0.5ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "global_registry_mdm_id" varchar, "first_name" varchar, "last_name" varchar, "guid" varchar, "country_of_service_id" integer, "country_of_residence_id" integer, "country_of_service_gr_id" varchar, "country_of_residence_gr_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
145430
+  (0.1ms) CREATE INDEX "index_people_on_country_of_service_id" ON "people" ("country_of_service_id")
145431
+  (0.4ms)  SELECT sql
145432
+ FROM sqlite_master
145433
+ WHERE name='index_people_on_country_of_service_id' AND type='index'
145434
+ UNION ALL
145435
+ SELECT sql
145436
+ FROM sqlite_temp_master
145437
+ WHERE name='index_people_on_country_of_service_id' AND type='index'
145438
+ 
145439
+  (0.1ms) CREATE INDEX "index_people_on_country_of_residence_id" ON "people" ("country_of_residence_id")
145440
+  (0.1ms) DROP TABLE IF EXISTS "addresses"
145441
+  (0.1ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "address1" varchar, "zip" varchar, "primary" boolean, "person_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
145442
+  (0.1ms) CREATE INDEX "index_addresses_on_person_id" ON "addresses" ("person_id")
145443
+  (0.0ms) DROP TABLE IF EXISTS "organizations"
145444
+  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "gr_id" varchar, "name" varchar, "description" text, "start_date" date, "parent_id" integer, "area_id" integer, "global_registry_area_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
145445
+  (0.1ms) CREATE INDEX "index_organizations_on_parent_id" ON "organizations" ("parent_id")
145446
+  (0.1ms)  SELECT sql
145447
+ FROM sqlite_master
145448
+ WHERE name='index_organizations_on_parent_id' AND type='index'
145449
+ UNION ALL
145450
+ SELECT sql
145451
+ FROM sqlite_temp_master
145452
+ WHERE name='index_organizations_on_parent_id' AND type='index'
145453
+ 
145454
+  (0.1ms) CREATE INDEX "index_organizations_on_area_id" ON "organizations" ("area_id")
145455
+  (0.0ms) DROP TABLE IF EXISTS "assignments"
145456
+  (0.1ms) CREATE TABLE "assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "assigned_by_gr_rel_id" varchar, "role" varchar, "hired_at" datetime, "person_id" integer, "organization_id" integer, "assigned_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
145457
+  (0.1ms) CREATE INDEX "index_assignments_on_person_id" ON "assignments" ("person_id")
145458
+  (0.1ms)  SELECT sql
145459
+ FROM sqlite_master
145460
+ WHERE name='index_assignments_on_person_id' AND type='index'
145461
+ UNION ALL
145462
+ SELECT sql
145463
+ FROM sqlite_temp_master
145464
+ WHERE name='index_assignments_on_person_id' AND type='index'
145465
+ 
145466
+  (0.1ms) CREATE INDEX "index_assignments_on_organization_id" ON "assignments" ("organization_id")
145467
+  (0.1ms)  SELECT sql
145468
+ FROM sqlite_master
145469
+ WHERE name='index_assignments_on_organization_id' AND type='index'
145470
+ UNION ALL
145471
+ SELECT sql
145472
+ FROM sqlite_temp_master
145473
+ WHERE name='index_assignments_on_organization_id' AND type='index'
145474
+ 
145475
+  (0.1ms)  SELECT sql
145476
+ FROM sqlite_master
145477
+ WHERE name='index_assignments_on_person_id' AND type='index'
145478
+ UNION ALL
145479
+ SELECT sql
145480
+ FROM sqlite_temp_master
145481
+ WHERE name='index_assignments_on_person_id' AND type='index'
145482
+ 
145483
+  (0.1ms) CREATE INDEX "index_assignments_on_assigned_by_id" ON "assignments" ("assigned_by_id")
145484
+  (0.0ms) DROP TABLE IF EXISTS "areas"
145485
+  (0.1ms) CREATE TABLE "areas" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "area_name" varchar, "area_code" varchar, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
145486
+  (0.0ms) DROP TABLE IF EXISTS "countries"
145487
+  (0.1ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "global_registry_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
145488
+  (0.1ms) DROP TABLE IF EXISTS "communities"
145489
+  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "global_registry_id" varchar, "infobase_id" integer, "infobase_gr_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
145490
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
145491
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
145492
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
145493
+  (0.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
145494
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
145495
+  (0.0ms) begin transaction
145496
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-08-08 14:46:50.117416"], ["updated_at", "2017-08-08 14:46:50.117416"]]
145497
+  (0.0ms) commit transaction
145498
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
145499
+  (0.1ms) begin transaction
145500
+  (0.0ms) commit transaction
145501
+  (0.1ms) begin transaction
145502
+  (0.1ms) rollback transaction
145503
+  (0.0ms) begin transaction
145504
+  (0.1ms) rollback transaction
145505
+  (0.0ms) begin transaction
145506
+  (0.0ms) rollback transaction
145507
+  (0.0ms) begin transaction
145508
+  (0.1ms) rollback transaction
145509
+  (0.0ms) begin transaction
145510
+  (0.1ms) rollback transaction
145511
+  (0.0ms) begin transaction
145512
+  (0.1ms) rollback transaction
145513
+  (0.0ms) begin transaction
145514
+  (0.0ms) rollback transaction
145515
+  (0.0ms) begin transaction
145516
+  (0.0ms) rollback transaction
145517
+  (0.0ms) begin transaction
145518
+  (0.0ms) rollback transaction
145519
+  (0.0ms) begin transaction
145520
+  (0.0ms) SAVEPOINT active_record_1
145521
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:46:50.966892"], ["updated_at", "2017-08-08 14:46:50.966892"]]
145522
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145523
+  (0.0ms) SAVEPOINT active_record_1
145524
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:46:50.970040"], ["updated_at", "2017-08-08 14:46:50.970040"]]
145525
+  (0.1ms) RELEASE SAVEPOINT active_record_1
145526
+  (0.0ms) SAVEPOINT active_record_1
145527
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-06-08 14:46:50.973188"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 14:46:50.974072"], ["updated_at", "2017-08-08 14:46:50.974072"]]
145528
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145529
+  (0.0ms) rollback transaction
145530
+  (0.0ms) begin transaction
145531
+  (0.1ms) SAVEPOINT active_record_1
145532
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:46:50.979008"], ["updated_at", "2017-08-08 14:46:50.979008"]]
145533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
145534
+  (0.1ms) SAVEPOINT active_record_1
145535
+ SQL (0.2ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:46:50.984339"], ["updated_at", "2017-08-08 14:46:50.984339"]]
145536
+  (0.1ms) RELEASE SAVEPOINT active_record_1
145537
+  (0.1ms) SAVEPOINT active_record_1
145538
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-06-08 14:46:50.987537"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 14:46:50.988281"], ["updated_at", "2017-08-08 14:46:50.988281"]]
145539
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145540
+  (0.0ms) SAVEPOINT active_record_1
145541
+ SQL (0.1ms) UPDATE "assignments" SET "role" = ?, "updated_at" = ? WHERE "assignments"."id" = ? [["role", "boss"], ["updated_at", "2017-08-08 14:46:50.991911"], ["id", 1]]
145542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145543
+  (0.1ms) rollback transaction
145544
+  (0.0ms) begin transaction
145545
+  (0.0ms) SAVEPOINT active_record_1
145546
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:46:50.996114"], ["updated_at", "2017-08-08 14:46:50.996114"]]
145547
+  (0.1ms) RELEASE SAVEPOINT active_record_1
145548
+  (0.0ms) SAVEPOINT active_record_1
145549
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:46:50.998561"], ["updated_at", "2017-08-08 14:46:50.998561"]]
145550
+  (0.1ms) RELEASE SAVEPOINT active_record_1
145551
+  (0.0ms) SAVEPOINT active_record_1
145552
+ SQL (0.1ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "abc"], ["role", "leader"], ["hired_at", "2017-06-08 14:46:51.000347"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 14:46:51.000997"], ["updated_at", "2017-08-08 14:46:51.000997"]]
145553
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145554
+  (0.0ms) SAVEPOINT active_record_1
145555
+ SQL (0.1ms) DELETE FROM "assignments" WHERE "assignments"."id" = ? [["id", 1]]
145556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145557
+  (0.1ms) rollback transaction
145558
+  (0.0ms) begin transaction
145559
+  (0.0ms) SAVEPOINT active_record_1
145560
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:46:51.006723"], ["updated_at", "2017-08-08 14:46:51.006723"]]
145561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145562
+  (0.0ms) rollback transaction
145563
+  (0.0ms) begin transaction
145564
+  (0.0ms) SAVEPOINT active_record_1
145565
+ SQL (0.1ms) INSERT INTO "areas" ("area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 14:46:51.016430"], ["updated_at", "2017-08-08 14:46:51.016430"]]
145566
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["area_id", 1], ["created_at", "2017-08-08 14:46:51.017212"], ["updated_at", "2017-08-08 14:46:51.017212"]]
145567
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145568
+  (0.0ms) rollback transaction
145569
+  (0.0ms) begin transaction
145570
+  (0.0ms) SAVEPOINT active_record_1
145571
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:46:51.021739"], ["updated_at", "2017-08-08 14:46:51.021739"]]
145572
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["created_at", "2017-08-08 14:46:51.022427"], ["updated_at", "2017-08-08 14:46:51.022427"]]
145573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145574
+  (0.0ms) rollback transaction
145575
+  (0.1ms) begin transaction
145576
+  (0.0ms) SAVEPOINT active_record_1
145577
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:46:51.026478"], ["updated_at", "2017-08-08 14:46:51.026478"]]
145578
+ SQL (0.1ms) INSERT INTO "areas" ("area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 14:46:51.027307"], ["updated_at", "2017-08-08 14:46:51.027307"]]
145579
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["area_id", 1], ["created_at", "2017-08-08 14:46:51.027909"], ["updated_at", "2017-08-08 14:46:51.027909"]]
145580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145581
+  (0.1ms) rollback transaction
145582
+  (0.1ms) begin transaction
145583
+  (0.1ms) SAVEPOINT active_record_1
145584
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:46:51.033809"], ["updated_at", "2017-08-08 14:46:51.033809"]]
145585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145586
+  (0.0ms) SAVEPOINT active_record_1
145587
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 1]]
145588
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145589
+  (0.0ms) rollback transaction
145590
+  (0.0ms) begin transaction
145591
+  (0.0ms) SAVEPOINT active_record_1
145592
+ SQL (0.1ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "efg"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 14:46:51.039093"], ["updated_at", "2017-08-08 14:46:51.039093"]]
145593
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145594
+  (0.0ms) SAVEPOINT active_record_1
145595
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "area_id", "global_registry_area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["area_id", 1], ["global_registry_area_id", "ijk"], ["created_at", "2017-08-08 14:46:51.041317"], ["updated_at", "2017-08-08 14:46:51.041317"]]
145596
+  (0.1ms) RELEASE SAVEPOINT active_record_1
145597
+  (0.0ms) SAVEPOINT active_record_1
145598
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 1]]
145599
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145600
+  (0.0ms) rollback transaction
145601
+  (0.0ms) begin transaction
145602
+  (0.0ms) SAVEPOINT active_record_1
145603
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "xyz"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:46:51.049055"], ["updated_at", "2017-08-08 14:46:51.049055"]]
145604
+  (0.2ms) RELEASE SAVEPOINT active_record_1
145605
+  (0.1ms) SAVEPOINT active_record_1
145606
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["created_at", "2017-08-08 14:46:51.052137"], ["updated_at", "2017-08-08 14:46:51.052137"]]
145607
+  (0.2ms) RELEASE SAVEPOINT active_record_1
145608
+  (0.1ms) SAVEPOINT active_record_1
145609
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 2]]
145610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145611
+  (0.0ms) rollback transaction
145612
+  (0.0ms) begin transaction
145613
+  (0.0ms) SAVEPOINT active_record_1
145614
+ SQL (0.1ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "efg"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 14:46:51.057794"], ["updated_at", "2017-08-08 14:46:51.057794"]]
145615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145616
+  (0.0ms) SAVEPOINT active_record_1
145617
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "xyz"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:46:51.059856"], ["updated_at", "2017-08-08 14:46:51.059856"]]
145618
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145619
+  (0.0ms) SAVEPOINT active_record_1
145620
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "parent_id", "area_id", "global_registry_area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["area_id", 1], ["global_registry_area_id", "ijk"], ["created_at", "2017-08-08 14:46:51.062544"], ["updated_at", "2017-08-08 14:46:51.062544"]]
145621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145622
+  (0.0ms) SAVEPOINT active_record_1
145623
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 2]]
145624
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145625
+  (0.0ms) rollback transaction
145626
+  (0.0ms) begin transaction
145627
+  (0.0ms) SAVEPOINT active_record_1
145628
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:46:51.068965"], ["updated_at", "2017-08-08 14:46:51.068965"]]
145629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145630
+  (0.0ms) rollback transaction
145631
+  (0.0ms) begin transaction
145632
+  (0.1ms) SAVEPOINT active_record_1
145633
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:46:51.079964"], ["updated_at", "2017-08-08 14:46:51.079964"]]
145634
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["created_at", "2017-08-08 14:46:51.081014"], ["updated_at", "2017-08-08 14:46:51.081014"]]
145635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145636
+  (0.1ms) rollback transaction
145637
+  (0.0ms) begin transaction
145638
+  (0.1ms) SAVEPOINT active_record_1
145639
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:46:51.087567"], ["updated_at", "2017-08-08 14:46:51.087567"]]
145640
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_residence_id", 1], ["created_at", "2017-08-08 14:46:51.088297"], ["updated_at", "2017-08-08 14:46:51.088297"]]
145641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145642
+  (0.1ms) rollback transaction
145643
+  (0.0ms) begin transaction
145644
+  (0.1ms) SAVEPOINT active_record_1
145645
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:46:51.096284"], ["updated_at", "2017-08-08 14:46:51.096284"]]
145646
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["created_at", "2017-08-08 14:46:51.097232"], ["updated_at", "2017-08-08 14:46:51.097232"]]
145647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145648
+  (0.0ms) rollback transaction
145649
+  (0.0ms) begin transaction
145650
+  (0.1ms) SAVEPOINT active_record_1
145651
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:46:51.103260"], ["updated_at", "2017-08-08 14:46:51.103260"]]
145652
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145653
+  (0.0ms) SAVEPOINT active_record_1
145654
+ SQL (0.1ms) UPDATE "people" SET "first_name" = ?, "updated_at" = ? WHERE "people"."id" = ? [["first_name", "Anthony"], ["updated_at", "2017-08-08 14:46:51.105945"], ["id", 1]]
145655
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145656
+  (0.0ms) rollback transaction
145657
+  (0.0ms) begin transaction
145658
+  (0.0ms) SAVEPOINT active_record_1
145659
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:46:51.109596"], ["updated_at", "2017-08-08 14:46:51.109596"]]
145660
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145661
+  (0.0ms) SAVEPOINT active_record_1
145662
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["created_at", "2017-08-08 14:46:51.111864"], ["updated_at", "2017-08-08 14:46:51.111864"]]
145663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145664
+  (0.0ms) SAVEPOINT active_record_1
145665
+ SQL (0.1ms) UPDATE "people" SET "first_name" = ?, "updated_at" = ? WHERE "people"."id" = ? [["first_name", "Anthony"], ["updated_at", "2017-08-08 14:46:51.115689"], ["id", 1]]
145666
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145667
+  (0.0ms) rollback transaction
145668
+  (0.0ms) begin transaction
145669
+  (0.0ms) SAVEPOINT active_record_1
145670
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:46:51.120184"], ["updated_at", "2017-08-08 14:46:51.120184"]]
145671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145672
+  (0.0ms) SAVEPOINT active_record_1
145673
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 14:46:51.122475"], ["updated_at", "2017-08-08 14:46:51.122475"]]
145674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145675
+  (0.1ms) SAVEPOINT active_record_1
145676
+ SQL (0.1ms) UPDATE "people" SET "country_of_residence_id" = ?, "updated_at" = ? WHERE "people"."id" = ? [["country_of_residence_id", nil], ["updated_at", "2017-08-08 14:46:51.126669"], ["id", 1]]
145677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145678
+ SQL (0.2ms) UPDATE "people" SET "country_of_residence_gr_id" = NULL WHERE "people"."id" = ? [["id", 1]]
145679
+  (0.0ms) rollback transaction
145680
+  (0.0ms) begin transaction
145681
+  (0.1ms) SAVEPOINT active_record_1
145682
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9952f"], ["created_at", "2017-08-08 14:46:51.132255"], ["updated_at", "2017-08-08 14:46:51.132255"]]
145683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145684
+  (0.1ms) SAVEPOINT active_record_1
145685
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Peru"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9963c"], ["created_at", "2017-08-08 14:46:51.134281"], ["updated_at", "2017-08-08 14:46:51.134281"]]
145686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145687
+  (0.0ms) SAVEPOINT active_record_1
145688
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_service_gr_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["country_of_service_gr_id", "89f81f6e-7baf-44d9-8f3a-55bf7c652dcc"], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 14:46:51.137969"], ["updated_at", "2017-08-08 14:46:51.137969"]]
145689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145690
+  (0.1ms) SAVEPOINT active_record_1
145691
+ SQL (0.1ms) UPDATE "people" SET "country_of_service_id" = ?, "updated_at" = ? WHERE "people"."id" = ? [["country_of_service_id", 2], ["updated_at", "2017-08-08 14:46:51.144262"], ["id", 1]]
145692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145693
+ SQL (0.1ms) UPDATE "people" SET "country_of_service_gr_id" = NULL WHERE "people"."id" = ? [["id", 1]]
145694
+  (0.1ms) rollback transaction
145695
+  (0.2ms) begin transaction
145696
+  (0.1ms) SAVEPOINT active_record_1
145697
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:46:51.171171"], ["updated_at", "2017-08-08 14:46:51.171171"]]
145698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145699
+  (0.2ms) SAVEPOINT active_record_1
145700
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."person_id" = ? [["person_id", 1]]
145701
+ SQL (0.1ms) DELETE FROM "people" WHERE "people"."id" = ? [["id", 1]]
145702
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145703
+  (0.0ms) rollback transaction
145704
+  (0.0ms) begin transaction
145705
+  (0.1ms) SAVEPOINT active_record_1
145706
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9952f"], ["created_at", "2017-08-08 14:46:51.191988"], ["updated_at", "2017-08-08 14:46:51.191988"]]
145707
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145708
+  (0.0ms) SAVEPOINT active_record_1
145709
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d99639"], ["created_at", "2017-08-08 14:46:51.193992"], ["updated_at", "2017-08-08 14:46:51.193992"]]
145710
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145711
+  (0.0ms) SAVEPOINT active_record_1
145712
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_service_gr_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 2], ["country_of_residence_id", 1], ["country_of_service_gr_id", "89f81f6e-7baf-44d9-8f3a-55bf7c652dcc"], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 14:46:51.196433"], ["updated_at", "2017-08-08 14:46:51.196433"]]
145713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145714
+  (0.0ms) SAVEPOINT active_record_1
145715
+ Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."person_id" = ? [["person_id", 1]]
145716
+ SQL (0.1ms) DELETE FROM "people" WHERE "people"."id" = ? [["id", 1]]
145717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145718
+  (0.1ms) rollback transaction
145719
+  (0.2ms) begin transaction
145720
+  (0.0ms) rollback transaction
145721
+  (0.1ms) begin transaction
145722
+  (0.1ms) rollback transaction
145723
+  (0.2ms) begin transaction
145724
+  (0.1ms) rollback transaction
145725
+  (0.0ms) begin transaction
145726
+  (0.1ms) SAVEPOINT active_record_1
145727
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:46:51.255888"], ["updated_at", "2017-08-08 14:46:51.255888"]]
145728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145729
+  (0.0ms) rollback transaction
145730
+  (0.0ms) begin transaction
145731
+  (0.1ms) SAVEPOINT active_record_1
145732
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:46:51.260975"], ["updated_at", "2017-08-08 14:46:51.260975"]]
145733
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145734
+  (0.0ms) rollback transaction
145735
+  (0.0ms) begin transaction
145736
+  (0.0ms) SAVEPOINT active_record_1
145737
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:46:51.266429"], ["updated_at", "2017-08-08 14:46:51.266429"]]
145738
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145739
+  (0.1ms) rollback transaction
145740
+  (0.0ms) begin transaction
145741
+  (0.0ms) SAVEPOINT active_record_1
145742
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:46:51.271428"], ["updated_at", "2017-08-08 14:46:51.271428"]]
145743
+  (0.1ms) RELEASE SAVEPOINT active_record_1
145744
+  (0.1ms) rollback transaction
145745
+  (0.0ms) begin transaction
145746
+  (0.1ms) SAVEPOINT active_record_1
145747
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:46:51.291462"], ["updated_at", "2017-08-08 14:46:51.291462"]]
145748
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145749
+  (0.1ms) rollback transaction
145750
+  (0.0ms) begin transaction
145751
+  (0.1ms) SAVEPOINT active_record_1
145752
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:46:51.309816"], ["updated_at", "2017-08-08 14:46:51.309816"]]
145753
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145754
+ SQL (0.1ms) UPDATE "people" SET "global_registry_mdm_id" = 'c81340b2-7e57-4978-b6b9-396f21bb0bb2' WHERE "people"."id" = ? [["id", 1]]
145755
+  (0.1ms) rollback transaction
145756
+  (0.0ms) begin transaction
145757
+  (0.0ms) rollback transaction
145758
+  (0.0ms) begin transaction
145759
+  (0.0ms) SAVEPOINT active_record_1
145760
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145762
+  (0.1ms) rollback transaction
145763
+  (0.0ms) begin transaction
145764
+  (0.0ms) SAVEPOINT active_record_1
145765
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145767
+  (0.1ms) rollback transaction
145768
+  (0.0ms) begin transaction
145769
+  (0.0ms) SAVEPOINT active_record_1
145770
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145772
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 1]]
145773
+  (0.0ms) rollback transaction
145774
+  (0.0ms) begin transaction
145775
+  (0.0ms) SAVEPOINT active_record_1
145776
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Parent"], ["description", "Parent Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145777
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145778
+  (0.0ms) SAVEPOINT active_record_1
145779
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["parent_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145780
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145781
+  (0.1ms) rollback transaction
145782
+  (0.1ms) begin transaction
145783
+  (0.0ms) SAVEPOINT active_record_1
145784
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "cd5da38a-c336-46a7-b818-dcdd51c4acde"], ["name", "Parent"], ["description", "Parent Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145785
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145786
+  (0.0ms) SAVEPOINT active_record_1
145787
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["parent_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145788
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145789
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 2]]
145790
+  (0.1ms) rollback transaction
145791
+  (0.0ms) begin transaction
145792
+  (0.0ms) SAVEPOINT active_record_1
145793
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145795
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
145796
+  (0.0ms) rollback transaction
145797
+  (0.0ms) begin transaction
145798
+  (0.0ms) SAVEPOINT active_record_1
145799
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145800
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145801
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
145802
+  (0.0ms) rollback transaction
145803
+  (0.0ms) begin transaction
145804
+  (0.0ms) SAVEPOINT active_record_1
145805
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145806
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145807
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
145808
+  (0.0ms) rollback transaction
145809
+  (0.0ms) begin transaction
145810
+  (0.0ms) SAVEPOINT active_record_1
145811
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145813
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
145814
+  (0.0ms) rollback transaction
145815
+  (0.0ms) begin transaction
145816
+  (0.0ms) SAVEPOINT active_record_1
145817
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "f8d20318-2ff2-4a98-a5eb-e9d840508bf1"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145819
+  (0.1ms) rollback transaction
145820
+  (0.0ms) begin transaction
145821
+  (0.0ms) SAVEPOINT active_record_1
145822
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "f8d20318-2ff2-4a98-a5eb-e9d840508bf1"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145824
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
145825
+  (0.0ms) rollback transaction
145826
+  (0.0ms) begin transaction
145827
+  (0.0ms) SAVEPOINT active_record_1
145828
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145830
+  (0.0ms) rollback transaction
145831
+  (0.0ms) begin transaction
145832
+  (0.0ms) SAVEPOINT active_record_1
145833
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145834
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145835
+  (0.0ms) SAVEPOINT active_record_1
145836
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145838
+  (0.1ms) rollback transaction
145839
+  (0.0ms) begin transaction
145840
+  (0.0ms) SAVEPOINT active_record_1
145841
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145842
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145843
+  (0.0ms) SAVEPOINT active_record_1
145844
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145846
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
145847
+  (0.1ms) rollback transaction
145848
+  (0.0ms) begin transaction
145849
+  (0.0ms) SAVEPOINT active_record_1
145850
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145851
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145852
+  (0.0ms) SAVEPOINT active_record_1
145853
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145855
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
145856
+  (0.1ms) rollback transaction
145857
+  (0.0ms) begin transaction
145858
+  (0.0ms) SAVEPOINT active_record_1
145859
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145860
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145861
+  (0.0ms) SAVEPOINT active_record_1
145862
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145864
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
145865
+  (0.1ms) rollback transaction
145866
+  (0.0ms) begin transaction
145867
+  (0.0ms) SAVEPOINT active_record_1
145868
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145870
+  (0.0ms) SAVEPOINT active_record_1
145871
+ SQL (0.0ms) INSERT INTO "addresses" ("global_registry_id", "address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "0a594356-3f1c-11e7-bba6-129bd0521531"], ["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145872
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145873
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
145874
+  (0.0ms) rollback transaction
145875
+  (0.0ms) begin transaction
145876
+  (0.0ms) SAVEPOINT active_record_1
145877
+ SQL (0.0ms) INSERT INTO "communities" ("name", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Community"], ["infobase_id", 234], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145878
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145879
+ SQL (0.0ms) UPDATE "communities" SET "global_registry_id" = '6133f6fe-c63a-425a-bb46-68917c689723' WHERE "communities"."id" = ? [["id", 1]]
145880
+  (0.1ms) rollback transaction
145881
+  (0.0ms) begin transaction
145882
+  (0.0ms) SAVEPOINT active_record_1
145883
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145885
+  (0.0ms) rollback transaction
145886
+  (0.0ms) begin transaction
145887
+  (0.0ms) SAVEPOINT active_record_1
145888
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145890
+  (0.0ms) rollback transaction
145891
+  (0.0ms) begin transaction
145892
+  (0.0ms) SAVEPOINT active_record_1
145893
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145895
+  (0.0ms) SAVEPOINT active_record_1
145896
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145898
+  (0.0ms) SAVEPOINT active_record_1
145899
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145900
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145901
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
145902
+  (0.1ms) rollback transaction
145903
+  (0.1ms) begin transaction
145904
+  (0.0ms) SAVEPOINT active_record_1
145905
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145907
+  (0.0ms) SAVEPOINT active_record_1
145908
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145909
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145910
+  (0.0ms) SAVEPOINT active_record_1
145911
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145912
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145913
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
145914
+  (0.1ms) rollback transaction
145915
+  (0.0ms) begin transaction
145916
+  (0.0ms) SAVEPOINT active_record_1
145917
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145919
+  (0.0ms) SAVEPOINT active_record_1
145920
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145922
+  (0.0ms) SAVEPOINT active_record_1
145923
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145925
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
145926
+  (0.1ms) rollback transaction
145927
+  (0.0ms) begin transaction
145928
+  (0.0ms) SAVEPOINT active_record_1
145929
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145931
+  (0.0ms) SAVEPOINT active_record_1
145932
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145933
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145934
+  (0.0ms) SAVEPOINT active_record_1
145935
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145936
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145937
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
145938
+  (0.1ms) rollback transaction
145939
+  (0.0ms) begin transaction
145940
+  (0.0ms) SAVEPOINT active_record_1
145941
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145943
+  (0.0ms) SAVEPOINT active_record_1
145944
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145945
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145946
+  (0.0ms) SAVEPOINT active_record_1
145947
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145948
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145949
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = NULL WHERE "assignments"."id" = ? [["id", 1]]
145950
+  (0.1ms) rollback transaction
145951
+  (0.0ms) begin transaction
145952
+  (0.0ms) SAVEPOINT active_record_1
145953
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145954
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145955
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145956
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145957
+  (0.0ms) rollback transaction
145958
+  (0.0ms) begin transaction
145959
+  (0.0ms) SAVEPOINT active_record_1
145960
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145961
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145962
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145963
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145964
+  (0.1ms) rollback transaction
145965
+  (0.0ms) begin transaction
145966
+  (0.0ms) SAVEPOINT active_record_1
145967
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145968
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145969
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145971
+  (0.1ms) rollback transaction
145972
+  (0.0ms) begin transaction
145973
+  (0.0ms) SAVEPOINT active_record_1
145974
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145975
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145976
+  (0.0ms) SAVEPOINT active_record_1
145977
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145979
+  (0.0ms) SAVEPOINT active_record_1
145980
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "assigned_by_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["assigned_by_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145981
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145982
+  (0.1ms) rollback transaction
145983
+  (0.0ms) begin transaction
145984
+  (0.0ms) SAVEPOINT active_record_1
145985
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145986
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145987
+  (0.0ms) SAVEPOINT active_record_1
145988
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145990
+  (0.0ms) SAVEPOINT active_record_1
145991
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "assigned_by_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["assigned_by_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145992
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145993
+  (0.0ms) rollback transaction
145994
+  (0.0ms) begin transaction
145995
+  (0.0ms) SAVEPOINT active_record_1
145996
+ SQL (0.0ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "0fdb70c5-f51e-4628-a1fe-caa37fae53cd"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
145997
+  (0.0ms) RELEASE SAVEPOINT active_record_1
145998
+  (0.0ms) SAVEPOINT active_record_1
145999
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["area_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146000
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146001
+  (0.1ms) rollback transaction
146002
+  (0.0ms) begin transaction
146003
+  (0.0ms) SAVEPOINT active_record_1
146004
+ SQL (0.0ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "0f9089a3-2b93-4de8-9b81-92be0261f325"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146006
+  (0.0ms) SAVEPOINT active_record_1
146007
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_service_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "2f0c62f1-5738-4860-88bd-5706fb801d7b"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146008
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146009
+  (0.1ms) rollback transaction
146010
+  (0.1ms) begin transaction
146011
+  (0.0ms) SAVEPOINT active_record_1
146012
+ SQL (0.0ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "7cdaf399-d449-4008-8c6b-3c64a2b2730c"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146013
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146014
+  (0.0ms) SAVEPOINT active_record_1
146015
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "2f0c62f1-5738-4860-88bd-5706fb801d7b"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_residence_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146016
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146017
+  (0.1ms) rollback transaction
146018
+  (0.1ms) begin transaction
146019
+  (0.0ms) SAVEPOINT active_record_1
146020
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146022
+  (0.1ms) rollback transaction
146023
+  (0.0ms) begin transaction
146024
+  (0.0ms) SAVEPOINT active_record_1
146025
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "infobase_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["infobase_gr_id", "ee40f9ed-d625-405b-8ce6-aec821611ec6"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146026
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146027
+ SQL (0.0ms) UPDATE "communities" SET "infobase_gr_id" = NULL WHERE "communities"."id" = ? [["id", 1]]
146028
+  (0.1ms) rollback transaction
146029
+  (0.0ms) begin transaction
146030
+  (0.0ms) SAVEPOINT active_record_1
146031
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146033
+  (0.1ms) rollback transaction
146034
+  (0.0ms) DROP TABLE IF EXISTS "people"
146035
+  (0.8ms) SELECT sqlite_version(*)
146036
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "global_registry_mdm_id" varchar, "first_name" varchar, "last_name" varchar, "guid" varchar, "country_of_service_id" integer, "country_of_residence_id" integer, "country_of_service_gr_id" varchar, "country_of_residence_gr_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146037
+  (0.1ms) CREATE INDEX "index_people_on_country_of_service_id" ON "people" ("country_of_service_id")
146038
+  (0.2ms)  SELECT sql
146039
+ FROM sqlite_master
146040
+ WHERE name='index_people_on_country_of_service_id' AND type='index'
146041
+ UNION ALL
146042
+ SELECT sql
146043
+ FROM sqlite_temp_master
146044
+ WHERE name='index_people_on_country_of_service_id' AND type='index'
146045
+ 
146046
+  (0.1ms) CREATE INDEX "index_people_on_country_of_residence_id" ON "people" ("country_of_residence_id")
146047
+  (0.0ms) DROP TABLE IF EXISTS "addresses"
146048
+  (0.2ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "address1" varchar, "zip" varchar, "primary" boolean, "person_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146049
+  (0.1ms) CREATE INDEX "index_addresses_on_person_id" ON "addresses" ("person_id")
146050
+  (0.0ms) DROP TABLE IF EXISTS "organizations"
146051
+  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "gr_id" varchar, "name" varchar, "description" text, "start_date" date, "parent_id" integer, "area_id" integer, "global_registry_area_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146052
+  (0.1ms) CREATE INDEX "index_organizations_on_parent_id" ON "organizations" ("parent_id")
146053
+  (0.0ms)  SELECT sql
146054
+ FROM sqlite_master
146055
+ WHERE name='index_organizations_on_parent_id' AND type='index'
146056
+ UNION ALL
146057
+ SELECT sql
146058
+ FROM sqlite_temp_master
146059
+ WHERE name='index_organizations_on_parent_id' AND type='index'
146060
+ 
146061
+  (0.1ms) CREATE INDEX "index_organizations_on_area_id" ON "organizations" ("area_id")
146062
+  (0.0ms) DROP TABLE IF EXISTS "assignments"
146063
+  (0.1ms) CREATE TABLE "assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "assigned_by_gr_rel_id" varchar, "role" varchar, "hired_at" datetime, "person_id" integer, "organization_id" integer, "assigned_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146064
+  (0.1ms) CREATE INDEX "index_assignments_on_person_id" ON "assignments" ("person_id")
146065
+  (0.0ms)  SELECT sql
146066
+ FROM sqlite_master
146067
+ WHERE name='index_assignments_on_person_id' AND type='index'
146068
+ UNION ALL
146069
+ SELECT sql
146070
+ FROM sqlite_temp_master
146071
+ WHERE name='index_assignments_on_person_id' AND type='index'
146072
+ 
146073
+  (0.1ms) CREATE INDEX "index_assignments_on_organization_id" ON "assignments" ("organization_id")
146074
+  (0.0ms)  SELECT sql
146075
+ FROM sqlite_master
146076
+ WHERE name='index_assignments_on_organization_id' AND type='index'
146077
+ UNION ALL
146078
+ SELECT sql
146079
+ FROM sqlite_temp_master
146080
+ WHERE name='index_assignments_on_organization_id' AND type='index'
146081
+ 
146082
+  (0.0ms)  SELECT sql
146083
+ FROM sqlite_master
146084
+ WHERE name='index_assignments_on_person_id' AND type='index'
146085
+ UNION ALL
146086
+ SELECT sql
146087
+ FROM sqlite_temp_master
146088
+ WHERE name='index_assignments_on_person_id' AND type='index'
146089
+ 
146090
+  (0.1ms) CREATE INDEX "index_assignments_on_assigned_by_id" ON "assignments" ("assigned_by_id")
146091
+  (0.0ms) DROP TABLE IF EXISTS "areas"
146092
+  (0.1ms) CREATE TABLE "areas" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "area_name" varchar, "area_code" varchar, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146093
+  (0.0ms) DROP TABLE IF EXISTS "countries"
146094
+  (0.1ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "global_registry_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146095
+  (0.0ms) DROP TABLE IF EXISTS "communities"
146096
+  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "global_registry_id" varchar, "infobase_id" integer, "infobase_gr_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146097
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
146098
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
146099
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
146100
+  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146101
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
146102
+  (0.0ms) begin transaction
146103
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-08-08 14:51:32.221044"], ["updated_at", "2017-08-08 14:51:32.221044"]]
146104
+  (0.0ms) commit transaction
146105
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
146106
+  (0.0ms) begin transaction
146107
+  (0.0ms) commit transaction
146108
+  (0.1ms) begin transaction
146109
+  (0.1ms) rollback transaction
146110
+  (0.0ms) begin transaction
146111
+  (0.0ms) rollback transaction
146112
+  (0.0ms) begin transaction
146113
+  (0.0ms) rollback transaction
146114
+  (0.0ms) begin transaction
146115
+  (0.0ms) rollback transaction
146116
+  (0.0ms) begin transaction
146117
+  (0.1ms) rollback transaction
146118
+  (0.0ms) begin transaction
146119
+  (0.1ms) rollback transaction
146120
+  (0.1ms) begin transaction
146121
+  (0.0ms) rollback transaction
146122
+  (0.0ms) begin transaction
146123
+  (0.0ms) rollback transaction
146124
+  (0.0ms) begin transaction
146125
+  (0.1ms) rollback transaction
146126
+  (0.1ms) begin transaction
146127
+  (0.1ms) SAVEPOINT active_record_1
146128
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:51:32.721074"], ["updated_at", "2017-08-08 14:51:32.721074"]]
146129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146130
+  (0.0ms) SAVEPOINT active_record_1
146131
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:51:32.724237"], ["updated_at", "2017-08-08 14:51:32.724237"]]
146132
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146133
+  (0.0ms) SAVEPOINT active_record_1
146134
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-06-08 14:51:32.726153"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 14:51:32.726917"], ["updated_at", "2017-08-08 14:51:32.726917"]]
146135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146136
+  (0.0ms) rollback transaction
146137
+  (0.0ms) begin transaction
146138
+  (0.0ms) SAVEPOINT active_record_1
146139
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:51:32.730332"], ["updated_at", "2017-08-08 14:51:32.730332"]]
146140
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146141
+  (0.0ms) SAVEPOINT active_record_1
146142
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:51:32.732527"], ["updated_at", "2017-08-08 14:51:32.732527"]]
146143
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146144
+  (0.1ms) SAVEPOINT active_record_1
146145
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-06-08 14:51:32.734154"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 14:51:32.734795"], ["updated_at", "2017-08-08 14:51:32.734795"]]
146146
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146147
+  (0.0ms) SAVEPOINT active_record_1
146148
+ SQL (0.1ms) UPDATE "assignments" SET "role" = ?, "updated_at" = ? WHERE "assignments"."id" = ? [["role", "boss"], ["updated_at", "2017-08-08 14:51:32.737353"], ["id", 1]]
146149
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146150
+  (0.1ms) rollback transaction
146151
+  (0.0ms) begin transaction
146152
+  (0.0ms) SAVEPOINT active_record_1
146153
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:51:32.741158"], ["updated_at", "2017-08-08 14:51:32.741158"]]
146154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146155
+  (0.0ms) SAVEPOINT active_record_1
146156
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:51:32.743629"], ["updated_at", "2017-08-08 14:51:32.743629"]]
146157
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146158
+  (0.1ms) SAVEPOINT active_record_1
146159
+ SQL (0.1ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "abc"], ["role", "leader"], ["hired_at", "2017-06-08 14:51:32.745363"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 14:51:32.746912"], ["updated_at", "2017-08-08 14:51:32.746912"]]
146160
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146161
+  (0.0ms) SAVEPOINT active_record_1
146162
+ SQL (0.1ms) DELETE FROM "assignments" WHERE "assignments"."id" = ? [["id", 1]]
146163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146164
+  (0.1ms) rollback transaction
146165
+  (0.0ms) begin transaction
146166
+  (0.0ms) SAVEPOINT active_record_1
146167
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:51:32.752528"], ["updated_at", "2017-08-08 14:51:32.752528"]]
146168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146169
+  (0.0ms) rollback transaction
146170
+  (0.0ms) begin transaction
146171
+  (0.1ms) SAVEPOINT active_record_1
146172
+ SQL (0.1ms) INSERT INTO "areas" ("area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 14:51:32.762338"], ["updated_at", "2017-08-08 14:51:32.762338"]]
146173
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["area_id", 1], ["created_at", "2017-08-08 14:51:32.763174"], ["updated_at", "2017-08-08 14:51:32.763174"]]
146174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146175
+  (0.0ms) rollback transaction
146176
+  (0.0ms) begin transaction
146177
+  (0.0ms) SAVEPOINT active_record_1
146178
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:51:32.767871"], ["updated_at", "2017-08-08 14:51:32.767871"]]
146179
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["created_at", "2017-08-08 14:51:32.768620"], ["updated_at", "2017-08-08 14:51:32.768620"]]
146180
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146181
+  (0.0ms) rollback transaction
146182
+  (0.0ms) begin transaction
146183
+  (0.0ms) SAVEPOINT active_record_1
146184
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:51:32.773075"], ["updated_at", "2017-08-08 14:51:32.773075"]]
146185
+ SQL (0.1ms) INSERT INTO "areas" ("area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 14:51:32.773931"], ["updated_at", "2017-08-08 14:51:32.773931"]]
146186
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["area_id", 1], ["created_at", "2017-08-08 14:51:32.774554"], ["updated_at", "2017-08-08 14:51:32.774554"]]
146187
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146188
+  (0.0ms) rollback transaction
146189
+  (0.0ms) begin transaction
146190
+  (0.1ms) SAVEPOINT active_record_1
146191
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:51:32.779046"], ["updated_at", "2017-08-08 14:51:32.779046"]]
146192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146193
+  (0.0ms) SAVEPOINT active_record_1
146194
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 1]]
146195
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146196
+  (0.0ms) rollback transaction
146197
+  (0.0ms) begin transaction
146198
+  (0.1ms) SAVEPOINT active_record_1
146199
+ SQL (0.1ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "efg"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 14:51:32.783623"], ["updated_at", "2017-08-08 14:51:32.783623"]]
146200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146201
+  (0.0ms) SAVEPOINT active_record_1
146202
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "area_id", "global_registry_area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["area_id", 1], ["global_registry_area_id", "ijk"], ["created_at", "2017-08-08 14:51:32.786438"], ["updated_at", "2017-08-08 14:51:32.786438"]]
146203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146204
+  (0.0ms) SAVEPOINT active_record_1
146205
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 1]]
146206
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146207
+  (0.0ms) rollback transaction
146208
+  (0.0ms) begin transaction
146209
+  (0.1ms) SAVEPOINT active_record_1
146210
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "xyz"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:51:32.793657"], ["updated_at", "2017-08-08 14:51:32.793657"]]
146211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146212
+  (0.0ms) SAVEPOINT active_record_1
146213
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["created_at", "2017-08-08 14:51:32.796367"], ["updated_at", "2017-08-08 14:51:32.796367"]]
146214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146215
+  (0.1ms) SAVEPOINT active_record_1
146216
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 2]]
146217
+  (0.2ms) RELEASE SAVEPOINT active_record_1
146218
+  (0.1ms) rollback transaction
146219
+  (0.0ms) begin transaction
146220
+  (0.1ms) SAVEPOINT active_record_1
146221
+ SQL (0.1ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "efg"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 14:51:32.802438"], ["updated_at", "2017-08-08 14:51:32.802438"]]
146222
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146223
+  (0.1ms) SAVEPOINT active_record_1
146224
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "xyz"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:51:32.805047"], ["updated_at", "2017-08-08 14:51:32.805047"]]
146225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146226
+  (0.1ms) SAVEPOINT active_record_1
146227
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "parent_id", "area_id", "global_registry_area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["area_id", 1], ["global_registry_area_id", "ijk"], ["created_at", "2017-08-08 14:51:32.808163"], ["updated_at", "2017-08-08 14:51:32.808163"]]
146228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146229
+  (0.0ms) SAVEPOINT active_record_1
146230
+ SQL (0.2ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 2]]
146231
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146232
+  (0.0ms) rollback transaction
146233
+  (0.0ms) begin transaction
146234
+  (0.0ms) SAVEPOINT active_record_1
146235
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:51:32.814003"], ["updated_at", "2017-08-08 14:51:32.814003"]]
146236
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146237
+  (0.0ms) rollback transaction
146238
+  (0.0ms) begin transaction
146239
+  (0.0ms) SAVEPOINT active_record_1
146240
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:51:32.823777"], ["updated_at", "2017-08-08 14:51:32.823777"]]
146241
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["created_at", "2017-08-08 14:51:32.824639"], ["updated_at", "2017-08-08 14:51:32.824639"]]
146242
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146243
+  (0.1ms) rollback transaction
146244
+  (0.0ms) begin transaction
146245
+  (0.1ms) SAVEPOINT active_record_1
146246
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:51:32.830975"], ["updated_at", "2017-08-08 14:51:32.830975"]]
146247
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_residence_id", 1], ["created_at", "2017-08-08 14:51:32.831865"], ["updated_at", "2017-08-08 14:51:32.831865"]]
146248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146249
+  (0.0ms) rollback transaction
146250
+  (0.0ms) begin transaction
146251
+  (0.0ms) SAVEPOINT active_record_1
146252
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:51:32.837826"], ["updated_at", "2017-08-08 14:51:32.837826"]]
146253
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["created_at", "2017-08-08 14:51:32.838535"], ["updated_at", "2017-08-08 14:51:32.838535"]]
146254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146255
+  (0.1ms) rollback transaction
146256
+  (0.0ms) begin transaction
146257
+  (0.1ms) SAVEPOINT active_record_1
146258
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:51:32.846541"], ["updated_at", "2017-08-08 14:51:32.846541"]]
146259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146260
+  (0.1ms) SAVEPOINT active_record_1
146261
+ SQL (0.1ms) UPDATE "people" SET "first_name" = ?, "updated_at" = ? WHERE "people"."id" = ? [["first_name", "Anthony"], ["updated_at", "2017-08-08 14:51:32.849960"], ["id", 1]]
146262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146263
+  (0.0ms) rollback transaction
146264
+  (0.0ms) begin transaction
146265
+  (0.0ms) SAVEPOINT active_record_1
146266
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:51:32.854288"], ["updated_at", "2017-08-08 14:51:32.854288"]]
146267
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146268
+  (0.0ms) SAVEPOINT active_record_1
146269
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["created_at", "2017-08-08 14:51:32.856367"], ["updated_at", "2017-08-08 14:51:32.856367"]]
146270
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146271
+  (0.0ms) SAVEPOINT active_record_1
146272
+ SQL (0.1ms) UPDATE "people" SET "first_name" = ?, "updated_at" = ? WHERE "people"."id" = ? [["first_name", "Anthony"], ["updated_at", "2017-08-08 14:51:32.859999"], ["id", 1]]
146273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146274
+  (0.0ms) rollback transaction
146275
+  (0.0ms) begin transaction
146276
+  (0.0ms) SAVEPOINT active_record_1
146277
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:51:32.864230"], ["updated_at", "2017-08-08 14:51:32.864230"]]
146278
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146279
+  (0.0ms) SAVEPOINT active_record_1
146280
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 14:51:32.866220"], ["updated_at", "2017-08-08 14:51:32.866220"]]
146281
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146282
+  (0.1ms) SAVEPOINT active_record_1
146283
+ SQL (0.1ms) UPDATE "people" SET "country_of_residence_id" = ?, "updated_at" = ? WHERE "people"."id" = ? [["country_of_residence_id", nil], ["updated_at", "2017-08-08 14:51:32.869955"], ["id", 1]]
146284
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146285
+ SQL (0.1ms) UPDATE "people" SET "country_of_residence_gr_id" = NULL WHERE "people"."id" = ? [["id", 1]]
146286
+  (0.3ms) rollback transaction
146287
+  (0.0ms) begin transaction
146288
+  (0.1ms) SAVEPOINT active_record_1
146289
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9952f"], ["created_at", "2017-08-08 14:51:32.875423"], ["updated_at", "2017-08-08 14:51:32.875423"]]
146290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146291
+  (0.0ms) SAVEPOINT active_record_1
146292
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Peru"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9963c"], ["created_at", "2017-08-08 14:51:32.877572"], ["updated_at", "2017-08-08 14:51:32.877572"]]
146293
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146294
+  (0.0ms) SAVEPOINT active_record_1
146295
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_service_gr_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["country_of_service_gr_id", "89f81f6e-7baf-44d9-8f3a-55bf7c652dcc"], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 14:51:32.879556"], ["updated_at", "2017-08-08 14:51:32.879556"]]
146296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146297
+  (0.1ms) SAVEPOINT active_record_1
146298
+ SQL (0.1ms) UPDATE "people" SET "country_of_service_id" = ?, "updated_at" = ? WHERE "people"."id" = ? [["country_of_service_id", 2], ["updated_at", "2017-08-08 14:51:32.885853"], ["id", 1]]
146299
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146300
+ SQL (0.1ms) UPDATE "people" SET "country_of_service_gr_id" = NULL WHERE "people"."id" = ? [["id", 1]]
146301
+  (0.0ms) rollback transaction
146302
+  (0.0ms) begin transaction
146303
+  (0.0ms) SAVEPOINT active_record_1
146304
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:51:32.903503"], ["updated_at", "2017-08-08 14:51:32.903503"]]
146305
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146306
+  (0.0ms) SAVEPOINT active_record_1
146307
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."person_id" = ? [["person_id", 1]]
146308
+ SQL (0.1ms) DELETE FROM "people" WHERE "people"."id" = ? [["id", 1]]
146309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146310
+  (0.0ms) rollback transaction
146311
+  (0.0ms) begin transaction
146312
+  (0.0ms) SAVEPOINT active_record_1
146313
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9952f"], ["created_at", "2017-08-08 14:51:32.917158"], ["updated_at", "2017-08-08 14:51:32.917158"]]
146314
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146315
+  (0.0ms) SAVEPOINT active_record_1
146316
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d99639"], ["created_at", "2017-08-08 14:51:32.918886"], ["updated_at", "2017-08-08 14:51:32.918886"]]
146317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146318
+  (0.0ms) SAVEPOINT active_record_1
146319
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_service_gr_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 2], ["country_of_residence_id", 1], ["country_of_service_gr_id", "89f81f6e-7baf-44d9-8f3a-55bf7c652dcc"], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 14:51:32.920852"], ["updated_at", "2017-08-08 14:51:32.920852"]]
146320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146321
+  (0.0ms) SAVEPOINT active_record_1
146322
+ Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."person_id" = ? [["person_id", 1]]
146323
+ SQL (0.1ms) DELETE FROM "people" WHERE "people"."id" = ? [["id", 1]]
146324
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146325
+  (0.0ms) rollback transaction
146326
+  (0.0ms) begin transaction
146327
+  (0.1ms) rollback transaction
146328
+  (0.0ms) begin transaction
146329
+  (0.1ms) rollback transaction
146330
+  (0.0ms) begin transaction
146331
+  (0.1ms) rollback transaction
146332
+  (0.1ms) begin transaction
146333
+  (0.1ms) SAVEPOINT active_record_1
146334
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:51:32.966112"], ["updated_at", "2017-08-08 14:51:32.966112"]]
146335
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146336
+  (0.0ms) rollback transaction
146337
+  (0.1ms) begin transaction
146338
+  (0.1ms) SAVEPOINT active_record_1
146339
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:51:32.971485"], ["updated_at", "2017-08-08 14:51:32.971485"]]
146340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146341
+  (0.0ms) rollback transaction
146342
+  (0.0ms) begin transaction
146343
+  (0.0ms) SAVEPOINT active_record_1
146344
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:51:32.975770"], ["updated_at", "2017-08-08 14:51:32.975770"]]
146345
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146346
+  (0.1ms) rollback transaction
146347
+  (0.0ms) begin transaction
146348
+  (0.0ms) SAVEPOINT active_record_1
146349
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:51:32.980231"], ["updated_at", "2017-08-08 14:51:32.980231"]]
146350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146351
+  (0.1ms) rollback transaction
146352
+  (0.0ms) begin transaction
146353
+  (0.1ms) SAVEPOINT active_record_1
146354
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:51:32.999224"], ["updated_at", "2017-08-08 14:51:32.999224"]]
146355
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146356
+  (0.0ms) rollback transaction
146357
+  (0.0ms) begin transaction
146358
+  (0.0ms) SAVEPOINT active_record_1
146359
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:51:33.016500"], ["updated_at", "2017-08-08 14:51:33.016500"]]
146360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146361
+ SQL (0.1ms) UPDATE "people" SET "global_registry_mdm_id" = 'c81340b2-7e57-4978-b6b9-396f21bb0bb2' WHERE "people"."id" = ? [["id", 1]]
146362
+  (0.0ms) rollback transaction
146363
+  (0.0ms) begin transaction
146364
+  (0.0ms) rollback transaction
146365
+  (0.0ms) begin transaction
146366
+  (0.0ms) SAVEPOINT active_record_1
146367
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146368
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146369
+  (0.0ms) rollback transaction
146370
+  (0.0ms) begin transaction
146371
+  (0.0ms) SAVEPOINT active_record_1
146372
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146374
+  (0.0ms) rollback transaction
146375
+  (0.0ms) begin transaction
146376
+  (0.0ms) SAVEPOINT active_record_1
146377
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146379
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 1]]
146380
+  (0.0ms) rollback transaction
146381
+  (0.0ms) begin transaction
146382
+  (0.0ms) SAVEPOINT active_record_1
146383
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Parent"], ["description", "Parent Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146384
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146385
+  (0.0ms) SAVEPOINT active_record_1
146386
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["parent_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146388
+  (0.1ms) rollback transaction
146389
+  (0.0ms) begin transaction
146390
+  (0.0ms) SAVEPOINT active_record_1
146391
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "cd5da38a-c336-46a7-b818-dcdd51c4acde"], ["name", "Parent"], ["description", "Parent Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146392
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146393
+  (0.0ms) SAVEPOINT active_record_1
146394
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["parent_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146396
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 2]]
146397
+  (0.1ms) rollback transaction
146398
+  (0.0ms) begin transaction
146399
+  (0.0ms) SAVEPOINT active_record_1
146400
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146402
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
146403
+  (0.1ms) rollback transaction
146404
+  (0.0ms) begin transaction
146405
+  (0.0ms) SAVEPOINT active_record_1
146406
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146408
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
146409
+  (0.1ms) rollback transaction
146410
+  (0.0ms) begin transaction
146411
+  (0.0ms) SAVEPOINT active_record_1
146412
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146414
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
146415
+  (0.0ms) rollback transaction
146416
+  (0.0ms) begin transaction
146417
+  (0.0ms) SAVEPOINT active_record_1
146418
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146419
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146420
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
146421
+  (0.0ms) rollback transaction
146422
+  (0.0ms) begin transaction
146423
+  (0.0ms) SAVEPOINT active_record_1
146424
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "f8d20318-2ff2-4a98-a5eb-e9d840508bf1"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146425
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146426
+  (0.1ms) rollback transaction
146427
+  (0.0ms) begin transaction
146428
+  (0.0ms) SAVEPOINT active_record_1
146429
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "f8d20318-2ff2-4a98-a5eb-e9d840508bf1"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146431
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
146432
+  (0.0ms) rollback transaction
146433
+  (0.0ms) begin transaction
146434
+  (0.0ms) SAVEPOINT active_record_1
146435
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146437
+  (0.0ms) rollback transaction
146438
+  (0.0ms) begin transaction
146439
+  (0.0ms) SAVEPOINT active_record_1
146440
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146442
+  (0.0ms) SAVEPOINT active_record_1
146443
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146445
+  (0.1ms) rollback transaction
146446
+  (0.0ms) begin transaction
146447
+  (0.0ms) SAVEPOINT active_record_1
146448
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146450
+  (0.0ms) SAVEPOINT active_record_1
146451
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146453
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
146454
+  (0.1ms) rollback transaction
146455
+  (0.0ms) begin transaction
146456
+  (0.0ms) SAVEPOINT active_record_1
146457
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146458
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146459
+  (0.0ms) SAVEPOINT active_record_1
146460
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146462
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
146463
+  (0.1ms) rollback transaction
146464
+  (0.1ms) begin transaction
146465
+  (0.0ms) SAVEPOINT active_record_1
146466
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146468
+  (0.0ms) SAVEPOINT active_record_1
146469
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146470
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146471
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
146472
+  (0.1ms) rollback transaction
146473
+  (0.1ms) begin transaction
146474
+  (0.0ms) SAVEPOINT active_record_1
146475
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146477
+  (0.0ms) SAVEPOINT active_record_1
146478
+ SQL (0.0ms) INSERT INTO "addresses" ("global_registry_id", "address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "0a594356-3f1c-11e7-bba6-129bd0521531"], ["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146479
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146480
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
146481
+  (0.0ms) rollback transaction
146482
+  (0.0ms) begin transaction
146483
+  (0.0ms) SAVEPOINT active_record_1
146484
+ SQL (0.0ms) INSERT INTO "communities" ("name", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Community"], ["infobase_id", 234], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146485
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146486
+ SQL (0.0ms) UPDATE "communities" SET "global_registry_id" = '6133f6fe-c63a-425a-bb46-68917c689723' WHERE "communities"."id" = ? [["id", 1]]
146487
+  (0.0ms) rollback transaction
146488
+  (0.0ms) begin transaction
146489
+  (0.0ms) SAVEPOINT active_record_1
146490
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146492
+  (0.0ms) rollback transaction
146493
+  (0.0ms) begin transaction
146494
+  (0.0ms) SAVEPOINT active_record_1
146495
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146496
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146497
+  (0.0ms) rollback transaction
146498
+  (0.0ms) begin transaction
146499
+  (0.0ms) SAVEPOINT active_record_1
146500
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146502
+  (0.0ms) SAVEPOINT active_record_1
146503
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146505
+  (0.0ms) SAVEPOINT active_record_1
146506
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146508
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
146509
+  (0.1ms) rollback transaction
146510
+  (0.0ms) begin transaction
146511
+  (0.0ms) SAVEPOINT active_record_1
146512
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146514
+  (0.0ms) SAVEPOINT active_record_1
146515
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146517
+  (0.0ms) SAVEPOINT active_record_1
146518
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146520
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
146521
+  (0.1ms) rollback transaction
146522
+  (0.0ms) begin transaction
146523
+  (0.0ms) SAVEPOINT active_record_1
146524
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146525
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146526
+  (0.0ms) SAVEPOINT active_record_1
146527
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146528
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146529
+  (0.0ms) SAVEPOINT active_record_1
146530
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146531
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146532
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
146533
+  (0.1ms) rollback transaction
146534
+  (0.0ms) begin transaction
146535
+  (0.0ms) SAVEPOINT active_record_1
146536
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146537
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146538
+  (0.0ms) SAVEPOINT active_record_1
146539
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146540
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146541
+  (0.0ms) SAVEPOINT active_record_1
146542
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146543
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146544
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
146545
+  (0.1ms) rollback transaction
146546
+  (0.0ms) begin transaction
146547
+  (0.0ms) SAVEPOINT active_record_1
146548
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146549
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146550
+  (0.0ms) SAVEPOINT active_record_1
146551
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146553
+  (0.0ms) SAVEPOINT active_record_1
146554
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146555
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146556
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = NULL WHERE "assignments"."id" = ? [["id", 1]]
146557
+  (0.1ms) rollback transaction
146558
+  (0.0ms) begin transaction
146559
+  (0.0ms) SAVEPOINT active_record_1
146560
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146561
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146562
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146564
+  (0.1ms) rollback transaction
146565
+  (0.0ms) begin transaction
146566
+  (0.0ms) SAVEPOINT active_record_1
146567
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146568
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146569
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146570
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146571
+  (0.1ms) rollback transaction
146572
+  (0.0ms) begin transaction
146573
+  (0.0ms) SAVEPOINT active_record_1
146574
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146575
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146576
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146577
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146578
+  (0.1ms) rollback transaction
146579
+  (0.0ms) begin transaction
146580
+  (0.0ms) SAVEPOINT active_record_1
146581
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146583
+  (0.0ms) SAVEPOINT active_record_1
146584
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146586
+  (0.0ms) SAVEPOINT active_record_1
146587
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "assigned_by_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["assigned_by_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146588
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146589
+  (0.1ms) rollback transaction
146590
+  (0.0ms) begin transaction
146591
+  (0.0ms) SAVEPOINT active_record_1
146592
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146593
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146594
+  (0.0ms) SAVEPOINT active_record_1
146595
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146596
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146597
+  (0.0ms) SAVEPOINT active_record_1
146598
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "assigned_by_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["assigned_by_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146599
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146600
+  (0.1ms) rollback transaction
146601
+  (0.0ms) begin transaction
146602
+  (0.0ms) SAVEPOINT active_record_1
146603
+ SQL (0.0ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "0fdb70c5-f51e-4628-a1fe-caa37fae53cd"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146605
+  (0.0ms) SAVEPOINT active_record_1
146606
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["area_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146607
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146608
+  (0.1ms) rollback transaction
146609
+  (0.0ms) begin transaction
146610
+  (0.0ms) SAVEPOINT active_record_1
146611
+ SQL (0.0ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "0f9089a3-2b93-4de8-9b81-92be0261f325"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146613
+  (0.0ms) SAVEPOINT active_record_1
146614
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_service_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "2f0c62f1-5738-4860-88bd-5706fb801d7b"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146615
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146616
+  (0.1ms) rollback transaction
146617
+  (0.0ms) begin transaction
146618
+  (0.0ms) SAVEPOINT active_record_1
146619
+ SQL (0.0ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "7cdaf399-d449-4008-8c6b-3c64a2b2730c"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146621
+  (0.0ms) SAVEPOINT active_record_1
146622
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "2f0c62f1-5738-4860-88bd-5706fb801d7b"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_residence_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146624
+  (0.1ms) rollback transaction
146625
+  (0.1ms) begin transaction
146626
+  (0.0ms) SAVEPOINT active_record_1
146627
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146628
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146629
+  (0.1ms) rollback transaction
146630
+  (0.0ms) begin transaction
146631
+  (0.0ms) SAVEPOINT active_record_1
146632
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "infobase_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["infobase_gr_id", "ee40f9ed-d625-405b-8ce6-aec821611ec6"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146633
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146634
+ SQL (0.0ms) UPDATE "communities" SET "infobase_gr_id" = NULL WHERE "communities"."id" = ? [["id", 1]]
146635
+  (0.0ms) rollback transaction
146636
+  (0.0ms) begin transaction
146637
+  (0.0ms) SAVEPOINT active_record_1
146638
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146640
+  (0.1ms) rollback transaction
146641
+  (0.0ms) DROP TABLE IF EXISTS "people"
146642
+  (0.7ms) SELECT sqlite_version(*)
146643
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "global_registry_mdm_id" varchar, "first_name" varchar, "last_name" varchar, "guid" varchar, "country_of_service_id" integer, "country_of_residence_id" integer, "country_of_service_gr_id" varchar, "country_of_residence_gr_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146644
+  (0.1ms) CREATE INDEX "index_people_on_country_of_service_id" ON "people" ("country_of_service_id")
146645
+  (0.2ms)  SELECT sql
146646
+ FROM sqlite_master
146647
+ WHERE name='index_people_on_country_of_service_id' AND type='index'
146648
+ UNION ALL
146649
+ SELECT sql
146650
+ FROM sqlite_temp_master
146651
+ WHERE name='index_people_on_country_of_service_id' AND type='index'
146652
+ 
146653
+  (0.1ms) CREATE INDEX "index_people_on_country_of_residence_id" ON "people" ("country_of_residence_id")
146654
+  (0.0ms) DROP TABLE IF EXISTS "addresses"
146655
+  (0.1ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "address1" varchar, "zip" varchar, "primary" boolean, "person_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146656
+  (0.1ms) CREATE INDEX "index_addresses_on_person_id" ON "addresses" ("person_id")
146657
+  (0.0ms) DROP TABLE IF EXISTS "organizations"
146658
+  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "gr_id" varchar, "name" varchar, "description" text, "start_date" date, "parent_id" integer, "area_id" integer, "global_registry_area_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146659
+  (0.1ms) CREATE INDEX "index_organizations_on_parent_id" ON "organizations" ("parent_id")
146660
+  (0.0ms)  SELECT sql
146661
+ FROM sqlite_master
146662
+ WHERE name='index_organizations_on_parent_id' AND type='index'
146663
+ UNION ALL
146664
+ SELECT sql
146665
+ FROM sqlite_temp_master
146666
+ WHERE name='index_organizations_on_parent_id' AND type='index'
146667
+ 
146668
+  (0.1ms) CREATE INDEX "index_organizations_on_area_id" ON "organizations" ("area_id")
146669
+  (0.0ms) DROP TABLE IF EXISTS "assignments"
146670
+  (0.1ms) CREATE TABLE "assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "assigned_by_gr_rel_id" varchar, "role" varchar, "hired_at" datetime, "person_id" integer, "organization_id" integer, "assigned_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146671
+  (0.1ms) CREATE INDEX "index_assignments_on_person_id" ON "assignments" ("person_id")
146672
+  (0.0ms)  SELECT sql
146673
+ FROM sqlite_master
146674
+ WHERE name='index_assignments_on_person_id' AND type='index'
146675
+ UNION ALL
146676
+ SELECT sql
146677
+ FROM sqlite_temp_master
146678
+ WHERE name='index_assignments_on_person_id' AND type='index'
146679
+ 
146680
+  (0.1ms) CREATE INDEX "index_assignments_on_organization_id" ON "assignments" ("organization_id")
146681
+  (0.0ms)  SELECT sql
146682
+ FROM sqlite_master
146683
+ WHERE name='index_assignments_on_organization_id' AND type='index'
146684
+ UNION ALL
146685
+ SELECT sql
146686
+ FROM sqlite_temp_master
146687
+ WHERE name='index_assignments_on_organization_id' AND type='index'
146688
+ 
146689
+  (0.0ms)  SELECT sql
146690
+ FROM sqlite_master
146691
+ WHERE name='index_assignments_on_person_id' AND type='index'
146692
+ UNION ALL
146693
+ SELECT sql
146694
+ FROM sqlite_temp_master
146695
+ WHERE name='index_assignments_on_person_id' AND type='index'
146696
+ 
146697
+  (0.1ms) CREATE INDEX "index_assignments_on_assigned_by_id" ON "assignments" ("assigned_by_id")
146698
+  (0.0ms) DROP TABLE IF EXISTS "areas"
146699
+  (0.1ms) CREATE TABLE "areas" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "area_name" varchar, "area_code" varchar, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146700
+  (0.0ms) DROP TABLE IF EXISTS "countries"
146701
+  (0.1ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "global_registry_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146702
+  (0.0ms) DROP TABLE IF EXISTS "communities"
146703
+  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "global_registry_id" varchar, "infobase_id" integer, "infobase_gr_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146704
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
146705
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
146706
+  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES (0)
146707
+  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
146708
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
146709
+  (0.0ms) begin transaction
146710
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-08-08 14:57:20.470737"], ["updated_at", "2017-08-08 14:57:20.470737"]]
146711
+  (0.0ms) commit transaction
146712
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
146713
+  (0.0ms) begin transaction
146714
+  (0.0ms) commit transaction
146715
+  (0.1ms) begin transaction
146716
+  (0.0ms) rollback transaction
146717
+  (0.0ms) begin transaction
146718
+  (0.0ms) rollback transaction
146719
+  (0.0ms) begin transaction
146720
+  (0.0ms) rollback transaction
146721
+  (0.0ms) begin transaction
146722
+  (0.0ms) rollback transaction
146723
+  (0.0ms) begin transaction
146724
+  (0.1ms) rollback transaction
146725
+  (0.1ms) begin transaction
146726
+  (0.1ms) rollback transaction
146727
+  (0.0ms) begin transaction
146728
+  (0.1ms) rollback transaction
146729
+  (0.0ms) begin transaction
146730
+  (0.0ms) rollback transaction
146731
+  (0.0ms) begin transaction
146732
+  (0.0ms) rollback transaction
146733
+  (0.0ms) begin transaction
146734
+  (0.0ms) SAVEPOINT active_record_1
146735
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:57:21.012254"], ["updated_at", "2017-08-08 14:57:21.012254"]]
146736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146737
+  (0.0ms) SAVEPOINT active_record_1
146738
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:57:21.015625"], ["updated_at", "2017-08-08 14:57:21.015625"]]
146739
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146740
+  (0.0ms) SAVEPOINT active_record_1
146741
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-06-08 14:57:21.018017"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 14:57:21.019000"], ["updated_at", "2017-08-08 14:57:21.019000"]]
146742
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146743
+  (0.1ms) rollback transaction
146744
+  (0.0ms) begin transaction
146745
+  (0.1ms) SAVEPOINT active_record_1
146746
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:57:21.023173"], ["updated_at", "2017-08-08 14:57:21.023173"]]
146747
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146748
+  (0.1ms) SAVEPOINT active_record_1
146749
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:57:21.026875"], ["updated_at", "2017-08-08 14:57:21.026875"]]
146750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146751
+  (0.0ms) SAVEPOINT active_record_1
146752
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-06-08 14:57:21.028798"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 14:57:21.029448"], ["updated_at", "2017-08-08 14:57:21.029448"]]
146753
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146754
+  (0.0ms) SAVEPOINT active_record_1
146755
+ SQL (0.1ms) UPDATE "assignments" SET "role" = ?, "updated_at" = ? WHERE "assignments"."id" = ? [["role", "boss"], ["updated_at", "2017-08-08 14:57:21.032034"], ["id", 1]]
146756
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146757
+  (0.1ms) rollback transaction
146758
+  (0.0ms) begin transaction
146759
+  (0.0ms) SAVEPOINT active_record_1
146760
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:57:21.035955"], ["updated_at", "2017-08-08 14:57:21.035955"]]
146761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146762
+  (0.0ms) SAVEPOINT active_record_1
146763
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:57:21.038504"], ["updated_at", "2017-08-08 14:57:21.038504"]]
146764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146765
+  (0.0ms) SAVEPOINT active_record_1
146766
+ SQL (0.1ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "abc"], ["role", "leader"], ["hired_at", "2017-06-08 14:57:21.040297"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 14:57:21.040903"], ["updated_at", "2017-08-08 14:57:21.040903"]]
146767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146768
+  (0.0ms) SAVEPOINT active_record_1
146769
+ SQL (0.1ms) DELETE FROM "assignments" WHERE "assignments"."id" = ? [["id", 1]]
146770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146771
+  (0.1ms) rollback transaction
146772
+  (0.0ms) begin transaction
146773
+  (0.0ms) SAVEPOINT active_record_1
146774
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:57:21.046108"], ["updated_at", "2017-08-08 14:57:21.046108"]]
146775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146776
+  (0.0ms) rollback transaction
146777
+  (0.0ms) begin transaction
146778
+  (0.1ms) SAVEPOINT active_record_1
146779
+ SQL (0.1ms) INSERT INTO "areas" ("area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 14:57:21.056751"], ["updated_at", "2017-08-08 14:57:21.056751"]]
146780
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["area_id", 1], ["created_at", "2017-08-08 14:57:21.057952"], ["updated_at", "2017-08-08 14:57:21.057952"]]
146781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146782
+  (0.0ms) rollback transaction
146783
+  (0.0ms) begin transaction
146784
+  (0.0ms) SAVEPOINT active_record_1
146785
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:57:21.063011"], ["updated_at", "2017-08-08 14:57:21.063011"]]
146786
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["created_at", "2017-08-08 14:57:21.063860"], ["updated_at", "2017-08-08 14:57:21.063860"]]
146787
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146788
+  (0.0ms) rollback transaction
146789
+  (0.1ms) begin transaction
146790
+  (0.0ms) SAVEPOINT active_record_1
146791
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:57:21.069520"], ["updated_at", "2017-08-08 14:57:21.069520"]]
146792
+ SQL (0.1ms) INSERT INTO "areas" ("area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 14:57:21.070539"], ["updated_at", "2017-08-08 14:57:21.070539"]]
146793
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["area_id", 1], ["created_at", "2017-08-08 14:57:21.071240"], ["updated_at", "2017-08-08 14:57:21.071240"]]
146794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146795
+  (0.0ms) rollback transaction
146796
+  (0.0ms) begin transaction
146797
+  (0.0ms) SAVEPOINT active_record_1
146798
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:57:21.076730"], ["updated_at", "2017-08-08 14:57:21.076730"]]
146799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146800
+  (0.0ms) SAVEPOINT active_record_1
146801
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 1]]
146802
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146803
+  (0.0ms) rollback transaction
146804
+  (0.0ms) begin transaction
146805
+  (0.0ms) SAVEPOINT active_record_1
146806
+ SQL (0.1ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "efg"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 14:57:21.081509"], ["updated_at", "2017-08-08 14:57:21.081509"]]
146807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146808
+  (0.0ms) SAVEPOINT active_record_1
146809
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "area_id", "global_registry_area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["area_id", 1], ["global_registry_area_id", "ijk"], ["created_at", "2017-08-08 14:57:21.083974"], ["updated_at", "2017-08-08 14:57:21.083974"]]
146810
+  (0.2ms) RELEASE SAVEPOINT active_record_1
146811
+  (0.0ms) SAVEPOINT active_record_1
146812
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 1]]
146813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146814
+  (0.0ms) rollback transaction
146815
+  (0.0ms) begin transaction
146816
+  (0.1ms) SAVEPOINT active_record_1
146817
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "xyz"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:57:21.089854"], ["updated_at", "2017-08-08 14:57:21.089854"]]
146818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146819
+  (0.0ms) SAVEPOINT active_record_1
146820
+ SQL (0.2ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["created_at", "2017-08-08 14:57:21.092280"], ["updated_at", "2017-08-08 14:57:21.092280"]]
146821
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146822
+  (0.0ms) SAVEPOINT active_record_1
146823
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 2]]
146824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146825
+  (0.0ms) rollback transaction
146826
+  (0.0ms) begin transaction
146827
+  (0.1ms) SAVEPOINT active_record_1
146828
+ SQL (0.1ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "efg"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 14:57:21.097092"], ["updated_at", "2017-08-08 14:57:21.097092"]]
146829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146830
+  (0.0ms) SAVEPOINT active_record_1
146831
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "xyz"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 14:57:21.099796"], ["updated_at", "2017-08-08 14:57:21.099796"]]
146832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146833
+  (0.0ms) SAVEPOINT active_record_1
146834
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "parent_id", "area_id", "global_registry_area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["area_id", 1], ["global_registry_area_id", "ijk"], ["created_at", "2017-08-08 14:57:21.102552"], ["updated_at", "2017-08-08 14:57:21.102552"]]
146835
+  (0.2ms) RELEASE SAVEPOINT active_record_1
146836
+  (0.0ms) SAVEPOINT active_record_1
146837
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 2]]
146838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146839
+  (0.0ms) rollback transaction
146840
+  (0.2ms) begin transaction
146841
+  (0.0ms) SAVEPOINT active_record_1
146842
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:57:21.109148"], ["updated_at", "2017-08-08 14:57:21.109148"]]
146843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146844
+  (0.0ms) rollback transaction
146845
+  (0.0ms) begin transaction
146846
+  (0.2ms) SAVEPOINT active_record_1
146847
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:57:21.119586"], ["updated_at", "2017-08-08 14:57:21.119586"]]
146848
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["created_at", "2017-08-08 14:57:21.120500"], ["updated_at", "2017-08-08 14:57:21.120500"]]
146849
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146850
+  (0.2ms) rollback transaction
146851
+  (0.0ms) begin transaction
146852
+  (0.1ms) SAVEPOINT active_record_1
146853
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:57:21.126717"], ["updated_at", "2017-08-08 14:57:21.126717"]]
146854
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_residence_id", 1], ["created_at", "2017-08-08 14:57:21.127555"], ["updated_at", "2017-08-08 14:57:21.127555"]]
146855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146856
+  (0.1ms) rollback transaction
146857
+  (0.0ms) begin transaction
146858
+  (0.2ms) SAVEPOINT active_record_1
146859
+ SQL (0.2ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:57:21.135570"], ["updated_at", "2017-08-08 14:57:21.135570"]]
146860
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["created_at", "2017-08-08 14:57:21.137282"], ["updated_at", "2017-08-08 14:57:21.137282"]]
146861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146862
+  (0.1ms) rollback transaction
146863
+  (0.1ms) begin transaction
146864
+  (0.1ms) SAVEPOINT active_record_1
146865
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:57:21.148776"], ["updated_at", "2017-08-08 14:57:21.148776"]]
146866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146867
+  (0.0ms) SAVEPOINT active_record_1
146868
+ SQL (0.1ms) UPDATE "people" SET "first_name" = ?, "updated_at" = ? WHERE "people"."id" = ? [["first_name", "Anthony"], ["updated_at", "2017-08-08 14:57:21.151990"], ["id", 1]]
146869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146870
+  (0.0ms) rollback transaction
146871
+  (0.0ms) begin transaction
146872
+  (0.0ms) SAVEPOINT active_record_1
146873
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:57:21.155891"], ["updated_at", "2017-08-08 14:57:21.155891"]]
146874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146875
+  (0.0ms) SAVEPOINT active_record_1
146876
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["created_at", "2017-08-08 14:57:21.158203"], ["updated_at", "2017-08-08 14:57:21.158203"]]
146877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146878
+  (0.2ms) SAVEPOINT active_record_1
146879
+ SQL (0.1ms) UPDATE "people" SET "first_name" = ?, "updated_at" = ? WHERE "people"."id" = ? [["first_name", "Anthony"], ["updated_at", "2017-08-08 14:57:21.162328"], ["id", 1]]
146880
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146881
+  (0.1ms) rollback transaction
146882
+  (0.0ms) begin transaction
146883
+  (0.0ms) SAVEPOINT active_record_1
146884
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 14:57:21.167111"], ["updated_at", "2017-08-08 14:57:21.167111"]]
146885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146886
+  (0.0ms) SAVEPOINT active_record_1
146887
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 14:57:21.169543"], ["updated_at", "2017-08-08 14:57:21.169543"]]
146888
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146889
+  (0.1ms) SAVEPOINT active_record_1
146890
+ SQL (0.1ms) UPDATE "people" SET "country_of_residence_id" = ?, "updated_at" = ? WHERE "people"."id" = ? [["country_of_residence_id", nil], ["updated_at", "2017-08-08 14:57:21.174038"], ["id", 1]]
146891
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146892
+ SQL (0.1ms) UPDATE "people" SET "country_of_residence_gr_id" = NULL WHERE "people"."id" = ? [["id", 1]]
146893
+  (0.0ms) rollback transaction
146894
+  (0.1ms) begin transaction
146895
+  (0.0ms) SAVEPOINT active_record_1
146896
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9952f"], ["created_at", "2017-08-08 14:57:21.179877"], ["updated_at", "2017-08-08 14:57:21.179877"]]
146897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146898
+  (0.0ms) SAVEPOINT active_record_1
146899
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Peru"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9963c"], ["created_at", "2017-08-08 14:57:21.182480"], ["updated_at", "2017-08-08 14:57:21.182480"]]
146900
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146901
+  (0.0ms) SAVEPOINT active_record_1
146902
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_service_gr_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["country_of_service_gr_id", "89f81f6e-7baf-44d9-8f3a-55bf7c652dcc"], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 14:57:21.184709"], ["updated_at", "2017-08-08 14:57:21.184709"]]
146903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146904
+  (0.0ms) SAVEPOINT active_record_1
146905
+ SQL (0.1ms) UPDATE "people" SET "country_of_service_id" = ?, "updated_at" = ? WHERE "people"."id" = ? [["country_of_service_id", 2], ["updated_at", "2017-08-08 14:57:21.189757"], ["id", 1]]
146906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146907
+ SQL (0.1ms) UPDATE "people" SET "country_of_service_gr_id" = NULL WHERE "people"."id" = ? [["id", 1]]
146908
+  (0.1ms) rollback transaction
146909
+  (0.0ms) begin transaction
146910
+  (0.0ms) SAVEPOINT active_record_1
146911
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:57:21.206441"], ["updated_at", "2017-08-08 14:57:21.206441"]]
146912
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146913
+  (0.0ms) SAVEPOINT active_record_1
146914
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."person_id" = ? [["person_id", 1]]
146915
+ SQL (0.1ms) DELETE FROM "people" WHERE "people"."id" = ? [["id", 1]]
146916
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146917
+  (0.0ms) rollback transaction
146918
+  (0.0ms) begin transaction
146919
+  (0.0ms) SAVEPOINT active_record_1
146920
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9952f"], ["created_at", "2017-08-08 14:57:21.221252"], ["updated_at", "2017-08-08 14:57:21.221252"]]
146921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146922
+  (0.1ms) SAVEPOINT active_record_1
146923
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d99639"], ["created_at", "2017-08-08 14:57:21.223220"], ["updated_at", "2017-08-08 14:57:21.223220"]]
146924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146925
+  (0.0ms) SAVEPOINT active_record_1
146926
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_service_gr_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 2], ["country_of_residence_id", 1], ["country_of_service_gr_id", "89f81f6e-7baf-44d9-8f3a-55bf7c652dcc"], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 14:57:21.225461"], ["updated_at", "2017-08-08 14:57:21.225461"]]
146927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146928
+  (0.0ms) SAVEPOINT active_record_1
146929
+ Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."person_id" = ? [["person_id", 1]]
146930
+ SQL (0.1ms) DELETE FROM "people" WHERE "people"."id" = ? [["id", 1]]
146931
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146932
+  (0.1ms) rollback transaction
146933
+  (0.1ms) begin transaction
146934
+  (0.0ms) rollback transaction
146935
+  (0.0ms) begin transaction
146936
+  (0.1ms) rollback transaction
146937
+  (0.0ms) begin transaction
146938
+  (0.1ms) rollback transaction
146939
+  (0.0ms) begin transaction
146940
+  (0.1ms) SAVEPOINT active_record_1
146941
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:57:21.273742"], ["updated_at", "2017-08-08 14:57:21.273742"]]
146942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146943
+  (0.0ms) rollback transaction
146944
+  (0.0ms) begin transaction
146945
+  (0.0ms) SAVEPOINT active_record_1
146946
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:57:21.278163"], ["updated_at", "2017-08-08 14:57:21.278163"]]
146947
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146948
+  (0.0ms) rollback transaction
146949
+  (0.1ms) begin transaction
146950
+  (0.1ms) SAVEPOINT active_record_1
146951
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:57:21.282792"], ["updated_at", "2017-08-08 14:57:21.282792"]]
146952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146953
+  (0.1ms) rollback transaction
146954
+  (0.0ms) begin transaction
146955
+  (0.0ms) SAVEPOINT active_record_1
146956
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:57:21.288355"], ["updated_at", "2017-08-08 14:57:21.288355"]]
146957
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146958
+  (0.1ms) rollback transaction
146959
+  (0.0ms) begin transaction
146960
+  (0.1ms) SAVEPOINT active_record_1
146961
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:57:21.308795"], ["updated_at", "2017-08-08 14:57:21.308795"]]
146962
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146963
+  (0.1ms) rollback transaction
146964
+  (0.0ms) begin transaction
146965
+  (0.1ms) SAVEPOINT active_record_1
146966
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 14:57:21.327112"], ["updated_at", "2017-08-08 14:57:21.327112"]]
146967
+  (0.1ms) RELEASE SAVEPOINT active_record_1
146968
+ SQL (0.1ms) UPDATE "people" SET "global_registry_mdm_id" = 'c81340b2-7e57-4978-b6b9-396f21bb0bb2' WHERE "people"."id" = ? [["id", 1]]
146969
+  (0.0ms) rollback transaction
146970
+  (0.0ms) begin transaction
146971
+  (0.0ms) rollback transaction
146972
+  (0.1ms) begin transaction
146973
+  (0.0ms) SAVEPOINT active_record_1
146974
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146975
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146976
+  (0.1ms) rollback transaction
146977
+  (0.0ms) begin transaction
146978
+  (0.0ms) SAVEPOINT active_record_1
146979
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146981
+  (0.0ms) rollback transaction
146982
+  (0.0ms) begin transaction
146983
+  (0.0ms) SAVEPOINT active_record_1
146984
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146986
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 1]]
146987
+  (0.1ms) rollback transaction
146988
+  (0.0ms) begin transaction
146989
+  (0.0ms) SAVEPOINT active_record_1
146990
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Parent"], ["description", "Parent Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146992
+  (0.0ms) SAVEPOINT active_record_1
146993
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["parent_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
146995
+  (0.1ms) rollback transaction
146996
+  (0.0ms) begin transaction
146997
+  (0.0ms) SAVEPOINT active_record_1
146998
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "cd5da38a-c336-46a7-b818-dcdd51c4acde"], ["name", "Parent"], ["description", "Parent Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
146999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147000
+  (0.0ms) SAVEPOINT active_record_1
147001
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["parent_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147002
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147003
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 2]]
147004
+  (0.0ms) rollback transaction
147005
+  (0.0ms) begin transaction
147006
+  (0.0ms) SAVEPOINT active_record_1
147007
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147008
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147009
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
147010
+  (0.1ms) rollback transaction
147011
+  (0.0ms) begin transaction
147012
+  (0.0ms) SAVEPOINT active_record_1
147013
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147014
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147015
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
147016
+  (0.0ms) rollback transaction
147017
+  (0.0ms) begin transaction
147018
+  (0.0ms) SAVEPOINT active_record_1
147019
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147021
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
147022
+  (0.0ms) rollback transaction
147023
+  (0.0ms) begin transaction
147024
+  (0.0ms) SAVEPOINT active_record_1
147025
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147026
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147027
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
147028
+  (0.0ms) rollback transaction
147029
+  (0.1ms) begin transaction
147030
+  (0.0ms) SAVEPOINT active_record_1
147031
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "f8d20318-2ff2-4a98-a5eb-e9d840508bf1"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147032
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147033
+  (0.1ms) rollback transaction
147034
+  (0.0ms) begin transaction
147035
+  (0.0ms) SAVEPOINT active_record_1
147036
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "f8d20318-2ff2-4a98-a5eb-e9d840508bf1"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147038
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
147039
+  (0.1ms) rollback transaction
147040
+  (0.0ms) begin transaction
147041
+  (0.0ms) SAVEPOINT active_record_1
147042
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147043
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147044
+  (0.0ms) rollback transaction
147045
+  (0.0ms) begin transaction
147046
+  (0.0ms) SAVEPOINT active_record_1
147047
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147048
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147049
+  (0.0ms) SAVEPOINT active_record_1
147050
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147052
+  (0.1ms) rollback transaction
147053
+  (0.1ms) begin transaction
147054
+  (0.0ms) SAVEPOINT active_record_1
147055
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147056
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147057
+  (0.0ms) SAVEPOINT active_record_1
147058
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147059
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147060
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
147061
+  (0.1ms) rollback transaction
147062
+  (0.1ms) begin transaction
147063
+  (0.0ms) SAVEPOINT active_record_1
147064
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147066
+  (0.0ms) SAVEPOINT active_record_1
147067
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147068
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147069
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
147070
+  (0.0ms) rollback transaction
147071
+  (0.1ms) begin transaction
147072
+  (0.0ms) SAVEPOINT active_record_1
147073
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147074
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147075
+  (0.0ms) SAVEPOINT active_record_1
147076
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147077
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147078
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
147079
+  (0.1ms) rollback transaction
147080
+  (0.1ms) begin transaction
147081
+  (0.0ms) SAVEPOINT active_record_1
147082
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147083
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147084
+  (0.0ms) SAVEPOINT active_record_1
147085
+ SQL (0.0ms) INSERT INTO "addresses" ("global_registry_id", "address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "0a594356-3f1c-11e7-bba6-129bd0521531"], ["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147086
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147087
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
147088
+  (0.0ms) rollback transaction
147089
+  (0.0ms) begin transaction
147090
+  (0.0ms) SAVEPOINT active_record_1
147091
+ SQL (0.0ms) INSERT INTO "communities" ("name", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Community"], ["infobase_id", 234], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147092
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147093
+  (0.1ms) rollback transaction
147094
+  (0.0ms) begin transaction
147095
+  (0.0ms) SAVEPOINT active_record_1
147096
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147098
+  (0.0ms) rollback transaction
147099
+  (0.0ms) begin transaction
147100
+  (0.0ms) SAVEPOINT active_record_1
147101
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147102
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147103
+  (0.0ms) rollback transaction
147104
+  (0.0ms) begin transaction
147105
+  (0.0ms) SAVEPOINT active_record_1
147106
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147108
+  (0.0ms) SAVEPOINT active_record_1
147109
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147110
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147111
+  (0.0ms) SAVEPOINT active_record_1
147112
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147113
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147114
+  (0.1ms) rollback transaction
147115
+  (0.1ms) begin transaction
147116
+  (0.0ms) SAVEPOINT active_record_1
147117
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147119
+  (0.0ms) SAVEPOINT active_record_1
147120
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147122
+  (0.0ms) SAVEPOINT active_record_1
147123
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147124
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147125
+  (2.0ms) rollback transaction
147126
+  (0.0ms) begin transaction
147127
+  (0.0ms) SAVEPOINT active_record_1
147128
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147130
+  (0.0ms) SAVEPOINT active_record_1
147131
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147132
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147133
+  (0.0ms) SAVEPOINT active_record_1
147134
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147136
+  (0.1ms) rollback transaction
147137
+  (0.0ms) begin transaction
147138
+  (0.0ms) SAVEPOINT active_record_1
147139
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147140
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147141
+  (0.0ms) SAVEPOINT active_record_1
147142
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147143
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147144
+  (0.0ms) SAVEPOINT active_record_1
147145
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147146
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147147
+  (0.1ms) rollback transaction
147148
+  (0.0ms) begin transaction
147149
+  (0.0ms) SAVEPOINT active_record_1
147150
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147152
+  (0.0ms) SAVEPOINT active_record_1
147153
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147155
+  (0.0ms) SAVEPOINT active_record_1
147156
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147157
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147158
+  (0.1ms) rollback transaction
147159
+  (0.1ms) begin transaction
147160
+  (0.0ms) SAVEPOINT active_record_1
147161
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147162
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147163
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147165
+  (0.1ms) rollback transaction
147166
+  (0.0ms) begin transaction
147167
+  (0.0ms) SAVEPOINT active_record_1
147168
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147169
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147170
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147171
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147172
+  (0.1ms) rollback transaction
147173
+  (0.0ms) begin transaction
147174
+  (0.0ms) SAVEPOINT active_record_1
147175
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147176
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147177
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147178
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147179
+  (0.1ms) rollback transaction
147180
+  (0.0ms) begin transaction
147181
+  (0.0ms) SAVEPOINT active_record_1
147182
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147183
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147184
+  (0.0ms) SAVEPOINT active_record_1
147185
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147187
+  (0.0ms) SAVEPOINT active_record_1
147188
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "assigned_by_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["assigned_by_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147190
+ SQL (0.0ms) UPDATE "assignments" SET "assigned_by_gr_rel_id" = '0fd8b8b8-76c9-11e7-b15c-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
147191
+  (0.1ms) rollback transaction
147192
+  (0.0ms) begin transaction
147193
+  (0.0ms) SAVEPOINT active_record_1
147194
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147195
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147196
+  (0.0ms) SAVEPOINT active_record_1
147197
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147198
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147199
+  (0.0ms) SAVEPOINT active_record_1
147200
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "assigned_by_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["assigned_by_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147201
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147202
+  (0.1ms) rollback transaction
147203
+  (0.0ms) begin transaction
147204
+  (0.0ms) SAVEPOINT active_record_1
147205
+ SQL (0.0ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "0fdb70c5-f51e-4628-a1fe-caa37fae53cd"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147206
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147207
+  (0.0ms) SAVEPOINT active_record_1
147208
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["area_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147210
+ SQL (0.0ms) UPDATE "organizations" SET "global_registry_area_id" = 'c99d7d7e-8b14-4fe6-9c11-e5359ee03637' WHERE "organizations"."id" = ? [["id", 1]]
147211
+  (0.1ms) rollback transaction
147212
+  (0.0ms) begin transaction
147213
+  (0.0ms) SAVEPOINT active_record_1
147214
+ SQL (0.0ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "0f9089a3-2b93-4de8-9b81-92be0261f325"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147215
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147216
+  (0.0ms) SAVEPOINT active_record_1
147217
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_service_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "2f0c62f1-5738-4860-88bd-5706fb801d7b"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147218
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147219
+ SQL (0.0ms) UPDATE "people" SET "country_of_service_gr_id" = '420d2fd1-7a73-41ed-9d8f-5dc79b00a688' WHERE "people"."id" = ? [["id", 1]]
147220
+  (0.0ms) rollback transaction
147221
+  (0.0ms) begin transaction
147222
+  (0.0ms) SAVEPOINT active_record_1
147223
+ SQL (0.0ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "7cdaf399-d449-4008-8c6b-3c64a2b2730c"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147225
+  (0.0ms) SAVEPOINT active_record_1
147226
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "2f0c62f1-5738-4860-88bd-5706fb801d7b"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_residence_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147227
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147228
+ SQL (0.0ms) UPDATE "people" SET "country_of_residence_gr_id" = 'a4c030ce-13f2-44f5-8131-4003eb21c0ae' WHERE "people"."id" = ? [["id", 1]]
147229
+  (0.0ms) rollback transaction
147230
+  (0.0ms) begin transaction
147231
+  (0.0ms) SAVEPOINT active_record_1
147232
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147233
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147234
+  (0.1ms) rollback transaction
147235
+  (0.0ms) begin transaction
147236
+  (0.0ms) SAVEPOINT active_record_1
147237
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "infobase_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["infobase_gr_id", "ee40f9ed-d625-405b-8ce6-aec821611ec6"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147239
+ SQL (0.0ms) UPDATE "communities" SET "infobase_gr_id" = NULL WHERE "communities"."id" = ? [["id", 1]]
147240
+  (0.0ms) rollback transaction
147241
+  (0.0ms) begin transaction
147242
+  (0.0ms) SAVEPOINT active_record_1
147243
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147244
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147245
+ SQL (0.0ms) UPDATE "communities" SET "infobase_gr_id" = 'ee40f9ed-d625-405b-8ce6-aec821611ec6' WHERE "communities"."id" = ? [["id", 1]]
147246
+  (0.1ms) rollback transaction
147247
+  (0.0ms) DROP TABLE IF EXISTS "people"
147248
+  (0.8ms) SELECT sqlite_version(*)
147249
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "global_registry_mdm_id" varchar, "first_name" varchar, "last_name" varchar, "guid" varchar, "country_of_service_id" integer, "country_of_residence_id" integer, "country_of_service_gr_id" varchar, "country_of_residence_gr_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147250
+  (0.1ms) CREATE INDEX "index_people_on_country_of_service_id" ON "people" ("country_of_service_id")
147251
+  (0.2ms)  SELECT sql
147252
+ FROM sqlite_master
147253
+ WHERE name='index_people_on_country_of_service_id' AND type='index'
147254
+ UNION ALL
147255
+ SELECT sql
147256
+ FROM sqlite_temp_master
147257
+ WHERE name='index_people_on_country_of_service_id' AND type='index'
147258
+ 
147259
+  (0.1ms) CREATE INDEX "index_people_on_country_of_residence_id" ON "people" ("country_of_residence_id")
147260
+  (0.0ms) DROP TABLE IF EXISTS "addresses"
147261
+  (0.1ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "address1" varchar, "zip" varchar, "primary" boolean, "person_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147262
+  (0.1ms) CREATE INDEX "index_addresses_on_person_id" ON "addresses" ("person_id")
147263
+  (0.0ms) DROP TABLE IF EXISTS "organizations"
147264
+  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "gr_id" varchar, "name" varchar, "description" text, "start_date" date, "parent_id" integer, "area_id" integer, "global_registry_area_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147265
+  (0.1ms) CREATE INDEX "index_organizations_on_parent_id" ON "organizations" ("parent_id")
147266
+  (0.0ms)  SELECT sql
147267
+ FROM sqlite_master
147268
+ WHERE name='index_organizations_on_parent_id' AND type='index'
147269
+ UNION ALL
147270
+ SELECT sql
147271
+ FROM sqlite_temp_master
147272
+ WHERE name='index_organizations_on_parent_id' AND type='index'
147273
+ 
147274
+  (0.1ms) CREATE INDEX "index_organizations_on_area_id" ON "organizations" ("area_id")
147275
+  (0.0ms) DROP TABLE IF EXISTS "assignments"
147276
+  (0.1ms) CREATE TABLE "assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "assigned_by_gr_rel_id" varchar, "role" varchar, "hired_at" datetime, "person_id" integer, "organization_id" integer, "assigned_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147277
+  (0.1ms) CREATE INDEX "index_assignments_on_person_id" ON "assignments" ("person_id")
147278
+  (0.0ms)  SELECT sql
147279
+ FROM sqlite_master
147280
+ WHERE name='index_assignments_on_person_id' AND type='index'
147281
+ UNION ALL
147282
+ SELECT sql
147283
+ FROM sqlite_temp_master
147284
+ WHERE name='index_assignments_on_person_id' AND type='index'
147285
+ 
147286
+  (0.1ms) CREATE INDEX "index_assignments_on_organization_id" ON "assignments" ("organization_id")
147287
+  (0.0ms)  SELECT sql
147288
+ FROM sqlite_master
147289
+ WHERE name='index_assignments_on_organization_id' AND type='index'
147290
+ UNION ALL
147291
+ SELECT sql
147292
+ FROM sqlite_temp_master
147293
+ WHERE name='index_assignments_on_organization_id' AND type='index'
147294
+ 
147295
+  (0.0ms)  SELECT sql
147296
+ FROM sqlite_master
147297
+ WHERE name='index_assignments_on_person_id' AND type='index'
147298
+ UNION ALL
147299
+ SELECT sql
147300
+ FROM sqlite_temp_master
147301
+ WHERE name='index_assignments_on_person_id' AND type='index'
147302
+ 
147303
+  (0.1ms) CREATE INDEX "index_assignments_on_assigned_by_id" ON "assignments" ("assigned_by_id")
147304
+  (0.1ms) DROP TABLE IF EXISTS "areas"
147305
+  (0.1ms) CREATE TABLE "areas" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "area_name" varchar, "area_code" varchar, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147306
+  (0.0ms) DROP TABLE IF EXISTS "countries"
147307
+  (0.1ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "global_registry_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147308
+  (0.0ms) DROP TABLE IF EXISTS "communities"
147309
+  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "global_registry_id" varchar, "infobase_id" integer, "infobase_gr_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147310
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
147311
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
147312
+  (0.0ms) INSERT INTO "schema_migrations" (version) VALUES (0)
147313
+  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147314
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
147315
+  (0.0ms) begin transaction
147316
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-08-08 15:00:01.301682"], ["updated_at", "2017-08-08 15:00:01.301682"]]
147317
+  (0.0ms) commit transaction
147318
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
147319
+  (0.0ms) begin transaction
147320
+  (0.0ms) commit transaction
147321
+  (0.1ms) begin transaction
147322
+  (0.1ms) rollback transaction
147323
+  (0.0ms) begin transaction
147324
+  (0.0ms) rollback transaction
147325
+  (0.0ms) begin transaction
147326
+  (0.0ms) rollback transaction
147327
+  (0.0ms) begin transaction
147328
+  (0.0ms) rollback transaction
147329
+  (0.0ms) begin transaction
147330
+  (0.1ms) rollback transaction
147331
+  (0.1ms) begin transaction
147332
+  (0.0ms) rollback transaction
147333
+  (0.0ms) begin transaction
147334
+  (0.0ms) rollback transaction
147335
+  (0.0ms) begin transaction
147336
+  (0.0ms) rollback transaction
147337
+  (0.1ms) begin transaction
147338
+  (0.0ms) rollback transaction
147339
+  (0.0ms) begin transaction
147340
+  (0.1ms) SAVEPOINT active_record_1
147341
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:00:01.839040"], ["updated_at", "2017-08-08 15:00:01.839040"]]
147342
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147343
+  (0.1ms) SAVEPOINT active_record_1
147344
+ SQL (0.2ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:00:01.845003"], ["updated_at", "2017-08-08 15:00:01.845003"]]
147345
+  (0.1ms) RELEASE SAVEPOINT active_record_1
147346
+  (0.1ms) SAVEPOINT active_record_1
147347
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-06-08 15:00:01.849885"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 15:00:01.851763"], ["updated_at", "2017-08-08 15:00:01.851763"]]
147348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147349
+  (0.1ms) rollback transaction
147350
+  (0.1ms) begin transaction
147351
+  (0.1ms) SAVEPOINT active_record_1
147352
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:00:01.856466"], ["updated_at", "2017-08-08 15:00:01.856466"]]
147353
+  (0.1ms) RELEASE SAVEPOINT active_record_1
147354
+  (0.0ms) SAVEPOINT active_record_1
147355
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:00:01.859343"], ["updated_at", "2017-08-08 15:00:01.859343"]]
147356
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147357
+  (0.0ms) SAVEPOINT active_record_1
147358
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-06-08 15:00:01.861151"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 15:00:01.861782"], ["updated_at", "2017-08-08 15:00:01.861782"]]
147359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147360
+  (0.0ms) SAVEPOINT active_record_1
147361
+ SQL (0.1ms) UPDATE "assignments" SET "role" = ?, "updated_at" = ? WHERE "assignments"."id" = ? [["role", "boss"], ["updated_at", "2017-08-08 15:00:01.864332"], ["id", 1]]
147362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
147363
+  (0.1ms) rollback transaction
147364
+  (0.0ms) begin transaction
147365
+  (0.0ms) SAVEPOINT active_record_1
147366
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:00:01.868185"], ["updated_at", "2017-08-08 15:00:01.868185"]]
147367
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147368
+  (0.0ms) SAVEPOINT active_record_1
147369
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:00:01.870726"], ["updated_at", "2017-08-08 15:00:01.870726"]]
147370
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147371
+  (0.0ms) SAVEPOINT active_record_1
147372
+ SQL (0.1ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "abc"], ["role", "leader"], ["hired_at", "2017-06-08 15:00:01.872518"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 15:00:01.873115"], ["updated_at", "2017-08-08 15:00:01.873115"]]
147373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147374
+  (0.0ms) SAVEPOINT active_record_1
147375
+ SQL (0.1ms) DELETE FROM "assignments" WHERE "assignments"."id" = ? [["id", 1]]
147376
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147377
+  (0.1ms) rollback transaction
147378
+  (0.0ms) begin transaction
147379
+  (0.0ms) SAVEPOINT active_record_1
147380
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:00:01.878827"], ["updated_at", "2017-08-08 15:00:01.878827"]]
147381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147382
+  (0.0ms) rollback transaction
147383
+  (0.0ms) begin transaction
147384
+  (0.0ms) SAVEPOINT active_record_1
147385
+ SQL (0.1ms) INSERT INTO "areas" ("area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 15:00:01.889287"], ["updated_at", "2017-08-08 15:00:01.889287"]]
147386
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["area_id", 1], ["created_at", "2017-08-08 15:00:01.890143"], ["updated_at", "2017-08-08 15:00:01.890143"]]
147387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147388
+  (0.1ms) rollback transaction
147389
+  (0.0ms) begin transaction
147390
+  (0.0ms) SAVEPOINT active_record_1
147391
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:00:01.895605"], ["updated_at", "2017-08-08 15:00:01.895605"]]
147392
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["created_at", "2017-08-08 15:00:01.896396"], ["updated_at", "2017-08-08 15:00:01.896396"]]
147393
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147394
+  (0.0ms) rollback transaction
147395
+  (0.1ms) begin transaction
147396
+  (0.1ms) SAVEPOINT active_record_1
147397
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:00:01.901862"], ["updated_at", "2017-08-08 15:00:01.901862"]]
147398
+ SQL (0.1ms) INSERT INTO "areas" ("area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 15:00:01.902938"], ["updated_at", "2017-08-08 15:00:01.902938"]]
147399
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["area_id", 1], ["created_at", "2017-08-08 15:00:01.903572"], ["updated_at", "2017-08-08 15:00:01.903572"]]
147400
+  (0.1ms) RELEASE SAVEPOINT active_record_1
147401
+  (0.1ms) rollback transaction
147402
+  (0.0ms) begin transaction
147403
+  (0.0ms) SAVEPOINT active_record_1
147404
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:00:01.908435"], ["updated_at", "2017-08-08 15:00:01.908435"]]
147405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147406
+  (0.0ms) SAVEPOINT active_record_1
147407
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 1]]
147408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147409
+  (0.0ms) rollback transaction
147410
+  (0.0ms) begin transaction
147411
+  (0.0ms) SAVEPOINT active_record_1
147412
+ SQL (0.1ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "efg"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 15:00:01.912808"], ["updated_at", "2017-08-08 15:00:01.912808"]]
147413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147414
+  (0.0ms) SAVEPOINT active_record_1
147415
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "area_id", "global_registry_area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["area_id", 1], ["global_registry_area_id", "ijk"], ["created_at", "2017-08-08 15:00:01.915433"], ["updated_at", "2017-08-08 15:00:01.915433"]]
147416
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147417
+  (0.0ms) SAVEPOINT active_record_1
147418
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 1]]
147419
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147420
+  (0.0ms) rollback transaction
147421
+  (0.0ms) begin transaction
147422
+  (0.0ms) SAVEPOINT active_record_1
147423
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "xyz"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:00:01.921445"], ["updated_at", "2017-08-08 15:00:01.921445"]]
147424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147425
+  (0.0ms) SAVEPOINT active_record_1
147426
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["created_at", "2017-08-08 15:00:01.923916"], ["updated_at", "2017-08-08 15:00:01.923916"]]
147427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147428
+  (0.0ms) SAVEPOINT active_record_1
147429
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 2]]
147430
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147431
+  (0.0ms) rollback transaction
147432
+  (0.0ms) begin transaction
147433
+  (0.0ms) SAVEPOINT active_record_1
147434
+ SQL (0.1ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "efg"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 15:00:01.928464"], ["updated_at", "2017-08-08 15:00:01.928464"]]
147435
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147436
+  (0.0ms) SAVEPOINT active_record_1
147437
+ SQL (0.2ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "xyz"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:00:01.930832"], ["updated_at", "2017-08-08 15:00:01.930832"]]
147438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147439
+  (0.0ms) SAVEPOINT active_record_1
147440
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "parent_id", "area_id", "global_registry_area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["area_id", 1], ["global_registry_area_id", "ijk"], ["created_at", "2017-08-08 15:00:01.933533"], ["updated_at", "2017-08-08 15:00:01.933533"]]
147441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147442
+  (0.0ms) SAVEPOINT active_record_1
147443
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 2]]
147444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147445
+  (0.0ms) rollback transaction
147446
+  (0.1ms) begin transaction
147447
+  (0.0ms) SAVEPOINT active_record_1
147448
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:00:01.939958"], ["updated_at", "2017-08-08 15:00:01.939958"]]
147449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147450
+  (0.0ms) rollback transaction
147451
+  (0.0ms) begin transaction
147452
+  (0.1ms) SAVEPOINT active_record_1
147453
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:00:01.950507"], ["updated_at", "2017-08-08 15:00:01.950507"]]
147454
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["created_at", "2017-08-08 15:00:01.951447"], ["updated_at", "2017-08-08 15:00:01.951447"]]
147455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147456
+  (0.0ms) rollback transaction
147457
+  (0.0ms) begin transaction
147458
+  (0.0ms) SAVEPOINT active_record_1
147459
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:00:01.957268"], ["updated_at", "2017-08-08 15:00:01.957268"]]
147460
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_residence_id", 1], ["created_at", "2017-08-08 15:00:01.958037"], ["updated_at", "2017-08-08 15:00:01.958037"]]
147461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147462
+  (0.0ms) rollback transaction
147463
+  (0.0ms) begin transaction
147464
+  (0.0ms) SAVEPOINT active_record_1
147465
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:00:01.963651"], ["updated_at", "2017-08-08 15:00:01.963651"]]
147466
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["created_at", "2017-08-08 15:00:01.964402"], ["updated_at", "2017-08-08 15:00:01.964402"]]
147467
+  (0.1ms) RELEASE SAVEPOINT active_record_1
147468
+  (0.0ms) rollback transaction
147469
+  (0.0ms) begin transaction
147470
+  (0.0ms) SAVEPOINT active_record_1
147471
+ SQL (0.2ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:00:01.970050"], ["updated_at", "2017-08-08 15:00:01.970050"]]
147472
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147473
+  (0.0ms) SAVEPOINT active_record_1
147474
+ SQL (0.1ms) UPDATE "people" SET "first_name" = ?, "updated_at" = ? WHERE "people"."id" = ? [["first_name", "Anthony"], ["updated_at", "2017-08-08 15:00:01.972597"], ["id", 1]]
147475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147476
+  (0.1ms) rollback transaction
147477
+  (0.0ms) begin transaction
147478
+  (0.0ms) SAVEPOINT active_record_1
147479
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:00:01.976949"], ["updated_at", "2017-08-08 15:00:01.976949"]]
147480
+  (0.1ms) RELEASE SAVEPOINT active_record_1
147481
+  (0.0ms) SAVEPOINT active_record_1
147482
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["created_at", "2017-08-08 15:00:01.979240"], ["updated_at", "2017-08-08 15:00:01.979240"]]
147483
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147484
+  (0.0ms) SAVEPOINT active_record_1
147485
+ SQL (0.1ms) UPDATE "people" SET "first_name" = ?, "updated_at" = ? WHERE "people"."id" = ? [["first_name", "Anthony"], ["updated_at", "2017-08-08 15:00:01.983669"], ["id", 1]]
147486
+  (0.2ms) RELEASE SAVEPOINT active_record_1
147487
+  (0.0ms) rollback transaction
147488
+  (0.2ms) begin transaction
147489
+  (0.0ms) SAVEPOINT active_record_1
147490
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:00:01.988767"], ["updated_at", "2017-08-08 15:00:01.988767"]]
147491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147492
+  (0.0ms) SAVEPOINT active_record_1
147493
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 15:00:01.990950"], ["updated_at", "2017-08-08 15:00:01.990950"]]
147494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147495
+  (0.2ms) SAVEPOINT active_record_1
147496
+ SQL (0.1ms) UPDATE "people" SET "country_of_residence_id" = ?, "updated_at" = ? WHERE "people"."id" = ? [["country_of_residence_id", nil], ["updated_at", "2017-08-08 15:00:01.994863"], ["id", 1]]
147497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147498
+ SQL (0.1ms) UPDATE "people" SET "country_of_residence_gr_id" = NULL WHERE "people"."id" = ? [["id", 1]]
147499
+  (0.0ms) rollback transaction
147500
+  (0.0ms) begin transaction
147501
+  (0.0ms) SAVEPOINT active_record_1
147502
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9952f"], ["created_at", "2017-08-08 15:00:01.999825"], ["updated_at", "2017-08-08 15:00:01.999825"]]
147503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147504
+  (0.1ms) SAVEPOINT active_record_1
147505
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Peru"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9963c"], ["created_at", "2017-08-08 15:00:02.002649"], ["updated_at", "2017-08-08 15:00:02.002649"]]
147506
+  (0.1ms) RELEASE SAVEPOINT active_record_1
147507
+  (0.1ms) SAVEPOINT active_record_1
147508
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_service_gr_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["country_of_service_gr_id", "89f81f6e-7baf-44d9-8f3a-55bf7c652dcc"], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 15:00:02.005378"], ["updated_at", "2017-08-08 15:00:02.005378"]]
147509
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147510
+  (0.0ms) SAVEPOINT active_record_1
147511
+ SQL (0.1ms) UPDATE "people" SET "country_of_service_id" = ?, "updated_at" = ? WHERE "people"."id" = ? [["country_of_service_id", 2], ["updated_at", "2017-08-08 15:00:02.010998"], ["id", 1]]
147512
+  (0.1ms) RELEASE SAVEPOINT active_record_1
147513
+ SQL (0.1ms) UPDATE "people" SET "country_of_service_gr_id" = NULL WHERE "people"."id" = ? [["id", 1]]
147514
+  (0.1ms) rollback transaction
147515
+  (0.0ms) begin transaction
147516
+  (0.0ms) SAVEPOINT active_record_1
147517
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:00:02.028071"], ["updated_at", "2017-08-08 15:00:02.028071"]]
147518
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147519
+  (0.0ms) SAVEPOINT active_record_1
147520
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."person_id" = ? [["person_id", 1]]
147521
+ SQL (0.1ms) DELETE FROM "people" WHERE "people"."id" = ? [["id", 1]]
147522
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147523
+  (0.0ms) rollback transaction
147524
+  (0.0ms) begin transaction
147525
+  (0.1ms) SAVEPOINT active_record_1
147526
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9952f"], ["created_at", "2017-08-08 15:00:02.042191"], ["updated_at", "2017-08-08 15:00:02.042191"]]
147527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147528
+  (0.0ms) SAVEPOINT active_record_1
147529
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d99639"], ["created_at", "2017-08-08 15:00:02.043765"], ["updated_at", "2017-08-08 15:00:02.043765"]]
147530
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147531
+  (0.0ms) SAVEPOINT active_record_1
147532
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_service_gr_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 2], ["country_of_residence_id", 1], ["country_of_service_gr_id", "89f81f6e-7baf-44d9-8f3a-55bf7c652dcc"], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 15:00:02.045885"], ["updated_at", "2017-08-08 15:00:02.045885"]]
147533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147534
+  (0.0ms) SAVEPOINT active_record_1
147535
+ Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."person_id" = ? [["person_id", 1]]
147536
+ SQL (0.1ms) DELETE FROM "people" WHERE "people"."id" = ? [["id", 1]]
147537
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147538
+  (0.0ms) rollback transaction
147539
+  (0.0ms) begin transaction
147540
+  (0.1ms) rollback transaction
147541
+  (0.0ms) begin transaction
147542
+  (0.1ms) rollback transaction
147543
+  (0.0ms) begin transaction
147544
+  (0.1ms) rollback transaction
147545
+  (0.1ms) begin transaction
147546
+  (0.1ms) SAVEPOINT active_record_1
147547
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:00:02.096025"], ["updated_at", "2017-08-08 15:00:02.096025"]]
147548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147549
+  (0.1ms) rollback transaction
147550
+  (0.1ms) begin transaction
147551
+  (0.1ms) SAVEPOINT active_record_1
147552
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:00:02.103031"], ["updated_at", "2017-08-08 15:00:02.103031"]]
147553
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147554
+  (0.1ms) rollback transaction
147555
+  (0.0ms) begin transaction
147556
+  (0.1ms) SAVEPOINT active_record_1
147557
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:00:02.108860"], ["updated_at", "2017-08-08 15:00:02.108860"]]
147558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147559
+  (0.1ms) rollback transaction
147560
+  (0.0ms) begin transaction
147561
+  (0.1ms) SAVEPOINT active_record_1
147562
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:00:02.115474"], ["updated_at", "2017-08-08 15:00:02.115474"]]
147563
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147564
+  (0.1ms) rollback transaction
147565
+  (0.0ms) begin transaction
147566
+  (0.1ms) SAVEPOINT active_record_1
147567
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:00:02.134439"], ["updated_at", "2017-08-08 15:00:02.134439"]]
147568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147569
+  (0.1ms) rollback transaction
147570
+  (0.0ms) begin transaction
147571
+  (0.1ms) SAVEPOINT active_record_1
147572
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:00:02.151803"], ["updated_at", "2017-08-08 15:00:02.151803"]]
147573
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147574
+ SQL (0.1ms) UPDATE "people" SET "global_registry_mdm_id" = 'c81340b2-7e57-4978-b6b9-396f21bb0bb2' WHERE "people"."id" = ? [["id", 1]]
147575
+  (0.1ms) rollback transaction
147576
+  (0.0ms) begin transaction
147577
+  (0.1ms) rollback transaction
147578
+  (0.0ms) begin transaction
147579
+  (0.0ms) SAVEPOINT active_record_1
147580
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147582
+  (0.1ms) rollback transaction
147583
+  (0.1ms) begin transaction
147584
+  (0.0ms) SAVEPOINT active_record_1
147585
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147587
+  (0.0ms) rollback transaction
147588
+  (0.0ms) begin transaction
147589
+  (0.0ms) SAVEPOINT active_record_1
147590
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147592
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 1]]
147593
+  (0.1ms) rollback transaction
147594
+  (0.1ms) begin transaction
147595
+  (0.0ms) SAVEPOINT active_record_1
147596
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Parent"], ["description", "Parent Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147598
+  (0.0ms) SAVEPOINT active_record_1
147599
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["parent_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147601
+  (0.1ms) rollback transaction
147602
+  (0.0ms) begin transaction
147603
+  (0.0ms) SAVEPOINT active_record_1
147604
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "cd5da38a-c336-46a7-b818-dcdd51c4acde"], ["name", "Parent"], ["description", "Parent Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147605
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147606
+  (0.0ms) SAVEPOINT active_record_1
147607
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["parent_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147608
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147609
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 2]]
147610
+  (0.0ms) rollback transaction
147611
+  (0.0ms) begin transaction
147612
+  (0.0ms) SAVEPOINT active_record_1
147613
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147614
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147615
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
147616
+  (0.1ms) rollback transaction
147617
+  (0.0ms) begin transaction
147618
+  (0.0ms) SAVEPOINT active_record_1
147619
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147621
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
147622
+  (0.1ms) rollback transaction
147623
+  (0.0ms) begin transaction
147624
+  (0.0ms) SAVEPOINT active_record_1
147625
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147626
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147627
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
147628
+  (0.0ms) rollback transaction
147629
+  (0.0ms) begin transaction
147630
+  (0.0ms) SAVEPOINT active_record_1
147631
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147633
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
147634
+  (0.0ms) rollback transaction
147635
+  (0.0ms) begin transaction
147636
+  (0.0ms) SAVEPOINT active_record_1
147637
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "f8d20318-2ff2-4a98-a5eb-e9d840508bf1"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147638
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147639
+  (0.1ms) rollback transaction
147640
+  (0.1ms) begin transaction
147641
+  (0.0ms) SAVEPOINT active_record_1
147642
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "f8d20318-2ff2-4a98-a5eb-e9d840508bf1"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147644
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
147645
+  (0.0ms) rollback transaction
147646
+  (0.0ms) begin transaction
147647
+  (0.0ms) SAVEPOINT active_record_1
147648
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147649
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147650
+  (0.0ms) rollback transaction
147651
+  (0.0ms) begin transaction
147652
+  (0.0ms) SAVEPOINT active_record_1
147653
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147654
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147655
+  (0.0ms) SAVEPOINT active_record_1
147656
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147657
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147658
+  (0.1ms) rollback transaction
147659
+  (0.0ms) begin transaction
147660
+  (0.0ms) SAVEPOINT active_record_1
147661
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147662
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147663
+  (0.0ms) SAVEPOINT active_record_1
147664
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147665
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147666
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
147667
+  (0.1ms) rollback transaction
147668
+  (0.1ms) begin transaction
147669
+  (0.0ms) SAVEPOINT active_record_1
147670
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147672
+  (0.0ms) SAVEPOINT active_record_1
147673
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147675
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
147676
+  (0.1ms) rollback transaction
147677
+  (0.0ms) begin transaction
147678
+  (0.0ms) SAVEPOINT active_record_1
147679
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147680
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147681
+  (0.0ms) SAVEPOINT active_record_1
147682
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147684
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
147685
+  (0.1ms) rollback transaction
147686
+  (0.0ms) begin transaction
147687
+  (0.0ms) SAVEPOINT active_record_1
147688
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147690
+  (0.0ms) SAVEPOINT active_record_1
147691
+ SQL (0.0ms) INSERT INTO "addresses" ("global_registry_id", "address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "0a594356-3f1c-11e7-bba6-129bd0521531"], ["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147693
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
147694
+  (0.1ms) rollback transaction
147695
+  (0.0ms) begin transaction
147696
+  (0.0ms) SAVEPOINT active_record_1
147697
+ SQL (0.0ms) INSERT INTO "communities" ("name", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Community"], ["infobase_id", 234], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147699
+  (0.1ms) rollback transaction
147700
+  (0.0ms) begin transaction
147701
+  (0.0ms) SAVEPOINT active_record_1
147702
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147704
+  (0.0ms) rollback transaction
147705
+  (0.0ms) begin transaction
147706
+  (0.0ms) SAVEPOINT active_record_1
147707
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147708
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147709
+  (0.0ms) rollback transaction
147710
+  (0.0ms) begin transaction
147711
+  (0.0ms) SAVEPOINT active_record_1
147712
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147714
+  (0.0ms) SAVEPOINT active_record_1
147715
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147717
+  (0.0ms) SAVEPOINT active_record_1
147718
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147720
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
147721
+  (0.1ms) rollback transaction
147722
+  (0.1ms) begin transaction
147723
+  (0.0ms) SAVEPOINT active_record_1
147724
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147725
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147726
+  (0.0ms) SAVEPOINT active_record_1
147727
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147728
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147729
+  (0.0ms) SAVEPOINT active_record_1
147730
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147731
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147732
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
147733
+  (0.1ms) rollback transaction
147734
+  (0.0ms) begin transaction
147735
+  (0.0ms) SAVEPOINT active_record_1
147736
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147738
+  (0.0ms) SAVEPOINT active_record_1
147739
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147741
+  (0.0ms) SAVEPOINT active_record_1
147742
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147744
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
147745
+  (0.1ms) rollback transaction
147746
+  (0.0ms) begin transaction
147747
+  (0.0ms) SAVEPOINT active_record_1
147748
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147750
+  (0.0ms) SAVEPOINT active_record_1
147751
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147752
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147753
+  (0.0ms) SAVEPOINT active_record_1
147754
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147756
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
147757
+  (0.1ms) rollback transaction
147758
+  (0.0ms) begin transaction
147759
+  (0.0ms) SAVEPOINT active_record_1
147760
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147762
+  (0.0ms) SAVEPOINT active_record_1
147763
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147765
+  (0.0ms) SAVEPOINT active_record_1
147766
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147767
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147768
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = NULL WHERE "assignments"."id" = ? [["id", 1]]
147769
+  (0.1ms) rollback transaction
147770
+  (0.0ms) begin transaction
147771
+  (0.0ms) SAVEPOINT active_record_1
147772
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147773
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147774
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147776
+  (0.1ms) rollback transaction
147777
+  (0.0ms) begin transaction
147778
+  (0.0ms) SAVEPOINT active_record_1
147779
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147780
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147781
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147782
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147783
+  (0.1ms) rollback transaction
147784
+  (0.1ms) begin transaction
147785
+  (0.0ms) SAVEPOINT active_record_1
147786
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147787
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147788
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147790
+  (0.1ms) rollback transaction
147791
+  (0.1ms) begin transaction
147792
+  (0.0ms) SAVEPOINT active_record_1
147793
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147795
+  (0.0ms) SAVEPOINT active_record_1
147796
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147798
+  (0.0ms) SAVEPOINT active_record_1
147799
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "assigned_by_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["assigned_by_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147800
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147801
+ SQL (0.0ms) UPDATE "assignments" SET "assigned_by_gr_rel_id" = '0fd8b8b8-76c9-11e7-b15c-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
147802
+  (0.1ms) rollback transaction
147803
+  (0.0ms) begin transaction
147804
+  (0.0ms) SAVEPOINT active_record_1
147805
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147806
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147807
+  (0.0ms) SAVEPOINT active_record_1
147808
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147810
+  (0.0ms) SAVEPOINT active_record_1
147811
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "assigned_by_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["assigned_by_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147813
+  (0.1ms) rollback transaction
147814
+  (0.0ms) begin transaction
147815
+  (0.0ms) SAVEPOINT active_record_1
147816
+ SQL (0.0ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "0fdb70c5-f51e-4628-a1fe-caa37fae53cd"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147818
+  (0.0ms) SAVEPOINT active_record_1
147819
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["area_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147821
+ SQL (0.0ms) UPDATE "organizations" SET "global_registry_area_id" = 'c99d7d7e-8b14-4fe6-9c11-e5359ee03637' WHERE "organizations"."id" = ? [["id", 1]]
147822
+  (0.1ms) rollback transaction
147823
+  (0.0ms) begin transaction
147824
+  (0.0ms) SAVEPOINT active_record_1
147825
+ SQL (0.0ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "0f9089a3-2b93-4de8-9b81-92be0261f325"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147827
+  (0.0ms) SAVEPOINT active_record_1
147828
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_service_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "2f0c62f1-5738-4860-88bd-5706fb801d7b"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147830
+ SQL (0.0ms) UPDATE "people" SET "country_of_service_gr_id" = '420d2fd1-7a73-41ed-9d8f-5dc79b00a688' WHERE "people"."id" = ? [["id", 1]]
147831
+  (0.1ms) rollback transaction
147832
+  (0.1ms) begin transaction
147833
+  (0.0ms) SAVEPOINT active_record_1
147834
+ SQL (0.0ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "7cdaf399-d449-4008-8c6b-3c64a2b2730c"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147836
+  (0.0ms) SAVEPOINT active_record_1
147837
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "2f0c62f1-5738-4860-88bd-5706fb801d7b"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_residence_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147839
+ SQL (0.0ms) UPDATE "people" SET "country_of_residence_gr_id" = 'a4c030ce-13f2-44f5-8131-4003eb21c0ae' WHERE "people"."id" = ? [["id", 1]]
147840
+  (0.0ms) rollback transaction
147841
+  (0.0ms) begin transaction
147842
+  (0.0ms) SAVEPOINT active_record_1
147843
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147845
+  (0.1ms) rollback transaction
147846
+  (0.0ms) begin transaction
147847
+  (0.0ms) SAVEPOINT active_record_1
147848
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "infobase_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["infobase_gr_id", "ee40f9ed-d625-405b-8ce6-aec821611ec6"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147849
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147850
+ SQL (0.0ms) UPDATE "communities" SET "infobase_gr_id" = NULL WHERE "communities"."id" = ? [["id", 1]]
147851
+  (0.0ms) rollback transaction
147852
+  (0.0ms) begin transaction
147853
+  (0.0ms) SAVEPOINT active_record_1
147854
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
147855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147856
+ SQL (0.0ms) UPDATE "communities" SET "infobase_gr_id" = 'ee40f9ed-d625-405b-8ce6-aec821611ec6' WHERE "communities"."id" = ? [["id", 1]]
147857
+  (0.0ms) rollback transaction
147858
+  (0.0ms) DROP TABLE IF EXISTS "people"
147859
+  (0.7ms) SELECT sqlite_version(*)
147860
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "global_registry_mdm_id" varchar, "first_name" varchar, "last_name" varchar, "guid" varchar, "country_of_service_id" integer, "country_of_residence_id" integer, "country_of_service_gr_id" varchar, "country_of_residence_gr_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147861
+  (0.1ms) CREATE INDEX "index_people_on_country_of_service_id" ON "people" ("country_of_service_id")
147862
+  (0.2ms)  SELECT sql
147863
+ FROM sqlite_master
147864
+ WHERE name='index_people_on_country_of_service_id' AND type='index'
147865
+ UNION ALL
147866
+ SELECT sql
147867
+ FROM sqlite_temp_master
147868
+ WHERE name='index_people_on_country_of_service_id' AND type='index'
147869
+ 
147870
+  (0.1ms) CREATE INDEX "index_people_on_country_of_residence_id" ON "people" ("country_of_residence_id")
147871
+  (0.0ms) DROP TABLE IF EXISTS "addresses"
147872
+  (0.1ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "address1" varchar, "zip" varchar, "primary" boolean, "person_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147873
+  (0.1ms) CREATE INDEX "index_addresses_on_person_id" ON "addresses" ("person_id")
147874
+  (0.0ms) DROP TABLE IF EXISTS "organizations"
147875
+  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "gr_id" varchar, "name" varchar, "description" text, "start_date" date, "parent_id" integer, "area_id" integer, "global_registry_area_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147876
+  (0.1ms) CREATE INDEX "index_organizations_on_parent_id" ON "organizations" ("parent_id")
147877
+  (0.0ms)  SELECT sql
147878
+ FROM sqlite_master
147879
+ WHERE name='index_organizations_on_parent_id' AND type='index'
147880
+ UNION ALL
147881
+ SELECT sql
147882
+ FROM sqlite_temp_master
147883
+ WHERE name='index_organizations_on_parent_id' AND type='index'
147884
+ 
147885
+  (0.1ms) CREATE INDEX "index_organizations_on_area_id" ON "organizations" ("area_id")
147886
+  (0.0ms) DROP TABLE IF EXISTS "assignments"
147887
+  (0.1ms) CREATE TABLE "assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "assigned_by_gr_rel_id" varchar, "role" varchar, "hired_at" datetime, "person_id" integer, "organization_id" integer, "assigned_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147888
+  (0.1ms) CREATE INDEX "index_assignments_on_person_id" ON "assignments" ("person_id")
147889
+  (0.0ms)  SELECT sql
147890
+ FROM sqlite_master
147891
+ WHERE name='index_assignments_on_person_id' AND type='index'
147892
+ UNION ALL
147893
+ SELECT sql
147894
+ FROM sqlite_temp_master
147895
+ WHERE name='index_assignments_on_person_id' AND type='index'
147896
+ 
147897
+  (0.1ms) CREATE INDEX "index_assignments_on_organization_id" ON "assignments" ("organization_id")
147898
+  (0.0ms)  SELECT sql
147899
+ FROM sqlite_master
147900
+ WHERE name='index_assignments_on_organization_id' AND type='index'
147901
+ UNION ALL
147902
+ SELECT sql
147903
+ FROM sqlite_temp_master
147904
+ WHERE name='index_assignments_on_organization_id' AND type='index'
147905
+ 
147906
+  (0.0ms)  SELECT sql
147907
+ FROM sqlite_master
147908
+ WHERE name='index_assignments_on_person_id' AND type='index'
147909
+ UNION ALL
147910
+ SELECT sql
147911
+ FROM sqlite_temp_master
147912
+ WHERE name='index_assignments_on_person_id' AND type='index'
147913
+ 
147914
+  (0.1ms) CREATE INDEX "index_assignments_on_assigned_by_id" ON "assignments" ("assigned_by_id")
147915
+  (0.0ms) DROP TABLE IF EXISTS "areas"
147916
+  (0.1ms) CREATE TABLE "areas" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "area_name" varchar, "area_code" varchar, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147917
+  (0.0ms) DROP TABLE IF EXISTS "countries"
147918
+  (0.1ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "global_registry_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147919
+  (0.0ms) DROP TABLE IF EXISTS "communities"
147920
+  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "global_registry_id" varchar, "infobase_id" integer, "infobase_gr_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147921
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
147922
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
147923
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
147924
+  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147925
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
147926
+  (0.0ms) begin transaction
147927
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-08-08 15:09:48.148788"], ["updated_at", "2017-08-08 15:09:48.148788"]]
147928
+  (0.0ms) commit transaction
147929
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
147930
+  (0.0ms) begin transaction
147931
+  (0.0ms) commit transaction
147932
+  (0.1ms) begin transaction
147933
+  (0.0ms) rollback transaction
147934
+  (0.0ms) begin transaction
147935
+  (0.0ms) rollback transaction
147936
+  (0.0ms) begin transaction
147937
+  (0.0ms) rollback transaction
147938
+  (0.0ms) begin transaction
147939
+  (0.1ms) rollback transaction
147940
+  (0.1ms) begin transaction
147941
+  (0.1ms) rollback transaction
147942
+  (0.0ms) begin transaction
147943
+  (0.1ms) rollback transaction
147944
+  (0.0ms) begin transaction
147945
+  (0.1ms) rollback transaction
147946
+  (0.1ms) begin transaction
147947
+  (0.0ms) rollback transaction
147948
+  (0.0ms) begin transaction
147949
+  (0.0ms) rollback transaction
147950
+  (0.0ms) begin transaction
147951
+  (0.1ms) SAVEPOINT active_record_1
147952
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:09:48.692624"], ["updated_at", "2017-08-08 15:09:48.692624"]]
147953
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147954
+  (0.0ms) SAVEPOINT active_record_1
147955
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:09:48.695945"], ["updated_at", "2017-08-08 15:09:48.695945"]]
147956
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147957
+  (0.0ms) SAVEPOINT active_record_1
147958
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-06-08 15:09:48.697713"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 15:09:48.698474"], ["updated_at", "2017-08-08 15:09:48.698474"]]
147959
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147960
+  (0.1ms) rollback transaction
147961
+  (0.0ms) begin transaction
147962
+  (0.0ms) SAVEPOINT active_record_1
147963
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:09:48.702432"], ["updated_at", "2017-08-08 15:09:48.702432"]]
147964
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147965
+  (0.0ms) SAVEPOINT active_record_1
147966
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:09:48.705031"], ["updated_at", "2017-08-08 15:09:48.705031"]]
147967
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147968
+  (0.1ms) SAVEPOINT active_record_1
147969
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-06-08 15:09:48.706635"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 15:09:48.707217"], ["updated_at", "2017-08-08 15:09:48.707217"]]
147970
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147971
+  (0.0ms) SAVEPOINT active_record_1
147972
+ SQL (0.1ms) UPDATE "assignments" SET "role" = ?, "updated_at" = ? WHERE "assignments"."id" = ? [["role", "boss"], ["updated_at", "2017-08-08 15:09:48.709534"], ["id", 1]]
147973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147974
+  (0.0ms) rollback transaction
147975
+  (0.0ms) begin transaction
147976
+  (0.0ms) SAVEPOINT active_record_1
147977
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:09:48.713143"], ["updated_at", "2017-08-08 15:09:48.713143"]]
147978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147979
+  (0.0ms) SAVEPOINT active_record_1
147980
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:09:48.715555"], ["updated_at", "2017-08-08 15:09:48.715555"]]
147981
+  (0.1ms) RELEASE SAVEPOINT active_record_1
147982
+  (0.1ms) SAVEPOINT active_record_1
147983
+ SQL (0.1ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "abc"], ["role", "leader"], ["hired_at", "2017-06-08 15:09:48.717302"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 15:09:48.717824"], ["updated_at", "2017-08-08 15:09:48.717824"]]
147984
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147985
+  (0.0ms) SAVEPOINT active_record_1
147986
+ SQL (0.1ms) DELETE FROM "assignments" WHERE "assignments"."id" = ? [["id", 1]]
147987
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147988
+  (0.0ms) rollback transaction
147989
+  (0.0ms) begin transaction
147990
+  (0.0ms) SAVEPOINT active_record_1
147991
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:09:48.722881"], ["updated_at", "2017-08-08 15:09:48.722881"]]
147992
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147993
+  (0.0ms) rollback transaction
147994
+  (0.0ms) begin transaction
147995
+  (0.1ms) SAVEPOINT active_record_1
147996
+ SQL (0.1ms) INSERT INTO "areas" ("area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 15:09:48.733083"], ["updated_at", "2017-08-08 15:09:48.733083"]]
147997
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["area_id", 1], ["created_at", "2017-08-08 15:09:48.734145"], ["updated_at", "2017-08-08 15:09:48.734145"]]
147998
+  (0.0ms) RELEASE SAVEPOINT active_record_1
147999
+  (0.1ms) rollback transaction
148000
+  (0.0ms) begin transaction
148001
+  (0.1ms) SAVEPOINT active_record_1
148002
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:09:48.740246"], ["updated_at", "2017-08-08 15:09:48.740246"]]
148003
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["created_at", "2017-08-08 15:09:48.741015"], ["updated_at", "2017-08-08 15:09:48.741015"]]
148004
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148005
+  (0.0ms) rollback transaction
148006
+  (0.0ms) begin transaction
148007
+  (0.0ms) SAVEPOINT active_record_1
148008
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:09:48.745406"], ["updated_at", "2017-08-08 15:09:48.745406"]]
148009
+ SQL (0.1ms) INSERT INTO "areas" ("area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 15:09:48.746268"], ["updated_at", "2017-08-08 15:09:48.746268"]]
148010
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["area_id", 1], ["created_at", "2017-08-08 15:09:48.746926"], ["updated_at", "2017-08-08 15:09:48.746926"]]
148011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148012
+  (0.0ms) rollback transaction
148013
+  (0.0ms) begin transaction
148014
+  (0.1ms) SAVEPOINT active_record_1
148015
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:09:48.752402"], ["updated_at", "2017-08-08 15:09:48.752402"]]
148016
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148017
+  (0.0ms) SAVEPOINT active_record_1
148018
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 1]]
148019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148020
+  (0.0ms) rollback transaction
148021
+  (0.0ms) begin transaction
148022
+  (0.0ms) SAVEPOINT active_record_1
148023
+ SQL (0.1ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "efg"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 15:09:48.757516"], ["updated_at", "2017-08-08 15:09:48.757516"]]
148024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148025
+  (0.0ms) SAVEPOINT active_record_1
148026
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "area_id", "global_registry_area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["area_id", 1], ["global_registry_area_id", "ijk"], ["created_at", "2017-08-08 15:09:48.759949"], ["updated_at", "2017-08-08 15:09:48.759949"]]
148027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148028
+  (0.2ms) SAVEPOINT active_record_1
148029
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 1]]
148030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148031
+  (0.0ms) rollback transaction
148032
+  (0.1ms) begin transaction
148033
+  (0.0ms) SAVEPOINT active_record_1
148034
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "xyz"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:09:48.766394"], ["updated_at", "2017-08-08 15:09:48.766394"]]
148035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148036
+  (0.0ms) SAVEPOINT active_record_1
148037
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["created_at", "2017-08-08 15:09:48.768741"], ["updated_at", "2017-08-08 15:09:48.768741"]]
148038
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148039
+  (0.0ms) SAVEPOINT active_record_1
148040
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 2]]
148041
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148042
+  (0.1ms) rollback transaction
148043
+  (0.0ms) begin transaction
148044
+  (0.0ms) SAVEPOINT active_record_1
148045
+ SQL (0.1ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "efg"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 15:09:48.773383"], ["updated_at", "2017-08-08 15:09:48.773383"]]
148046
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148047
+  (0.1ms) SAVEPOINT active_record_1
148048
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "xyz"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:09:48.775777"], ["updated_at", "2017-08-08 15:09:48.775777"]]
148049
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148050
+  (0.0ms) SAVEPOINT active_record_1
148051
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "parent_id", "area_id", "global_registry_area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["area_id", 1], ["global_registry_area_id", "ijk"], ["created_at", "2017-08-08 15:09:48.779278"], ["updated_at", "2017-08-08 15:09:48.779278"]]
148052
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148053
+  (0.0ms) SAVEPOINT active_record_1
148054
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 2]]
148055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148056
+  (0.0ms) rollback transaction
148057
+  (0.0ms) begin transaction
148058
+  (0.0ms) SAVEPOINT active_record_1
148059
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:09:48.785699"], ["updated_at", "2017-08-08 15:09:48.785699"]]
148060
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148061
+  (0.0ms) rollback transaction
148062
+  (0.0ms) begin transaction
148063
+  (0.0ms) SAVEPOINT active_record_1
148064
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:09:48.795800"], ["updated_at", "2017-08-08 15:09:48.795800"]]
148065
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["created_at", "2017-08-08 15:09:48.796648"], ["updated_at", "2017-08-08 15:09:48.796648"]]
148066
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148067
+  (0.0ms) rollback transaction
148068
+  (0.0ms) begin transaction
148069
+  (0.0ms) SAVEPOINT active_record_1
148070
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:09:48.802509"], ["updated_at", "2017-08-08 15:09:48.802509"]]
148071
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_residence_id", 1], ["created_at", "2017-08-08 15:09:48.803169"], ["updated_at", "2017-08-08 15:09:48.803169"]]
148072
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148073
+  (0.0ms) rollback transaction
148074
+  (0.0ms) begin transaction
148075
+  (0.0ms) SAVEPOINT active_record_1
148076
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:09:48.808840"], ["updated_at", "2017-08-08 15:09:48.808840"]]
148077
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["created_at", "2017-08-08 15:09:48.809664"], ["updated_at", "2017-08-08 15:09:48.809664"]]
148078
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148079
+  (0.0ms) rollback transaction
148080
+  (0.0ms) begin transaction
148081
+  (0.0ms) SAVEPOINT active_record_1
148082
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:09:48.815242"], ["updated_at", "2017-08-08 15:09:48.815242"]]
148083
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148084
+  (0.0ms) SAVEPOINT active_record_1
148085
+ SQL (0.1ms) UPDATE "people" SET "first_name" = ?, "updated_at" = ? WHERE "people"."id" = ? [["first_name", "Anthony"], ["updated_at", "2017-08-08 15:09:48.817778"], ["id", 1]]
148086
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148087
+  (0.0ms) rollback transaction
148088
+  (0.0ms) begin transaction
148089
+  (0.1ms) SAVEPOINT active_record_1
148090
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:09:48.822147"], ["updated_at", "2017-08-08 15:09:48.822147"]]
148091
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148092
+  (0.0ms) SAVEPOINT active_record_1
148093
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["created_at", "2017-08-08 15:09:48.824492"], ["updated_at", "2017-08-08 15:09:48.824492"]]
148094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148095
+  (0.0ms) SAVEPOINT active_record_1
148096
+ SQL (0.1ms) UPDATE "people" SET "first_name" = ?, "updated_at" = ? WHERE "people"."id" = ? [["first_name", "Anthony"], ["updated_at", "2017-08-08 15:09:48.828753"], ["id", 1]]
148097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148098
+  (0.0ms) rollback transaction
148099
+  (0.0ms) begin transaction
148100
+  (0.0ms) SAVEPOINT active_record_1
148101
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:09:48.833346"], ["updated_at", "2017-08-08 15:09:48.833346"]]
148102
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148103
+  (0.0ms) SAVEPOINT active_record_1
148104
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 15:09:48.835422"], ["updated_at", "2017-08-08 15:09:48.835422"]]
148105
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148106
+  (0.0ms) SAVEPOINT active_record_1
148107
+ SQL (0.1ms) UPDATE "people" SET "country_of_residence_id" = ?, "updated_at" = ? WHERE "people"."id" = ? [["country_of_residence_id", nil], ["updated_at", "2017-08-08 15:09:48.839585"], ["id", 1]]
148108
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148109
+ SQL (0.1ms) UPDATE "people" SET "country_of_residence_gr_id" = NULL WHERE "people"."id" = ? [["id", 1]]
148110
+  (0.0ms) rollback transaction
148111
+  (0.0ms) begin transaction
148112
+  (0.0ms) SAVEPOINT active_record_1
148113
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9952f"], ["created_at", "2017-08-08 15:09:48.844579"], ["updated_at", "2017-08-08 15:09:48.844579"]]
148114
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148115
+  (0.0ms) SAVEPOINT active_record_1
148116
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Peru"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9963c"], ["created_at", "2017-08-08 15:09:48.846425"], ["updated_at", "2017-08-08 15:09:48.846425"]]
148117
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148118
+  (0.0ms) SAVEPOINT active_record_1
148119
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_service_gr_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["country_of_service_gr_id", "89f81f6e-7baf-44d9-8f3a-55bf7c652dcc"], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 15:09:48.848855"], ["updated_at", "2017-08-08 15:09:48.848855"]]
148120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148121
+  (0.0ms) SAVEPOINT active_record_1
148122
+ SQL (0.1ms) UPDATE "people" SET "country_of_service_id" = ?, "updated_at" = ? WHERE "people"."id" = ? [["country_of_service_id", 2], ["updated_at", "2017-08-08 15:09:48.853794"], ["id", 1]]
148123
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148124
+ SQL (0.1ms) UPDATE "people" SET "country_of_service_gr_id" = NULL WHERE "people"."id" = ? [["id", 1]]
148125
+  (0.0ms) rollback transaction
148126
+  (0.0ms) begin transaction
148127
+  (0.0ms) SAVEPOINT active_record_1
148128
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:09:48.870943"], ["updated_at", "2017-08-08 15:09:48.870943"]]
148129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148130
+  (0.0ms) SAVEPOINT active_record_1
148131
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."person_id" = ? [["person_id", 1]]
148132
+ SQL (0.1ms) DELETE FROM "people" WHERE "people"."id" = ? [["id", 1]]
148133
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148134
+  (0.0ms) rollback transaction
148135
+  (0.0ms) begin transaction
148136
+  (0.0ms) SAVEPOINT active_record_1
148137
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9952f"], ["created_at", "2017-08-08 15:09:48.884455"], ["updated_at", "2017-08-08 15:09:48.884455"]]
148138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148139
+  (0.0ms) SAVEPOINT active_record_1
148140
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d99639"], ["created_at", "2017-08-08 15:09:48.886154"], ["updated_at", "2017-08-08 15:09:48.886154"]]
148141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148142
+  (0.0ms) SAVEPOINT active_record_1
148143
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_service_gr_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 2], ["country_of_residence_id", 1], ["country_of_service_gr_id", "89f81f6e-7baf-44d9-8f3a-55bf7c652dcc"], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 15:09:48.888158"], ["updated_at", "2017-08-08 15:09:48.888158"]]
148144
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148145
+  (0.0ms) SAVEPOINT active_record_1
148146
+ Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."person_id" = ? [["person_id", 1]]
148147
+ SQL (0.1ms) DELETE FROM "people" WHERE "people"."id" = ? [["id", 1]]
148148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148149
+  (0.1ms) rollback transaction
148150
+  (0.0ms) begin transaction
148151
+  (0.1ms) rollback transaction
148152
+  (0.0ms) begin transaction
148153
+  (0.1ms) rollback transaction
148154
+  (0.0ms) begin transaction
148155
+  (0.1ms) rollback transaction
148156
+  (0.0ms) begin transaction
148157
+  (0.1ms) SAVEPOINT active_record_1
148158
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:09:48.941696"], ["updated_at", "2017-08-08 15:09:48.941696"]]
148159
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148160
+  (0.1ms) rollback transaction
148161
+  (0.0ms) begin transaction
148162
+  (0.1ms) SAVEPOINT active_record_1
148163
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:09:48.947365"], ["updated_at", "2017-08-08 15:09:48.947365"]]
148164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148165
+  (0.1ms) rollback transaction
148166
+  (0.0ms) begin transaction
148167
+  (0.0ms) SAVEPOINT active_record_1
148168
+ SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:09:48.952497"], ["updated_at", "2017-08-08 15:09:48.952497"]]
148169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148170
+  (0.1ms) rollback transaction
148171
+  (0.0ms) begin transaction
148172
+  (0.1ms) SAVEPOINT active_record_1
148173
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:09:48.959270"], ["updated_at", "2017-08-08 15:09:48.959270"]]
148174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148175
+  (0.1ms) rollback transaction
148176
+  (0.1ms) begin transaction
148177
+  (0.1ms) SAVEPOINT active_record_1
148178
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:09:48.979246"], ["updated_at", "2017-08-08 15:09:48.979246"]]
148179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148180
+  (0.1ms) rollback transaction
148181
+  (0.0ms) begin transaction
148182
+  (0.1ms) SAVEPOINT active_record_1
148183
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:09:48.996576"], ["updated_at", "2017-08-08 15:09:48.996576"]]
148184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148185
+ SQL (0.1ms) UPDATE "people" SET "global_registry_mdm_id" = 'c81340b2-7e57-4978-b6b9-396f21bb0bb2' WHERE "people"."id" = ? [["id", 1]]
148186
+  (0.0ms) rollback transaction
148187
+  (0.0ms) begin transaction
148188
+  (0.0ms) rollback transaction
148189
+  (0.0ms) begin transaction
148190
+  (0.0ms) SAVEPOINT active_record_1
148191
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148192
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148193
+  (0.0ms) rollback transaction
148194
+  (0.0ms) begin transaction
148195
+  (0.0ms) SAVEPOINT active_record_1
148196
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148197
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148198
+  (0.0ms) rollback transaction
148199
+  (0.1ms) begin transaction
148200
+  (0.0ms) SAVEPOINT active_record_1
148201
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148203
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 1]]
148204
+  (0.0ms) rollback transaction
148205
+  (0.0ms) begin transaction
148206
+  (0.0ms) SAVEPOINT active_record_1
148207
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Parent"], ["description", "Parent Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148209
+  (0.0ms) SAVEPOINT active_record_1
148210
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["parent_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148212
+  (0.1ms) rollback transaction
148213
+  (0.0ms) begin transaction
148214
+  (0.0ms) SAVEPOINT active_record_1
148215
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "cd5da38a-c336-46a7-b818-dcdd51c4acde"], ["name", "Parent"], ["description", "Parent Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148217
+  (0.0ms) SAVEPOINT active_record_1
148218
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["parent_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148219
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148220
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 2]]
148221
+  (0.1ms) rollback transaction
148222
+  (0.0ms) begin transaction
148223
+  (0.0ms) SAVEPOINT active_record_1
148224
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148226
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
148227
+  (0.1ms) rollback transaction
148228
+  (0.0ms) begin transaction
148229
+  (0.0ms) SAVEPOINT active_record_1
148230
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148231
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148232
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
148233
+  (0.1ms) rollback transaction
148234
+  (0.0ms) begin transaction
148235
+  (0.0ms) SAVEPOINT active_record_1
148236
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148237
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148238
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
148239
+  (0.0ms) rollback transaction
148240
+  (0.0ms) begin transaction
148241
+  (0.0ms) SAVEPOINT active_record_1
148242
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148243
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148244
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
148245
+  (0.1ms) rollback transaction
148246
+  (0.0ms) begin transaction
148247
+  (0.0ms) SAVEPOINT active_record_1
148248
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "f8d20318-2ff2-4a98-a5eb-e9d840508bf1"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148249
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148250
+  (0.1ms) rollback transaction
148251
+  (0.0ms) begin transaction
148252
+  (0.0ms) SAVEPOINT active_record_1
148253
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "f8d20318-2ff2-4a98-a5eb-e9d840508bf1"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148255
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
148256
+  (0.2ms) rollback transaction
148257
+  (0.1ms) begin transaction
148258
+  (0.0ms) SAVEPOINT active_record_1
148259
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148260
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148261
+  (0.0ms) rollback transaction
148262
+  (0.0ms) begin transaction
148263
+  (0.0ms) SAVEPOINT active_record_1
148264
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148265
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148266
+  (0.0ms) SAVEPOINT active_record_1
148267
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148269
+  (0.1ms) rollback transaction
148270
+  (0.0ms) begin transaction
148271
+  (0.0ms) SAVEPOINT active_record_1
148272
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148273
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148274
+  (0.0ms) SAVEPOINT active_record_1
148275
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148277
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
148278
+  (0.1ms) rollback transaction
148279
+  (0.0ms) begin transaction
148280
+  (0.0ms) SAVEPOINT active_record_1
148281
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148282
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148283
+  (0.0ms) SAVEPOINT active_record_1
148284
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148285
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148286
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
148287
+  (0.1ms) rollback transaction
148288
+  (0.0ms) begin transaction
148289
+  (0.0ms) SAVEPOINT active_record_1
148290
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148291
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148292
+  (0.0ms) SAVEPOINT active_record_1
148293
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148294
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148295
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
148296
+  (0.1ms) rollback transaction
148297
+  (0.1ms) begin transaction
148298
+  (0.0ms) SAVEPOINT active_record_1
148299
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148300
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148301
+  (0.0ms) SAVEPOINT active_record_1
148302
+ SQL (0.0ms) INSERT INTO "addresses" ("global_registry_id", "address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "0a594356-3f1c-11e7-bba6-129bd0521531"], ["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148303
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148304
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
148305
+  (0.0ms) rollback transaction
148306
+  (0.1ms) begin transaction
148307
+  (0.0ms) SAVEPOINT active_record_1
148308
+ SQL (0.0ms) INSERT INTO "communities" ("name", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Community"], ["infobase_id", 234], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148310
+ SQL (0.0ms) UPDATE "communities" SET "global_registry_id" = '6133f6fe-c63a-425a-bb46-68917c689723' WHERE "communities"."id" = ? [["id", 1]]
148311
+  (0.0ms) rollback transaction
148312
+  (0.0ms) begin transaction
148313
+  (0.0ms) SAVEPOINT active_record_1
148314
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148315
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148316
+  (0.0ms) rollback transaction
148317
+  (0.0ms) begin transaction
148318
+  (0.0ms) SAVEPOINT active_record_1
148319
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148321
+  (0.0ms) rollback transaction
148322
+  (0.0ms) begin transaction
148323
+  (0.0ms) SAVEPOINT active_record_1
148324
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148325
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148326
+  (0.0ms) SAVEPOINT active_record_1
148327
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148328
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148329
+  (0.0ms) SAVEPOINT active_record_1
148330
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148331
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148332
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
148333
+  (0.1ms) rollback transaction
148334
+  (0.0ms) begin transaction
148335
+  (0.0ms) SAVEPOINT active_record_1
148336
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148337
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148338
+  (0.0ms) SAVEPOINT active_record_1
148339
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148340
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148341
+  (0.0ms) SAVEPOINT active_record_1
148342
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148343
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148344
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
148345
+  (0.1ms) rollback transaction
148346
+  (0.0ms) begin transaction
148347
+  (0.0ms) SAVEPOINT active_record_1
148348
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148349
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148350
+  (0.0ms) SAVEPOINT active_record_1
148351
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148353
+  (0.0ms) SAVEPOINT active_record_1
148354
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148356
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
148357
+  (0.1ms) rollback transaction
148358
+  (0.0ms) begin transaction
148359
+  (0.0ms) SAVEPOINT active_record_1
148360
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148361
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148362
+  (0.0ms) SAVEPOINT active_record_1
148363
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148364
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148365
+  (0.0ms) SAVEPOINT active_record_1
148366
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148367
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148368
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
148369
+  (0.1ms) rollback transaction
148370
+  (0.0ms) begin transaction
148371
+  (0.0ms) SAVEPOINT active_record_1
148372
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148374
+  (0.0ms) SAVEPOINT active_record_1
148375
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148376
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148377
+  (0.0ms) SAVEPOINT active_record_1
148378
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148379
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148380
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = NULL WHERE "assignments"."id" = ? [["id", 1]]
148381
+  (0.1ms) rollback transaction
148382
+  (0.0ms) begin transaction
148383
+  (0.0ms) SAVEPOINT active_record_1
148384
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148385
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148386
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148388
+  (0.0ms) rollback transaction
148389
+  (0.0ms) begin transaction
148390
+  (0.0ms) SAVEPOINT active_record_1
148391
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148392
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148393
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148395
+  (0.1ms) rollback transaction
148396
+  (0.0ms) begin transaction
148397
+  (0.0ms) SAVEPOINT active_record_1
148398
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148399
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148400
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148401
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148402
+  (0.1ms) rollback transaction
148403
+  (0.0ms) begin transaction
148404
+  (0.0ms) SAVEPOINT active_record_1
148405
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148406
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148407
+  (0.0ms) SAVEPOINT active_record_1
148408
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148409
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148410
+  (0.0ms) SAVEPOINT active_record_1
148411
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "assigned_by_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["assigned_by_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148413
+ SQL (0.0ms) UPDATE "assignments" SET "assigned_by_gr_rel_id" = '0fd8b8b8-76c9-11e7-b15c-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
148414
+  (0.1ms) rollback transaction
148415
+  (0.0ms) begin transaction
148416
+  (0.0ms) SAVEPOINT active_record_1
148417
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148419
+  (0.0ms) SAVEPOINT active_record_1
148420
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148421
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148422
+  (0.0ms) SAVEPOINT active_record_1
148423
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "assigned_by_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["assigned_by_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148425
+  (0.1ms) rollback transaction
148426
+  (0.0ms) begin transaction
148427
+  (0.0ms) SAVEPOINT active_record_1
148428
+ SQL (0.0ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "0fdb70c5-f51e-4628-a1fe-caa37fae53cd"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148429
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148430
+  (0.0ms) SAVEPOINT active_record_1
148431
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["area_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148433
+ SQL (0.0ms) UPDATE "organizations" SET "global_registry_area_id" = 'c99d7d7e-8b14-4fe6-9c11-e5359ee03637' WHERE "organizations"."id" = ? [["id", 1]]
148434
+  (0.0ms) rollback transaction
148435
+  (0.0ms) begin transaction
148436
+  (0.0ms) SAVEPOINT active_record_1
148437
+ SQL (0.0ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "0f9089a3-2b93-4de8-9b81-92be0261f325"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148439
+  (0.0ms) SAVEPOINT active_record_1
148440
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_service_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "2f0c62f1-5738-4860-88bd-5706fb801d7b"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148442
+ SQL (0.0ms) UPDATE "people" SET "country_of_service_gr_id" = '420d2fd1-7a73-41ed-9d8f-5dc79b00a688' WHERE "people"."id" = ? [["id", 1]]
148443
+  (0.1ms) rollback transaction
148444
+  (0.0ms) begin transaction
148445
+  (0.0ms) SAVEPOINT active_record_1
148446
+ SQL (0.0ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "7cdaf399-d449-4008-8c6b-3c64a2b2730c"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148447
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148448
+  (0.0ms) SAVEPOINT active_record_1
148449
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "2f0c62f1-5738-4860-88bd-5706fb801d7b"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_residence_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148451
+ SQL (0.0ms) UPDATE "people" SET "country_of_residence_gr_id" = 'a4c030ce-13f2-44f5-8131-4003eb21c0ae' WHERE "people"."id" = ? [["id", 1]]
148452
+  (0.1ms) rollback transaction
148453
+  (0.0ms) begin transaction
148454
+  (0.0ms) SAVEPOINT active_record_1
148455
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148457
+  (0.1ms) rollback transaction
148458
+  (0.0ms) begin transaction
148459
+  (0.0ms) SAVEPOINT active_record_1
148460
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "infobase_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["infobase_gr_id", "ee40f9ed-d625-405b-8ce6-aec821611ec6"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148462
+ SQL (0.0ms) UPDATE "communities" SET "infobase_gr_id" = NULL WHERE "communities"."id" = ? [["id", 1]]
148463
+  (0.0ms) rollback transaction
148464
+  (0.0ms) begin transaction
148465
+  (0.0ms) SAVEPOINT active_record_1
148466
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148468
+ SQL (0.0ms) UPDATE "communities" SET "infobase_gr_id" = 'ee40f9ed-d625-405b-8ce6-aec821611ec6' WHERE "communities"."id" = ? [["id", 1]]
148469
+  (0.1ms) rollback transaction
148470
+  (0.1ms) DROP TABLE IF EXISTS "people"
148471
+  (0.7ms) SELECT sqlite_version(*)
148472
+  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "global_registry_mdm_id" varchar, "first_name" varchar, "last_name" varchar, "guid" varchar, "country_of_service_id" integer, "country_of_residence_id" integer, "country_of_service_gr_id" varchar, "country_of_residence_gr_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
148473
+  (0.1ms) CREATE INDEX "index_people_on_country_of_service_id" ON "people" ("country_of_service_id")
148474
+  (0.2ms)  SELECT sql
148475
+ FROM sqlite_master
148476
+ WHERE name='index_people_on_country_of_service_id' AND type='index'
148477
+ UNION ALL
148478
+ SELECT sql
148479
+ FROM sqlite_temp_master
148480
+ WHERE name='index_people_on_country_of_service_id' AND type='index'
148481
+ 
148482
+  (0.1ms) CREATE INDEX "index_people_on_country_of_residence_id" ON "people" ("country_of_residence_id")
148483
+  (0.1ms) DROP TABLE IF EXISTS "addresses"
148484
+  (0.1ms) CREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "address1" varchar, "zip" varchar, "primary" boolean, "person_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
148485
+  (0.1ms) CREATE INDEX "index_addresses_on_person_id" ON "addresses" ("person_id")
148486
+  (0.0ms) DROP TABLE IF EXISTS "organizations"
148487
+  (0.1ms) CREATE TABLE "organizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "gr_id" varchar, "name" varchar, "description" text, "start_date" date, "parent_id" integer, "area_id" integer, "global_registry_area_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
148488
+  (0.1ms) CREATE INDEX "index_organizations_on_parent_id" ON "organizations" ("parent_id")
148489
+  (0.0ms)  SELECT sql
148490
+ FROM sqlite_master
148491
+ WHERE name='index_organizations_on_parent_id' AND type='index'
148492
+ UNION ALL
148493
+ SELECT sql
148494
+ FROM sqlite_temp_master
148495
+ WHERE name='index_organizations_on_parent_id' AND type='index'
148496
+ 
148497
+  (0.1ms) CREATE INDEX "index_organizations_on_area_id" ON "organizations" ("area_id")
148498
+  (0.0ms) DROP TABLE IF EXISTS "assignments"
148499
+  (0.1ms) CREATE TABLE "assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "assigned_by_gr_rel_id" varchar, "role" varchar, "hired_at" datetime, "person_id" integer, "organization_id" integer, "assigned_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
148500
+  (0.1ms) CREATE INDEX "index_assignments_on_person_id" ON "assignments" ("person_id")
148501
+  (0.0ms)  SELECT sql
148502
+ FROM sqlite_master
148503
+ WHERE name='index_assignments_on_person_id' AND type='index'
148504
+ UNION ALL
148505
+ SELECT sql
148506
+ FROM sqlite_temp_master
148507
+ WHERE name='index_assignments_on_person_id' AND type='index'
148508
+ 
148509
+  (0.1ms) CREATE INDEX "index_assignments_on_organization_id" ON "assignments" ("organization_id")
148510
+  (0.0ms)  SELECT sql
148511
+ FROM sqlite_master
148512
+ WHERE name='index_assignments_on_organization_id' AND type='index'
148513
+ UNION ALL
148514
+ SELECT sql
148515
+ FROM sqlite_temp_master
148516
+ WHERE name='index_assignments_on_organization_id' AND type='index'
148517
+ 
148518
+  (0.0ms)  SELECT sql
148519
+ FROM sqlite_master
148520
+ WHERE name='index_assignments_on_person_id' AND type='index'
148521
+ UNION ALL
148522
+ SELECT sql
148523
+ FROM sqlite_temp_master
148524
+ WHERE name='index_assignments_on_person_id' AND type='index'
148525
+ 
148526
+  (0.1ms) CREATE INDEX "index_assignments_on_assigned_by_id" ON "assignments" ("assigned_by_id")
148527
+  (0.0ms) DROP TABLE IF EXISTS "areas"
148528
+  (0.1ms) CREATE TABLE "areas" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "area_name" varchar, "area_code" varchar, "is_active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
148529
+  (0.0ms) DROP TABLE IF EXISTS "countries"
148530
+  (0.1ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "global_registry_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
148531
+  (0.0ms) DROP TABLE IF EXISTS "communities"
148532
+  (0.1ms) CREATE TABLE "communities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "global_registry_id" varchar, "infobase_id" integer, "infobase_gr_id" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
148533
+  (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
148534
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
148535
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
148536
+  (0.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
148537
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
148538
+  (0.0ms) begin transaction
148539
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-08-08 15:10:42.193139"], ["updated_at", "2017-08-08 15:10:42.193139"]]
148540
+  (0.0ms) commit transaction
148541
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
148542
+  (0.0ms) begin transaction
148543
+  (0.0ms) commit transaction
148544
+  (0.1ms) begin transaction
148545
+  (0.1ms) rollback transaction
148546
+  (0.0ms) begin transaction
148547
+  (0.1ms) rollback transaction
148548
+  (0.0ms) begin transaction
148549
+  (0.0ms) rollback transaction
148550
+  (0.0ms) begin transaction
148551
+  (0.1ms) rollback transaction
148552
+  (0.0ms) begin transaction
148553
+  (0.1ms) rollback transaction
148554
+  (0.0ms) begin transaction
148555
+  (0.1ms) rollback transaction
148556
+  (0.0ms) begin transaction
148557
+  (0.0ms) rollback transaction
148558
+  (0.0ms) begin transaction
148559
+  (0.0ms) rollback transaction
148560
+  (0.1ms) begin transaction
148561
+  (0.0ms) rollback transaction
148562
+  (0.0ms) begin transaction
148563
+  (0.0ms) SAVEPOINT active_record_1
148564
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:10:42.757161"], ["updated_at", "2017-08-08 15:10:42.757161"]]
148565
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148566
+  (0.1ms) SAVEPOINT active_record_1
148567
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:10:42.760959"], ["updated_at", "2017-08-08 15:10:42.760959"]]
148568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148569
+  (0.0ms) SAVEPOINT active_record_1
148570
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-06-08 15:10:42.763313"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 15:10:42.764207"], ["updated_at", "2017-08-08 15:10:42.764207"]]
148571
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148572
+  (0.1ms) rollback transaction
148573
+  (0.0ms) begin transaction
148574
+  (0.0ms) SAVEPOINT active_record_1
148575
+ SQL (0.8ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:10:42.768291"], ["updated_at", "2017-08-08 15:10:42.768291"]]
148576
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148577
+  (0.0ms) SAVEPOINT active_record_1
148578
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:10:42.772164"], ["updated_at", "2017-08-08 15:10:42.772164"]]
148579
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148580
+  (0.0ms) SAVEPOINT active_record_1
148581
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-06-08 15:10:42.773938"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 15:10:42.774578"], ["updated_at", "2017-08-08 15:10:42.774578"]]
148582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148583
+  (0.0ms) SAVEPOINT active_record_1
148584
+ SQL (0.1ms) UPDATE "assignments" SET "role" = ?, "updated_at" = ? WHERE "assignments"."id" = ? [["role", "boss"], ["updated_at", "2017-08-08 15:10:42.777156"], ["id", 1]]
148585
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148586
+  (0.1ms) rollback transaction
148587
+  (0.0ms) begin transaction
148588
+  (0.0ms) SAVEPOINT active_record_1
148589
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:10:42.781480"], ["updated_at", "2017-08-08 15:10:42.781480"]]
148590
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148591
+  (0.0ms) SAVEPOINT active_record_1
148592
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:10:42.784022"], ["updated_at", "2017-08-08 15:10:42.784022"]]
148593
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148594
+  (0.0ms) SAVEPOINT active_record_1
148595
+ SQL (0.1ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "abc"], ["role", "leader"], ["hired_at", "2017-06-08 15:10:42.785830"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-08-08 15:10:42.786452"], ["updated_at", "2017-08-08 15:10:42.786452"]]
148596
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148597
+  (0.1ms) SAVEPOINT active_record_1
148598
+ SQL (0.1ms) DELETE FROM "assignments" WHERE "assignments"."id" = ? [["id", 1]]
148599
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148600
+  (0.0ms) rollback transaction
148601
+  (0.0ms) begin transaction
148602
+  (0.1ms) SAVEPOINT active_record_1
148603
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:10:42.791649"], ["updated_at", "2017-08-08 15:10:42.791649"]]
148604
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148605
+  (0.0ms) rollback transaction
148606
+  (0.0ms) begin transaction
148607
+  (0.1ms) SAVEPOINT active_record_1
148608
+ SQL (0.1ms) INSERT INTO "areas" ("area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 15:10:42.801673"], ["updated_at", "2017-08-08 15:10:42.801673"]]
148609
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["area_id", 1], ["created_at", "2017-08-08 15:10:42.802589"], ["updated_at", "2017-08-08 15:10:42.802589"]]
148610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148611
+  (0.1ms) rollback transaction
148612
+  (0.1ms) begin transaction
148613
+  (0.1ms) SAVEPOINT active_record_1
148614
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:10:42.808701"], ["updated_at", "2017-08-08 15:10:42.808701"]]
148615
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["created_at", "2017-08-08 15:10:42.809588"], ["updated_at", "2017-08-08 15:10:42.809588"]]
148616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148617
+  (0.0ms) rollback transaction
148618
+  (0.0ms) begin transaction
148619
+  (0.1ms) SAVEPOINT active_record_1
148620
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:10:42.815678"], ["updated_at", "2017-08-08 15:10:42.815678"]]
148621
+ SQL (0.1ms) INSERT INTO "areas" ("area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 15:10:42.816823"], ["updated_at", "2017-08-08 15:10:42.816823"]]
148622
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["area_id", 1], ["created_at", "2017-08-08 15:10:42.817436"], ["updated_at", "2017-08-08 15:10:42.817436"]]
148623
+  (0.2ms) RELEASE SAVEPOINT active_record_1
148624
+  (0.0ms) rollback transaction
148625
+  (0.0ms) begin transaction
148626
+  (0.0ms) SAVEPOINT active_record_1
148627
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:10:42.823057"], ["updated_at", "2017-08-08 15:10:42.823057"]]
148628
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148629
+  (0.1ms) SAVEPOINT active_record_1
148630
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 1]]
148631
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148632
+  (0.0ms) rollback transaction
148633
+  (0.0ms) begin transaction
148634
+  (0.0ms) SAVEPOINT active_record_1
148635
+ SQL (0.1ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "efg"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 15:10:42.827866"], ["updated_at", "2017-08-08 15:10:42.827866"]]
148636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148637
+  (0.0ms) SAVEPOINT active_record_1
148638
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "area_id", "global_registry_area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["area_id", 1], ["global_registry_area_id", "ijk"], ["created_at", "2017-08-08 15:10:42.830227"], ["updated_at", "2017-08-08 15:10:42.830227"]]
148639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148640
+  (0.0ms) SAVEPOINT active_record_1
148641
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 1]]
148642
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148643
+  (0.1ms) rollback transaction
148644
+  (0.0ms) begin transaction
148645
+  (0.0ms) SAVEPOINT active_record_1
148646
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "xyz"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:10:42.836006"], ["updated_at", "2017-08-08 15:10:42.836006"]]
148647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148648
+  (0.0ms) SAVEPOINT active_record_1
148649
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["created_at", "2017-08-08 15:10:42.838534"], ["updated_at", "2017-08-08 15:10:42.838534"]]
148650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148651
+  (0.0ms) SAVEPOINT active_record_1
148652
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 2]]
148653
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148654
+  (0.0ms) rollback transaction
148655
+  (0.0ms) begin transaction
148656
+  (0.0ms) SAVEPOINT active_record_1
148657
+ SQL (0.1ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "efg"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2017-08-08 15:10:42.843212"], ["updated_at", "2017-08-08 15:10:42.843212"]]
148658
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148659
+  (0.0ms) SAVEPOINT active_record_1
148660
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "xyz"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["created_at", "2017-08-08 15:10:42.845132"], ["updated_at", "2017-08-08 15:10:42.845132"]]
148661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148662
+  (0.0ms) SAVEPOINT active_record_1
148663
+ SQL (0.1ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "parent_id", "area_id", "global_registry_area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["gr_id", "abc"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-08-08"], ["parent_id", 1], ["area_id", 1], ["global_registry_area_id", "ijk"], ["created_at", "2017-08-08 15:10:42.847629"], ["updated_at", "2017-08-08 15:10:42.847629"]]
148664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148665
+  (0.1ms) SAVEPOINT active_record_1
148666
+ SQL (0.1ms) DELETE FROM "organizations" WHERE "organizations"."id" = ? [["id", 2]]
148667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148668
+  (0.1ms) rollback transaction
148669
+  (0.0ms) begin transaction
148670
+  (0.0ms) SAVEPOINT active_record_1
148671
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:10:42.855855"], ["updated_at", "2017-08-08 15:10:42.855855"]]
148672
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148673
+  (0.0ms) rollback transaction
148674
+  (0.2ms) begin transaction
148675
+  (0.0ms) SAVEPOINT active_record_1
148676
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:10:42.867680"], ["updated_at", "2017-08-08 15:10:42.867680"]]
148677
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["created_at", "2017-08-08 15:10:42.868642"], ["updated_at", "2017-08-08 15:10:42.868642"]]
148678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148679
+  (0.0ms) rollback transaction
148680
+  (0.0ms) begin transaction
148681
+  (0.0ms) SAVEPOINT active_record_1
148682
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:10:42.874614"], ["updated_at", "2017-08-08 15:10:42.874614"]]
148683
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_residence_id", 1], ["created_at", "2017-08-08 15:10:42.875287"], ["updated_at", "2017-08-08 15:10:42.875287"]]
148684
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148685
+  (0.0ms) rollback transaction
148686
+  (0.0ms) begin transaction
148687
+  (0.1ms) SAVEPOINT active_record_1
148688
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:10:42.881161"], ["updated_at", "2017-08-08 15:10:42.881161"]]
148689
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["created_at", "2017-08-08 15:10:42.882049"], ["updated_at", "2017-08-08 15:10:42.882049"]]
148690
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148691
+  (0.2ms) rollback transaction
148692
+  (0.1ms) begin transaction
148693
+  (0.0ms) SAVEPOINT active_record_1
148694
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:10:42.888428"], ["updated_at", "2017-08-08 15:10:42.888428"]]
148695
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148696
+  (0.0ms) SAVEPOINT active_record_1
148697
+ SQL (0.1ms) UPDATE "people" SET "first_name" = ?, "updated_at" = ? WHERE "people"."id" = ? [["first_name", "Anthony"], ["updated_at", "2017-08-08 15:10:42.891323"], ["id", 1]]
148698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148699
+  (0.0ms) rollback transaction
148700
+  (0.0ms) begin transaction
148701
+  (0.0ms) SAVEPOINT active_record_1
148702
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:10:42.894795"], ["updated_at", "2017-08-08 15:10:42.894795"]]
148703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148704
+  (0.1ms) SAVEPOINT active_record_1
148705
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["created_at", "2017-08-08 15:10:42.897350"], ["updated_at", "2017-08-08 15:10:42.897350"]]
148706
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148707
+  (0.1ms) SAVEPOINT active_record_1
148708
+ SQL (0.1ms) UPDATE "people" SET "first_name" = ?, "updated_at" = ? WHERE "people"."id" = ? [["first_name", "Anthony"], ["updated_at", "2017-08-08 15:10:42.901664"], ["id", 1]]
148709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148710
+  (0.1ms) rollback transaction
148711
+  (0.1ms) begin transaction
148712
+  (0.1ms) SAVEPOINT active_record_1
148713
+ SQL (0.1ms) INSERT INTO "countries" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "Sokovia"], ["created_at", "2017-08-08 15:10:42.907944"], ["updated_at", "2017-08-08 15:10:42.907944"]]
148714
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148715
+  (0.0ms) SAVEPOINT active_record_1
148716
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 15:10:42.910394"], ["updated_at", "2017-08-08 15:10:42.910394"]]
148717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148718
+  (0.1ms) SAVEPOINT active_record_1
148719
+ SQL (0.1ms) UPDATE "people" SET "country_of_residence_id" = ?, "updated_at" = ? WHERE "people"."id" = ? [["country_of_residence_id", nil], ["updated_at", "2017-08-08 15:10:42.915207"], ["id", 1]]
148720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148721
+ SQL (0.1ms) UPDATE "people" SET "country_of_residence_gr_id" = NULL WHERE "people"."id" = ? [["id", 1]]
148722
+  (0.0ms) rollback transaction
148723
+  (0.0ms) begin transaction
148724
+  (0.0ms) SAVEPOINT active_record_1
148725
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9952f"], ["created_at", "2017-08-08 15:10:42.920243"], ["updated_at", "2017-08-08 15:10:42.920243"]]
148726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148727
+  (0.0ms) SAVEPOINT active_record_1
148728
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Peru"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9963c"], ["created_at", "2017-08-08 15:10:42.923010"], ["updated_at", "2017-08-08 15:10:42.923010"]]
148729
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148730
+  (0.0ms) SAVEPOINT active_record_1
148731
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_service_gr_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["country_of_residence_id", 1], ["country_of_service_gr_id", "89f81f6e-7baf-44d9-8f3a-55bf7c652dcc"], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 15:10:42.925222"], ["updated_at", "2017-08-08 15:10:42.925222"]]
148732
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148733
+  (0.0ms) SAVEPOINT active_record_1
148734
+ SQL (0.1ms) UPDATE "people" SET "country_of_service_id" = ?, "updated_at" = ? WHERE "people"."id" = ? [["country_of_service_id", 2], ["updated_at", "2017-08-08 15:10:42.930485"], ["id", 1]]
148735
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148736
+ SQL (0.1ms) UPDATE "people" SET "country_of_service_gr_id" = NULL WHERE "people"."id" = ? [["id", 1]]
148737
+  (0.1ms) rollback transaction
148738
+  (0.0ms) begin transaction
148739
+  (0.0ms) SAVEPOINT active_record_1
148740
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:10:42.948355"], ["updated_at", "2017-08-08 15:10:42.948355"]]
148741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148742
+  (0.0ms) SAVEPOINT active_record_1
148743
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."person_id" = ? [["person_id", 1]]
148744
+ SQL (0.1ms) DELETE FROM "people" WHERE "people"."id" = ? [["id", 1]]
148745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148746
+  (0.0ms) rollback transaction
148747
+  (0.0ms) begin transaction
148748
+  (0.1ms) SAVEPOINT active_record_1
148749
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d9952f"], ["created_at", "2017-08-08 15:10:42.965006"], ["updated_at", "2017-08-08 15:10:42.965006"]]
148750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148751
+  (0.0ms) SAVEPOINT active_record_1
148752
+ SQL (0.1ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "f078eb70-5ddd-4941-9b06-a39576d99639"], ["created_at", "2017-08-08 15:10:42.966759"], ["updated_at", "2017-08-08 15:10:42.966759"]]
148753
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148754
+  (0.1ms) SAVEPOINT active_record_1
148755
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_service_id", "country_of_residence_id", "country_of_service_gr_id", "country_of_residence_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "dd555dbf-f3db-4158-a50c-50d3f26347e8"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 2], ["country_of_residence_id", 1], ["country_of_service_gr_id", "89f81f6e-7baf-44d9-8f3a-55bf7c652dcc"], ["country_of_residence_gr_id", "4fa555dd-a067-478e-8765-8faa9483cc56"], ["created_at", "2017-08-08 15:10:42.969334"], ["updated_at", "2017-08-08 15:10:42.969334"]]
148756
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148757
+  (0.0ms) SAVEPOINT active_record_1
148758
+ Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."person_id" = ? [["person_id", 1]]
148759
+ SQL (0.1ms) DELETE FROM "people" WHERE "people"."id" = ? [["id", 1]]
148760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148761
+  (0.0ms) rollback transaction
148762
+  (0.0ms) begin transaction
148763
+  (0.1ms) rollback transaction
148764
+  (0.0ms) begin transaction
148765
+  (0.1ms) rollback transaction
148766
+  (0.0ms) begin transaction
148767
+  (0.1ms) rollback transaction
148768
+  (0.0ms) begin transaction
148769
+  (0.0ms) SAVEPOINT active_record_1
148770
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:10:43.019345"], ["updated_at", "2017-08-08 15:10:43.019345"]]
148771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148772
+  (0.0ms) rollback transaction
148773
+  (0.0ms) begin transaction
148774
+  (0.0ms) SAVEPOINT active_record_1
148775
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:10:43.023583"], ["updated_at", "2017-08-08 15:10:43.023583"]]
148776
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148777
+  (0.0ms) rollback transaction
148778
+  (0.0ms) begin transaction
148779
+  (0.0ms) SAVEPOINT active_record_1
148780
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:10:43.028031"], ["updated_at", "2017-08-08 15:10:43.028031"]]
148781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148782
+  (0.1ms) rollback transaction
148783
+  (0.0ms) begin transaction
148784
+  (0.1ms) SAVEPOINT active_record_1
148785
+ SQL (0.1ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:10:43.033187"], ["updated_at", "2017-08-08 15:10:43.033187"]]
148786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148787
+  (0.1ms) rollback transaction
148788
+  (0.1ms) begin transaction
148789
+  (0.1ms) SAVEPOINT active_record_1
148790
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:10:43.056147"], ["updated_at", "2017-08-08 15:10:43.056147"]]
148791
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148792
+  (0.1ms) rollback transaction
148793
+  (0.0ms) begin transaction
148794
+  (0.1ms) SAVEPOINT active_record_1
148795
+ SQL (0.1ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2017-08-08 15:10:43.073425"], ["updated_at", "2017-08-08 15:10:43.073425"]]
148796
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148797
+ SQL (0.1ms) UPDATE "people" SET "global_registry_mdm_id" = 'c81340b2-7e57-4978-b6b9-396f21bb0bb2' WHERE "people"."id" = ? [["id", 1]]
148798
+  (0.0ms) rollback transaction
148799
+  (0.0ms) begin transaction
148800
+  (0.0ms) rollback transaction
148801
+  (0.0ms) begin transaction
148802
+  (0.0ms) SAVEPOINT active_record_1
148803
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148805
+  (0.0ms) rollback transaction
148806
+  (0.0ms) begin transaction
148807
+  (0.0ms) SAVEPOINT active_record_1
148808
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148809
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148810
+  (0.1ms) rollback transaction
148811
+  (0.0ms) begin transaction
148812
+  (0.0ms) SAVEPOINT active_record_1
148813
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148815
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 1]]
148816
+  (0.1ms) rollback transaction
148817
+  (0.0ms) begin transaction
148818
+  (0.0ms) SAVEPOINT active_record_1
148819
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Parent"], ["description", "Parent Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148821
+  (0.0ms) SAVEPOINT active_record_1
148822
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["parent_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148824
+  (0.1ms) rollback transaction
148825
+  (0.1ms) begin transaction
148826
+  (0.0ms) SAVEPOINT active_record_1
148827
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "cd5da38a-c336-46a7-b818-dcdd51c4acde"], ["name", "Parent"], ["description", "Parent Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148829
+  (0.0ms) SAVEPOINT active_record_1
148830
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "parent_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["parent_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148831
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148832
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 2]]
148833
+  (0.1ms) rollback transaction
148834
+  (0.1ms) begin transaction
148835
+  (0.0ms) SAVEPOINT active_record_1
148836
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148838
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
148839
+  (0.0ms) rollback transaction
148840
+  (0.0ms) begin transaction
148841
+  (0.0ms) SAVEPOINT active_record_1
148842
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148844
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
148845
+  (0.1ms) rollback transaction
148846
+  (0.0ms) begin transaction
148847
+  (0.0ms) SAVEPOINT active_record_1
148848
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148849
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148850
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
148851
+  (0.1ms) rollback transaction
148852
+  (0.0ms) begin transaction
148853
+  (0.0ms) SAVEPOINT active_record_1
148854
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148855
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148856
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
148857
+  (0.0ms) rollback transaction
148858
+  (0.0ms) begin transaction
148859
+  (0.0ms) SAVEPOINT active_record_1
148860
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "f8d20318-2ff2-4a98-a5eb-e9d840508bf1"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148862
+  (0.1ms) rollback transaction
148863
+  (0.0ms) begin transaction
148864
+  (0.0ms) SAVEPOINT active_record_1
148865
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "f8d20318-2ff2-4a98-a5eb-e9d840508bf1"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148867
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
148868
+  (0.0ms) rollback transaction
148869
+  (0.0ms) begin transaction
148870
+  (0.0ms) SAVEPOINT active_record_1
148871
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148872
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148873
+  (0.1ms) rollback transaction
148874
+  (0.1ms) begin transaction
148875
+  (0.0ms) SAVEPOINT active_record_1
148876
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148878
+  (0.0ms) SAVEPOINT active_record_1
148879
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148880
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148881
+  (0.1ms) rollback transaction
148882
+  (0.0ms) begin transaction
148883
+  (0.0ms) SAVEPOINT active_record_1
148884
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148886
+  (0.0ms) SAVEPOINT active_record_1
148887
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148888
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148889
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
148890
+  (0.1ms) rollback transaction
148891
+  (0.0ms) begin transaction
148892
+  (0.0ms) SAVEPOINT active_record_1
148893
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148895
+  (0.0ms) SAVEPOINT active_record_1
148896
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148898
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
148899
+  (0.1ms) rollback transaction
148900
+  (0.0ms) begin transaction
148901
+  (0.0ms) SAVEPOINT active_record_1
148902
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148904
+  (0.0ms) SAVEPOINT active_record_1
148905
+ SQL (0.0ms) INSERT INTO "addresses" ("address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148907
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
148908
+  (0.1ms) rollback transaction
148909
+  (0.1ms) begin transaction
148910
+  (0.0ms) SAVEPOINT active_record_1
148911
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148912
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148913
+  (0.0ms) SAVEPOINT active_record_1
148914
+ SQL (0.0ms) INSERT INTO "addresses" ("global_registry_id", "address1", "zip", "primary", "person_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "0a594356-3f1c-11e7-bba6-129bd0521531"], ["address1", "10880 Malibu Point"], ["zip", "90265"], ["primary", "t"], ["person_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148915
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148916
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
148917
+  (0.1ms) rollback transaction
148918
+  (0.0ms) begin transaction
148919
+  (0.0ms) SAVEPOINT active_record_1
148920
+ SQL (0.0ms) INSERT INTO "communities" ("name", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Community"], ["infobase_id", 234], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148921
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148922
+ SQL (0.0ms) UPDATE "communities" SET "global_registry_id" = '6133f6fe-c63a-425a-bb46-68917c689723' WHERE "communities"."id" = ? [["id", 1]]
148923
+  (0.0ms) rollback transaction
148924
+  (2.1ms) begin transaction
148925
+  (0.0ms) SAVEPOINT active_record_1
148926
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148928
+  (0.1ms) rollback transaction
148929
+  (0.1ms) begin transaction
148930
+  (0.0ms) SAVEPOINT active_record_1
148931
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148932
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148933
+  (2.0ms) rollback transaction
148934
+  (0.1ms) begin transaction
148935
+  (0.0ms) SAVEPOINT active_record_1
148936
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148938
+  (0.0ms) SAVEPOINT active_record_1
148939
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148941
+  (0.0ms) SAVEPOINT active_record_1
148942
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148943
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148944
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
148945
+  (0.1ms) rollback transaction
148946
+  (0.0ms) begin transaction
148947
+  (0.0ms) SAVEPOINT active_record_1
148948
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148949
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148950
+  (0.0ms) SAVEPOINT active_record_1
148951
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148953
+  (0.0ms) SAVEPOINT active_record_1
148954
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148955
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148956
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
148957
+  (0.1ms) rollback transaction
148958
+  (0.0ms) begin transaction
148959
+  (0.0ms) SAVEPOINT active_record_1
148960
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148962
+  (0.0ms) SAVEPOINT active_record_1
148963
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148964
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148965
+  (0.0ms) SAVEPOINT active_record_1
148966
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148967
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148968
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
148969
+  (0.1ms) rollback transaction
148970
+  (0.1ms) begin transaction
148971
+  (0.0ms) SAVEPOINT active_record_1
148972
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148974
+  (0.0ms) SAVEPOINT active_record_1
148975
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148976
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148977
+  (0.0ms) SAVEPOINT active_record_1
148978
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148980
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
148981
+  (0.1ms) rollback transaction
148982
+  (0.0ms) begin transaction
148983
+  (0.0ms) SAVEPOINT active_record_1
148984
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148986
+  (0.0ms) SAVEPOINT active_record_1
148987
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148989
+  (0.0ms) SAVEPOINT active_record_1
148990
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148992
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = NULL WHERE "assignments"."id" = ? [["id", 1]]
148993
+  (0.1ms) rollback transaction
148994
+  (0.0ms) begin transaction
148995
+  (0.0ms) SAVEPOINT active_record_1
148996
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148997
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148998
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
148999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149000
+  (0.1ms) rollback transaction
149001
+  (0.0ms) begin transaction
149002
+  (0.0ms) SAVEPOINT active_record_1
149003
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149004
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149005
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149006
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149007
+  (0.1ms) rollback transaction
149008
+  (0.0ms) begin transaction
149009
+  (0.0ms) SAVEPOINT active_record_1
149010
+ SQL (0.0ms) INSERT INTO "people" ("first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149011
+ SQL (0.0ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149012
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149013
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149014
+  (0.1ms) rollback transaction
149015
+  (0.0ms) begin transaction
149016
+  (0.0ms) SAVEPOINT active_record_1
149017
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149018
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149019
+  (0.0ms) SAVEPOINT active_record_1
149020
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149022
+  (0.0ms) SAVEPOINT active_record_1
149023
+ SQL (0.0ms) INSERT INTO "assignments" ("global_registry_id", "role", "hired_at", "person_id", "organization_id", "assigned_by_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "51a014a4-4252-11e7-944f-129bd0521531"], ["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["assigned_by_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149025
+ SQL (0.0ms) UPDATE "assignments" SET "assigned_by_gr_rel_id" = '0fd8b8b8-76c9-11e7-b15c-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
149026
+  (0.1ms) rollback transaction
149027
+  (0.0ms) begin transaction
149028
+  (0.0ms) SAVEPOINT active_record_1
149029
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "22527d88-3cba-11e7-b876-129bd0521531"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149031
+  (0.0ms) SAVEPOINT active_record_1
149032
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149034
+  (0.0ms) SAVEPOINT active_record_1
149035
+ SQL (0.0ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "assigned_by_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2000-12-03 00:00:00"], ["person_id", 1], ["organization_id", 1], ["assigned_by_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149037
+  (0.1ms) rollback transaction
149038
+  (0.0ms) begin transaction
149039
+  (0.0ms) SAVEPOINT active_record_1
149040
+ SQL (0.0ms) INSERT INTO "areas" ("global_registry_id", "area_name", "area_code", "is_active", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["global_registry_id", "0fdb70c5-f51e-4628-a1fe-caa37fae53cd"], ["area_name", "Best Area"], ["area_code", "BEST"], ["is_active", "t"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149041
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149042
+  (0.0ms) SAVEPOINT active_record_1
149043
+ SQL (0.0ms) INSERT INTO "organizations" ("gr_id", "name", "description", "start_date", "area_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["gr_id", "aebb4170-3f34-11e7-bba6-129bd0521531"], ["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2001-02-03"], ["area_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149045
+ SQL (0.0ms) UPDATE "organizations" SET "global_registry_area_id" = 'c99d7d7e-8b14-4fe6-9c11-e5359ee03637' WHERE "organizations"."id" = ? [["id", 1]]
149046
+  (0.1ms) rollback transaction
149047
+  (0.0ms) begin transaction
149048
+  (0.0ms) SAVEPOINT active_record_1
149049
+ SQL (0.0ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "0f9089a3-2b93-4de8-9b81-92be0261f325"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149050
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149051
+  (0.0ms) SAVEPOINT active_record_1
149052
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_service_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "2f0c62f1-5738-4860-88bd-5706fb801d7b"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_service_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149053
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149054
+ SQL (0.0ms) UPDATE "people" SET "country_of_service_gr_id" = '420d2fd1-7a73-41ed-9d8f-5dc79b00a688' WHERE "people"."id" = ? [["id", 1]]
149055
+  (0.0ms) rollback transaction
149056
+  (0.0ms) begin transaction
149057
+  (0.0ms) SAVEPOINT active_record_1
149058
+ SQL (0.0ms) INSERT INTO "countries" ("name", "global_registry_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Sokovia"], ["global_registry_id", "7cdaf399-d449-4008-8c6b-3c64a2b2730c"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149059
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149060
+  (0.0ms) SAVEPOINT active_record_1
149061
+ SQL (0.0ms) INSERT INTO "people" ("global_registry_id", "first_name", "last_name", "guid", "country_of_residence_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["global_registry_id", "2f0c62f1-5738-4860-88bd-5706fb801d7b"], ["first_name", "Tony"], ["last_name", "Stark"], ["guid", "98711710-acb5-4a41-ba51-e0fc56644b53"], ["country_of_residence_id", 1], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149063
+ SQL (0.0ms) UPDATE "people" SET "country_of_residence_gr_id" = 'a4c030ce-13f2-44f5-8131-4003eb21c0ae' WHERE "people"."id" = ? [["id", 1]]
149064
+  (0.1ms) rollback transaction
149065
+  (0.0ms) begin transaction
149066
+  (0.0ms) SAVEPOINT active_record_1
149067
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149068
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149069
+  (0.1ms) rollback transaction
149070
+  (0.0ms) begin transaction
149071
+  (0.0ms) SAVEPOINT active_record_1
149072
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "infobase_gr_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["infobase_gr_id", "ee40f9ed-d625-405b-8ce6-aec821611ec6"], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149074
+ SQL (0.0ms) UPDATE "communities" SET "infobase_gr_id" = NULL WHERE "communities"."id" = ? [["id", 1]]
149075
+  (0.1ms) rollback transaction
149076
+  (0.1ms) begin transaction
149077
+  (0.0ms) SAVEPOINT active_record_1
149078
+ SQL (0.0ms) INSERT INTO "communities" ("name", "global_registry_id", "infobase_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Community"], ["global_registry_id", "6133f6fe-c63a-425a-bb46-68917c689723"], ["infobase_id", 2345], ["created_at", "2001-02-03 00:00:00"], ["updated_at", "2001-02-03 00:00:00"]]
149079
+  (0.0ms) RELEASE SAVEPOINT active_record_1
149080
+ SQL (0.0ms) UPDATE "communities" SET "infobase_gr_id" = 'ee40f9ed-d625-405b-8ce6-aec821611ec6' WHERE "communities"."id" = ? [["id", 1]]
149081
+  (0.0ms) rollback transaction