switchman 1.5.1 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/switchman/shard_internal.rb +8 -3
  3. data/lib/switchman/engine.rb +3 -0
  4. data/lib/switchman/version.rb +1 -1
  5. data/spec/dummy/db/schema.rb +17 -17
  6. data/spec/dummy/db/shard_17.sqlite3 +0 -0
  7. data/spec/dummy/db/shard_35.sqlite3 +0 -0
  8. data/spec/dummy/db/shard_4002.sqlite3 +0 -0
  9. data/spec/dummy/db/shard_4083.sqlite3 +0 -0
  10. data/spec/dummy/db/shard_4119.sqlite3 +0 -0
  11. data/spec/dummy/db/shard_4153.sqlite3 +0 -0
  12. data/spec/dummy/db/shard_4184.sqlite3 +0 -0
  13. data/spec/dummy/db/shard_4198.sqlite3 +0 -0
  14. data/spec/dummy/db/shard_4245.sqlite3 +0 -0
  15. data/spec/dummy/db/shard_4252.sqlite3 +0 -0
  16. data/spec/dummy/db/shard_4279.sqlite3 +0 -0
  17. data/spec/dummy/db/shard_4326.sqlite3 +0 -0
  18. data/spec/dummy/db/shard_4338.sqlite3 +0 -0
  19. data/spec/dummy/db/shard_4422.sqlite3 +0 -0
  20. data/spec/dummy/log/test.log +77552 -0
  21. data/spec/dummy/tmp/cache/2E3/840/shard%2F3 +1 -0
  22. data/spec/dummy/tmp/cache/2E4/850/shard%2F4 +1 -0
  23. data/spec/dummy/tmp/cache/2E8/890/shard%2F8 +1 -0
  24. data/spec/dummy/tmp/cache/314/980/shard%2F31 +1 -0
  25. data/spec/dummy/tmp/cache/315/990/shard%2F32 +1 -0
  26. data/spec/dummy/tmp/cache/316/9B0/shard%2F42 +1 -0
  27. data/spec/dummy/tmp/cache/316/9D0/shard%2F60 +1 -0
  28. data/spec/dummy/tmp/cache/318/9F0/shard%2F62 +1 -0
  29. data/spec/dummy/tmp/cache/318/A10/shard%2F80 +1 -0
  30. data/spec/dummy/tmp/cache/319/A20/shard%2F81 +1 -0
  31. data/spec/dummy/tmp/cache/31A/A20/shard%2F73 +1 -0
  32. data/spec/dummy/tmp/cache/31A/A40/shard%2F91 +1 -0
  33. data/spec/dummy/tmp/cache/31B/A30/shard%2F74 +1 -0
  34. data/spec/dummy/tmp/cache/31B/A40/shard%2F83 +0 -0
  35. data/spec/dummy/tmp/cache/31C/A30/shard%2F66 +1 -0
  36. data/spec/dummy/tmp/cache/31D/A40/shard%2F67 +1 -0
  37. data/spec/dummy/tmp/cache/31D/A50/shard%2F76 +1 -0
  38. data/spec/dummy/tmp/cache/31D/A70/shard%2F94 +1 -0
  39. data/spec/dummy/tmp/cache/31E/A40/shard%2F59 +1 -0
  40. data/spec/dummy/tmp/cache/31E/A80/shard%2F95 +1 -0
  41. data/spec/dummy/tmp/cache/31F/A60/shard%2F69 +1 -0
  42. data/spec/dummy/tmp/cache/31F/A80/shard%2F87 +1 -0
  43. data/spec/dummy/tmp/cache/320/A90/shard%2F88 +1 -0
  44. data/spec/dummy/tmp/cache/321/AB0/shard%2F98 +1 -0
  45. data/spec/dummy/tmp/cache/342/D50/shard%2F101 +1 -0
  46. data/spec/dummy/tmp/cache/343/D60/shard%2F102 +1 -0
  47. data/spec/dummy/tmp/cache/344/D80/shard%2F112 +1 -0
  48. data/spec/dummy/tmp/cache/344/DA0/shard%2F130 +1 -0
  49. data/spec/dummy/tmp/cache/345/DA0/shard%2F122 +1 -0
  50. data/spec/dummy/tmp/cache/345/DC0/shard%2F140 +1 -0
  51. data/spec/dummy/tmp/cache/346/D90/shard%2F105 +1 -0
  52. data/spec/dummy/tmp/cache/346/DB0/shard%2F123 +1 -0
  53. data/spec/dummy/tmp/cache/346/DE0/shard%2F150 +1 -0
  54. data/spec/dummy/tmp/cache/347/DB0/shard%2F115 +1 -0
  55. data/spec/dummy/tmp/cache/347/DF0/shard%2F151 +1 -1
  56. data/spec/dummy/tmp/cache/348/DC0/shard%2F116 +1 -0
  57. data/spec/dummy/tmp/cache/348/DD0/shard%2F125 +1 -0
  58. data/spec/dummy/tmp/cache/348/DE0/shard%2F134 +1 -0
  59. data/spec/dummy/tmp/cache/348/DF0/shard%2F143 +1 -0
  60. data/spec/dummy/tmp/cache/349/DC0/shard%2F108 +1 -0
  61. data/spec/dummy/tmp/cache/349/E00/shard%2F144 +1 -0
  62. data/spec/dummy/tmp/cache/34A/DD0/shard%2F109 +1 -0
  63. data/spec/dummy/tmp/cache/34A/DE0/shard%2F118 +1 -0
  64. data/spec/dummy/tmp/cache/34A/E00/shard%2F136 +1 -0
  65. data/spec/dummy/tmp/cache/34A/E20/shard%2F154 +1 -0
  66. data/spec/dummy/tmp/cache/34B/E10/shard%2F137 +1 -0
  67. data/spec/dummy/tmp/cache/34C/E10/shard%2F129 +1 -0
  68. data/spec/dummy/tmp/cache/34C/E30/shard%2F147 +1 -0
  69. data/spec/dummy/tmp/cache/378/590/shard%2F4040 +1 -0
  70. data/spec/dummy/tmp/cache/379/590/shard%2F4113 +1 -0
  71. data/spec/dummy/tmp/cache/37A/590/shard%2F4024 +1 -0
  72. data/spec/dummy/tmp/cache/37A/5C0/shard%2F4051 +1 -0
  73. data/spec/dummy/tmp/cache/37A/5F0/shard%2F4402 +1 -0
  74. data/spec/dummy/tmp/cache/37B/5E0/shard%2F4304 +1 -0
  75. data/spec/dummy/tmp/cache/37B/600/shard%2F4241 +1 -0
  76. data/spec/dummy/tmp/cache/37C/5D0/shard%2F4044 +1 -0
  77. data/spec/dummy/tmp/cache/37C/610/shard%2F4080 +1 -0
  78. data/spec/dummy/tmp/cache/37C/610/shard%2F4161 +1 -0
  79. data/spec/dummy/tmp/cache/37D/5A0/shard%2F4009 +1 -0
  80. data/spec/dummy/tmp/cache/37D/5C0/shard%2F4027 +1 -0
  81. data/spec/dummy/tmp/cache/37D/5F0/shard%2F4054 +1 -0
  82. data/spec/dummy/tmp/cache/37D/660/shard%2F4360 +1 -0
  83. data/spec/dummy/tmp/cache/37E/5E0/shard%2F4037 +1 -0
  84. data/spec/dummy/tmp/cache/37E/600/shard%2F4136 +1 -0
  85. data/spec/dummy/tmp/cache/37E/620/shard%2F4073 +1 -0
  86. data/spec/dummy/tmp/cache/37E/630/shard%2F4325 +1 -0
  87. data/spec/dummy/tmp/cache/37E/660/shard%2F4352 +1 -0
  88. data/spec/dummy/tmp/cache/37F/600/shard%2F4047 +1 -0
  89. data/spec/dummy/tmp/cache/37F/610/shard%2F4137 +1 -0
  90. data/spec/dummy/tmp/cache/37F/630/shard%2F4074 +1 -0
  91. data/spec/dummy/tmp/cache/37F/640/shard%2F4164 +1 -0
  92. data/spec/dummy/tmp/cache/37F/680/shard%2F4281 +1 -0
  93. data/spec/dummy/tmp/cache/380/650/shard%2F4408 +1 -0
  94. data/spec/dummy/tmp/cache/380/670/shard%2F4183 +1 -0
  95. data/spec/dummy/tmp/cache/380/680/shard%2F4192 +1 -0
  96. data/spec/dummy/tmp/cache/380/690/shard%2F4363 +1 -0
  97. data/spec/dummy/tmp/cache/380/6A0/shard%2F4372 +1 -0
  98. data/spec/dummy/tmp/cache/380/6B0/shard%2F4381 +1 -0
  99. data/spec/dummy/tmp/cache/380/6C0/shard%2F4390 +1 -0
  100. data/spec/dummy/tmp/cache/381/690/shard%2F4193 +1 -0
  101. data/spec/dummy/tmp/cache/382/660/shard%2F4077 +1 -0
  102. data/spec/dummy/tmp/cache/382/670/shard%2F4086 +1 -0
  103. data/spec/dummy/tmp/cache/383/690/shard%2F4258 +1 -0
  104. data/spec/dummy/tmp/cache/383/6C0/shard%2F4366 +1 -0
  105. data/spec/dummy/tmp/cache/383/6D0/shard%2F4375 +1 -0
  106. data/spec/dummy/tmp/cache/383/6E0/shard%2F4384 +1 -0
  107. data/spec/dummy/tmp/cache/383/6F0/shard%2F4393 +1 -0
  108. data/spec/dummy/tmp/cache/384/6C0/shard%2F4196 +1 -0
  109. data/spec/dummy/tmp/cache/386/6F0/shard%2F4369 +1 -0
  110. data/spec/dummy/tmp/cache/386/700/shard%2F4378 +1 -0
  111. data/spec/dummy/tmp/cache/386/710/shard%2F4387 +1 -0
  112. data/spec/dummy/tmp/cache/386/720/shard%2F4396 +1 -0
  113. data/spec/dummy/tmp/cache/389/750/shard%2F4399 +1 -0
  114. data/spec/dummy/tmp/cache/3A4/EB0/shard%2F10102 +1 -0
  115. data/spec/dummy/tmp/cache/3A5/EF0/shard%2F10130 +1 -0
  116. data/spec/dummy/tmp/cache/3A6/EE0/shard%2F10032 +1 -0
  117. data/spec/dummy/tmp/cache/3A7/F00/shard%2F10123 +1 -0
  118. data/spec/dummy/tmp/cache/3A8/F40/shard%2F10151 +1 -0
  119. data/spec/dummy/tmp/cache/3A9/F10/shard%2F10116 +1 -0
  120. data/spec/dummy/tmp/cache/3AA/010/shard%2F14221 +1 -0
  121. data/spec/dummy/tmp/cache/3AA/F50/shard%2F10144 +1 -0
  122. data/spec/dummy/tmp/cache/3AA/F70/shard%2F10081 +1 -0
  123. data/spec/dummy/tmp/cache/3AB/010/shard%2F14051 +1 -0
  124. data/spec/dummy/tmp/cache/3AB/F20/shard%2F10109 +1 -0
  125. data/spec/dummy/tmp/cache/3AB/FE0/shard%2F14024 +1 -0
  126. data/spec/dummy/tmp/cache/3AC/F80/shard%2F10074 +1 -0
  127. data/spec/dummy/tmp/cache/3AD/020/shard%2F14044 +1 -0
  128. data/spec/dummy/tmp/cache/3AD/040/shard%2F14305 +1 -0
  129. data/spec/dummy/tmp/cache/3AE/070/shard%2F14081 +1 -0
  130. data/spec/dummy/tmp/cache/3AE/F90/shard%2F10067 +1 -0
  131. data/spec/dummy/tmp/cache/3AF/020/shard%2F14109 +1 -0
  132. data/spec/dummy/tmp/cache/3AF/030/shard%2F14037 +1 -0
  133. data/spec/dummy/tmp/cache/3AF/080/shard%2F14406 +1 -0
  134. data/spec/dummy/tmp/cache/3AF/FD0/shard%2F10095 +1 -0
  135. data/spec/dummy/tmp/cache/3B0/060/shard%2F14137 +1 -0
  136. data/spec/dummy/tmp/cache/3B0/080/shard%2F14074 +1 -0
  137. data/spec/dummy/tmp/cache/3B0/0A0/shard%2F14335 +1 -0
  138. data/spec/dummy/tmp/cache/3B1/0A0/shard%2F14165 +1 -0
  139. data/spec/dummy/tmp/cache/3B1/FE0/shard%2F10088 +1 -0
  140. data/spec/dummy/tmp/cache/3B2/0E0/shard%2F14193 +1 -0
  141. data/spec/dummy/tmp/cache/3B4/0D0/shard%2F14249 +1 -0
  142. data/spec/dummy/tmp/cache/3B5/110/shard%2F14277 +1 -0
  143. data/spec/dummy/tmp/cache/3B6/1F0/shard%2F13990 +1 -0
  144. data/spec/models/shard_spec.rb +7 -0
  145. metadata +286 -16
  146. data/spec/dummy/tmp/cache/316/980/shard%2F15 +0 -1
  147. data/spec/dummy/tmp/cache/319/A10/shard%2F72 +0 -1
  148. data/spec/dummy/tmp/cache/31A/A30/shard%2F82 +0 -0
  149. data/spec/dummy/tmp/cache/31C/A10/shard%2F48 +0 -1
  150. data/spec/dummy/tmp/cache/31C/A50/shard%2F84 +0 -1
  151. data/spec/dummy/tmp/cache/344/D90/shard%2F121 +0 -1
  152. data/spec/dummy/tmp/cache/347/DE0/shard%2F142 +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c842dbbf4a93a109228a74c3201eb30595cda74
4
- data.tar.gz: e817d143e3f256daddee6f7d69b86435735403ca
3
+ metadata.gz: 42d95aac3ca4c4479ba34844591f163b2c340ccf
4
+ data.tar.gz: 70bceb1975a2dd240ea3023f0ebc4f82761bad94
5
5
  SHA512:
6
- metadata.gz: 8bdaa4e4453341ce93909598520ef3dfdaa36c4767e40424d37c3db4a545e08cf9486d52278c319c590182222b0d43a6c5eab224ced77ef889957f7f2da98252
7
- data.tar.gz: 1ef120e99fba7d3e63107254c31afa36b13492f39ac37b4998739baf944842da374bda2584cba3c757c7207e51fb61ce0657cf1617c05eef805e38997e0fb497
6
+ metadata.gz: 6ec218e268971856e61ea841f4a2a63957eb11166512823fb9de28414d810fec3a90a6f6a0187f5e7596cc65426b3f3ab5bba51b56895e137d8365f63e4c8325
7
+ data.tar.gz: 94faec4cf0c98407c83c1939389331a3dad97dcae41af468c13429f017e344cdaf76a141517c6102448bafddec68b5ff07ec55d169816e0ab87fb662f6455159
@@ -51,8 +51,6 @@ module Switchman
51
51
 
52
52
  # the first time we need a dummy dummy for re-entrancy to avoid looping on ourselves
53
53
  @default ||= default
54
- # forget our current shard activations - it might have "another" default shard serialized there
55
- active_shards.clear
56
54
 
57
55
  # Now find the actual record, if it exists; rescue the fake default if the table doesn't exist
58
56
  @default = begin
@@ -60,7 +58,14 @@ module Switchman
60
58
  rescue
61
59
  default
62
60
  end
63
- activate!(:default => @default)
61
+
62
+ # rebuild current shard activations - it might have "another" default shard serialized there
63
+ active_shards.replace(active_shards.map do |category, shard|
64
+ shard = Shard.lookup((!shard || shard.default?) ? 'default' : shard.id)
65
+ [category, shard]
66
+ end.to_h)
67
+
68
+ activate!(default: @default) if active_shards.empty?
64
69
  end
65
70
  @default
66
71
  end
@@ -98,6 +98,9 @@ module Switchman
98
98
  ::ActiveRecord::StatementCache::Substitute.send(:attr_accessor, :primary, :sharded)
99
99
 
100
100
  ::ActiveRecord::Associations::CollectionAssociation.prepend(ActiveRecord::CollectionAssociation)
101
+ end
102
+
103
+ if ::Rails.version >= '4.1.15'
101
104
  ::ActiveRecord::PredicateBuilder.singleton_class.prepend(ActiveRecord::PredicateBuilder)
102
105
  end
103
106
 
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.5.1"
2
+ VERSION = "1.5.2"
3
3
  end
@@ -19,15 +19,15 @@ ActiveRecord::Schema.define(version: 20160122150718) do
19
19
  create_table "appendages", id: :bigserial, force: :cascade do |t|
20
20
  t.integer "user_id", limit: 8
21
21
  t.integer "value"
22
- t.datetime "created_at", null: false
23
- t.datetime "updated_at", null: false
22
+ t.datetime "created_at"
23
+ t.datetime "updated_at"
24
24
  end
25
25
 
26
26
  create_table "digits", id: :bigserial, force: :cascade do |t|
27
27
  t.integer "appendage_id", limit: 8
28
28
  t.integer "value"
29
- t.datetime "created_at", null: false
30
- t.datetime "updated_at", null: false
29
+ t.datetime "created_at"
30
+ t.datetime "updated_at"
31
31
  end
32
32
 
33
33
  create_table "faces", id: :bigserial, force: :cascade do |t|
@@ -38,35 +38,35 @@ ActiveRecord::Schema.define(version: 20160122150718) do
38
38
 
39
39
  create_table "features", id: :bigserial, force: :cascade do |t|
40
40
  t.integer "owner_id", limit: 8
41
- t.string "owner_type", limit: 255
41
+ t.string "owner_type"
42
42
  t.integer "value"
43
- t.datetime "created_at", null: false
44
- t.datetime "updated_at", null: false
43
+ t.datetime "created_at"
44
+ t.datetime "updated_at"
45
45
  end
46
46
 
47
47
  create_table "mirror_users", id: :bigserial, force: :cascade do |t|
48
48
  t.integer "user_id", limit: 8
49
- t.datetime "created_at", null: false
50
- t.datetime "updated_at", null: false
49
+ t.datetime "created_at"
50
+ t.datetime "updated_at"
51
51
  end
52
52
 
53
53
  create_table "roots", id: :bigserial, force: :cascade do |t|
54
54
  t.integer "user_id", limit: 8
55
- t.datetime "created_at", null: false
56
- t.datetime "updated_at", null: false
55
+ t.datetime "created_at"
56
+ t.datetime "updated_at"
57
57
  end
58
58
 
59
59
  create_table "switchman_shards", id: :bigserial, force: :cascade do |t|
60
- t.string "name", limit: 255
61
- t.string "database_server_id", limit: 255
62
- t.boolean "default", default: false, null: false
60
+ t.string "name"
61
+ t.string "database_server_id"
62
+ t.boolean "default", default: false, null: false
63
63
  end
64
64
 
65
65
  create_table "users", id: :bigserial, force: :cascade do |t|
66
- t.string "name", limit: 255
66
+ t.string "name"
67
67
  t.integer "mirror_user_id", limit: 8
68
- t.datetime "created_at", null: false
69
- t.datetime "updated_at", null: false
68
+ t.datetime "created_at"
69
+ t.datetime "updated_at"
70
70
  t.integer "parent_id", limit: 8
71
71
  t.integer "broken_id", limit: 8
72
72
  end
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -30831,3 +30831,77555 @@ Migrating to CreateFaces (20160122150718)
30831
30831
   (0.2ms) BEGIN
30832
30832
  SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", nil]]
30833
30833
   (0.1ms) COMMIT
30834
+  (1.7ms) SELECT * FROM unnest(current_schemas(false))
30835
+ Switchman::Shard Load (6.9ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
30836
+ SQL (0.4ms) DELETE FROM "switchman_shards"
30837
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
30838
+  (0.1ms) BEGIN
30839
+ Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
30840
+ SQL (0.5ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]]
30841
+  (11.9ms) COMMIT
30842
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
30843
+ Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (database_server_id IS NULL OR database_server_id='test') AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1
30844
+  (0.1ms) BEGIN
30845
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
30846
+  (9.3ms) CREATE SCHEMA switchman_test_shard_3977 [test:3977 deploy]
30847
+  (0.1ms) SAVEPOINT active_record_1 [test:3977 deploy]
30848
+  (45.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [test:3977 deploy]
30849
+  (7.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [test:3977 deploy]
30850
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [test:3977 deploy]
30851
+ Migrating to CreateSwitchmanShards (20130328212039)
30852
+  (33.0ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL) [test:3977 deploy]
30853
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [test:3977 deploy]
30854
+ Migrating to CreateDefaultShard (20130328224244)
30855
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [test:3977 deploy]
30856
+ Migrating to CreateUsers (20130403132607)
30857
+  (25.1ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3977 deploy]
30858
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [test:3977 deploy]
30859
+ Migrating to CreateAppendages (20130411202442)
30860
+  (7.3ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3977 deploy]
30861
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [test:3977 deploy]
30862
+ Migrating to CreateMirrorUsers (20130411202551)
30863
+  (19.1ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3977 deploy]
30864
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [test:3977 deploy]
30865
+ Migrating to CreateDigits (20131022202028)
30866
+  (13.2ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3977 deploy]
30867
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [test:3977 deploy]
30868
+ Migrating to CreateFeatures (20131206172923)
30869
+  (39.6ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3977 deploy]
30870
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [test:3977 deploy]
30871
+ Migrating to AddParentIdToUsers (20140123154135)
30872
+  (17.7ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [test:3977 deploy]
30873
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [test:3977 deploy]
30874
+ Migrating to CreateRoots (20140219183820)
30875
+  (13.3ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3977 deploy]
30876
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [test:3977 deploy]
30877
+ Migrating to AddDummyForeignKey (20150618035859)
30878
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [test:3977 deploy]
30879
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [test:3977 deploy]
30880
+ Migrating to CreateFaces (20160122150718)
30881
+  (7.9ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3977 deploy]
30882
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [test:3977 deploy]
30883
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3977 deploy]
30884
+ SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 3977 [["name", "switchman_test_shard_3977"]] [test:3976 master]
30885
+  (0.6ms) COMMIT [test:3976 master]
30886
+ Switchman::Shard Load (1.0ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '1' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3976 master]
30887
+  (0.1ms) BEGIN [test:3976 master]
30888
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [test:3976 master]
30889
+  (0.2ms) COMMIT [test:3976 master]
30890
+  (0.6ms) CREATE SCHEMA switchman_test_shard_3978 [1:3978 deploy]
30891
+  (0.1ms) BEGIN [1:3978 deploy]
30892
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [1:3978 deploy]
30893
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [1:3978 deploy]
30894
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [1:3978 deploy]
30895
+ Migrating to CreateSwitchmanShards (20130328212039)
30896
+  (3.5ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL)  [1:3978 deploy]
30897
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [1:3978 deploy]
30898
+ Migrating to CreateDefaultShard (20130328224244)
30899
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [1:3978 deploy]
30900
+ Migrating to CreateUsers (20130403132607)
30901
+  (7.6ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3978 deploy]
30902
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [1:3978 deploy]
30903
+ Migrating to CreateAppendages (20130411202442)
30904
+  (3.0ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3978 deploy]
30905
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [1:3978 deploy]
30906
+ Migrating to CreateMirrorUsers (20130411202551)
30907
+  (7.2ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3978 deploy]
30908
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [1:3978 deploy]
30909
+ Migrating to CreateDigits (20131022202028)
30910
+  (13.2ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3978 deploy]
30911
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [1:3978 deploy]
30912
+ Migrating to CreateFeatures (20131206172923)
30913
+  (3.5ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3978 deploy]
30914
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [1:3978 deploy]
30915
+ Migrating to AddParentIdToUsers (20140123154135)
30916
+  (0.6ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [1:3978 deploy]
30917
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [1:3978 deploy]
30918
+ Migrating to CreateRoots (20140219183820)
30919
+  (5.0ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3978 deploy]
30920
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [1:3978 deploy]
30921
+ Migrating to AddDummyForeignKey (20150618035859)
30922
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [1:3978 deploy]
30923
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [1:3978 deploy]
30924
+ Migrating to CreateFaces (20160122150718)
30925
+  (2.0ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3978 deploy]
30926
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [1:3978 deploy]
30927
+  (0.7ms) COMMIT [1:3978 deploy]
30928
+  (0.1ms) BEGIN [test:3976 master]
30929
+ SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 3978 [["name", "switchman_test_shard_3978"]] [test:3976 master]
30930
+  (0.3ms) COMMIT [test:3976 master]
30931
+ SQL (0.2ms) DELETE FROM "switchman_shards" [test:3976 master]
30932
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3976 master]
30933
+ SQL (0.1ms) DELETE FROM "switchman_shards"
30934
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
30935
+  (1.1ms) SELECT * FROM unnest(current_schemas(false))
30936
+ Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
30937
+ SQL (0.4ms) DELETE FROM "switchman_shards"
30938
+ Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
30939
+  (0.2ms) BEGIN
30940
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
30941
+ SQL (0.5ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]]
30942
+  (6.1ms) COMMIT
30943
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
30944
+ Switchman::Shard Load (1.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (database_server_id IS NULL OR database_server_id='test') AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1
30945
+  (0.1ms) BEGIN
30946
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
30947
+  (0.3ms) CREATE SCHEMA switchman_test_shard_3980 [test:3980 deploy]
30948
+  (0.2ms) SAVEPOINT active_record_1 [test:3980 deploy]
30949
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [test:3980 deploy]
30950
+  (5.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [test:3980 deploy]
30951
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [test:3980 deploy]
30952
+ Migrating to CreateSwitchmanShards (20130328212039)
30953
+  (3.4ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL) [test:3980 deploy]
30954
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [test:3980 deploy]
30955
+ Migrating to CreateDefaultShard (20130328224244)
30956
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [test:3980 deploy]
30957
+ Migrating to CreateUsers (20130403132607)
30958
+  (2.1ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3980 deploy]
30959
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [test:3980 deploy]
30960
+ Migrating to CreateAppendages (20130411202442)
30961
+  (2.0ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3980 deploy]
30962
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [test:3980 deploy]
30963
+ Migrating to CreateMirrorUsers (20130411202551)
30964
+  (1.9ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3980 deploy]
30965
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [test:3980 deploy]
30966
+ Migrating to CreateDigits (20131022202028)
30967
+  (2.3ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3980 deploy]
30968
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [test:3980 deploy]
30969
+ Migrating to CreateFeatures (20131206172923)
30970
+  (2.0ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3980 deploy]
30971
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [test:3980 deploy]
30972
+ Migrating to AddParentIdToUsers (20140123154135)
30973
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [test:3980 deploy]
30974
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [test:3980 deploy]
30975
+ Migrating to CreateRoots (20140219183820)
30976
+  (2.3ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3980 deploy]
30977
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [test:3980 deploy]
30978
+ Migrating to AddDummyForeignKey (20150618035859)
30979
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [test:3980 deploy]
30980
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [test:3980 deploy]
30981
+ Migrating to CreateFaces (20160122150718)
30982
+  (2.8ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3980 deploy]
30983
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [test:3980 deploy]
30984
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3980 deploy]
30985
+ SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 3980 [["name", "switchman_test_shard_3980"]] [test:3979 master]
30986
+  (1.1ms) COMMIT [test:3979 master]
30987
+ Switchman::Shard Load (0.7ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '1' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3979 master]
30988
+  (0.1ms) BEGIN [test:3979 master]
30989
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [test:3979 master]
30990
+  (5.8ms) COMMIT [test:3979 master]
30991
+  (0.6ms) CREATE SCHEMA switchman_test_shard_3981 [1:3981 deploy]
30992
+  (0.1ms) BEGIN [1:3981 deploy]
30993
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [1:3981 deploy]
30994
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [1:3981 deploy]
30995
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [1:3981 deploy]
30996
+ Migrating to CreateSwitchmanShards (20130328212039)
30997
+  (3.6ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL)  [1:3981 deploy]
30998
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [1:3981 deploy]
30999
+ Migrating to CreateDefaultShard (20130328224244)
31000
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [1:3981 deploy]
31001
+ Migrating to CreateUsers (20130403132607)
31002
+  (2.4ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3981 deploy]
31003
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [1:3981 deploy]
31004
+ Migrating to CreateAppendages (20130411202442)
31005
+  (1.7ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3981 deploy]
31006
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [1:3981 deploy]
31007
+ Migrating to CreateMirrorUsers (20130411202551)
31008
+  (3.5ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3981 deploy]
31009
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [1:3981 deploy]
31010
+ Migrating to CreateDigits (20131022202028)
31011
+  (2.1ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3981 deploy]
31012
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [1:3981 deploy]
31013
+ Migrating to CreateFeatures (20131206172923)
31014
+  (1.9ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3981 deploy]
31015
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [1:3981 deploy]
31016
+ Migrating to AddParentIdToUsers (20140123154135)
31017
+  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [1:3981 deploy]
31018
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [1:3981 deploy]
31019
+ Migrating to CreateRoots (20140219183820)
31020
+  (1.9ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3981 deploy]
31021
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [1:3981 deploy]
31022
+ Migrating to AddDummyForeignKey (20150618035859)
31023
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [1:3981 deploy]
31024
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [1:3981 deploy]
31025
+ Migrating to CreateFaces (20160122150718)
31026
+  (1.8ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3981 deploy]
31027
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [1:3981 deploy]
31028
+  (1.1ms) COMMIT [1:3981 deploy]
31029
+  (0.1ms) BEGIN [test:3979 master]
31030
+ SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 3981 [["name", "switchman_test_shard_3981"]] [test:3979 master]
31031
+  (0.3ms) COMMIT [test:3979 master]
31032
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:3979 master]
31033
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3979 master]
31034
+ SQL (0.5ms) DELETE FROM "switchman_shards"
31035
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31036
+  (1.0ms) SELECT * FROM unnest(current_schemas(false))
31037
+ Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31038
+ SQL (0.5ms) DELETE FROM "switchman_shards"
31039
+ Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31040
+  (0.2ms) BEGIN
31041
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
31042
+ SQL (0.5ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]]
31043
+  (0.3ms) COMMIT
31044
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31045
+ Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (database_server_id IS NULL OR database_server_id='test') AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1
31046
+  (0.1ms) BEGIN
31047
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
31048
+  (0.3ms) CREATE SCHEMA switchman_test_shard_3983 [test:3983 deploy]
31049
+  (0.1ms) SAVEPOINT active_record_1 [test:3983 deploy]
31050
+  (1.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [test:3983 deploy]
31051
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [test:3983 deploy]
31052
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [test:3983 deploy]
31053
+ Migrating to CreateSwitchmanShards (20130328212039)
31054
+  (3.4ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL) [test:3983 deploy]
31055
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [test:3983 deploy]
31056
+ Migrating to CreateDefaultShard (20130328224244)
31057
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [test:3983 deploy]
31058
+ Migrating to CreateUsers (20130403132607)
31059
+  (1.9ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3983 deploy]
31060
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [test:3983 deploy]
31061
+ Migrating to CreateAppendages (20130411202442)
31062
+  (1.8ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3983 deploy]
31063
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [test:3983 deploy]
31064
+ Migrating to CreateMirrorUsers (20130411202551)
31065
+  (1.8ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3983 deploy]
31066
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [test:3983 deploy]
31067
+ Migrating to CreateDigits (20131022202028)
31068
+  (2.4ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3983 deploy]
31069
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [test:3983 deploy]
31070
+ Migrating to CreateFeatures (20131206172923)
31071
+  (1.7ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3983 deploy]
31072
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [test:3983 deploy]
31073
+ Migrating to AddParentIdToUsers (20140123154135)
31074
+  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [test:3983 deploy]
31075
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [test:3983 deploy]
31076
+ Migrating to CreateRoots (20140219183820)
31077
+  (2.6ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3983 deploy]
31078
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [test:3983 deploy]
31079
+ Migrating to AddDummyForeignKey (20150618035859)
31080
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [test:3983 deploy]
31081
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [test:3983 deploy]
31082
+ Migrating to CreateFaces (20160122150718)
31083
+  (1.7ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3983 deploy]
31084
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [test:3983 deploy]
31085
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3983 deploy]
31086
+ SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 3983 [["name", "switchman_test_shard_3983"]] [test:3982 master]
31087
+  (1.1ms) COMMIT [test:3982 master]
31088
+ Switchman::Shard Load (0.7ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '1' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3982 master]
31089
+  (0.1ms) BEGIN [test:3982 master]
31090
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [test:3982 master]
31091
+  (0.3ms) COMMIT [test:3982 master]
31092
+  (0.7ms) CREATE SCHEMA switchman_test_shard_3984 [1:3984 deploy]
31093
+  (0.1ms) BEGIN [1:3984 deploy]
31094
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [1:3984 deploy]
31095
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [1:3984 deploy]
31096
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [1:3984 deploy]
31097
+ Migrating to CreateSwitchmanShards (20130328212039)
31098
+  (4.0ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL)  [1:3984 deploy]
31099
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [1:3984 deploy]
31100
+ Migrating to CreateDefaultShard (20130328224244)
31101
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [1:3984 deploy]
31102
+ Migrating to CreateUsers (20130403132607)
31103
+  (2.0ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3984 deploy]
31104
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [1:3984 deploy]
31105
+ Migrating to CreateAppendages (20130411202442)
31106
+  (2.0ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3984 deploy]
31107
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [1:3984 deploy]
31108
+ Migrating to CreateMirrorUsers (20130411202551)
31109
+  (2.4ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3984 deploy]
31110
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [1:3984 deploy]
31111
+ Migrating to CreateDigits (20131022202028)
31112
+  (2.5ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3984 deploy]
31113
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [1:3984 deploy]
31114
+ Migrating to CreateFeatures (20131206172923)
31115
+  (2.0ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3984 deploy]
31116
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [1:3984 deploy]
31117
+ Migrating to AddParentIdToUsers (20140123154135)
31118
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [1:3984 deploy]
31119
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [1:3984 deploy]
31120
+ Migrating to CreateRoots (20140219183820)
31121
+  (2.6ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3984 deploy]
31122
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [1:3984 deploy]
31123
+ Migrating to AddDummyForeignKey (20150618035859)
31124
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [1:3984 deploy]
31125
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [1:3984 deploy]
31126
+ Migrating to CreateFaces (20160122150718)
31127
+  (1.8ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3984 deploy]
31128
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [1:3984 deploy]
31129
+  (1.2ms) COMMIT [1:3984 deploy]
31130
+  (0.1ms) BEGIN [test:3982 master]
31131
+ SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 3984 [["name", "switchman_test_shard_3984"]] [test:3982 master]
31132
+  (0.3ms) COMMIT [test:3982 master]
31133
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:3982 master]
31134
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3982 master]
31135
+  (0.1ms) BEGIN
31136
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
31137
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 3982]]
31138
+  (0.3ms) COMMIT
31139
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31140
+  (0.1ms) BEGIN
31141
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 3983], ["name", "switchman_test_shard_3983"]]
31142
+  (0.2ms) COMMIT
31143
+  (0.1ms) BEGIN
31144
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 3984], ["name", "switchman_test_shard_3984"]]
31145
+  (0.2ms) COMMIT
31146
+  (0.1ms) BEGIN
31147
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31148
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3983]]
31149
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3984]]
31150
+  (0.1ms) BEGIN [1:3984 master]
31151
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31152
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31153
+  (0.1ms) ROLLBACK [1:3984 master]
31154
+  (0.1ms) ROLLBACK
31155
+ SQL (5.4ms) DELETE FROM "switchman_shards"
31156
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31157
+  (22.0ms) DROP SCHEMA switchman_test_shard_3983 CASCADE [test:3983 deploy]
31158
+  (0.1ms) BEGIN
31159
+ SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 3983]]
31160
+  (0.1ms) COMMIT
31161
+  (7.5ms) DROP SCHEMA switchman_test_shard_3984 CASCADE [1:3984 deploy]
31162
+  (0.3ms) BEGIN
31163
+ SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 3984]]
31164
+  (0.1ms) COMMIT
31165
+  (1.0ms) SELECT * FROM unnest(current_schemas(false))
31166
+ Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31167
+ SQL (0.5ms) DELETE FROM "switchman_shards"
31168
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31169
+  (0.1ms) BEGIN
31170
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
31171
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]]
31172
+  (0.3ms) COMMIT
31173
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31174
+ Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (database_server_id IS NULL OR database_server_id='test') AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1
31175
+  (0.1ms) BEGIN
31176
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
31177
+  (0.3ms) CREATE SCHEMA switchman_test_shard_3986 [test:3986 deploy]
31178
+  (0.1ms) SAVEPOINT active_record_1 [test:3986 deploy]
31179
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [test:3986 deploy]
31180
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [test:3986 deploy]
31181
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [test:3986 deploy]
31182
+ Migrating to CreateSwitchmanShards (20130328212039)
31183
+  (4.4ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL) [test:3986 deploy]
31184
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [test:3986 deploy]
31185
+ Migrating to CreateDefaultShard (20130328224244)
31186
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [test:3986 deploy]
31187
+ Migrating to CreateUsers (20130403132607)
31188
+  (2.7ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3986 deploy]
31189
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [test:3986 deploy]
31190
+ Migrating to CreateAppendages (20130411202442)
31191
+  (1.9ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3986 deploy]
31192
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [test:3986 deploy]
31193
+ Migrating to CreateMirrorUsers (20130411202551)
31194
+  (2.1ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3986 deploy]
31195
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [test:3986 deploy]
31196
+ Migrating to CreateDigits (20131022202028)
31197
+  (2.0ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3986 deploy]
31198
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [test:3986 deploy]
31199
+ Migrating to CreateFeatures (20131206172923)
31200
+  (2.3ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3986 deploy]
31201
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [test:3986 deploy]
31202
+ Migrating to AddParentIdToUsers (20140123154135)
31203
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [test:3986 deploy]
31204
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [test:3986 deploy]
31205
+ Migrating to CreateRoots (20140219183820)
31206
+  (2.0ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3986 deploy]
31207
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [test:3986 deploy]
31208
+ Migrating to AddDummyForeignKey (20150618035859)
31209
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [test:3986 deploy]
31210
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [test:3986 deploy]
31211
+ Migrating to CreateFaces (20160122150718)
31212
+  (2.0ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3986 deploy]
31213
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [test:3986 deploy]
31214
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3986 deploy]
31215
+ SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 3986 [["name", "switchman_test_shard_3986"]] [test:3985 master]
31216
+  (0.9ms) COMMIT [test:3985 master]
31217
+ Switchman::Shard Load (0.7ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '1' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3985 master]
31218
+  (0.1ms) BEGIN [test:3985 master]
31219
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [test:3985 master]
31220
+  (0.2ms) COMMIT [test:3985 master]
31221
+  (0.6ms) CREATE SCHEMA switchman_test_shard_3987 [1:3987 deploy]
31222
+  (0.1ms) BEGIN [1:3987 deploy]
31223
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [1:3987 deploy]
31224
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [1:3987 deploy]
31225
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [1:3987 deploy]
31226
+ Migrating to CreateSwitchmanShards (20130328212039)
31227
+  (4.2ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL)  [1:3987 deploy]
31228
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [1:3987 deploy]
31229
+ Migrating to CreateDefaultShard (20130328224244)
31230
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [1:3987 deploy]
31231
+ Migrating to CreateUsers (20130403132607)
31232
+  (2.1ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3987 deploy]
31233
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [1:3987 deploy]
31234
+ Migrating to CreateAppendages (20130411202442)
31235
+  (2.2ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3987 deploy]
31236
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [1:3987 deploy]
31237
+ Migrating to CreateMirrorUsers (20130411202551)
31238
+  (1.8ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3987 deploy]
31239
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [1:3987 deploy]
31240
+ Migrating to CreateDigits (20131022202028)
31241
+  (2.1ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3987 deploy]
31242
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [1:3987 deploy]
31243
+ Migrating to CreateFeatures (20131206172923)
31244
+  (1.8ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3987 deploy]
31245
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [1:3987 deploy]
31246
+ Migrating to AddParentIdToUsers (20140123154135)
31247
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [1:3987 deploy]
31248
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [1:3987 deploy]
31249
+ Migrating to CreateRoots (20140219183820)
31250
+  (6.6ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3987 deploy]
31251
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [1:3987 deploy]
31252
+ Migrating to AddDummyForeignKey (20150618035859)
31253
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [1:3987 deploy]
31254
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [1:3987 deploy]
31255
+ Migrating to CreateFaces (20160122150718)
31256
+  (2.3ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3987 deploy]
31257
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [1:3987 deploy]
31258
+  (0.4ms) COMMIT [1:3987 deploy]
31259
+  (0.1ms) BEGIN [test:3985 master]
31260
+ SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 3987 [["name", "switchman_test_shard_3987"]] [test:3985 master]
31261
+  (0.3ms) COMMIT [test:3985 master]
31262
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:3985 master]
31263
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3985 master]
31264
+  (0.1ms) BEGIN
31265
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
31266
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 3985]]
31267
+  (0.3ms) COMMIT
31268
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31269
+  (0.1ms) BEGIN
31270
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 3986], ["name", "switchman_test_shard_3986"]]
31271
+  (0.2ms) COMMIT
31272
+  (0.1ms) BEGIN
31273
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 3987], ["name", "switchman_test_shard_3987"]]
31274
+  (0.2ms) COMMIT
31275
+  (0.1ms) BEGIN
31276
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31277
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3986]]
31278
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3987]]
31279
+  (0.1ms) BEGIN [1:3987 master]
31280
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31281
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31282
+  (0.1ms) ROLLBACK [1:3987 master]
31283
+  (0.1ms) ROLLBACK
31284
+ SQL (5.6ms) DELETE FROM "switchman_shards"
31285
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31286
+  (11.4ms) DROP SCHEMA switchman_test_shard_3986 CASCADE [test:3986 deploy]
31287
+  (0.1ms) BEGIN
31288
+ SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 3986]]
31289
+  (0.1ms) COMMIT
31290
+  (6.0ms) DROP SCHEMA switchman_test_shard_3987 CASCADE [1:3987 deploy]
31291
+  (0.2ms) BEGIN
31292
+ SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 3987]]
31293
+  (0.1ms) COMMIT
31294
+  (1.6ms) SELECT * FROM unnest(current_schemas(false))
31295
+ Switchman::Shard Load (12.0ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31296
+ SQL (0.6ms) DELETE FROM "switchman_shards"
31297
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31298
+  (0.2ms) BEGIN
31299
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
31300
+ SQL (0.5ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]]
31301
+  (5.5ms) COMMIT
31302
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31303
+ Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (database_server_id IS NULL OR database_server_id='test') AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1
31304
+  (0.1ms) BEGIN
31305
+ SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
31306
+  (0.4ms) CREATE SCHEMA switchman_test_shard_3989 [test:3989 deploy]
31307
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 deploy]
31308
+  (26.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [test:3989 deploy]
31309
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [test:3989 deploy]
31310
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [test:3989 deploy]
31311
+ Migrating to CreateSwitchmanShards (20130328212039)
31312
+  (25.0ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL) [test:3989 deploy]
31313
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [test:3989 deploy]
31314
+ Migrating to CreateDefaultShard (20130328224244)
31315
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [test:3989 deploy]
31316
+ Migrating to CreateUsers (20130403132607)
31317
+  (18.7ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3989 deploy]
31318
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [test:3989 deploy]
31319
+ Migrating to CreateAppendages (20130411202442)
31320
+  (13.4ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3989 deploy]
31321
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [test:3989 deploy]
31322
+ Migrating to CreateMirrorUsers (20130411202551)
31323
+  (13.3ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3989 deploy]
31324
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [test:3989 deploy]
31325
+ Migrating to CreateDigits (20131022202028)
31326
+  (13.7ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3989 deploy]
31327
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [test:3989 deploy]
31328
+ Migrating to CreateFeatures (20131206172923)
31329
+  (7.5ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  [test:3989 deploy]
31330
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [test:3989 deploy]
31331
+ Migrating to AddParentIdToUsers (20140123154135)
31332
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [test:3989 deploy]
31333
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [test:3989 deploy]
31334
+ Migrating to CreateRoots (20140219183820)
31335
+  (27.2ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3989 deploy]
31336
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [test:3989 deploy]
31337
+ Migrating to AddDummyForeignKey (20150618035859)
31338
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [test:3989 deploy]
31339
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [test:3989 deploy]
31340
+ Migrating to CreateFaces (20160122150718)
31341
+  (7.2ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [test:3989 deploy]
31342
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [test:3989 deploy]
31343
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 deploy]
31344
+ SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 3989 [["name", "switchman_test_shard_3989"]] [test:3988 master]
31345
+  (1.8ms) COMMIT [test:3988 master]
31346
+ Switchman::Shard Load (0.8ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '1' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31347
+  (0.1ms) BEGIN [test:3988 master]
31348
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [test:3988 master]
31349
+  (5.9ms) COMMIT [test:3988 master]
31350
+  (0.6ms) CREATE SCHEMA switchman_test_shard_3990 [1:3990 deploy]
31351
+  (0.2ms) BEGIN [1:3990 deploy]
31352
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [1:3990 deploy]
31353
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [1:3990 deploy]
31354
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [1:3990 deploy]
31355
+ Migrating to CreateSwitchmanShards (20130328212039)
31356
+  (5.9ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL)  [1:3990 deploy]
31357
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [1:3990 deploy]
31358
+ Migrating to CreateDefaultShard (20130328224244)
31359
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [1:3990 deploy]
31360
+ Migrating to CreateUsers (20130403132607)
31361
+  (2.1ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3990 deploy]
31362
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [1:3990 deploy]
31363
+ Migrating to CreateAppendages (20130411202442)
31364
+  (5.1ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3990 deploy]
31365
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [1:3990 deploy]
31366
+ Migrating to CreateMirrorUsers (20130411202551)
31367
+  (3.5ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3990 deploy]
31368
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [1:3990 deploy]
31369
+ Migrating to CreateDigits (20131022202028)
31370
+  (1.8ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3990 deploy]
31371
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [1:3990 deploy]
31372
+ Migrating to CreateFeatures (20131206172923)
31373
+  (2.1ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [1:3990 deploy]
31374
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [1:3990 deploy]
31375
+ Migrating to AddParentIdToUsers (20140123154135)
31376
+  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [1:3990 deploy]
31377
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [1:3990 deploy]
31378
+ Migrating to CreateRoots (20140219183820)
31379
+  (3.8ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3990 deploy]
31380
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [1:3990 deploy]
31381
+ Migrating to AddDummyForeignKey (20150618035859)
31382
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [1:3990 deploy]
31383
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [1:3990 deploy]
31384
+ Migrating to CreateFaces (20160122150718)
31385
+  (5.3ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [1:3990 deploy]
31386
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [1:3990 deploy]
31387
+  (1.1ms) COMMIT [1:3990 deploy]
31388
+  (0.1ms) BEGIN [test:3988 master]
31389
+ SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 3990 [["name", "switchman_test_shard_3990"]] [test:3988 master]
31390
+  (0.3ms) COMMIT [test:3988 master]
31391
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:3988 master]
31392
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31393
+  (0.1ms) BEGIN
31394
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
31395
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 3988]]
31396
+  (0.2ms) COMMIT
31397
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31398
+  (0.1ms) BEGIN
31399
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 3989], ["name", "switchman_test_shard_3989"]]
31400
+  (0.2ms) COMMIT
31401
+  (0.1ms) BEGIN
31402
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 3990], ["name", "switchman_test_shard_3990"]]
31403
+  (0.2ms) COMMIT
31404
+  (0.1ms) BEGIN
31405
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31406
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
31407
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
31408
+  (0.1ms) BEGIN [1:3990 master]
31409
+  (0.1ms) ROLLBACK [1:3990 master]
31410
+  (0.1ms) ROLLBACK
31411
+  (0.1ms) BEGIN
31412
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31413
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
31414
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
31415
+  (0.1ms) BEGIN [1:3990 master]
31416
+  (0.1ms) ROLLBACK [1:3990 master]
31417
+  (0.1ms) ROLLBACK
31418
+  (0.1ms) BEGIN
31419
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31420
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
31421
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
31422
+  (0.1ms) BEGIN [1:3990 master]
31423
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (id IN (3989,3990)) AND "switchman_shards"."id" IN (3988, 3989)
31424
+  (0.1ms) ROLLBACK [1:3990 master]
31425
+  (0.1ms) ROLLBACK
31426
+  (0.1ms) BEGIN
31427
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31428
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
31429
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
31430
+  (0.1ms) BEGIN [1:3990 master]
31431
+  (0.1ms) ROLLBACK [1:3990 master]
31432
+  (0.1ms) ROLLBACK
31433
+  (0.1ms) BEGIN
31434
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31435
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
31436
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
31437
+  (0.1ms) BEGIN [1:3990 master]
31438
+  (0.1ms) ROLLBACK [1:3990 master]
31439
+  (0.1ms) ROLLBACK
31440
+ SQL (11.6ms) DELETE FROM "switchman_shards"
31441
+ Switchman::Shard Load (1.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31442
+  (0.2ms) BEGIN
31443
+ Switchman::Shard Exists (0.4ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
31444
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 3988]]
31445
+  (0.3ms) COMMIT
31446
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31447
+  (0.1ms) BEGIN
31448
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 3989], ["name", "switchman_test_shard_3989"]]
31449
+  (0.3ms) COMMIT
31450
+  (0.1ms) BEGIN
31451
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 3990], ["name", "switchman_test_shard_3990"]]
31452
+  (0.3ms) COMMIT
31453
+  (0.1ms) BEGIN
31454
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31455
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
31456
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
31457
+  (0.1ms) BEGIN [1:3990 master]
31458
+  (0.1ms) SAVEPOINT active_record_1
31459
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]]
31460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31461
+  (0.1ms) SAVEPOINT active_record_1
31462
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]]
31463
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31464
+  (0.1ms) ROLLBACK [1:3990 master]
31465
+  (0.1ms) ROLLBACK
31466
+  (0.1ms) BEGIN
31467
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31468
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
31469
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
31470
+  (0.1ms) BEGIN [1:3990 master]
31471
+  (0.1ms) ROLLBACK [1:3990 master]
31472
+  (0.1ms) ROLLBACK
31473
+  (0.1ms) BEGIN
31474
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31475
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
31476
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
31477
+  (0.1ms) BEGIN [1:3990 master]
31478
+  (0.1ms) ROLLBACK [1:3990 master]
31479
+  (0.1ms) ROLLBACK
31480
+  (0.1ms) BEGIN
31481
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31482
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
31483
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
31484
+  (0.1ms) BEGIN [1:3990 master]
31485
+  (0.1ms) ROLLBACK [1:3990 master]
31486
+  (0.1ms) ROLLBACK
31487
+ SQL (5.6ms) DELETE FROM "switchman_shards"
31488
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31489
+  (0.1ms) BEGIN
31490
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
31491
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 3988]]
31492
+  (11.4ms) COMMIT
31493
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31494
+  (0.1ms) BEGIN
31495
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 3989], ["name", "switchman_test_shard_3989"]]
31496
+  (4.8ms) COMMIT
31497
+  (0.1ms) BEGIN
31498
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 3990], ["name", "switchman_test_shard_3990"]]
31499
+  (0.3ms) COMMIT
31500
+  (0.1ms) BEGIN
31501
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31502
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
31503
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
31504
+  (0.1ms) BEGIN [1:3990 master]
31505
+  (0.1ms) SAVEPOINT active_record_1
31506
+ SQL (8.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]]
31507
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31508
+  (0.1ms) SAVEPOINT active_record_1
31509
+ SQL (28.6ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5984]]
31510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
31511
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31512
+ SQL (0.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31513
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31514
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31515
+ SQL (0.7ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 1]] [test:3989 master]
31516
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31517
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31518
+ SQL (1.0ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31519
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31520
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31521
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31522
+ SQL (0.7ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 1]] [1:3990 master]
31523
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31524
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31525
+  (0.1ms) ROLLBACK [1:3990 master]
31526
+  (0.1ms) ROLLBACK [test:3988 master]
31527
+  (0.1ms) BEGIN [test:3988 master]
31528
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31529
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31530
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31531
+  (0.1ms) BEGIN [1:3990 master]
31532
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31533
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31534
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31535
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31536
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5985]] [test:3988 master]
31537
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31538
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31539
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31540
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31541
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31542
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 2]] [test:3989 master]
31543
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31544
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31545
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31546
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31547
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31548
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31549
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 2]] [1:3990 master]
31550
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31551
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31552
+  (0.1ms) ROLLBACK [1:3990 master]
31553
+  (0.2ms) ROLLBACK [test:3988 master]
31554
+  (0.1ms) BEGIN [test:3988 master]
31555
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31556
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31557
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31558
+  (0.1ms) BEGIN [1:3990 master]
31559
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31560
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31561
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31562
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31563
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5986]] [test:3988 master]
31564
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31565
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31566
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31567
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31568
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31569
+ SQL (0.8ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 3]] [test:3989 master]
31570
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31571
+  (0.2ms) SAVEPOINT active_record_1 [1:3990 master]
31572
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31573
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31574
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31575
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31576
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 3]] [1:3990 master]
31577
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31578
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31579
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 3989 LIMIT 1 [test:3988 master]
31580
+  (0.1ms) ROLLBACK [1:3990 master]
31581
+  (0.1ms) ROLLBACK [test:3988 master]
31582
+  (0.1ms) BEGIN [test:3988 master]
31583
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31584
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31585
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31586
+  (0.1ms) BEGIN [1:3990 master]
31587
+  (0.2ms) SAVEPOINT active_record_1 [test:3988 master]
31588
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31589
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31590
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31591
+ SQL (0.6ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5987]] [test:3988 master]
31592
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31593
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31594
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31595
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31596
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31597
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 4]] [test:3989 master]
31598
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31599
+  (0.2ms) SAVEPOINT active_record_1 [1:3990 master]
31600
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31601
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31602
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31603
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31604
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 4]] [1:3990 master]
31605
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31606
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31607
+  (0.1ms) ROLLBACK [1:3990 master]
31608
+  (0.1ms) ROLLBACK [test:3988 master]
31609
+  (0.1ms) BEGIN [test:3988 master]
31610
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31611
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31612
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31613
+  (0.1ms) BEGIN [1:3990 master]
31614
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31615
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31616
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31617
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31618
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5988]] [test:3988 master]
31619
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31620
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31621
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31622
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31623
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31624
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5]] [test:3989 master]
31625
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31626
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31627
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31628
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31629
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31630
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31631
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5]] [1:3990 master]
31632
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31633
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31634
+  (0.2ms) ROLLBACK [1:3990 master]
31635
+  (0.2ms) ROLLBACK [test:3988 master]
31636
+  (0.2ms) BEGIN [test:3988 master]
31637
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31638
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31639
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31640
+  (0.1ms) BEGIN [1:3990 master]
31641
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31642
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31643
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31644
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31645
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5989]] [test:3988 master]
31646
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31647
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31648
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31649
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31650
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31651
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 6]] [test:3989 master]
31652
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31653
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31654
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31655
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31656
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31657
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31658
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 6]] [1:3990 master]
31659
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31660
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31661
+  (0.1ms) ROLLBACK [1:3990 master]
31662
+  (0.1ms) ROLLBACK [test:3988 master]
31663
+  (0.1ms) BEGIN [test:3988 master]
31664
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31665
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31666
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31667
+  (0.1ms) BEGIN [1:3990 master]
31668
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31669
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31670
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31671
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31672
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5990]] [test:3988 master]
31673
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31674
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31675
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31676
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31677
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31678
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 7]] [test:3989 master]
31679
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31680
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31681
+ SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31682
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31683
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31684
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31685
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 7]] [1:3990 master]
31686
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31687
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31688
+  (0.1ms) ROLLBACK [1:3990 master]
31689
+  (0.1ms) ROLLBACK [test:3988 master]
31690
+  (0.1ms) BEGIN [test:3988 master]
31691
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31692
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31693
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31694
+  (0.1ms) BEGIN [1:3990 master]
31695
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31696
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31697
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31698
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31699
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5991]] [test:3988 master]
31700
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31701
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31702
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31703
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31704
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31705
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 8]] [test:3989 master]
31706
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31707
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31708
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31709
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31710
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31711
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31712
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 8]] [1:3990 master]
31713
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31714
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31715
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31716
+ SQL (0.6ms) INSERT INTO "mirror_users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31717
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31718
+  (0.1ms) ROLLBACK [1:3990 master]
31719
+  (0.1ms) ROLLBACK [test:3989 master]
31720
+  (0.1ms) BEGIN [test:3988 master]
31721
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31722
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31723
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31724
+  (0.1ms) BEGIN [1:3990 master]
31725
+  (0.2ms) SAVEPOINT active_record_1 [test:3988 master]
31726
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31727
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31728
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31729
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5992]] [test:3988 master]
31730
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31731
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31732
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31733
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31734
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31735
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 9]] [test:3989 master]
31736
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31737
+  (0.2ms) SAVEPOINT active_record_1 [1:3990 master]
31738
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31739
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31740
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31741
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31742
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 9]] [1:3990 master]
31743
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31744
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31745
+  (0.3ms) ROLLBACK [1:3990 master]
31746
+  (0.1ms) ROLLBACK [test:3988 master]
31747
+  (0.1ms) BEGIN [test:3988 master]
31748
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31749
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31750
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31751
+  (0.1ms) BEGIN [1:3990 master]
31752
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31753
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31754
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31755
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31756
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5993]] [test:3988 master]
31757
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31758
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31759
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31760
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31761
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31762
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 10]] [test:3989 master]
31763
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31764
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31765
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31766
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31767
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31768
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31769
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 10]] [1:3990 master]
31770
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31771
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31772
+  (0.1ms) ROLLBACK [1:3990 master]
31773
+  (0.2ms) ROLLBACK [test:3988 master]
31774
+  (0.1ms) BEGIN [test:3988 master]
31775
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31776
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31777
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31778
+  (0.1ms) BEGIN [1:3990 master]
31779
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31780
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31781
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31782
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31783
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5994]] [test:3988 master]
31784
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31785
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31786
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31787
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31788
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31789
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 11]] [test:3989 master]
31790
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31791
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31792
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31793
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31794
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31795
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31796
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 11]] [1:3990 master]
31797
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31798
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31799
+  (0.1ms) ROLLBACK [1:3990 master]
31800
+  (0.1ms) ROLLBACK [test:3988 master]
31801
+  (0.1ms) BEGIN [test:3988 master]
31802
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31803
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31804
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31805
+  (0.1ms) BEGIN [1:3990 master]
31806
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31807
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31808
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31809
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31810
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5995]] [test:3988 master]
31811
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31812
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31813
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31814
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31815
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31816
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 12]] [test:3989 master]
31817
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31818
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31819
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31820
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31821
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31822
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31823
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 12]] [1:3990 master]
31824
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31825
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31826
+  (0.1ms) ROLLBACK [1:3990 master]
31827
+  (0.1ms) ROLLBACK [test:3988 master]
31828
+  (0.1ms) BEGIN [test:3988 master]
31829
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31830
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31831
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31832
+  (0.1ms) BEGIN [1:3990 master]
31833
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31834
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31835
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31836
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31837
+ SQL (0.4ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5996]] [test:3988 master]
31838
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31839
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31840
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31841
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31842
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31843
+ SQL (0.7ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 13]] [test:3989 master]
31844
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31845
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31846
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31847
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31848
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31849
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31850
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 13]] [1:3990 master]
31851
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31852
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31853
+  (0.1ms) ROLLBACK [1:3990 master]
31854
+  (0.1ms) ROLLBACK [test:3988 master]
31855
+  (0.1ms) BEGIN [test:3988 master]
31856
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31857
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31858
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31859
+  (0.1ms) BEGIN [1:3990 master]
31860
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31861
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31862
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31863
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31864
+ SQL (0.5ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5997]] [test:3988 master]
31865
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31866
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31867
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31868
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31869
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31870
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 14]] [test:3989 master]
31871
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31872
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31873
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31874
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31875
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31876
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31877
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 14]] [1:3990 master]
31878
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31879
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31880
+  (0.1ms) ROLLBACK [1:3990 master]
31881
+  (0.1ms) ROLLBACK [test:3988 master]
31882
+  (0.1ms) BEGIN [test:3988 master]
31883
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31884
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31885
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31886
+  (0.1ms) BEGIN [1:3990 master]
31887
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31888
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31889
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31890
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31891
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5998]] [test:3988 master]
31892
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31893
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31894
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31895
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31896
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31897
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 15]] [test:3989 master]
31898
+  (0.2ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31899
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31900
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31901
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31902
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31903
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31904
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 15]] [1:3990 master]
31905
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31906
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31907
+  (0.2ms) ROLLBACK [1:3990 master]
31908
+  (0.3ms) ROLLBACK [test:3988 master]
31909
+  (0.1ms) BEGIN [test:3988 master]
31910
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31911
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31912
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31913
+  (0.1ms) BEGIN [1:3990 master]
31914
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31915
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31916
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31917
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31918
+ SQL (0.3ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 5999]] [test:3988 master]
31919
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31920
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31921
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31922
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31923
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31924
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 16]] [test:3989 master]
31925
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31926
+  (0.2ms) SAVEPOINT active_record_1 [1:3990 master]
31927
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
31928
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31929
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31930
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
31931
+ SQL (0.2ms) INSERT INTO "appendages" ("created_at", "updated_at", "user_id") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["user_id", 16]] [1:3990 master]
31932
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
31933
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31934
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31935
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "parent_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["parent_id", 5999], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31936
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31937
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
31938
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "parent_id", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["parent_id", 6000], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3988 master]
31939
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
31940
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 6000]] [test:3988 master]
31941
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 5999]] [test:3988 master]
31942
+ User Load (0.6ms) SELECT "users".* FROM "users" INNER JOIN "users" "children_grandchildren_join" ON "users"."parent_id" = "children_grandchildren_join"."id" WHERE "children_grandchildren_join"."parent_id" = $1 [["parent_id", 5999]] [test:3988 master]
31943
+  (0.1ms) ROLLBACK [1:3990 master]
31944
+  (0.1ms) ROLLBACK [test:3988 master]
31945
+ SQL (6.0ms) DELETE FROM "switchman_shards" [test:3988 master]
31946
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31947
+  (0.1ms) BEGIN
31948
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
31949
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 3988]]
31950
+  (5.8ms) COMMIT
31951
+ Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31952
+  (0.1ms) BEGIN
31953
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 3989], ["name", "switchman_test_shard_3989"]]
31954
+  (0.2ms) COMMIT
31955
+  (0.1ms) BEGIN
31956
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 3990], ["name", "switchman_test_shard_3990"]]
31957
+  (0.2ms) COMMIT
31958
+  (0.1ms) BEGIN
31959
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31960
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
31961
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
31962
+  (0.1ms) BEGIN [1:3990 master]
31963
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31964
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31965
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31966
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31967
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1 [test:3989 master]
31968
+  (0.1ms) ROLLBACK [1:3990 master]
31969
+  (0.1ms) ROLLBACK [test:3989 master]
31970
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:3988 master]
31971
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31972
+  (0.1ms) BEGIN
31973
+ Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
31974
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 3988]]
31975
+  (5.6ms) COMMIT
31976
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31977
+  (0.1ms) BEGIN
31978
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 3989], ["name", "switchman_test_shard_3989"]]
31979
+  (11.3ms) COMMIT
31980
+  (0.1ms) BEGIN
31981
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 3990], ["name", "switchman_test_shard_3990"]]
31982
+  (4.9ms) COMMIT
31983
+  (0.1ms) BEGIN
31984
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
31985
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
31986
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
31987
+  (0.1ms) BEGIN [1:3990 master]
31988
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
31989
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
31990
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
31991
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = 3989 LIMIT 1 [test:3988 master]
31992
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" IN (18) LIMIT 1 [test:3989 master]
31993
+  (0.1ms) ROLLBACK [1:3990 master]
31994
+  (0.1ms) ROLLBACK [test:3989 master]
31995
+  (0.1ms) BEGIN [test:3988 master]
31996
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
31997
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
31998
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
31999
+  (0.1ms) BEGIN [1:3990 master]
32000
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
32001
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
32002
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
32003
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 19 LIMIT 1 [test:3989 master]
32004
+  (0.1ms) ROLLBACK [1:3990 master]
32005
+  (0.1ms) ROLLBACK [test:3989 master]
32006
+  (0.1ms) BEGIN [test:3988 master]
32007
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
32008
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
32009
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
32010
+  (0.1ms) BEGIN [1:3990 master]
32011
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
32012
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
32013
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
32014
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."id" = 20 LIMIT 1 [test:3989 master]
32015
+  (0.1ms) ROLLBACK [1:3990 master]
32016
+  (0.1ms) ROLLBACK [test:3989 master]
32017
+  (0.1ms) BEGIN [test:3988 master]
32018
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
32019
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
32020
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
32021
+  (0.1ms) BEGIN [1:3990 master]
32022
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
32023
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
32024
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
32025
+  (0.1ms) SAVEPOINT active_record_1 [1:3990 master]
32026
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["name", "multi-shard exists"], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [1:3990 master]
32027
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [1:3990 master]
32028
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" ORDER BY database_server_id IS NOT NULL, database_server_id, id [test:3988 master]
32029
+ User Exists (0.2ms) SELECT 1 AS one FROM "users" WHERE "users"."name" = 'multi-shard exists' LIMIT 1 [test:3988 master]
32030
+ User Exists (0.4ms) SELECT 1 AS one FROM "users" WHERE "users"."name" = 'multi-shard exists' LIMIT 1 [1:3990 master]
32031
+  (0.1ms) ROLLBACK [1:3990 master]
32032
+  (0.1ms) ROLLBACK [test:3988 master]
32033
+  (0.1ms) BEGIN [test:3988 master]
32034
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
32035
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
32036
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
32037
+  (0.1ms) BEGIN [1:3990 master]
32038
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
32039
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
32040
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
32041
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
32042
+ SQL (0.3ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 22]] [test:3989 master]
32043
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
32044
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = 39890000000000022 ORDER BY "users"."id" ASC LIMIT 1 [test:3989 master]
32045
+  (0.1ms) ROLLBACK [1:3990 master]
32046
+  (0.1ms) ROLLBACK [test:3989 master]
32047
+  (0.1ms) BEGIN [test:3988 master]
32048
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
32049
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
32050
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
32051
+  (0.1ms) BEGIN [1:3990 master]
32052
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
32053
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
32054
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
32055
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 23]] [test:3989 master]
32056
+  (0.1ms) ROLLBACK [1:3990 master]
32057
+  (0.1ms) ROLLBACK [test:3989 master]
32058
+  (0.1ms) BEGIN [test:3988 master]
32059
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
32060
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]] [test:3988 master]
32061
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]] [test:3988 master]
32062
+  (0.1ms) BEGIN [1:3990 master]
32063
+  (0.1ms) SAVEPOINT active_record_1 [test:3989 master]
32064
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:53 UTC +00:00]] [test:3989 master]
32065
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
32066
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE (id > 0) AND "users"."id" = $1 LIMIT 1 [["id", 24]] [test:3989 master]
32067
+  (0.1ms) ROLLBACK [1:3990 master]
32068
+  (0.1ms) ROLLBACK [test:3989 master]
32069
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:3988 master]
32070
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
32071
+  (0.1ms) BEGIN
32072
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
32073
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 3988]]
32074
+  (0.3ms) COMMIT
32075
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32076
+  (0.1ms) BEGIN
32077
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 3989], ["name", "switchman_test_shard_3989"]]
32078
+  (0.3ms) COMMIT
32079
+  (0.1ms) BEGIN
32080
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 3990], ["name", "switchman_test_shard_3990"]]
32081
+  (0.3ms) COMMIT
32082
+  (0.1ms) BEGIN
32083
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32084
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32085
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32086
+  (0.1ms) BEGIN [1:3990 master]
32087
+  (0.1ms) ROLLBACK [1:3990 master]
32088
+  (0.1ms) ROLLBACK
32089
+  (0.1ms) BEGIN
32090
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32091
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32092
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32093
+  (0.1ms) BEGIN [1:3990 master]
32094
+  (0.1ms) ROLLBACK [1:3990 master]
32095
+  (0.1ms) ROLLBACK
32096
+  (0.1ms) BEGIN
32097
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32098
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32099
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32100
+  (0.1ms) BEGIN [1:3990 master]
32101
+  (0.1ms) ROLLBACK [1:3990 master]
32102
+  (0.1ms) ROLLBACK
32103
+  (0.1ms) BEGIN
32104
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32105
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32106
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32107
+  (0.1ms) BEGIN [1:3990 master]
32108
+  (0.1ms) ROLLBACK [1:3990 master]
32109
+  (0.1ms) ROLLBACK
32110
+  (0.1ms) BEGIN
32111
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32112
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32113
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32114
+  (0.1ms) BEGIN [1:3990 master]
32115
+  (0.1ms) ROLLBACK [1:3990 master]
32116
+  (0.1ms) ROLLBACK
32117
+  (0.1ms) BEGIN
32118
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32119
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32120
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32121
+  (0.1ms) BEGIN [1:3990 master]
32122
+  (0.1ms) ROLLBACK [1:3990 master]
32123
+  (0.1ms) ROLLBACK
32124
+ SQL (4.9ms) DELETE FROM "switchman_shards"
32125
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32126
+  (0.1ms) BEGIN
32127
+  (0.1ms) SAVEPOINT active_record_1
32128
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "3"], ["name", "non_existent_shard"]]
32129
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32130
+  (0.1ms) SAVEPOINT active_record_1
32131
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "3"]]
32132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32133
+  (0.6ms) SELECT COUNT(*) FROM "users" [3:3993 master]
32134
+ PG::UndefinedTable: ERROR: relation "users" does not exist
32135
+ LINE 1: SELECT COUNT(*) FROM "users"
32136
+ ^
32137
+ : SELECT COUNT(*) FROM "users"
32138
+  (0.8ms) SELECT COUNT(*) FROM "users" [3:3994 master]
32139
+  (0.1ms) ROLLBACK
32140
+  (0.1ms) BEGIN
32141
+  (0.1ms) SAVEPOINT active_record_1
32142
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "4"]]
32143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32144
+  (0.2ms) ROLLBACK
32145
+  (0.1ms) BEGIN
32146
+  (0.1ms) SAVEPOINT active_record_1
32147
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "5"]]
32148
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32149
+  (0.1ms) ROLLBACK
32150
+  (0.1ms) BEGIN
32151
+  (0.1ms) SAVEPOINT active_record_1
32152
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "6"]]
32153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32154
+  (0.1ms) ROLLBACK
32155
+  (0.1ms) BEGIN
32156
+  (0.1ms) SAVEPOINT active_record_1
32157
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "7"]]
32158
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32159
+  (0.1ms) ROLLBACK
32160
+  (0.1ms) BEGIN
32161
+  (0.1ms) SAVEPOINT active_record_1
32162
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "8"]]
32163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32164
+  (0.1ms) ROLLBACK
32165
+  (0.1ms) BEGIN
32166
+  (0.1ms) SAVEPOINT active_record_1
32167
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "9"]]
32168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32169
+  (0.1ms) ROLLBACK
32170
+  (0.1ms) BEGIN
32171
+  (0.1ms) ROLLBACK
32172
+  (0.1ms) BEGIN
32173
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
32174
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 3988]]
32175
+  (5.8ms) COMMIT
32176
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32177
+  (0.1ms) BEGIN
32178
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 3989], ["name", "switchman_test_shard_3989"]]
32179
+  (11.5ms) COMMIT
32180
+  (0.1ms) BEGIN
32181
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 3990], ["name", "switchman_test_shard_3990"]]
32182
+  (0.3ms) COMMIT
32183
+  (0.1ms) BEGIN
32184
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32185
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32186
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32187
+  (0.1ms) BEGIN [1:3990 master]
32188
+  (0.1ms) ROLLBACK [1:3990 master]
32189
+  (0.1ms) ROLLBACK
32190
+ SQL (0.3ms) DELETE FROM "switchman_shards"
32191
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32192
+  (0.1ms) BEGIN
32193
+  (0.1ms) ROLLBACK
32194
+  (0.1ms) BEGIN
32195
+  (0.1ms) ROLLBACK
32196
+  (0.1ms) BEGIN
32197
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
32198
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 3988]]
32199
+  (0.3ms) COMMIT
32200
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32201
+  (0.1ms) BEGIN
32202
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 3989], ["name", "switchman_test_shard_3989"]]
32203
+  (0.2ms) COMMIT
32204
+  (0.1ms) BEGIN
32205
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 3990], ["name", "switchman_test_shard_3990"]]
32206
+  (0.2ms) COMMIT
32207
+  (0.1ms) BEGIN
32208
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32209
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32210
+ Switchman::Shard Load (0.1ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32211
+  (0.1ms) BEGIN [1:3990 master]
32212
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '10' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1
32213
+  (0.1ms) SAVEPOINT active_record_1
32214
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "10"], ["name", "public"]]
32215
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32216
+  (0.6ms) CREATE SCHEMA switchman_test_shard_4001 [10:4001 deploy]
32217
+  (0.1ms) BEGIN [10:4001 deploy]
32218
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [10:4001 deploy]
32219
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [10:4001 deploy]
32220
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [10:4001 deploy]
32221
+ Migrating to CreateSwitchmanShards (20130328212039)
32222
+  (3.8ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL) [10:4001 deploy]
32223
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [10:4001 deploy]
32224
+ Migrating to CreateDefaultShard (20130328224244)
32225
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [10:4001 deploy]
32226
+ Migrating to CreateUsers (20130403132607)
32227
+  (2.0ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [10:4001 deploy]
32228
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [10:4001 deploy]
32229
+ Migrating to CreateAppendages (20130411202442)
32230
+  (1.8ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [10:4001 deploy]
32231
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [10:4001 deploy]
32232
+ Migrating to CreateMirrorUsers (20130411202551)
32233
+  (2.7ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [10:4001 deploy]
32234
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [10:4001 deploy]
32235
+ Migrating to CreateDigits (20131022202028)
32236
+  (2.3ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [10:4001 deploy]
32237
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [10:4001 deploy]
32238
+ Migrating to CreateFeatures (20131206172923)
32239
+  (2.4ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  [10:4001 deploy]
32240
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [10:4001 deploy]
32241
+ Migrating to AddParentIdToUsers (20140123154135)
32242
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [10:4001 deploy]
32243
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [10:4001 deploy]
32244
+ Migrating to CreateRoots (20140219183820)
32245
+  (2.7ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [10:4001 deploy]
32246
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [10:4001 deploy]
32247
+ Migrating to AddDummyForeignKey (20150618035859)
32248
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [10:4001 deploy]
32249
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [10:4001 deploy]
32250
+ Migrating to CreateFaces (20160122150718)
32251
+  (1.9ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [10:4001 deploy]
32252
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [10:4001 deploy]
32253
+  (1.1ms) COMMIT [10:4001 deploy]
32254
+  (0.1ms) SAVEPOINT active_record_1
32255
+ SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 4001 [["name", "switchman_test_shard_4001"]]
32256
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32257
+  (0.1ms) BEGIN [10:4001 master]
32258
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:54 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:54 UTC +00:00]] [10:4001 master]
32259
+  (5.9ms) COMMIT [10:4001 master]
32260
+  (21.2ms) DROP SCHEMA switchman_test_shard_4001 CASCADE [10:4001 deploy]
32261
+  (0.2ms) SAVEPOINT active_record_1
32262
+ SQL (0.5ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 4001]]
32263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32264
+  (0.1ms) ROLLBACK [1:3990 master]
32265
+  (0.1ms) ROLLBACK
32266
+  (0.1ms) BEGIN
32267
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32268
+ Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32269
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32270
+  (0.1ms) BEGIN [1:3990 master]
32271
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '11' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1
32272
+  (0.1ms) SAVEPOINT active_record_1
32273
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "11"]]
32274
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32275
+  (0.2ms) begin transaction [11:4002 deploy]
32276
+  (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [11:4002 deploy]
32277
+  (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [11:4002 deploy]
32278
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" [11:4002 deploy]
32279
+ Migrating to CreateSwitchmanShards (20130328212039)
32280
+  (0.2ms) CREATE TABLE "switchman_shards" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "database_server_id" varchar(255), "default" boolean DEFAULT 'f' NOT NULL)  [11:4002 deploy]
32281
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130328212039"]] [11:4002 deploy]
32282
+ Migrating to CreateDefaultShard (20130328224244)
32283
+ SQL (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130328224244"]] [11:4002 deploy]
32284
+ Migrating to CreateUsers (20130403132607)
32285
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "mirror_user_id" integer(8), "created_at" datetime, "updated_at" datetime) [11:4002 deploy]
32286
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130403132607"]] [11:4002 deploy]
32287
+ Migrating to CreateAppendages (20130411202442)
32288
+  (0.1ms) CREATE TABLE "appendages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime) [11:4002 deploy]
32289
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202442"]] [11:4002 deploy]
32290
+ Migrating to CreateMirrorUsers (20130411202551)
32291
+  (0.3ms) CREATE TABLE "mirror_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime) [11:4002 deploy]
32292
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202551"]] [11:4002 deploy]
32293
+ Migrating to CreateDigits (20131022202028)
32294
+  (0.2ms) CREATE TABLE "digits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "appendage_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime) [11:4002 deploy]
32295
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131022202028"]] [11:4002 deploy]
32296
+ Migrating to CreateFeatures (20131206172923)
32297
+  (0.2ms) CREATE TABLE "features" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "owner_id" integer(8), "owner_type" varchar(255), "value" integer, "created_at" datetime, "updated_at" datetime) [11:4002 deploy]
32298
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206172923"]] [11:4002 deploy]
32299
+ Migrating to AddParentIdToUsers (20140123154135)
32300
+  (0.1ms) ALTER TABLE "users" ADD "parent_id" integer(8) [11:4002 deploy]
32301
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123154135"]] [11:4002 deploy]
32302
+ Migrating to CreateRoots (20140219183820)
32303
+  (0.1ms) CREATE TABLE "roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime) [11:4002 deploy]
32304
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140219183820"]] [11:4002 deploy]
32305
+ Migrating to AddDummyForeignKey (20150618035859)
32306
+  (0.1ms) ALTER TABLE "users" ADD "broken_id" integer(8) [11:4002 deploy]
32307
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150618035859"]] [11:4002 deploy]
32308
+ Migrating to CreateFaces (20160122150718)
32309
+  (0.1ms) CREATE TABLE "faces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime) [11:4002 deploy]
32310
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160122150718"]] [11:4002 deploy]
32311
+  (1.0ms) commit transaction [11:4002 deploy]
32312
+  (0.2ms) SAVEPOINT active_record_1
32313
+ SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 4002 [["name", "db/shard_4002.sqlite3"]]
32314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32315
+  (0.1ms) begin transaction [11:4002 master]
32316
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 09 Mar 2016 18:50:54 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:54 UTC +00:00]] [11:4002 master]
32317
+  (0.7ms) commit transaction [11:4002 master]
32318
+ Drop failed: No such file or directory @ unlink_internal - db/shard_4002.sqlite3
32319
+  (0.1ms) SAVEPOINT active_record_1
32320
+ SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 4002]]
32321
+  (0.1ms) RELEASE SAVEPOINT active_record_1
32322
+  (0.1ms) ROLLBACK [1:3990 master]
32323
+  (0.1ms) ROLLBACK
32324
+  (0.1ms) BEGIN
32325
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32326
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32327
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32328
+  (0.1ms) BEGIN [1:3990 master]
32329
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" IS NULL AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1
32330
+  (0.1ms) SAVEPOINT active_record_1
32331
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
32332
+  (0.1ms) ROLLBACK [1:3990 master]
32333
+  (0.1ms) ROLLBACK
32334
+  (0.1ms) BEGIN
32335
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32336
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32337
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32338
+  (0.1ms) BEGIN [1:3990 master]
32339
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE (database_server_id IS NULL OR database_server_id='test') AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1
32340
+  (0.1ms) SAVEPOINT active_record_1
32341
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
32342
+  (0.2ms) CREATE SCHEMA switchman_test_shard_4003 [test:4003 deploy]
32343
+  (0.1ms) SAVEPOINT active_record_2 [test:4003 deploy]
32344
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [test:4003 deploy]
32345
+  (16.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [test:4003 deploy]
32346
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [test:4003 deploy]
32347
+ Migrating to CreateSwitchmanShards (20130328212039)
32348
+  (3.2ms) CREATE TABLE "switchman_shards" ("id" bigserial primary key, "name" character varying(255), "database_server_id" character varying(255), "default" boolean DEFAULT 'f' NOT NULL)  [test:4003 deploy]
32349
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328212039"]] [test:4003 deploy]
32350
+ Migrating to CreateDefaultShard (20130328224244)
32351
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130328224244"]] [test:4003 deploy]
32352
+ Migrating to CreateUsers (20130403132607)
32353
+  (3.6ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [test:4003 deploy]
32354
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [test:4003 deploy]
32355
+ Migrating to CreateAppendages (20130411202442)
32356
+  (1.8ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [test:4003 deploy]
32357
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [test:4003 deploy]
32358
+ Migrating to CreateMirrorUsers (20130411202551)
32359
+  (2.1ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [test:4003 deploy]
32360
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [test:4003 deploy]
32361
+ Migrating to CreateDigits (20131022202028)
32362
+  (3.5ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [test:4003 deploy]
32363
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [test:4003 deploy]
32364
+ Migrating to CreateFeatures (20131206172923)
32365
+  (1.8ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [test:4003 deploy]
32366
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [test:4003 deploy]
32367
+ Migrating to AddParentIdToUsers (20140123154135)
32368
+  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [test:4003 deploy]
32369
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [test:4003 deploy]
32370
+ Migrating to CreateRoots (20140219183820)
32371
+  (1.9ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [test:4003 deploy]
32372
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [test:4003 deploy]
32373
+ Migrating to AddDummyForeignKey (20150618035859)
32374
+  (0.2ms) ALTER TABLE "users" ADD COLUMN "broken_id" bigint [test:4003 deploy]
32375
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150618035859"]] [test:4003 deploy]
32376
+ Migrating to CreateFaces (20160122150718)
32377
+  (1.7ms) CREATE TABLE "faces" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [test:4003 deploy]
32378
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160122150718"]] [test:4003 deploy]
32379
+  (0.1ms) RELEASE SAVEPOINT active_record_2 [test:4003 deploy]
32380
+ SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 4003 [["name", "switchman_test_shard_4003"]] [test:3988 master]
32381
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
32382
+  (0.1ms) SAVEPOINT active_record_1 [test:4003 master]
32383
+ SQL (0.6ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:50:54 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:50:54 UTC +00:00]] [test:4003 master]
32384
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:4003 master]
32385
+  (3.6ms) DROP SCHEMA switchman_test_shard_4003 CASCADE [test:4003 deploy]
32386
+  (0.1ms) SAVEPOINT active_record_1 [test:3988 master]
32387
+ SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 4003]] [test:3988 master]
32388
+  (0.1ms) RELEASE SAVEPOINT active_record_1 [test:3988 master]
32389
+  (0.1ms) ROLLBACK [1:3990 master]
32390
+  (2.6ms) ROLLBACK [test:3988 master]
32391
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:3988 master]
32392
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
32393
+  (0.1ms) BEGIN
32394
+  (0.1ms) ROLLBACK
32395
+  (0.1ms) BEGIN
32396
+  (0.1ms) ROLLBACK
32397
+  (0.1ms) BEGIN
32398
+  (0.1ms) ROLLBACK
32399
+  (0.1ms) BEGIN
32400
+  (0.1ms) ROLLBACK
32401
+  (0.1ms) BEGIN
32402
+  (0.1ms) ROLLBACK
32403
+  (0.1ms) BEGIN
32404
+  (0.1ms) ROLLBACK
32405
+  (0.1ms) BEGIN
32406
+  (0.1ms) ROLLBACK
32407
+  (0.1ms) BEGIN
32408
+  (0.1ms) ROLLBACK
32409
+  (0.1ms) BEGIN
32410
+  (0.1ms) ROLLBACK
32411
+  (0.1ms) BEGIN
32412
+  (0.1ms) ROLLBACK
32413
+  (0.1ms) BEGIN
32414
+  (0.1ms) ROLLBACK
32415
+  (0.1ms) BEGIN
32416
+  (0.1ms) ROLLBACK
32417
+  (0.1ms) BEGIN
32418
+  (0.1ms) ROLLBACK
32419
+  (0.1ms) BEGIN
32420
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
32421
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 3988]]
32422
+  (5.3ms) COMMIT
32423
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32424
+  (0.1ms) BEGIN
32425
+ SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 3989], ["name", "switchman_test_shard_3989"]]
32426
+  (11.6ms) COMMIT
32427
+  (0.1ms) BEGIN
32428
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 3990], ["name", "switchman_test_shard_3990"]]
32429
+  (0.3ms) COMMIT
32430
+  (0.1ms) BEGIN
32431
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32432
+ Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32433
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32434
+  (0.1ms) BEGIN [1:3990 master]
32435
+  (0.0ms) SAVEPOINT active_record_1 [test:3989 master]
32436
+ SQL (0.0ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Wed, 09 Mar 2016 18:51:54 UTC +00:00], ["updated_at", Wed, 09 Mar 2016 18:51:54 UTC +00:00]] [test:3989 master]
32437
+  (0.0ms) RELEASE SAVEPOINT active_record_1 [test:3989 master]
32438
+  (0.0ms) ROLLBACK [1:3990 master]
32439
+  (0.1ms) ROLLBACK [test:3989 master]
32440
+ SQL (0.4ms) DELETE FROM "switchman_shards" [test:3988 master]
32441
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
32442
+  (0.1ms) BEGIN
32443
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
32444
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("default", "id") VALUES ($1, $2) RETURNING "id" [["default", true], ["id", 3988]]
32445
+  (0.2ms) COMMIT
32446
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32447
+  (0.1ms) BEGIN
32448
+ SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "test"], ["id", 3989], ["name", "switchman_test_shard_3989"]]
32449
+  (0.3ms) COMMIT
32450
+  (0.1ms) BEGIN
32451
+ SQL (0.1ms) INSERT INTO "switchman_shards" ("database_server_id", "id", "name") VALUES ($1, $2, $3) RETURNING "id" [["database_server_id", "1"], ["id", 3990], ["name", "switchman_test_shard_3990"]]
32452
+  (0.2ms) COMMIT
32453
+  (0.1ms) BEGIN
32454
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1
32455
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3989]]
32456
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 3990]]
32457
+  (0.1ms) BEGIN [1:3990 master]
32458
+  (0.1ms) ROLLBACK [1:3990 master]
32459
+  (0.1ms) ROLLBACK [test:3989 master]
32460
+ SQL (0.3ms) DELETE FROM "switchman_shards" [test:3988 master]
32461
+ Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' ORDER BY "switchman_shards"."id" ASC LIMIT 1 [test:3988 master]
32462
+  (0.1ms) BEGIN
32463
+  (0.1ms) ROLLBACK
32464
+  (0.1ms) BEGIN
32465
+ Switchman::Shard Exists (0.2ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
32466
+ SQL (0.2ms)