global-registry-bindings 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e021cdeaf89bd30c29b54cc5d28ffac9393012f
4
- data.tar.gz: c062f438ba1f75e7ce25c822cdf3ebb25a123f45
3
+ metadata.gz: 8e525f4171b9ef2cb81bf240030e2df5217fcfeb
4
+ data.tar.gz: 9f70e0728bcceb1ddb300f9562ba8a18e6fea4ba
5
5
  SHA512:
6
- metadata.gz: a6c15390f3d383a815f7b48079e05f07d11de3d770d2bcb5a30af3fc7afaf49a7cf2c896497714ffcb7f27b5b1de80b5a457bc02aa784b25a50d5bf9f055df0e
7
- data.tar.gz: 1e78ec0e76560072af8b3b80c61c978295a948bb32849da997e5ed3acb439d25160d9a1f4f57d9856a890611ab10a3aa00dc3dd4fe1e6117849dde3a8d106960
6
+ metadata.gz: 8372efcb8580d274d42df710f985088fadf417127b7b0127b180fc57e2f188f8f19bc9a57b4837b4a78245b466d0fa4f0e5c4ac7d2c7e45db7873df4b166f0b5
7
+ data.tar.gz: addcdc356d4facea47214e06c43534e153cf9b8571ddc1e9ce132cf3e2a5b9dc69c050d7ceeab9aefaa88fe6fcc3059ac7b36c4a9bf678dd9d85a0c5d8970705
@@ -37,10 +37,7 @@ module GlobalRegistry #:nodoc:
37
37
  end
38
38
 
39
39
  def create_entity_in_global_registry
40
- if global_registry.parent_is_self? && global_registry.parent_id_value.blank?
41
- # Push parent entity if it exists and is missing global_registry_id
42
- global_registry.parent&.create_entity_in_global_registry
43
- end
40
+ ensure_parent_entity_has_global_registry_id! if global_registry.parent.present?
44
41
  entity_attributes = { global_registry.type => entity_attributes_to_push }
45
42
  entity = GlobalRegistry::Entity.post(entity: entity_attributes)
46
43
  global_registry.id_value = dig_global_registry_id_from_entity(entity['entity'], global_registry.type)
@@ -72,6 +69,16 @@ module GlobalRegistry #:nodoc:
72
69
  item['client_integration_id'] == id.to_s
73
70
  end&.dig('id')
74
71
  end
72
+
73
+ def ensure_parent_entity_has_global_registry_id!
74
+ return unless global_registry.parent_is_self? && global_registry.parent_id_value.blank?
75
+ # Push parent entity if it exists and is missing global_registry_id
76
+ global_registry.parent.push_entity_to_global_registry_async
77
+ raise GlobalRegistry::Bindings::ParentEntityMissingGlobalRegistryId,
78
+ "#{self.class.name}(#{id}) has parent entity " \
79
+ "#{global_registry.parent.class.name}(#{global_registry.parent.id}) missing " \
80
+ 'global_registry_id; will retry.'
81
+ end
75
82
  end
76
83
  end
77
84
  end
@@ -5,5 +5,6 @@ module GlobalRegistry #:nodoc:
5
5
  class RecordMissingGlobalRegistryId < StandardError; end
6
6
  class EntityMissingMdmId < StandardError; end
7
7
  class RelatedEntityMissingGlobalRegistryId < StandardError; end
8
+ class ParentEntityMissingGlobalRegistryId < StandardError; end
8
9
  end
9
10
  end
@@ -9,7 +9,8 @@ module GlobalRegistry #:nodoc:
9
9
  config.exception_level_filters.merge!(
10
10
  'GlobalRegistry::Bindings::RecordMissingGlobalRegistryId' => 'ignore',
11
11
  'GlobalRegistry::Bindings::EntityMissingMdmId' => 'ignore',
12
- 'GlobalRegistry::Bindings::RelatedEntityMissingGlobalRegistryId' => 'ignore'
12
+ 'GlobalRegistry::Bindings::RelatedEntityMissingGlobalRegistryId' => 'ignore',
13
+ 'GlobalRegistry::Bindings::ParentEntityMissingGlobalRegistryId' => 'ignore'
13
14
  )
14
15
  end
15
16
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module GlobalRegistry #:nodoc:
4
4
  module Bindings #:nodoc:
5
- VERSION = '0.0.3'
5
+ VERSION = '0.0.4'
6
6
  end
7
7
  end
@@ -36017,3 +36017,1501 @@
36017
36017
  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-06-01 17:56:05.149628"], ["updated_at", "2017-06-01 17:56:05.149628"]]
36018
36018
   (0.0ms) RELEASE SAVEPOINT active_record_1
36019
36019
   (0.0ms) rollback transaction
36020
+  (0.1ms) DROP TABLE IF EXISTS "people"
36021
+  (1.9ms) SELECT sqlite_version(*)
36022
+  (0.6ms) 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, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36023
+  (0.0ms) DROP TABLE IF EXISTS "addresses"
36024
+  (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)
36025
+  (0.1ms) CREATE INDEX "index_addresses_on_person_id" ON "addresses" ("person_id")
36026
+  (0.0ms) DROP TABLE IF EXISTS "organizations"
36027
+  (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, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36028
+  (0.1ms) CREATE INDEX "index_organizations_on_parent_id" ON "organizations" ("parent_id")
36029
+  (0.0ms) DROP TABLE IF EXISTS "assignments"
36030
+  (0.1ms) CREATE TABLE "assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "role" varchar, "hired_at" datetime, "person_id" integer, "organization_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36031
+  (0.1ms) CREATE INDEX "index_assignments_on_person_id" ON "assignments" ("person_id")
36032
+  (0.3ms)  SELECT sql
36033
+ FROM sqlite_master
36034
+ WHERE name='index_assignments_on_person_id' AND type='index'
36035
+ UNION ALL
36036
+ SELECT sql
36037
+ FROM sqlite_temp_master
36038
+ WHERE name='index_assignments_on_person_id' AND type='index'
36039
+ 
36040
+  (0.2ms) CREATE INDEX "index_assignments_on_organization_id" ON "assignments" ("organization_id")
36041
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
36042
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
36043
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
36044
+  (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)
36045
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
36046
+  (0.0ms) begin transaction
36047
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-06-14 15:51:15.638278"], ["updated_at", "2017-06-14 15:51:15.638278"]]
36048
+  (0.0ms) commit transaction
36049
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
36050
+  (0.1ms) begin transaction
36051
+  (0.0ms) commit transaction
36052
+  (0.1ms) begin transaction
36053
+  (0.1ms) rollback transaction
36054
+  (0.0ms) begin transaction
36055
+  (0.1ms) rollback transaction
36056
+  (0.0ms) begin transaction
36057
+  (0.1ms) rollback transaction
36058
+  (0.0ms) begin transaction
36059
+  (0.1ms) rollback transaction
36060
+  (0.0ms) begin transaction
36061
+  (0.0ms) rollback transaction
36062
+  (0.0ms) begin transaction
36063
+  (0.0ms) rollback transaction
36064
+  (0.0ms) begin transaction
36065
+  (0.1ms) rollback transaction
36066
+  (0.0ms) begin transaction
36067
+  (0.0ms) rollback transaction
36068
+  (0.1ms) begin transaction
36069
+  (0.1ms) rollback transaction
36070
+  (0.0ms) begin transaction
36071
+  (0.0ms) SAVEPOINT active_record_1
36072
+ 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"]]
36073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36074
+  (0.1ms) rollback transaction
36075
+  (0.0ms) begin transaction
36076
+  (0.0ms) SAVEPOINT active_record_1
36077
+ 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"]]
36078
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36079
+  (0.0ms) SAVEPOINT active_record_1
36080
+ 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"]]
36081
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36082
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36083
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36084
+  (0.1ms) rollback transaction
36085
+  (0.0ms) begin transaction
36086
+  (0.0ms) SAVEPOINT active_record_1
36087
+ 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"]]
36088
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36089
+  (0.0ms) SAVEPOINT active_record_1
36090
+ 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"]]
36091
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36092
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36093
+  (0.0ms) rollback transaction
36094
+  (0.0ms) begin transaction
36095
+  (0.0ms) SAVEPOINT active_record_1
36096
+ 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"]]
36097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36098
+  (0.0ms) SAVEPOINT active_record_1
36099
+ 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"]]
36100
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36101
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36102
+  (0.1ms) rollback transaction
36103
+  (0.0ms) begin transaction
36104
+  (0.0ms) SAVEPOINT active_record_1
36105
+ 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"]]
36106
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36107
+  (0.0ms) SAVEPOINT active_record_1
36108
+ 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"]]
36109
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36110
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36111
+  (0.1ms) rollback transaction
36112
+  (0.0ms) begin transaction
36113
+  (0.0ms) SAVEPOINT active_record_1
36114
+ 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"]]
36115
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36116
+  (0.0ms) SAVEPOINT active_record_1
36117
+ 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"]]
36118
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36119
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36120
+  (0.1ms) rollback transaction
36121
+  (0.0ms) begin transaction
36122
+  (0.0ms) rollback transaction
36123
+  (0.1ms) begin transaction
36124
+  (0.0ms) SAVEPOINT active_record_1
36125
+ 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"]]
36126
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36127
+  (0.0ms) SAVEPOINT active_record_1
36128
+ 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"]]
36129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36130
+  (0.0ms) SAVEPOINT active_record_1
36131
+ 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"]]
36132
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36133
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
36134
+  (0.1ms) rollback transaction
36135
+  (0.0ms) begin transaction
36136
+  (0.0ms) SAVEPOINT active_record_1
36137
+ 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"]]
36138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36139
+  (0.0ms) SAVEPOINT active_record_1
36140
+ 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"]]
36141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36142
+  (0.0ms) SAVEPOINT active_record_1
36143
+ 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"]]
36144
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36145
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
36146
+  (0.1ms) rollback transaction
36147
+  (0.0ms) begin transaction
36148
+  (0.0ms) SAVEPOINT active_record_1
36149
+ 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"]]
36150
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36151
+  (0.0ms) SAVEPOINT active_record_1
36152
+ 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"]]
36153
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36154
+  (0.0ms) SAVEPOINT active_record_1
36155
+ 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"]]
36156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36157
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
36158
+  (0.1ms) rollback transaction
36159
+  (0.0ms) begin transaction
36160
+  (0.0ms) SAVEPOINT active_record_1
36161
+ 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"]]
36162
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36163
+  (0.0ms) SAVEPOINT active_record_1
36164
+ 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"]]
36165
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36166
+  (0.0ms) SAVEPOINT active_record_1
36167
+ 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"]]
36168
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36169
+  (0.1ms) rollback transaction
36170
+  (0.0ms) begin transaction
36171
+  (0.0ms) SAVEPOINT active_record_1
36172
+ 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-06-14 15:51:16.653826"], ["updated_at", "2017-06-14 15:51:16.653826"]]
36173
+ SQL (0.1ms) 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", "2017-06-14"], ["created_at", "2017-06-14 15:51:16.654776"], ["updated_at", "2017-06-14 15:51:16.654776"]]
36174
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 15:51:16.653223"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 15:51:16.655439"], ["updated_at", "2017-06-14 15:51:16.655439"]]
36175
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36176
+  (0.1ms) rollback transaction
36177
+  (0.0ms) begin transaction
36178
+  (0.1ms) SAVEPOINT active_record_1
36179
+ 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-06-14 15:51:16.662443"], ["updated_at", "2017-06-14 15:51:16.662443"]]
36180
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-06-14"], ["created_at", "2017-06-14 15:51:16.663451"], ["updated_at", "2017-06-14 15:51:16.663451"]]
36181
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 15:51:16.661765"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 15:51:16.664143"], ["updated_at", "2017-06-14 15:51:16.664143"]]
36182
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36183
+  (0.0ms) rollback transaction
36184
+  (0.0ms) begin transaction
36185
+  (0.0ms) SAVEPOINT active_record_1
36186
+ 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-06-14 15:51:16.669502"], ["updated_at", "2017-06-14 15:51:16.669502"]]
36187
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-06-14"], ["created_at", "2017-06-14 15:51:16.670365"], ["updated_at", "2017-06-14 15:51:16.670365"]]
36188
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 15:51:16.668857"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 15:51:16.670998"], ["updated_at", "2017-06-14 15:51:16.670998"]]
36189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36190
+  (0.1ms) rollback transaction
36191
+  (0.0ms) begin transaction
36192
+  (0.0ms) rollback transaction
36193
+  (0.0ms) begin transaction
36194
+  (0.0ms) rollback transaction
36195
+  (0.0ms) begin transaction
36196
+  (0.0ms) rollback transaction
36197
+  (0.0ms) begin transaction
36198
+  (0.0ms) SAVEPOINT active_record_1
36199
+ 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"]]
36200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36201
+  (0.1ms) rollback transaction
36202
+  (0.0ms) begin transaction
36203
+  (0.0ms) SAVEPOINT active_record_1
36204
+ 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"]]
36205
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36206
+  (0.0ms) SAVEPOINT active_record_1
36207
+ 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"]]
36208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36209
+  (0.1ms) rollback transaction
36210
+  (0.0ms) begin transaction
36211
+  (0.0ms) SAVEPOINT active_record_1
36212
+ 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"]]
36213
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36214
+  (0.0ms) SAVEPOINT active_record_1
36215
+ 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"]]
36216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36217
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 2]]
36218
+  (0.1ms) rollback transaction
36219
+  (0.0ms) begin transaction
36220
+  (0.0ms) rollback transaction
36221
+  (0.0ms) begin transaction
36222
+  (0.0ms) rollback transaction
36223
+  (0.0ms) begin transaction
36224
+  (0.0ms) rollback transaction
36225
+  (0.0ms) begin transaction
36226
+  (0.0ms) SAVEPOINT active_record_1
36227
+ 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"]]
36228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36229
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36230
+  (0.0ms) rollback transaction
36231
+  (0.0ms) begin transaction
36232
+  (0.0ms) SAVEPOINT active_record_1
36233
+ 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"]]
36234
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36235
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36236
+  (0.0ms) rollback transaction
36237
+  (0.0ms) begin transaction
36238
+  (0.0ms) SAVEPOINT active_record_1
36239
+ 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"]]
36240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36241
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36242
+  (0.1ms) rollback transaction
36243
+  (0.0ms) begin transaction
36244
+  (0.0ms) SAVEPOINT active_record_1
36245
+ 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"]]
36246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36247
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36248
+  (0.0ms) rollback transaction
36249
+  (0.0ms) begin transaction
36250
+  (0.0ms) SAVEPOINT active_record_1
36251
+ 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"]]
36252
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36253
+  (0.1ms) rollback transaction
36254
+  (0.0ms) begin transaction
36255
+  (0.0ms) SAVEPOINT active_record_1
36256
+ 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"]]
36257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36258
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36259
+  (0.0ms) rollback transaction
36260
+  (0.0ms) begin transaction
36261
+  (0.0ms) rollback transaction
36262
+  (0.0ms) begin transaction
36263
+  (0.0ms) SAVEPOINT active_record_1
36264
+ 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-06-14 15:51:16.807910"], ["updated_at", "2017-06-14 15:51:16.807910"]]
36265
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36266
+  (0.0ms) rollback transaction
36267
+  (0.0ms) begin transaction
36268
+  (0.1ms) SAVEPOINT active_record_1
36269
+ 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-06-14 15:51:16.811836"], ["updated_at", "2017-06-14 15:51:16.811836"]]
36270
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36271
+  (0.0ms) rollback transaction
36272
+  (0.0ms) begin transaction
36273
+  (0.1ms) SAVEPOINT active_record_1
36274
+ 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-06-14 15:51:16.818701"], ["updated_at", "2017-06-14 15:51:16.818701"]]
36275
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36276
+ SQL (0.1ms) UPDATE "people" SET "global_registry_mdm_id" = 'c81340b2-7e57-4978-b6b9-396f21bb0bb2' WHERE "people"."id" = ? [["id", 1]]
36277
+  (0.0ms) rollback transaction
36278
+  (0.0ms) begin transaction
36279
+  (0.0ms) rollback transaction
36280
+  (0.0ms) begin transaction
36281
+  (0.1ms) rollback transaction
36282
+  (0.0ms) begin transaction
36283
+  (0.1ms) SAVEPOINT active_record_1
36284
+ 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-06-14 15:51:16.830518"], ["updated_at", "2017-06-14 15:51:16.830518"]]
36285
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36286
+  (0.0ms) rollback transaction
36287
+  (0.0ms) begin transaction
36288
+  (0.0ms) SAVEPOINT active_record_1
36289
+ 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-06-14 15:51:16.834239"], ["updated_at", "2017-06-14 15:51:16.834239"]]
36290
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36291
+  (0.0ms) rollback transaction
36292
+  (0.0ms) begin transaction
36293
+  (0.0ms) SAVEPOINT active_record_1
36294
+ 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-06-14 15:51:16.837620"], ["updated_at", "2017-06-14 15:51:16.837620"]]
36295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36296
+  (0.0ms) rollback transaction
36297
+  (0.0ms) begin transaction
36298
+  (0.0ms) rollback transaction
36299
+  (0.0ms) begin transaction
36300
+  (0.1ms) SAVEPOINT active_record_1
36301
+ 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-06-14 15:51:16.843194"], ["updated_at", "2017-06-14 15:51:16.843194"]]
36302
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36303
+  (0.0ms) rollback transaction
36304
+  (0.0ms) begin transaction
36305
+  (0.1ms) SAVEPOINT active_record_1
36306
+ 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-06-14 15:51:16.847431"], ["updated_at", "2017-06-14 15:51:16.847431"]]
36307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36308
+  (0.1ms) rollback transaction
36309
+  (0.0ms) begin transaction
36310
+  (0.0ms) SAVEPOINT active_record_1
36311
+ 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-06-14 15:51:16.856623"], ["updated_at", "2017-06-14 15:51:16.856623"]]
36312
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36313
+  (0.0ms) rollback transaction
36314
+  (0.0ms) begin transaction
36315
+  (0.0ms) SAVEPOINT active_record_1
36316
+ 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-06-14 15:51:16.860651"], ["updated_at", "2017-06-14 15:51:16.860651"]]
36317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36318
+  (0.0ms) rollback transaction
36319
+  (0.0ms) DROP TABLE IF EXISTS "people"
36320
+  (0.9ms) SELECT sqlite_version(*)
36321
+  (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, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36322
+  (0.0ms) DROP TABLE IF EXISTS "addresses"
36323
+  (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)
36324
+  (0.1ms) CREATE INDEX "index_addresses_on_person_id" ON "addresses" ("person_id")
36325
+  (0.0ms) DROP TABLE IF EXISTS "organizations"
36326
+  (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, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36327
+  (0.1ms) CREATE INDEX "index_organizations_on_parent_id" ON "organizations" ("parent_id")
36328
+  (0.0ms) DROP TABLE IF EXISTS "assignments"
36329
+  (0.1ms) CREATE TABLE "assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "role" varchar, "hired_at" datetime, "person_id" integer, "organization_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36330
+  (0.1ms) CREATE INDEX "index_assignments_on_person_id" ON "assignments" ("person_id")
36331
+  (0.2ms)  SELECT sql
36332
+ FROM sqlite_master
36333
+ WHERE name='index_assignments_on_person_id' AND type='index'
36334
+ UNION ALL
36335
+ SELECT sql
36336
+ FROM sqlite_temp_master
36337
+ WHERE name='index_assignments_on_person_id' AND type='index'
36338
+ 
36339
+  (0.1ms) CREATE INDEX "index_assignments_on_organization_id" ON "assignments" ("organization_id")
36340
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
36341
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
36342
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
36343
+  (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)
36344
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
36345
+  (0.0ms) begin transaction
36346
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-06-14 15:52:55.831286"], ["updated_at", "2017-06-14 15:52:55.831286"]]
36347
+  (0.0ms) commit transaction
36348
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
36349
+  (0.0ms) begin transaction
36350
+  (0.1ms) commit transaction
36351
+  (0.1ms) begin transaction
36352
+  (0.0ms) rollback transaction
36353
+  (0.1ms) begin transaction
36354
+  (0.0ms) rollback transaction
36355
+  (0.0ms) begin transaction
36356
+  (0.0ms) rollback transaction
36357
+  (0.0ms) begin transaction
36358
+  (0.0ms) rollback transaction
36359
+  (0.0ms) begin transaction
36360
+  (0.0ms) rollback transaction
36361
+  (0.0ms) begin transaction
36362
+  (0.0ms) rollback transaction
36363
+  (0.0ms) begin transaction
36364
+  (0.1ms) rollback transaction
36365
+  (0.0ms) begin transaction
36366
+  (0.0ms) rollback transaction
36367
+  (0.0ms) begin transaction
36368
+  (0.0ms) rollback transaction
36369
+  (0.0ms) begin transaction
36370
+  (0.0ms) SAVEPOINT active_record_1
36371
+ 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"]]
36372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36373
+  (0.1ms) rollback transaction
36374
+  (0.0ms) begin transaction
36375
+  (0.0ms) SAVEPOINT active_record_1
36376
+ 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"]]
36377
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36378
+  (0.0ms) SAVEPOINT active_record_1
36379
+ 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"]]
36380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36381
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36382
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36383
+  (0.1ms) rollback transaction
36384
+  (0.0ms) begin transaction
36385
+  (0.0ms) SAVEPOINT active_record_1
36386
+ 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"]]
36387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36388
+  (0.0ms) SAVEPOINT active_record_1
36389
+ 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"]]
36390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36391
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36392
+  (0.1ms) rollback transaction
36393
+  (0.0ms) begin transaction
36394
+  (0.0ms) SAVEPOINT active_record_1
36395
+ 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"]]
36396
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36397
+  (0.0ms) SAVEPOINT active_record_1
36398
+ 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"]]
36399
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36400
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36401
+  (0.0ms) rollback transaction
36402
+  (0.0ms) begin transaction
36403
+  (0.0ms) SAVEPOINT active_record_1
36404
+ 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"]]
36405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36406
+  (0.0ms) SAVEPOINT active_record_1
36407
+ 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"]]
36408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36409
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36410
+  (0.0ms) rollback transaction
36411
+  (0.0ms) begin transaction
36412
+  (0.0ms) SAVEPOINT active_record_1
36413
+ 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"]]
36414
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36415
+  (0.0ms) SAVEPOINT active_record_1
36416
+ 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"]]
36417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36418
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36419
+  (0.2ms) rollback transaction
36420
+  (0.1ms) begin transaction
36421
+  (0.0ms) rollback transaction
36422
+  (0.0ms) begin transaction
36423
+  (0.0ms) SAVEPOINT active_record_1
36424
+ 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"]]
36425
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36426
+  (0.0ms) SAVEPOINT active_record_1
36427
+ 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"]]
36428
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36429
+  (0.0ms) SAVEPOINT active_record_1
36430
+ 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"]]
36431
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36432
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
36433
+  (0.1ms) rollback transaction
36434
+  (0.0ms) begin transaction
36435
+  (0.0ms) SAVEPOINT active_record_1
36436
+ 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"]]
36437
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36438
+  (0.0ms) SAVEPOINT active_record_1
36439
+ 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"]]
36440
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36441
+  (0.0ms) SAVEPOINT active_record_1
36442
+ 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"]]
36443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36444
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
36445
+  (0.1ms) rollback transaction
36446
+  (0.0ms) begin transaction
36447
+  (0.0ms) SAVEPOINT active_record_1
36448
+ 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"]]
36449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36450
+  (0.0ms) SAVEPOINT active_record_1
36451
+ 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"]]
36452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36453
+  (0.0ms) SAVEPOINT active_record_1
36454
+ 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"]]
36455
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36456
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
36457
+  (0.1ms) rollback transaction
36458
+  (0.0ms) begin transaction
36459
+  (0.0ms) SAVEPOINT active_record_1
36460
+ 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"]]
36461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36462
+  (0.0ms) SAVEPOINT active_record_1
36463
+ 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"]]
36464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36465
+  (0.0ms) SAVEPOINT active_record_1
36466
+ 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"]]
36467
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36468
+  (0.1ms) rollback transaction
36469
+  (0.0ms) begin transaction
36470
+  (0.1ms) SAVEPOINT active_record_1
36471
+ 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-06-14 15:52:56.521772"], ["updated_at", "2017-06-14 15:52:56.521772"]]
36472
+ SQL (0.1ms) 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", "2017-06-14"], ["created_at", "2017-06-14 15:52:56.522935"], ["updated_at", "2017-06-14 15:52:56.522935"]]
36473
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 15:52:56.521104"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 15:52:56.523637"], ["updated_at", "2017-06-14 15:52:56.523637"]]
36474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36475
+  (0.0ms) rollback transaction
36476
+  (0.0ms) begin transaction
36477
+  (0.0ms) SAVEPOINT active_record_1
36478
+ 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-06-14 15:52:56.530682"], ["updated_at", "2017-06-14 15:52:56.530682"]]
36479
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-06-14"], ["created_at", "2017-06-14 15:52:56.531672"], ["updated_at", "2017-06-14 15:52:56.531672"]]
36480
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 15:52:56.529907"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 15:52:56.532328"], ["updated_at", "2017-06-14 15:52:56.532328"]]
36481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36482
+  (0.0ms) rollback transaction
36483
+  (0.0ms) begin transaction
36484
+  (0.0ms) SAVEPOINT active_record_1
36485
+ 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-06-14 15:52:56.537196"], ["updated_at", "2017-06-14 15:52:56.537196"]]
36486
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-06-14"], ["created_at", "2017-06-14 15:52:56.538009"], ["updated_at", "2017-06-14 15:52:56.538009"]]
36487
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 15:52:56.536655"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 15:52:56.538603"], ["updated_at", "2017-06-14 15:52:56.538603"]]
36488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36489
+  (0.0ms) rollback transaction
36490
+  (0.0ms) begin transaction
36491
+  (0.0ms) rollback transaction
36492
+  (0.0ms) begin transaction
36493
+  (0.0ms) rollback transaction
36494
+  (0.0ms) begin transaction
36495
+  (0.0ms) rollback transaction
36496
+  (0.1ms) begin transaction
36497
+  (0.0ms) SAVEPOINT active_record_1
36498
+ 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"]]
36499
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36500
+  (0.1ms) rollback transaction
36501
+  (0.0ms) begin transaction
36502
+  (0.0ms) SAVEPOINT active_record_1
36503
+ 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"]]
36504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36505
+  (0.0ms) SAVEPOINT active_record_1
36506
+ 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"]]
36507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36508
+  (0.1ms) rollback transaction
36509
+  (0.0ms) begin transaction
36510
+  (0.0ms) SAVEPOINT active_record_1
36511
+ 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"]]
36512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36513
+  (0.0ms) SAVEPOINT active_record_1
36514
+ 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"]]
36515
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36516
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 2]]
36517
+  (0.1ms) rollback transaction
36518
+  (0.1ms) begin transaction
36519
+  (0.0ms) rollback transaction
36520
+  (0.1ms) begin transaction
36521
+  (0.0ms) rollback transaction
36522
+  (0.0ms) begin transaction
36523
+  (0.0ms) rollback transaction
36524
+  (0.0ms) begin transaction
36525
+  (0.0ms) SAVEPOINT active_record_1
36526
+ 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"]]
36527
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36528
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36529
+  (0.0ms) rollback transaction
36530
+  (0.0ms) begin transaction
36531
+  (0.0ms) SAVEPOINT active_record_1
36532
+ 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"]]
36533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36534
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36535
+  (0.0ms) rollback transaction
36536
+  (0.0ms) begin transaction
36537
+  (0.0ms) SAVEPOINT active_record_1
36538
+ 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"]]
36539
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36540
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36541
+  (0.1ms) rollback transaction
36542
+  (0.0ms) begin transaction
36543
+  (0.0ms) SAVEPOINT active_record_1
36544
+ 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"]]
36545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36546
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36547
+  (0.0ms) rollback transaction
36548
+  (0.0ms) begin transaction
36549
+  (0.0ms) SAVEPOINT active_record_1
36550
+ 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"]]
36551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36552
+  (0.0ms) rollback transaction
36553
+  (0.0ms) begin transaction
36554
+  (0.0ms) SAVEPOINT active_record_1
36555
+ 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"]]
36556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36557
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36558
+  (0.0ms) rollback transaction
36559
+  (0.0ms) begin transaction
36560
+  (0.0ms) rollback transaction
36561
+  (0.0ms) begin transaction
36562
+  (0.0ms) SAVEPOINT active_record_1
36563
+ 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-06-14 15:53:46.776620"], ["updated_at", "2017-06-14 15:53:46.776620"]]
36564
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36565
+  (0.0ms) rollback transaction
36566
+  (0.0ms) begin transaction
36567
+  (0.0ms) SAVEPOINT active_record_1
36568
+ 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-06-14 15:53:46.780118"], ["updated_at", "2017-06-14 15:53:46.780118"]]
36569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36570
+  (0.0ms) rollback transaction
36571
+  (0.0ms) begin transaction
36572
+  (0.0ms) SAVEPOINT active_record_1
36573
+ 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-06-14 15:53:46.785832"], ["updated_at", "2017-06-14 15:53:46.785832"]]
36574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36575
+ SQL (0.1ms) UPDATE "people" SET "global_registry_mdm_id" = 'c81340b2-7e57-4978-b6b9-396f21bb0bb2' WHERE "people"."id" = ? [["id", 1]]
36576
+  (0.0ms) rollback transaction
36577
+  (0.0ms) begin transaction
36578
+  (0.1ms) rollback transaction
36579
+  (0.0ms) begin transaction
36580
+  (0.0ms) rollback transaction
36581
+  (0.0ms) begin transaction
36582
+  (0.0ms) SAVEPOINT active_record_1
36583
+ 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-06-14 15:53:46.795866"], ["updated_at", "2017-06-14 15:53:46.795866"]]
36584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36585
+  (0.0ms) rollback transaction
36586
+  (0.0ms) begin transaction
36587
+  (0.0ms) SAVEPOINT active_record_1
36588
+ 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-06-14 15:53:46.799722"], ["updated_at", "2017-06-14 15:53:46.799722"]]
36589
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36590
+  (0.0ms) rollback transaction
36591
+  (0.0ms) begin transaction
36592
+  (0.0ms) SAVEPOINT active_record_1
36593
+ 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-06-14 15:53:46.803557"], ["updated_at", "2017-06-14 15:53:46.803557"]]
36594
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36595
+  (0.0ms) rollback transaction
36596
+  (0.0ms) begin transaction
36597
+  (0.0ms) rollback transaction
36598
+  (0.0ms) begin transaction
36599
+  (0.0ms) SAVEPOINT active_record_1
36600
+ 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-06-14 15:53:46.808582"], ["updated_at", "2017-06-14 15:53:46.808582"]]
36601
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36602
+  (0.0ms) rollback transaction
36603
+  (0.0ms) begin transaction
36604
+  (0.0ms) SAVEPOINT active_record_1
36605
+ 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-06-14 15:53:46.811893"], ["updated_at", "2017-06-14 15:53:46.811893"]]
36606
+  (0.7ms) RELEASE SAVEPOINT active_record_1
36607
+  (0.1ms) rollback transaction
36608
+  (0.0ms) begin transaction
36609
+  (0.0ms) SAVEPOINT active_record_1
36610
+ 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-06-14 15:53:46.816797"], ["updated_at", "2017-06-14 15:53:46.816797"]]
36611
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36612
+  (0.0ms) rollback transaction
36613
+  (0.0ms) begin transaction
36614
+  (0.0ms) SAVEPOINT active_record_1
36615
+ 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-06-14 15:53:46.820905"], ["updated_at", "2017-06-14 15:53:46.820905"]]
36616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36617
+  (0.0ms) rollback transaction
36618
+  (0.0ms) DROP TABLE IF EXISTS "people"
36619
+  (0.9ms) SELECT sqlite_version(*)
36620
+  (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, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36621
+  (0.0ms) DROP TABLE IF EXISTS "addresses"
36622
+  (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)
36623
+  (0.1ms) CREATE INDEX "index_addresses_on_person_id" ON "addresses" ("person_id")
36624
+  (0.0ms) DROP TABLE IF EXISTS "organizations"
36625
+  (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, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36626
+  (0.1ms) CREATE INDEX "index_organizations_on_parent_id" ON "organizations" ("parent_id")
36627
+  (0.0ms) DROP TABLE IF EXISTS "assignments"
36628
+  (0.1ms) CREATE TABLE "assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "role" varchar, "hired_at" datetime, "person_id" integer, "organization_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36629
+  (0.1ms) CREATE INDEX "index_assignments_on_person_id" ON "assignments" ("person_id")
36630
+  (0.2ms)  SELECT sql
36631
+ FROM sqlite_master
36632
+ WHERE name='index_assignments_on_person_id' AND type='index'
36633
+ UNION ALL
36634
+ SELECT sql
36635
+ FROM sqlite_temp_master
36636
+ WHERE name='index_assignments_on_person_id' AND type='index'
36637
+ 
36638
+  (0.1ms) CREATE INDEX "index_assignments_on_organization_id" ON "assignments" ("organization_id")
36639
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
36640
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
36641
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
36642
+  (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)
36643
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
36644
+  (0.0ms) begin transaction
36645
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-06-14 15:54:50.102192"], ["updated_at", "2017-06-14 15:54:50.102192"]]
36646
+  (0.0ms) commit transaction
36647
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
36648
+  (0.0ms) begin transaction
36649
+  (0.0ms) commit transaction
36650
+  (0.1ms) begin transaction
36651
+  (0.0ms) rollback transaction
36652
+  (0.0ms) begin transaction
36653
+  (0.0ms) rollback transaction
36654
+  (0.0ms) begin transaction
36655
+  (0.0ms) rollback transaction
36656
+  (0.0ms) begin transaction
36657
+  (0.0ms) rollback transaction
36658
+  (0.0ms) begin transaction
36659
+  (0.0ms) rollback transaction
36660
+  (0.0ms) begin transaction
36661
+  (0.0ms) rollback transaction
36662
+  (0.0ms) begin transaction
36663
+  (0.1ms) rollback transaction
36664
+  (0.0ms) begin transaction
36665
+  (0.0ms) rollback transaction
36666
+  (0.0ms) begin transaction
36667
+  (0.0ms) rollback transaction
36668
+  (0.0ms) begin transaction
36669
+  (0.0ms) SAVEPOINT active_record_1
36670
+ 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"]]
36671
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36672
+  (0.1ms) rollback transaction
36673
+  (0.0ms) begin transaction
36674
+  (0.0ms) SAVEPOINT active_record_1
36675
+ 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"]]
36676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36677
+  (0.0ms) SAVEPOINT active_record_1
36678
+ 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"]]
36679
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36680
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36681
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36682
+  (0.1ms) rollback transaction
36683
+  (0.0ms) begin transaction
36684
+  (0.0ms) SAVEPOINT active_record_1
36685
+ 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"]]
36686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36687
+  (0.0ms) SAVEPOINT active_record_1
36688
+ 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"]]
36689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36690
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36691
+  (0.1ms) rollback transaction
36692
+  (0.0ms) begin transaction
36693
+  (0.0ms) SAVEPOINT active_record_1
36694
+ 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"]]
36695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36696
+  (0.0ms) SAVEPOINT active_record_1
36697
+ 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"]]
36698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36699
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36700
+  (0.1ms) rollback transaction
36701
+  (0.0ms) begin transaction
36702
+  (0.0ms) SAVEPOINT active_record_1
36703
+ 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"]]
36704
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36705
+  (0.0ms) SAVEPOINT active_record_1
36706
+ 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"]]
36707
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36708
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36709
+  (0.1ms) rollback transaction
36710
+  (0.0ms) begin transaction
36711
+  (0.0ms) SAVEPOINT active_record_1
36712
+ 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"]]
36713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36714
+  (0.0ms) SAVEPOINT active_record_1
36715
+ 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"]]
36716
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36717
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36718
+  (0.1ms) rollback transaction
36719
+  (0.2ms) begin transaction
36720
+  (0.1ms) rollback transaction
36721
+  (0.8ms) begin transaction
36722
+  (0.0ms) SAVEPOINT active_record_1
36723
+ 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"]]
36724
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36725
+  (0.0ms) SAVEPOINT active_record_1
36726
+ 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"]]
36727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36728
+  (0.0ms) SAVEPOINT active_record_1
36729
+ 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"]]
36730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36731
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
36732
+  (0.1ms) rollback transaction
36733
+  (0.0ms) begin transaction
36734
+  (0.0ms) SAVEPOINT active_record_1
36735
+ 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"]]
36736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36737
+  (0.0ms) SAVEPOINT active_record_1
36738
+ 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"]]
36739
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36740
+  (0.0ms) SAVEPOINT active_record_1
36741
+ 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"]]
36742
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36743
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
36744
+  (0.1ms) rollback transaction
36745
+  (0.0ms) begin transaction
36746
+  (0.0ms) SAVEPOINT active_record_1
36747
+ 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"]]
36748
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36749
+  (0.0ms) SAVEPOINT active_record_1
36750
+ 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"]]
36751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36752
+  (0.0ms) SAVEPOINT active_record_1
36753
+ 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"]]
36754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36755
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
36756
+  (0.1ms) rollback transaction
36757
+  (0.1ms) begin transaction
36758
+  (0.0ms) SAVEPOINT active_record_1
36759
+ 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"]]
36760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36761
+  (0.0ms) SAVEPOINT active_record_1
36762
+ 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"]]
36763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36764
+  (0.0ms) SAVEPOINT active_record_1
36765
+ 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"]]
36766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36767
+  (0.1ms) rollback transaction
36768
+  (0.0ms) begin transaction
36769
+  (0.0ms) SAVEPOINT active_record_1
36770
+ 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-06-14 15:54:50.796400"], ["updated_at", "2017-06-14 15:54:50.796400"]]
36771
+ SQL (0.1ms) 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", "2017-06-14"], ["created_at", "2017-06-14 15:54:50.797289"], ["updated_at", "2017-06-14 15:54:50.797289"]]
36772
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 15:54:50.795782"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 15:54:50.797943"], ["updated_at", "2017-06-14 15:54:50.797943"]]
36773
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36774
+  (0.0ms) rollback transaction
36775
+  (0.0ms) begin transaction
36776
+  (0.1ms) SAVEPOINT active_record_1
36777
+ 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-06-14 15:54:50.804116"], ["updated_at", "2017-06-14 15:54:50.804116"]]
36778
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-06-14"], ["created_at", "2017-06-14 15:54:50.804934"], ["updated_at", "2017-06-14 15:54:50.804934"]]
36779
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 15:54:50.803549"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 15:54:50.805550"], ["updated_at", "2017-06-14 15:54:50.805550"]]
36780
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36781
+  (0.0ms) rollback transaction
36782
+  (0.0ms) begin transaction
36783
+  (0.0ms) SAVEPOINT active_record_1
36784
+ 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-06-14 15:54:50.810246"], ["updated_at", "2017-06-14 15:54:50.810246"]]
36785
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-06-14"], ["created_at", "2017-06-14 15:54:50.811010"], ["updated_at", "2017-06-14 15:54:50.811010"]]
36786
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 15:54:50.809690"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 15:54:50.811613"], ["updated_at", "2017-06-14 15:54:50.811613"]]
36787
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36788
+  (0.0ms) rollback transaction
36789
+  (0.0ms) begin transaction
36790
+  (0.0ms) rollback transaction
36791
+  (0.0ms) begin transaction
36792
+  (0.0ms) rollback transaction
36793
+  (0.0ms) begin transaction
36794
+  (0.0ms) rollback transaction
36795
+  (0.0ms) begin transaction
36796
+  (0.0ms) SAVEPOINT active_record_1
36797
+ 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"]]
36798
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36799
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 1]]
36800
+  (0.1ms) rollback transaction
36801
+  (0.0ms) begin transaction
36802
+  (0.0ms) SAVEPOINT active_record_1
36803
+ 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"]]
36804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36805
+  (0.0ms) SAVEPOINT active_record_1
36806
+ 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"]]
36807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36808
+  (0.1ms) rollback transaction
36809
+  (0.0ms) begin transaction
36810
+  (0.0ms) SAVEPOINT active_record_1
36811
+ 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"]]
36812
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36813
+  (0.0ms) SAVEPOINT active_record_1
36814
+ 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"]]
36815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36816
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 2]]
36817
+  (0.1ms) rollback transaction
36818
+  (0.0ms) begin transaction
36819
+  (0.0ms) rollback transaction
36820
+  (0.0ms) begin transaction
36821
+  (0.0ms) rollback transaction
36822
+  (0.0ms) begin transaction
36823
+  (0.0ms) rollback transaction
36824
+  (0.0ms) begin transaction
36825
+  (0.0ms) SAVEPOINT active_record_1
36826
+ 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"]]
36827
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36828
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36829
+  (0.1ms) rollback transaction
36830
+  (0.0ms) begin transaction
36831
+  (0.0ms) SAVEPOINT active_record_1
36832
+ 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"]]
36833
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36834
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36835
+  (0.0ms) rollback transaction
36836
+  (0.0ms) begin transaction
36837
+  (0.0ms) SAVEPOINT active_record_1
36838
+ 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"]]
36839
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36840
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36841
+  (0.1ms) rollback transaction
36842
+  (0.0ms) begin transaction
36843
+  (0.0ms) SAVEPOINT active_record_1
36844
+ 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"]]
36845
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36846
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36847
+  (0.0ms) rollback transaction
36848
+  (0.0ms) begin transaction
36849
+  (0.0ms) SAVEPOINT active_record_1
36850
+ 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"]]
36851
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36852
+  (0.1ms) rollback transaction
36853
+  (0.0ms) begin transaction
36854
+  (0.0ms) SAVEPOINT active_record_1
36855
+ 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"]]
36856
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36857
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36858
+  (0.0ms) rollback transaction
36859
+  (0.0ms) begin transaction
36860
+  (0.0ms) rollback transaction
36861
+  (0.0ms) begin transaction
36862
+  (0.1ms) SAVEPOINT active_record_1
36863
+ 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-06-14 15:55:02.028698"], ["updated_at", "2017-06-14 15:55:02.028698"]]
36864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36865
+  (0.0ms) rollback transaction
36866
+  (0.0ms) begin transaction
36867
+  (0.1ms) SAVEPOINT active_record_1
36868
+ 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-06-14 15:55:02.039453"], ["updated_at", "2017-06-14 15:55:02.039453"]]
36869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36870
+  (0.0ms) rollback transaction
36871
+  (0.1ms) begin transaction
36872
+  (0.1ms) SAVEPOINT active_record_1
36873
+ 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-06-14 15:55:02.047679"], ["updated_at", "2017-06-14 15:55:02.047679"]]
36874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36875
+ SQL (0.1ms) UPDATE "people" SET "global_registry_mdm_id" = 'c81340b2-7e57-4978-b6b9-396f21bb0bb2' WHERE "people"."id" = ? [["id", 1]]
36876
+  (0.0ms) rollback transaction
36877
+  (0.0ms) begin transaction
36878
+  (0.0ms) rollback transaction
36879
+  (0.0ms) begin transaction
36880
+  (0.0ms) rollback transaction
36881
+  (0.0ms) begin transaction
36882
+  (0.2ms) SAVEPOINT active_record_1
36883
+ 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-06-14 15:55:02.061951"], ["updated_at", "2017-06-14 15:55:02.061951"]]
36884
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36885
+  (0.2ms) rollback transaction
36886
+  (0.0ms) begin transaction
36887
+  (0.1ms) SAVEPOINT active_record_1
36888
+ 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-06-14 15:55:02.066842"], ["updated_at", "2017-06-14 15:55:02.066842"]]
36889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36890
+  (0.0ms) rollback transaction
36891
+  (0.0ms) begin transaction
36892
+  (0.0ms) SAVEPOINT active_record_1
36893
+ 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-06-14 15:55:02.071911"], ["updated_at", "2017-06-14 15:55:02.071911"]]
36894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36895
+  (0.0ms) rollback transaction
36896
+  (0.0ms) begin transaction
36897
+  (0.1ms) rollback transaction
36898
+  (0.0ms) begin transaction
36899
+  (0.0ms) SAVEPOINT active_record_1
36900
+ 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-06-14 15:55:02.077524"], ["updated_at", "2017-06-14 15:55:02.077524"]]
36901
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36902
+  (0.0ms) rollback transaction
36903
+  (0.0ms) begin transaction
36904
+  (0.0ms) SAVEPOINT active_record_1
36905
+ 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-06-14 15:55:02.081261"], ["updated_at", "2017-06-14 15:55:02.081261"]]
36906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36907
+  (0.0ms) rollback transaction
36908
+  (0.0ms) begin transaction
36909
+  (0.0ms) SAVEPOINT active_record_1
36910
+ 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-06-14 15:55:02.085117"], ["updated_at", "2017-06-14 15:55:02.085117"]]
36911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36912
+  (0.0ms) rollback transaction
36913
+  (0.0ms) begin transaction
36914
+  (0.0ms) SAVEPOINT active_record_1
36915
+ 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-06-14 15:55:02.088647"], ["updated_at", "2017-06-14 15:55:02.088647"]]
36916
+  (0.1ms) RELEASE SAVEPOINT active_record_1
36917
+  (0.0ms) rollback transaction
36918
+  (0.0ms) DROP TABLE IF EXISTS "people"
36919
+  (0.9ms) SELECT sqlite_version(*)
36920
+  (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, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36921
+  (0.0ms) DROP TABLE IF EXISTS "addresses"
36922
+  (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)
36923
+  (0.1ms) CREATE INDEX "index_addresses_on_person_id" ON "addresses" ("person_id")
36924
+  (0.1ms) DROP TABLE IF EXISTS "organizations"
36925
+  (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, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36926
+  (0.1ms) CREATE INDEX "index_organizations_on_parent_id" ON "organizations" ("parent_id")
36927
+  (0.0ms) DROP TABLE IF EXISTS "assignments"
36928
+  (0.1ms) CREATE TABLE "assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "role" varchar, "hired_at" datetime, "person_id" integer, "organization_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
36929
+  (0.1ms) CREATE INDEX "index_assignments_on_person_id" ON "assignments" ("person_id")
36930
+  (0.2ms)  SELECT sql
36931
+ FROM sqlite_master
36932
+ WHERE name='index_assignments_on_person_id' AND type='index'
36933
+ UNION ALL
36934
+ SELECT sql
36935
+ FROM sqlite_temp_master
36936
+ WHERE name='index_assignments_on_person_id' AND type='index'
36937
+ 
36938
+  (0.1ms) CREATE INDEX "index_assignments_on_organization_id" ON "assignments" ("organization_id")
36939
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
36940
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
36941
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
36942
+  (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)
36943
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
36944
+  (0.0ms) begin transaction
36945
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-06-14 15:59:38.849429"], ["updated_at", "2017-06-14 15:59:38.849429"]]
36946
+  (0.0ms) commit transaction
36947
+ ActiveRecord::InternalMetadata Load (0.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
36948
+  (0.0ms) begin transaction
36949
+  (0.0ms) commit transaction
36950
+  (0.1ms) begin transaction
36951
+  (0.0ms) rollback transaction
36952
+  (0.0ms) begin transaction
36953
+  (0.0ms) rollback transaction
36954
+  (0.0ms) begin transaction
36955
+  (0.0ms) rollback transaction
36956
+  (0.0ms) begin transaction
36957
+  (0.0ms) rollback transaction
36958
+  (0.0ms) begin transaction
36959
+  (0.0ms) rollback transaction
36960
+  (0.0ms) begin transaction
36961
+  (0.0ms) rollback transaction
36962
+  (0.0ms) begin transaction
36963
+  (0.3ms) rollback transaction
36964
+  (0.0ms) begin transaction
36965
+  (0.0ms) rollback transaction
36966
+  (0.0ms) begin transaction
36967
+  (0.0ms) rollback transaction
36968
+  (0.0ms) begin transaction
36969
+  (0.0ms) SAVEPOINT active_record_1
36970
+ 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"]]
36971
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36972
+  (0.1ms) rollback transaction
36973
+  (0.0ms) begin transaction
36974
+  (0.0ms) SAVEPOINT active_record_1
36975
+ 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"]]
36976
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36977
+  (0.0ms) SAVEPOINT active_record_1
36978
+ 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"]]
36979
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36980
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
36981
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36982
+  (0.0ms) rollback transaction
36983
+  (0.0ms) begin transaction
36984
+  (0.0ms) SAVEPOINT active_record_1
36985
+ 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"]]
36986
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36987
+  (0.0ms) SAVEPOINT active_record_1
36988
+ 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"]]
36989
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36990
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
36991
+  (0.0ms) rollback transaction
36992
+  (0.0ms) begin transaction
36993
+  (0.0ms) SAVEPOINT active_record_1
36994
+ 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"]]
36995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36996
+  (0.0ms) SAVEPOINT active_record_1
36997
+ 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"]]
36998
+  (0.0ms) RELEASE SAVEPOINT active_record_1
36999
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
37000
+  (0.1ms) rollback transaction
37001
+  (0.0ms) begin transaction
37002
+  (0.0ms) SAVEPOINT active_record_1
37003
+ 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"]]
37004
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37005
+  (0.0ms) SAVEPOINT active_record_1
37006
+ 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"]]
37007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37008
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
37009
+  (0.1ms) rollback transaction
37010
+  (0.0ms) begin transaction
37011
+  (0.0ms) SAVEPOINT active_record_1
37012
+ 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"]]
37013
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37014
+  (0.0ms) SAVEPOINT active_record_1
37015
+ 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"]]
37016
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37017
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
37018
+  (0.1ms) rollback transaction
37019
+  (0.0ms) begin transaction
37020
+  (0.1ms) rollback transaction
37021
+  (0.0ms) begin transaction
37022
+  (0.0ms) SAVEPOINT active_record_1
37023
+ 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"]]
37024
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37025
+  (0.0ms) SAVEPOINT active_record_1
37026
+ 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"]]
37027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37028
+  (0.0ms) SAVEPOINT active_record_1
37029
+ 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"]]
37030
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37031
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
37032
+  (0.1ms) rollback transaction
37033
+  (0.0ms) begin transaction
37034
+  (0.0ms) SAVEPOINT active_record_1
37035
+ 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"]]
37036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37037
+  (0.0ms) SAVEPOINT active_record_1
37038
+ 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"]]
37039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37040
+  (0.0ms) SAVEPOINT active_record_1
37041
+ 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"]]
37042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37043
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
37044
+  (0.0ms) rollback transaction
37045
+  (0.0ms) begin transaction
37046
+  (0.0ms) SAVEPOINT active_record_1
37047
+ 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"]]
37048
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37049
+  (0.0ms) SAVEPOINT active_record_1
37050
+ 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"]]
37051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37052
+  (0.0ms) SAVEPOINT active_record_1
37053
+ 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"]]
37054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37055
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
37056
+  (0.1ms) rollback transaction
37057
+  (0.1ms) begin transaction
37058
+  (0.0ms) SAVEPOINT active_record_1
37059
+ 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"]]
37060
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37061
+  (0.0ms) SAVEPOINT active_record_1
37062
+ 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"]]
37063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37064
+  (0.0ms) SAVEPOINT active_record_1
37065
+ 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"]]
37066
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37067
+  (0.1ms) rollback transaction
37068
+  (0.0ms) begin transaction
37069
+  (0.1ms) SAVEPOINT active_record_1
37070
+ 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-06-14 15:59:39.530078"], ["updated_at", "2017-06-14 15:59:39.530078"]]
37071
+ SQL (0.1ms) 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", "2017-06-14"], ["created_at", "2017-06-14 15:59:39.531195"], ["updated_at", "2017-06-14 15:59:39.531195"]]
37072
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 15:59:39.529364"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 15:59:39.532053"], ["updated_at", "2017-06-14 15:59:39.532053"]]
37073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37074
+  (0.1ms) rollback transaction
37075
+  (0.0ms) begin transaction
37076
+  (0.0ms) SAVEPOINT active_record_1
37077
+ 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-06-14 15:59:39.538717"], ["updated_at", "2017-06-14 15:59:39.538717"]]
37078
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-06-14"], ["created_at", "2017-06-14 15:59:39.539618"], ["updated_at", "2017-06-14 15:59:39.539618"]]
37079
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 15:59:39.538139"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 15:59:39.540237"], ["updated_at", "2017-06-14 15:59:39.540237"]]
37080
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37081
+  (0.0ms) rollback transaction
37082
+  (0.0ms) begin transaction
37083
+  (0.0ms) SAVEPOINT active_record_1
37084
+ 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-06-14 15:59:39.545068"], ["updated_at", "2017-06-14 15:59:39.545068"]]
37085
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-06-14"], ["created_at", "2017-06-14 15:59:39.545939"], ["updated_at", "2017-06-14 15:59:39.545939"]]
37086
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 15:59:39.544496"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 15:59:39.546535"], ["updated_at", "2017-06-14 15:59:39.546535"]]
37087
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37088
+  (0.0ms) rollback transaction
37089
+  (0.1ms) begin transaction
37090
+  (0.0ms) rollback transaction
37091
+  (0.2ms) begin transaction
37092
+  (0.0ms) rollback transaction
37093
+  (0.0ms) begin transaction
37094
+  (0.0ms) rollback transaction
37095
+  (0.0ms) begin transaction
37096
+  (0.0ms) SAVEPOINT active_record_1
37097
+ 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"]]
37098
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37099
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 1]]
37100
+  (0.0ms) rollback transaction
37101
+  (0.0ms) begin transaction
37102
+  (0.0ms) SAVEPOINT active_record_1
37103
+ 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"]]
37104
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37105
+  (0.0ms) SAVEPOINT active_record_1
37106
+ 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"]]
37107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37108
+  (0.1ms) rollback transaction
37109
+  (0.0ms) begin transaction
37110
+  (0.0ms) SAVEPOINT active_record_1
37111
+ 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"]]
37112
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37113
+  (0.0ms) SAVEPOINT active_record_1
37114
+ 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"]]
37115
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37116
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 2]]
37117
+  (0.1ms) rollback transaction
37118
+  (0.1ms) begin transaction
37119
+  (0.0ms) rollback transaction
37120
+  (0.0ms) begin transaction
37121
+  (0.0ms) rollback transaction
37122
+  (0.0ms) begin transaction
37123
+  (0.0ms) rollback transaction
37124
+  (0.0ms) begin transaction
37125
+  (0.0ms) SAVEPOINT active_record_1
37126
+ 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"]]
37127
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37128
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
37129
+  (0.1ms) rollback transaction
37130
+  (0.0ms) begin transaction
37131
+  (0.0ms) SAVEPOINT active_record_1
37132
+ 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"]]
37133
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37134
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
37135
+  (0.0ms) rollback transaction
37136
+  (0.0ms) begin transaction
37137
+  (0.0ms) SAVEPOINT active_record_1
37138
+ 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"]]
37139
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37140
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
37141
+  (0.0ms) rollback transaction
37142
+  (0.0ms) begin transaction
37143
+  (0.0ms) SAVEPOINT active_record_1
37144
+ 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"]]
37145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37146
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
37147
+  (0.0ms) rollback transaction
37148
+  (0.0ms) begin transaction
37149
+  (0.0ms) SAVEPOINT active_record_1
37150
+ 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"]]
37151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37152
+  (0.0ms) rollback transaction
37153
+  (0.0ms) begin transaction
37154
+  (0.0ms) SAVEPOINT active_record_1
37155
+ 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"]]
37156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37157
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
37158
+  (0.1ms) rollback transaction
37159
+  (0.1ms) begin transaction
37160
+  (0.0ms) rollback transaction
37161
+  (0.0ms) begin transaction
37162
+  (0.0ms) SAVEPOINT active_record_1
37163
+ 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-06-14 15:59:42.991873"], ["updated_at", "2017-06-14 15:59:42.991873"]]
37164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37165
+  (0.0ms) rollback transaction
37166
+  (0.0ms) begin transaction
37167
+  (0.0ms) SAVEPOINT active_record_1
37168
+ 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-06-14 15:59:42.995426"], ["updated_at", "2017-06-14 15:59:42.995426"]]
37169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37170
+  (0.1ms) rollback transaction
37171
+  (0.0ms) begin transaction
37172
+  (0.1ms) SAVEPOINT active_record_1
37173
+ 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-06-14 15:59:43.009004"], ["updated_at", "2017-06-14 15:59:43.009004"]]
37174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37175
+ SQL (0.1ms) UPDATE "people" SET "global_registry_mdm_id" = 'c81340b2-7e57-4978-b6b9-396f21bb0bb2' WHERE "people"."id" = ? [["id", 1]]
37176
+  (0.0ms) rollback transaction
37177
+  (0.1ms) begin transaction
37178
+  (0.0ms) rollback transaction
37179
+  (0.0ms) begin transaction
37180
+  (0.7ms) rollback transaction
37181
+  (0.0ms) begin transaction
37182
+  (0.1ms) SAVEPOINT active_record_1
37183
+ 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-06-14 15:59:43.023473"], ["updated_at", "2017-06-14 15:59:43.023473"]]
37184
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37185
+  (0.0ms) rollback transaction
37186
+  (0.0ms) begin transaction
37187
+  (0.0ms) SAVEPOINT active_record_1
37188
+ 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-06-14 15:59:43.028095"], ["updated_at", "2017-06-14 15:59:43.028095"]]
37189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37190
+  (0.0ms) rollback transaction
37191
+  (0.0ms) begin transaction
37192
+  (0.1ms) SAVEPOINT active_record_1
37193
+ 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-06-14 15:59:43.032729"], ["updated_at", "2017-06-14 15:59:43.032729"]]
37194
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37195
+  (0.0ms) rollback transaction
37196
+  (0.0ms) begin transaction
37197
+  (0.0ms) rollback transaction
37198
+  (0.0ms) begin transaction
37199
+  (0.1ms) SAVEPOINT active_record_1
37200
+ 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-06-14 15:59:43.039156"], ["updated_at", "2017-06-14 15:59:43.039156"]]
37201
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37202
+  (0.0ms) rollback transaction
37203
+  (0.0ms) begin transaction
37204
+  (0.1ms) SAVEPOINT active_record_1
37205
+ 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-06-14 15:59:43.042910"], ["updated_at", "2017-06-14 15:59:43.042910"]]
37206
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37207
+  (0.0ms) rollback transaction
37208
+  (0.0ms) begin transaction
37209
+  (0.0ms) SAVEPOINT active_record_1
37210
+ 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-06-14 15:59:43.047310"], ["updated_at", "2017-06-14 15:59:43.047310"]]
37211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37212
+  (0.1ms) rollback transaction
37213
+  (0.0ms) begin transaction
37214
+  (0.1ms) SAVEPOINT active_record_1
37215
+ 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-06-14 15:59:43.052033"], ["updated_at", "2017-06-14 15:59:43.052033"]]
37216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37217
+  (0.0ms) rollback transaction
37218
+  (0.0ms) DROP TABLE IF EXISTS "people"
37219
+  (0.9ms) SELECT sqlite_version(*)
37220
+  (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, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
37221
+  (0.0ms) DROP TABLE IF EXISTS "addresses"
37222
+  (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)
37223
+  (0.1ms) CREATE INDEX "index_addresses_on_person_id" ON "addresses" ("person_id")
37224
+  (0.0ms) DROP TABLE IF EXISTS "organizations"
37225
+  (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, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
37226
+  (0.1ms) CREATE INDEX "index_organizations_on_parent_id" ON "organizations" ("parent_id")
37227
+  (0.0ms) DROP TABLE IF EXISTS "assignments"
37228
+  (0.1ms) CREATE TABLE "assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "global_registry_id" varchar, "role" varchar, "hired_at" datetime, "person_id" integer, "organization_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
37229
+  (0.1ms) CREATE INDEX "index_assignments_on_person_id" ON "assignments" ("person_id")
37230
+  (0.2ms)  SELECT sql
37231
+ FROM sqlite_master
37232
+ WHERE name='index_assignments_on_person_id' AND type='index'
37233
+ UNION ALL
37234
+ SELECT sql
37235
+ FROM sqlite_temp_master
37236
+ WHERE name='index_assignments_on_person_id' AND type='index'
37237
+ 
37238
+  (0.1ms) CREATE INDEX "index_assignments_on_organization_id" ON "assignments" ("organization_id")
37239
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
37240
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
37241
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES (0)
37242
+  (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)
37243
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
37244
+  (0.0ms) begin transaction
37245
+ SQL (0.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-06-14 16:00:22.389629"], ["updated_at", "2017-06-14 16:00:22.389629"]]
37246
+  (0.0ms) commit transaction
37247
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
37248
+  (0.0ms) begin transaction
37249
+  (0.0ms) commit transaction
37250
+  (0.1ms) begin transaction
37251
+  (0.1ms) rollback transaction
37252
+  (0.0ms) begin transaction
37253
+  (0.0ms) rollback transaction
37254
+  (0.0ms) begin transaction
37255
+  (0.0ms) rollback transaction
37256
+  (0.0ms) begin transaction
37257
+  (0.0ms) rollback transaction
37258
+  (0.0ms) begin transaction
37259
+  (0.0ms) rollback transaction
37260
+  (0.0ms) begin transaction
37261
+  (0.0ms) rollback transaction
37262
+  (0.0ms) begin transaction
37263
+  (0.1ms) rollback transaction
37264
+  (0.0ms) begin transaction
37265
+  (0.0ms) rollback transaction
37266
+  (0.1ms) begin transaction
37267
+  (0.0ms) rollback transaction
37268
+  (0.0ms) begin transaction
37269
+  (0.0ms) SAVEPOINT active_record_1
37270
+ 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"]]
37271
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37272
+  (0.1ms) rollback transaction
37273
+  (0.0ms) begin transaction
37274
+  (0.0ms) SAVEPOINT active_record_1
37275
+ 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"]]
37276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37277
+  (0.0ms) SAVEPOINT active_record_1
37278
+ 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"]]
37279
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37280
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
37281
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
37282
+  (0.0ms) rollback transaction
37283
+  (0.0ms) begin transaction
37284
+  (0.0ms) SAVEPOINT active_record_1
37285
+ 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"]]
37286
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37287
+  (0.0ms) SAVEPOINT active_record_1
37288
+ 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"]]
37289
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37290
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
37291
+  (0.1ms) rollback transaction
37292
+  (0.0ms) begin transaction
37293
+  (0.0ms) SAVEPOINT active_record_1
37294
+ 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"]]
37295
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37296
+  (0.0ms) SAVEPOINT active_record_1
37297
+ 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"]]
37298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37299
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
37300
+  (0.1ms) rollback transaction
37301
+  (0.1ms) begin transaction
37302
+  (0.0ms) SAVEPOINT active_record_1
37303
+ 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"]]
37304
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37305
+  (0.0ms) SAVEPOINT active_record_1
37306
+ 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"]]
37307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37308
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
37309
+  (0.0ms) rollback transaction
37310
+  (0.0ms) begin transaction
37311
+  (0.0ms) SAVEPOINT active_record_1
37312
+ 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"]]
37313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37314
+  (0.0ms) SAVEPOINT active_record_1
37315
+ 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"]]
37316
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37317
+ SQL (0.0ms) UPDATE "addresses" SET "global_registry_id" = '0a594356-3f1c-11e7-bba6-129bd0521531' WHERE "addresses"."id" = ? [["id", 1]]
37318
+  (0.1ms) rollback transaction
37319
+  (0.0ms) begin transaction
37320
+  (0.1ms) rollback transaction
37321
+  (0.0ms) begin transaction
37322
+  (0.0ms) SAVEPOINT active_record_1
37323
+ 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"]]
37324
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37325
+  (0.0ms) SAVEPOINT active_record_1
37326
+ 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"]]
37327
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37328
+  (0.0ms) SAVEPOINT active_record_1
37329
+ 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"]]
37330
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37331
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
37332
+  (0.1ms) rollback transaction
37333
+  (0.0ms) begin transaction
37334
+  (0.0ms) SAVEPOINT active_record_1
37335
+ 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"]]
37336
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37337
+  (0.0ms) SAVEPOINT active_record_1
37338
+ 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"]]
37339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37340
+  (0.0ms) SAVEPOINT active_record_1
37341
+ 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"]]
37342
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37343
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
37344
+  (0.1ms) rollback transaction
37345
+  (0.0ms) begin transaction
37346
+  (0.0ms) SAVEPOINT active_record_1
37347
+ 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"]]
37348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37349
+  (0.0ms) SAVEPOINT active_record_1
37350
+ 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"]]
37351
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37352
+  (0.0ms) SAVEPOINT active_record_1
37353
+ 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"]]
37354
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37355
+ SQL (0.0ms) UPDATE "assignments" SET "global_registry_id" = '51a014a4-4252-11e7-944f-129bd0521531' WHERE "assignments"."id" = ? [["id", 1]]
37356
+  (0.1ms) rollback transaction
37357
+  (0.0ms) begin transaction
37358
+  (0.0ms) SAVEPOINT active_record_1
37359
+ 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"]]
37360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37361
+  (0.0ms) SAVEPOINT active_record_1
37362
+ 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"]]
37363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37364
+  (0.0ms) SAVEPOINT active_record_1
37365
+ 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"]]
37366
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37367
+  (0.0ms) rollback transaction
37368
+  (0.0ms) begin transaction
37369
+  (0.1ms) SAVEPOINT active_record_1
37370
+ 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-06-14 16:00:23.094927"], ["updated_at", "2017-06-14 16:00:23.094927"]]
37371
+ SQL (0.1ms) 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", "2017-06-14"], ["created_at", "2017-06-14 16:00:23.095840"], ["updated_at", "2017-06-14 16:00:23.095840"]]
37372
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 16:00:23.094289"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 16:00:23.096479"], ["updated_at", "2017-06-14 16:00:23.096479"]]
37373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37374
+  (0.0ms) rollback transaction
37375
+  (0.0ms) begin transaction
37376
+  (0.0ms) SAVEPOINT active_record_1
37377
+ 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-06-14 16:00:23.102571"], ["updated_at", "2017-06-14 16:00:23.102571"]]
37378
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-06-14"], ["created_at", "2017-06-14 16:00:23.103375"], ["updated_at", "2017-06-14 16:00:23.103375"]]
37379
+ SQL (0.2ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 16:00:23.102004"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 16:00:23.103974"], ["updated_at", "2017-06-14 16:00:23.103974"]]
37380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37381
+  (0.0ms) rollback transaction
37382
+  (0.1ms) begin transaction
37383
+  (0.1ms) SAVEPOINT active_record_1
37384
+ 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-06-14 16:00:23.110778"], ["updated_at", "2017-06-14 16:00:23.110778"]]
37385
+ SQL (0.1ms) INSERT INTO "organizations" ("name", "description", "start_date", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "Organization"], ["description", "Fancy Organization"], ["start_date", "2017-06-14"], ["created_at", "2017-06-14 16:00:23.111723"], ["updated_at", "2017-06-14 16:00:23.111723"]]
37386
+ SQL (0.1ms) INSERT INTO "assignments" ("role", "hired_at", "person_id", "organization_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["role", "leader"], ["hired_at", "2017-04-14 16:00:23.110034"], ["person_id", 1], ["organization_id", 1], ["created_at", "2017-06-14 16:00:23.112435"], ["updated_at", "2017-06-14 16:00:23.112435"]]
37387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37388
+  (0.1ms) rollback transaction
37389
+  (0.0ms) begin transaction
37390
+  (0.0ms) rollback transaction
37391
+  (0.0ms) begin transaction
37392
+  (0.0ms) rollback transaction
37393
+  (0.0ms) begin transaction
37394
+  (0.0ms) rollback transaction
37395
+  (0.0ms) begin transaction
37396
+  (0.0ms) SAVEPOINT active_record_1
37397
+ 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"]]
37398
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37399
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 1]]
37400
+  (0.0ms) rollback transaction
37401
+  (0.0ms) begin transaction
37402
+  (0.0ms) SAVEPOINT active_record_1
37403
+ 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"]]
37404
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37405
+  (0.0ms) SAVEPOINT active_record_1
37406
+ 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"]]
37407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37408
+  (0.1ms) rollback transaction
37409
+  (0.0ms) begin transaction
37410
+  (0.0ms) SAVEPOINT active_record_1
37411
+ 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"]]
37412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37413
+  (0.0ms) SAVEPOINT active_record_1
37414
+ 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"]]
37415
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37416
+ SQL (0.0ms) UPDATE "organizations" SET "gr_id" = 'aebb4170-3f34-11e7-bba6-129bd0521531' WHERE "organizations"."id" = ? [["id", 2]]
37417
+  (0.0ms) rollback transaction
37418
+  (0.0ms) begin transaction
37419
+  (0.0ms) rollback transaction
37420
+  (0.0ms) begin transaction
37421
+  (0.0ms) rollback transaction
37422
+  (0.0ms) begin transaction
37423
+  (0.0ms) rollback transaction
37424
+  (0.0ms) begin transaction
37425
+  (0.0ms) SAVEPOINT active_record_1
37426
+ 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"]]
37427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37428
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
37429
+  (0.0ms) rollback transaction
37430
+  (0.0ms) begin transaction
37431
+  (0.0ms) SAVEPOINT active_record_1
37432
+ 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"]]
37433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37434
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
37435
+  (0.0ms) rollback transaction
37436
+  (0.1ms) begin transaction
37437
+  (0.0ms) SAVEPOINT active_record_1
37438
+ 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"]]
37439
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37440
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
37441
+  (0.1ms) rollback transaction
37442
+  (0.0ms) begin transaction
37443
+  (0.0ms) SAVEPOINT active_record_1
37444
+ 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"]]
37445
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37446
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
37447
+  (0.0ms) rollback transaction
37448
+  (0.0ms) begin transaction
37449
+  (0.0ms) SAVEPOINT active_record_1
37450
+ 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"]]
37451
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37452
+  (0.0ms) rollback transaction
37453
+  (0.0ms) begin transaction
37454
+  (0.0ms) SAVEPOINT active_record_1
37455
+ 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"]]
37456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37457
+ SQL (0.0ms) UPDATE "people" SET "global_registry_id" = '22527d88-3cba-11e7-b876-129bd0521531' WHERE "people"."id" = ? [["id", 1]]
37458
+  (0.0ms) rollback transaction
37459
+  (0.0ms) begin transaction
37460
+  (0.0ms) rollback transaction
37461
+  (0.0ms) begin transaction
37462
+  (0.1ms) SAVEPOINT active_record_1
37463
+ 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-06-14 16:00:23.244156"], ["updated_at", "2017-06-14 16:00:23.244156"]]
37464
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37465
+  (0.0ms) rollback transaction
37466
+  (0.0ms) begin transaction
37467
+  (0.0ms) SAVEPOINT active_record_1
37468
+ 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-06-14 16:00:23.247334"], ["updated_at", "2017-06-14 16:00:23.247334"]]
37469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37470
+  (0.0ms) rollback transaction
37471
+  (0.0ms) begin transaction
37472
+  (0.0ms) SAVEPOINT active_record_1
37473
+ 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-06-14 16:00:23.252234"], ["updated_at", "2017-06-14 16:00:23.252234"]]
37474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37475
+ SQL (0.1ms) UPDATE "people" SET "global_registry_mdm_id" = 'c81340b2-7e57-4978-b6b9-396f21bb0bb2' WHERE "people"."id" = ? [["id", 1]]
37476
+  (0.0ms) rollback transaction
37477
+  (0.0ms) begin transaction
37478
+  (0.0ms) rollback transaction
37479
+  (0.0ms) begin transaction
37480
+  (0.0ms) rollback transaction
37481
+  (0.0ms) begin transaction
37482
+  (0.1ms) SAVEPOINT active_record_1
37483
+ 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-06-14 16:00:23.261080"], ["updated_at", "2017-06-14 16:00:23.261080"]]
37484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37485
+  (0.0ms) rollback transaction
37486
+  (0.0ms) begin transaction
37487
+  (0.0ms) SAVEPOINT active_record_1
37488
+ 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-06-14 16:00:23.264866"], ["updated_at", "2017-06-14 16:00:23.264866"]]
37489
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37490
+  (0.0ms) rollback transaction
37491
+  (0.0ms) begin transaction
37492
+  (0.0ms) SAVEPOINT active_record_1
37493
+ 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-06-14 16:00:23.268024"], ["updated_at", "2017-06-14 16:00:23.268024"]]
37494
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37495
+  (0.0ms) rollback transaction
37496
+  (0.5ms) begin transaction
37497
+  (0.0ms) rollback transaction
37498
+  (0.0ms) begin transaction
37499
+  (0.1ms) SAVEPOINT active_record_1
37500
+ 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-06-14 16:00:23.278485"], ["updated_at", "2017-06-14 16:00:23.278485"]]
37501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37502
+  (0.0ms) rollback transaction
37503
+  (0.1ms) begin transaction
37504
+  (0.1ms) SAVEPOINT active_record_1
37505
+ 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-06-14 16:00:23.283562"], ["updated_at", "2017-06-14 16:00:23.283562"]]
37506
+  (0.1ms) RELEASE SAVEPOINT active_record_1
37507
+  (0.0ms) rollback transaction
37508
+  (0.0ms) begin transaction
37509
+  (0.0ms) SAVEPOINT active_record_1
37510
+ 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-06-14 16:00:23.288382"], ["updated_at", "2017-06-14 16:00:23.288382"]]
37511
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37512
+  (0.0ms) rollback transaction
37513
+  (0.1ms) begin transaction
37514
+  (0.1ms) SAVEPOINT active_record_1
37515
+ 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-06-14 16:00:23.292815"], ["updated_at", "2017-06-14 16:00:23.292815"]]
37516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37517
+  (0.0ms) rollback transaction