switchman 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +8 -8
  2. data/lib/switchman/active_record/association.rb +4 -2
  3. data/lib/switchman/active_record/base.rb +1 -1
  4. data/lib/switchman/active_record/connection_handler.rb +4 -3
  5. data/lib/switchman/active_record/finder_methods.rb +21 -12
  6. data/lib/switchman/version.rb +1 -1
  7. data/spec/dummy/db/shard_4377.sqlite3 +0 -0
  8. data/spec/dummy/log/test.log +26619 -36441
  9. data/spec/dummy/tmp/cache/378/5A0/shard%2F4130 +0 -0
  10. data/spec/dummy/tmp/cache/379/590/shard%2F3222 +1 -0
  11. data/spec/dummy/tmp/cache/379/5C0/shard%2F4221 +1 -0
  12. data/spec/dummy/tmp/cache/379/5D0/shard%2F4311 +1 -0
  13. data/spec/dummy/tmp/cache/379/5E0/shard%2F3510 +0 -0
  14. data/spec/dummy/tmp/cache/37A/5C0/shard%2F3322 +0 -0
  15. data/spec/dummy/tmp/cache/37B/5C0/shard%2F3233 +0 -0
  16. data/spec/dummy/tmp/cache/37B/5D0/shard%2F3323 +0 -0
  17. data/spec/dummy/tmp/cache/37B/5F0/shard%2F3503 +1 -0
  18. data/spec/dummy/tmp/cache/37C/5C0/shard%2F4116 +1 -0
  19. data/spec/dummy/tmp/cache/37C/5D0/shard%2F3234 +0 -0
  20. data/spec/dummy/tmp/cache/37C/600/shard%2F3342 +1 -0
  21. data/spec/dummy/tmp/cache/37C/610/shard%2F3432 +1 -0
  22. data/spec/dummy/tmp/cache/37C/670/shard%2F3810 +0 -0
  23. data/spec/dummy/tmp/cache/37D/5F0/shard%2F3406 +1 -0
  24. data/spec/dummy/tmp/cache/37D/610/shard%2F4315 +1 -0
  25. data/spec/dummy/tmp/cache/37D/680/shard%2F3811 +0 -0
  26. data/spec/dummy/tmp/cache/37E/680/shard%2F4370 +0 -0
  27. data/spec/dummy/tmp/cache/37F/600/shard%2F4209 +1 -0
  28. data/spec/dummy/tmp/cache/37F/620/shard%2F3336 +1 -0
  29. data/spec/dummy/tmp/cache/37F/630/shard%2F4155 +1 -0
  30. data/spec/dummy/tmp/cache/37F/660/shard%2F3372 +1 -0
  31. data/spec/dummy/tmp/cache/37F/670/shard%2F4353 +1 -0
  32. data/spec/dummy/tmp/cache/37F/690/shard%2F4290 +1 -0
  33. data/spec/dummy/tmp/cache/380/650/shard%2F4327 +1 -0
  34. data/spec/dummy/tmp/cache/380/680/shard%2F4192 +1 -0
  35. data/spec/dummy/tmp/cache/380/680/shard%2F4273 +1 -0
  36. data/spec/dummy/tmp/cache/380/680/shard%2F4354 +1 -0
  37. data/spec/dummy/tmp/cache/380/690/shard%2F4363 +1 -0
  38. data/spec/dummy/tmp/cache/380/6A0/shard%2F3481 +1 -0
  39. data/spec/dummy/tmp/cache/381/620/shard%2F3239 +1 -0
  40. data/spec/dummy/tmp/cache/381/630/shard%2F4139 +1 -0
  41. data/spec/dummy/tmp/cache/381/660/shard%2F3518 +1 -0
  42. data/spec/dummy/tmp/cache/381/670/shard%2F4256 +1 -0
  43. data/spec/dummy/tmp/cache/381/690/shard%2F4193 +1 -0
  44. data/spec/dummy/tmp/cache/381/690/shard%2F4274 +1 -0
  45. data/spec/dummy/tmp/cache/381/6B0/shard%2F4292 +1 -0
  46. data/spec/dummy/tmp/cache/381/6C0/shard%2F3653 +1 -0
  47. data/spec/dummy/tmp/cache/381/6F0/shard%2F3842 +1 -0
  48. data/spec/dummy/tmp/cache/381/6F0/shard%2F3923 +0 -0
  49. data/spec/dummy/tmp/cache/382/660/shard%2F3348 +1 -0
  50. data/spec/dummy/tmp/cache/382/660/shard%2F4239 +1 -0
  51. data/spec/dummy/tmp/cache/382/680/shard%2F4257 +1 -0
  52. data/spec/dummy/tmp/cache/382/6B0/shard%2F3636 +1 -0
  53. data/spec/dummy/tmp/cache/382/6B0/shard%2F4284 +1 -0
  54. data/spec/dummy/tmp/cache/382/6C0/shard%2F4374 +1 -0
  55. data/spec/dummy/tmp/cache/382/6E0/shard%2F3825 +1 -0
  56. data/spec/dummy/tmp/cache/382/700/shard%2F3924 +0 -0
  57. data/spec/dummy/tmp/cache/382/720/shard%2F3861 +0 -0
  58. data/spec/dummy/tmp/cache/383/680/shard%2F4249 +1 -0
  59. data/spec/dummy/tmp/cache/383/690/shard%2F4177 +1 -0
  60. data/spec/dummy/tmp/cache/383/6A0/shard%2F3376 +0 -0
  61. data/spec/dummy/tmp/cache/383/6F0/shard%2F3907 +1 -0
  62. data/spec/dummy/tmp/cache/383/710/shard%2F3844 +0 -0
  63. data/spec/dummy/tmp/cache/383/730/shard%2F3862 +0 -0
  64. data/spec/dummy/tmp/cache/383/730/shard%2F3943 +0 -0
  65. data/spec/dummy/tmp/cache/383/750/shard%2F3961 +0 -0
  66. data/spec/dummy/tmp/cache/384/6A0/shard%2F3449 +1 -0
  67. data/spec/dummy/tmp/cache/384/700/shard%2F3827 +0 -0
  68. data/spec/dummy/tmp/cache/384/720/shard%2F3845 +0 -0
  69. data/spec/dummy/tmp/cache/384/740/shard%2F3944 +0 -0
  70. data/spec/dummy/tmp/cache/385/6C0/shard%2F3378 +1 -0
  71. data/spec/dummy/tmp/cache/385/6C0/shard%2F4269 +1 -0
  72. data/spec/dummy/tmp/cache/385/6E0/shard%2F3558 +1 -0
  73. data/spec/dummy/tmp/cache/385/710/shard%2F3828 +0 -0
  74. data/spec/dummy/tmp/cache/386/6E0/shard%2F4198 +1 -0
  75. data/spec/dummy/tmp/cache/386/790/shard%2F3892 +0 -0
  76. data/spec/dummy/tmp/cache/387/760/shard%2F3938 +1 -0
  77. data/spec/dummy/tmp/cache/387/7A0/shard%2F3893 +0 -0
  78. data/spec/dummy/tmp/cache/388/790/shard%2F3876 +1 -0
  79. data/spec/dummy/tmp/cache/389/780/shard%2F3859 +1 -0
  80. data/spec/dummy/tmp/cache/389/7A0/shard%2F3958 +1 -0
  81. data/spec/dummy/tmp/cache/38B/7D0/shard%2F3969 +1 -0
  82. data/spec/dummy/tmp/cache/38B/7E0/shard%2F3978 +0 -0
  83. data/spec/dummy/tmp/cache/38C/800/shard%2F3988 +1 -0
  84. data/spec/dummy/tmp/cache/3A8/FE0/shard%2F14210 +1 -0
  85. data/spec/dummy/tmp/cache/3AA/000/shard%2F14131 +1 -0
  86. data/spec/dummy/tmp/cache/3AB/030/shard%2F14312 +1 -0
  87. data/spec/dummy/tmp/cache/3AB/040/shard%2F13511 +1 -0
  88. data/spec/dummy/tmp/cache/3AB/040/shard%2F14240 +1 -0
  89. data/spec/dummy/tmp/cache/3AB/FE0/shard%2F14105 +1 -0
  90. data/spec/dummy/tmp/cache/3AC/020/shard%2F13323 +1 -0
  91. data/spec/dummy/tmp/cache/3AC/060/shard%2F13440 +1 -0
  92. data/spec/dummy/tmp/cache/3AD/020/shard%2F13234 +1 -0
  93. data/spec/dummy/tmp/cache/3AD/050/shard%2F13423 +1 -0
  94. data/spec/dummy/tmp/cache/3AD/070/shard%2F13360 +1 -0
  95. data/spec/dummy/tmp/cache/3AE/010/shard%2F13217 +1 -0
  96. data/spec/dummy/tmp/cache/3AE/060/shard%2F13343 +1 -0
  97. data/spec/dummy/tmp/cache/3AE/0D0/shard%2F13811 +1 -0
  98. data/spec/dummy/tmp/cache/3AF/080/shard%2F14325 +1 -0
  99. data/spec/dummy/tmp/cache/3AF/0D0/shard%2F13641 +1 -0
  100. data/spec/dummy/tmp/cache/3B0/0C0/shard%2F13624 +1 -0
  101. data/spec/dummy/tmp/cache/3B0/0E0/shard%2F14371 +1 -0
  102. data/spec/dummy/tmp/cache/3B1/0D0/shard%2F13544 +1 -0
  103. data/spec/dummy/tmp/cache/3B1/0D0/shard%2F14354 +1 -0
  104. data/spec/dummy/tmp/cache/3B1/0E0/shard%2F13472 +1 -0
  105. data/spec/dummy/tmp/cache/3B1/0F0/shard%2F14291 +1 -0
  106. data/spec/dummy/tmp/cache/3B2/0E0/shard%2F14193 +1 -0
  107. data/spec/dummy/tmp/cache/3B2/0E0/shard%2F14274 +1 -0
  108. data/spec/dummy/tmp/cache/3B3/0A0/shard%2F14149 +1 -0
  109. data/spec/dummy/tmp/cache/3B3/0D0/shard%2F14176 +1 -0
  110. data/spec/dummy/tmp/cache/3B3/0D0/shard%2F14257 +1 -0
  111. data/spec/dummy/tmp/cache/3B3/150/shard%2F13924 +1 -0
  112. data/spec/dummy/tmp/cache/3B4/110/shard%2F13394 +1 -0
  113. data/spec/dummy/tmp/cache/3B4/180/shard%2F13862 +1 -0
  114. data/spec/dummy/tmp/cache/3B5/100/shard%2F13377 +1 -0
  115. data/spec/dummy/tmp/cache/3B5/140/shard%2F13494 +1 -0
  116. data/spec/dummy/tmp/cache/3B5/170/shard%2F13845 +1 -0
  117. data/spec/dummy/tmp/cache/3B5/190/shard%2F13944 +1 -0
  118. data/spec/dummy/tmp/cache/3B5/1B0/shard%2F13962 +1 -0
  119. data/spec/dummy/tmp/cache/3B6/160/shard%2F13828 +1 -0
  120. data/spec/dummy/tmp/cache/3B7/180/shard%2F13676 +1 -0
  121. data/spec/dummy/tmp/cache/3B8/1F0/shard%2F13893 +1 -0
  122. data/spec/dummy/tmp/cache/3BD/240/shard%2F13979 +1 -0
  123. data/spec/lib/active_record/base_spec.rb +18 -0
  124. metadata +240 -16
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzRjZGFmYzVmY2EwYjYyNGQ3Nzc0NzYxNjdhOTQ2M2U5ZDU1YmE0Zg==
4
+ MjkwNzVmZmU5NDk0ODVjMTk2ZTU0NjBkYTg1ODZiZjcyMTE1NWVhMQ==
5
5
  data.tar.gz: !binary |-
6
- ZTY2ZDgwNDU2YjFmOWYwMDMyYzgyYzJmOGU5MWIzZTJlNGIzNDVhNg==
6
+ Mjg1OGIzMTUwZTJiMTM3YWQ1NTg4ZjQ2ODBkMGRkZThlZDMyNjdkNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTVmOWYyY2Y2YWUzMmQ4MWY3NjUzZTFiYThmMmM0OGM3ZDA1YTczNDdmZjFl
10
- MjEzYmJhNzBjODc4OGZmYzgwZmEwNDI3NWQ2YWU3Yzg3ODBkNTBmNTYyNThh
11
- YTJlOGRjMDI5NzhjYmNhZmQyYTMwNWQ4MGIwOWQ2MDM4ODYwZDU=
9
+ N2RjMjE2NjFkMmE3ZjEwN2NiMTVhMTZkM2E4ODBjMmI2YzdkZGNjOGNmOTEw
10
+ Nzc4MDcxOTdlOWNjYjBmODU3NWExZWU0MzIwODcxZDQ4Mzk5OTU4ZTAwM2Y5
11
+ MmQ1MGYxZmY0YmE1MTRjZTIzOTdkMTZlZTVlNTdhY2JlOWJkYjU=
12
12
  data.tar.gz: !binary |-
13
- MzY2ODJiM2E3YWZkNjJhYjllODIyNDBkMzQ5NTkyNzhjNjY4Yzc5MDdiY2Iy
14
- OGE3ZTA2N2U4YTdlZWFmMWJhZjQzNTU5NzNmYWYyMGIxZTNmOWVhZTc3Mzgw
15
- MWE3YjYwNTlkODIzZThkNTlmMDI2NTVhNWNlNTA4Nzc5MTdlNjI=
13
+ ZDAwNDQ3NTljNWY3OTJiMTMxYTNiMmI1MTNmMjlhNWYxNmI5NDEzYTdkNDI2
14
+ NGJlZjVkM2IwNTkwZGNlZDZkZTkxODUwNGE3MTNmMGE5MDAwY2M0NzkxYzEw
15
+ MjQ5ZjJiZWZiZmNiYmIxNDYxNzdhYmE2ZDhmOGUxYzMyODNiNDE=
@@ -97,7 +97,7 @@ module Switchman
97
97
  end
98
98
  end
99
99
 
100
- def associated_records_by_owner
100
+ def associated_records_by_owner(preloader = nil)
101
101
  owners_map = owners_by_key
102
102
 
103
103
  if klass.nil? || owners_map.empty?
@@ -123,7 +123,9 @@ module Switchman
123
123
  end
124
124
 
125
125
  # Each record may have multiple owners, and vice-versa
126
- records_by_owner = Hash[owners.map { |owner| [owner, []] }]
126
+ records_by_owner = owners.each_with_object({}) do |owner,h|
127
+ h[owner] = []
128
+ end
127
129
  records.each do |record|
128
130
  owner_key = record[association_key_name]
129
131
  owner_key = Shard.global_id_for(owner_key, record.shard) if owner_key && record.class.sharded_column?(association_key_name)
@@ -18,7 +18,7 @@ module Switchman
18
18
  categories[shard_category].delete(self)
19
19
  categories.delete(shard_category) if categories[shard_category].empty?
20
20
  end
21
- # TODO: de-initialize the proxy
21
+ connection_handler.uninitialize_ar(self)
22
22
  categories[category] ||= []
23
23
  categories[category] << self
24
24
  @shard_category = category
@@ -149,10 +149,13 @@ module Switchman
149
149
  @class_to_pool
150
150
  end
151
151
 
152
+ # semi-private
153
+ public
152
154
  def uninitialize_ar(model = ::ActiveRecord::Base)
153
155
  # take the proxies out
154
156
  if ::Rails.version >= '4'
155
- owner_to_pool[model.name] = owner_to_pool[model.name].default_pool
157
+ pool = owner_to_pool[model.name]
158
+ owner_to_pool[model.name] = pool.default_pool if pool
156
159
  else
157
160
  class_to_pool.each_key do |model_name|
158
161
  pool_model = model_name.constantize
@@ -179,8 +182,6 @@ module Switchman
179
182
  end
180
183
  end
181
184
 
182
- # semi-private
183
- public
184
185
  def initialize_categories(model = ::ActiveRecord::Base)
185
186
  if ::Rails.version < '4'
186
187
  # now set up pools for models that inherit from this model, but with a different
@@ -25,24 +25,33 @@ module Switchman
25
25
  primary_shard.activate { super }
26
26
  end
27
27
 
28
- def exists?(id = false)
29
- id = id.id if ActiveRecord::Base === id
30
- return false if id.nil?
28
+ def exists?(conditions = :none)
29
+ conditions = conditions.id if ::ActiveRecord::Base === conditions
30
+ return false if !conditions
31
+
32
+ if ::Rails.version >= '4.1'
33
+ relation = apply_join_dependency(self, construct_join_dependency)
34
+ return false if ::ActiveRecord::NullRelation === relation
35
+ else
36
+ join_dependency = construct_join_dependency_for_association_find
37
+ relation = construct_relation_for_association_find(join_dependency)
38
+ end
31
39
 
32
- join_dependency = construct_join_dependency_for_association_find
33
- relation = construct_relation_for_association_find(join_dependency)
34
40
  relation = relation.except(:select, :order).select("1 AS one").limit(1)
35
41
 
36
- case id
37
- when Array, Hash
38
- relation = relation.where(id)
39
- else
40
- relation = relation.where(table[primary_key].eq(id)) if id
42
+ case conditions
43
+ when Array, Hash
44
+ relation = relation.where(conditions)
45
+ else
46
+ relation = relation.where(table[primary_key].eq(conditions)) if conditions != :none
41
47
  end
42
48
 
43
- activate { return true if connection.select_value(relation, "#{name} Exists") }
49
+ args = [relation, "#{name} Exists"]
50
+ args << relation.bind_values if ::Rails.version >= '4.1'
51
+ activate { return true if connection.select_value(*args) }
44
52
  false
45
- rescue ::ActiveRecord::ThrowResult
53
+ rescue
54
+ raise if ::Rails.version >= '4.1' || !(::ActiveRecord::ThrowResult === $!)
46
55
  false
47
56
  end
48
57
  end
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
Binary file
@@ -1,36950 +1,27128 @@
1
- Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
2
- Switchman::Shard Load (0.7ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = 'development' AND "switchman_shards"."name" IS NULL ORDER BY "switchman_shards"."id" ASC LIMIT 1
3
-  (0.4ms) SELECT * FROM unnest(current_schemas(false)) [shard master]
4
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = 'testm' AND "switchman_shards"."name" IS NULL ORDER BY "switchman_shards"."id" ASC LIMIT 1
5
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = 'tests' AND "switchman_shards"."name" IS NULL ORDER BY "switchman_shards"."id" ASC LIMIT 1
6
-  (0.2ms) BEGIN [shard 2960 master]
7
-  (0.1ms) ROLLBACK [shard 2960 master]
8
-  (0.1ms) BEGIN [shard 2960 master]
9
-  (0.1ms) ROLLBACK [shard 2960 master]
10
-  (0.1ms) BEGIN [shard 2960 master]
11
-  (0.1ms) ROLLBACK [shard 2960 master]
12
-  (0.1ms) BEGIN [shard 2960 master]
13
-  (0.1ms) ROLLBACK [shard 2960 master]
14
-  (0.1ms) BEGIN [shard 2960 master]
15
-  (0.1ms) ROLLBACK [shard 2960 master]
16
-  (0.1ms) BEGIN [shard 2960 master]
17
-  (0.1ms) ROLLBACK [shard 2960 master]
18
-  (0.1ms) BEGIN [shard 2960 master]
19
-  (0.1ms) ROLLBACK [shard 2960 master]
20
-  (0.1ms) BEGIN [shard 2960 master]
21
-  (0.1ms) ROLLBACK [shard 2960 master]
22
-  (0.1ms) BEGIN [shard 2960 master]
23
-  (0.1ms) ROLLBACK [shard 2960 master]
24
-  (0.1ms) BEGIN [shard 2960 master]
25
-  (0.1ms) ROLLBACK [shard 2960 master]
26
- SQL (6.9ms) DELETE FROM "switchman_shards" [shard 2960 master]
27
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2960 master]
28
-  (0.1ms) BEGIN [shard 2960 master]
29
- Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2960 master]
30
- SQL (0.9ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]] [shard 2960 master]
31
-  (0.3ms) COMMIT [shard 2960 master]
32
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2960 master]
33
-  (0.2ms) SELECT * FROM unnest(current_schemas(false)) [shard 2960 master]
34
- Switchman::Shard Load (0.7ms) 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 [shard 2965 master]
35
-  (0.1ms) BEGIN [shard 2965 master]
36
- SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]] [shard 2965 master]
37
-  (0.4ms) CREATE SCHEMA switchman_test_shard_2966 [shard 2966 deploy]
38
- ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2966 deploy]
39
- SQL (0.6ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2966 [["name", "switchman_test_shard_2966"]] [shard 2965 master]
40
-  (0.5ms) COMMIT [shard 2965 master]
41
- 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 [shard 2965 master]
42
-  (0.2ms) BEGIN [shard 2965 master]
43
- SQL (0.5ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [shard 2965 master]
44
-  (0.4ms) COMMIT [shard 2965 master]
45
-  (0.9ms) CREATE SCHEMA switchman_test_shard_2967 [shard 2967 deploy]
46
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2967 deploy]
47
-  (0.1ms) BEGIN [shard 2965 master]
48
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2967 [["name", "switchman_test_shard_2967"]] [shard 2965 master]
49
-  (6.4ms) COMMIT [shard 2965 master]
50
-  (0.1ms) BEGIN [shard 2965 master]
51
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2965 master]
52
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2966]] [shard 2965 master]
53
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2967]] [shard 2965 master]
54
-  (0.1ms) BEGIN [shard 2967 master]
55
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 2965 master]
56
-  (0.1ms) SAVEPOINT active_record_1 [shard 2965 master]
57
- SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]] [shard 2965 master]
58
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2965 master]
59
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  [shard 2968 deploy]
60
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2968 deploy]
61
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2968 deploy]
62
- Migrating to CreateUsers (20130403132607)
63
-  (0.1ms) begin transaction [shard 2968 deploy]
64
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "mirror_user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [shard 2968 deploy]
65
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130403132607"]] [shard 2968 deploy]
66
-  (0.7ms) commit transaction [shard 2968 deploy]
67
- Migrating to CreateAppendages (20130411202442)
68
-  (0.2ms) begin transaction [shard 2968 deploy]
69
-  (0.6ms) CREATE TABLE "appendages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime)  [shard 2968 deploy]
70
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202442"]] [shard 2968 deploy]
71
-  (0.6ms) commit transaction [shard 2968 deploy]
72
- Migrating to CreateMirrorUsers (20130411202551)
73
-  (0.1ms) begin transaction [shard 2968 deploy]
74
-  (0.3ms) CREATE TABLE "mirror_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [shard 2968 deploy]
75
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202551"]] [shard 2968 deploy]
76
-  (0.8ms) commit transaction [shard 2968 deploy]
77
- Migrating to CreateDigits (20131022202028)
78
-  (0.1ms) begin transaction [shard 2968 deploy]
79
-  (0.3ms) CREATE TABLE "digits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "appendage_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime)  [shard 2968 deploy]
80
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131022202028"]] [shard 2968 deploy]
81
-  (0.7ms) commit transaction [shard 2968 deploy]
82
- Migrating to CreateFeatures (20131206172923)
83
-  (0.1ms) begin transaction [shard 2968 deploy]
84
-  (0.4ms) 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)  [shard 2968 deploy]
85
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206172923"]] [shard 2968 deploy]
86
-  (1.0ms) commit transaction [shard 2968 deploy]
87
- Migrating to AddParentIdToUsers (20140123154135)
88
-  (0.1ms) begin transaction [shard 2968 deploy]
89
-  (0.4ms) ALTER TABLE "users" ADD "parent_id" integer(8) [shard 2968 deploy]
90
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123154135"]] [shard 2968 deploy]
91
-  (0.8ms) commit transaction [shard 2968 deploy]
92
- Migrating to CreateRoots (20140219183820)
93
-  (0.1ms) begin transaction [shard 2968 deploy]
94
-  (0.5ms) CREATE TABLE "roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [shard 2968 deploy]
95
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140219183820"]] [shard 2968 deploy]
96
-  (1.2ms) commit transaction [shard 2968 deploy]
97
-  (0.2ms) SAVEPOINT active_record_1 [shard 2965 master]
98
- SQL (0.5ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2968 [["name", "db/shard_2968.sqlite3"]] [shard 2965 master]
99
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2965 master]
100
-  (0.1ms) begin transaction [shard 2968 master]
101
- SQL (1.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 20 Mar 2014 22:07:37 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:07:37 UTC +00:00]] [shard 2968 master]
102
-  (0.8ms) commit transaction [shard 2968 master]
103
-  (0.2ms) SAVEPOINT active_record_1 [shard 2965 master]
104
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2968]] [shard 2965 master]
105
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2965 master]
106
-  (0.1ms) ROLLBACK [shard 2967 master]
107
-  (0.1ms) ROLLBACK [shard 2965 master]
108
-  (0.1ms) BEGIN [shard 2965 master]
109
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2965 master]
110
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2966]] [shard 2965 master]
111
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2967]] [shard 2965 master]
112
-  (0.1ms) BEGIN [shard 2967 master]
113
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 2965 master]
114
-  (0.1ms) SAVEPOINT active_record_1 [shard 2965 master]
115
- SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "2"], ["name", "public"]] [shard 2965 master]
116
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2965 master]
117
-  (0.7ms) CREATE SCHEMA switchman_test_shard_2969 [shard 2969 deploy]
118
- ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2969 deploy]
119
-  (0.1ms) SAVEPOINT active_record_1 [shard 2965 master]
120
- SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2969 [["name", "switchman_test_shard_2969"]] [shard 2965 master]
121
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2965 master]
122
-  (0.2ms) BEGIN [shard 2969 master]
123
- SQL (1.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:07:38 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:07:38 UTC +00:00]] [shard 2969 master]
124
-  (6.4ms) COMMIT [shard 2969 master]
125
-  (0.6ms) DROP SCHEMA switchman_test_shard_2969 CASCADE [shard 2969 deploy]
126
-  (0.2ms) SAVEPOINT active_record_1 [shard 2965 master]
127
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2969]] [shard 2965 master]
128
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2965 master]
129
-  (0.2ms) ROLLBACK [shard 2967 master]
130
-  (0.2ms) ROLLBACK [shard 2965 master]
131
-  (0.1ms) BEGIN [shard 2965 master]
132
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2965 master]
133
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2966]] [shard 2965 master]
134
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2967]] [shard 2965 master]
135
-  (0.1ms) BEGIN [shard 2967 master]
136
- Switchman::Shard Load (0.5ms) 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 [shard 2965 master]
137
-  (0.1ms) SAVEPOINT active_record_1 [shard 2965 master]
138
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 [shard 2965 master]
139
-  (0.1ms) ROLLBACK [shard 2967 master]
140
-  (0.1ms) ROLLBACK [shard 2965 master]
141
-  (0.1ms) BEGIN [shard 2965 master]
142
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2965 master]
143
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2966]] [shard 2965 master]
144
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2967]] [shard 2965 master]
145
-  (0.1ms) BEGIN [shard 2967 master]
146
- Switchman::Shard Load (0.3ms) 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 [shard 2965 master]
147
-  (0.1ms) SAVEPOINT active_record_1 [shard 2965 master]
148
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]] [shard 2965 master]
149
-  (0.2ms) CREATE SCHEMA switchman_test_shard_2970 [shard 2970 deploy]
150
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2970 deploy]
151
- SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2970 [["name", "switchman_test_shard_2970"]] [shard 2965 master]
152
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2965 master]
153
-  (0.1ms) SAVEPOINT active_record_1 [shard 2970 master]
154
- SQL (0.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:07:38 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:07:38 UTC +00:00]] [shard 2970 master]
155
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2970 master]
156
-  (0.4ms) DROP SCHEMA switchman_test_shard_2970 CASCADE [shard 2970 deploy]
157
-  (0.1ms) SAVEPOINT active_record_1 [shard 2965 master]
158
- SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2970]] [shard 2965 master]
159
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2965 master]
160
-  (0.1ms) ROLLBACK [shard 2967 master]
161
-  (0.1ms) ROLLBACK [shard 2965 master]
162
-  (0.1ms) BEGIN [shard 2965 master]
163
- SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2965]] [shard 2965 master]
164
-  (0.4ms) COMMIT [shard 2965 master]
165
-  (0.1ms) BEGIN [shard 2965 master]
166
- SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2966]] [shard 2965 master]
167
-  (0.3ms) COMMIT [shard 2965 master]
168
-  (0.1ms) BEGIN [shard 2965 master]
169
- SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2967]] [shard 2965 master]
170
-  (0.2ms) COMMIT [shard 2965 master]
171
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2965 master]
172
-  (0.2ms) BEGIN [shard 2965 master]
173
-  (0.1ms) ROLLBACK [shard 2965 master]
174
-  (0.1ms) BEGIN [shard 2965 master]
175
-  (0.1ms) ROLLBACK [shard 2965 master]
176
-  (0.1ms) BEGIN [shard 2965 master]
177
-  (0.1ms) ROLLBACK [shard 2965 master]
178
-  (0.1ms) BEGIN [shard 2965 master]
179
-  (0.1ms) ROLLBACK [shard 2965 master]
180
-  (0.5ms) DROP SCHEMA switchman_test_shard_2966 CASCADE [shard 2966 deploy]
181
-  (0.1ms) BEGIN
182
-  (0.1ms) COMMIT
183
-  (0.8ms) DROP SCHEMA switchman_test_shard_2967 CASCADE [shard 2967 deploy]
184
-  (0.1ms) BEGIN
185
-  (0.1ms) COMMIT
186
-  (1.6ms) SELECT * FROM unnest(current_schemas(false))
187
- Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
188
-  (0.2ms) BEGIN
189
-  (0.1ms) ROLLBACK
190
-  (0.1ms) BEGIN
191
-  (0.1ms) ROLLBACK
192
-  (0.1ms) BEGIN
193
-  (0.1ms) ROLLBACK
194
-  (0.1ms) BEGIN
195
-  (0.1ms) ROLLBACK
196
- SQL (0.5ms) DELETE FROM "switchman_shards"
197
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
198
-  (0.1ms) BEGIN
199
- Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
200
- SQL (0.6ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]]
201
-  (6.4ms) COMMIT
202
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
203
- Switchman::Shard Load (0.8ms) 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
204
-  (0.1ms) BEGIN
205
- SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
206
-  (0.3ms) CREATE SCHEMA switchman_test_shard_2972 [shard 2972 deploy]
207
-  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 2972 deploy]
208
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2972 deploy]
209
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2972 deploy]
210
- Migrating to CreateUsers (20130403132607)
211
-  (3.8ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2972 deploy]
212
- SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2972 deploy]
213
- Migrating to CreateAppendages (20130411202442)
214
-  (3.0ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2972 deploy]
215
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2972 deploy]
216
- Migrating to CreateMirrorUsers (20130411202551)
217
-  (2.6ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2972 deploy]
218
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2972 deploy]
219
- Migrating to CreateDigits (20131022202028)
220
-  (2.2ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2972 deploy]
221
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2972 deploy]
222
- Migrating to CreateFeatures (20131206172923)
223
-  (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)  [shard 2972 deploy]
224
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2972 deploy]
225
- Migrating to AddParentIdToUsers (20140123154135)
226
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2972 deploy]
227
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2972 deploy]
228
- Migrating to CreateRoots (20140219183820)
229
-  (2.4ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2972 deploy]
230
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2972 deploy]
231
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2972 [["name", "switchman_test_shard_2972"]] [shard 2971 master]
232
-  (1.6ms) COMMIT [shard 2971 master]
233
- 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 [shard 2971 master]
234
-  (0.1ms) BEGIN [shard 2971 master]
235
- SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [shard 2971 master]
236
-  (0.3ms) COMMIT [shard 2971 master]
237
-  (0.6ms) CREATE SCHEMA switchman_test_shard_2973 [shard 2973 deploy]
238
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 2973 deploy]
239
-  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2973 deploy]
240
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2973 deploy]
241
- Migrating to CreateUsers (20130403132607)
242
-  (0.1ms) BEGIN [shard 2973 deploy]
243
-  (2.9ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2973 deploy]
244
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2973 deploy]
245
-  (0.4ms) COMMIT [shard 2973 deploy]
246
- Migrating to CreateAppendages (20130411202442)
247
-  (0.2ms) BEGIN [shard 2973 deploy]
248
-  (2.9ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2973 deploy]
249
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2973 deploy]
250
-  (0.3ms) COMMIT [shard 2973 deploy]
251
- Migrating to CreateMirrorUsers (20130411202551)
252
-  (0.2ms) BEGIN [shard 2973 deploy]
253
-  (2.2ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2973 deploy]
254
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2973 deploy]
255
-  (0.4ms) COMMIT [shard 2973 deploy]
256
- Migrating to CreateDigits (20131022202028)
257
-  (0.3ms) BEGIN [shard 2973 deploy]
258
-  (2.2ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2973 deploy]
259
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2973 deploy]
260
-  (0.4ms) COMMIT [shard 2973 deploy]
261
- Migrating to CreateFeatures (20131206172923)
262
-  (0.2ms) BEGIN [shard 2973 deploy]
263
-  (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) [shard 2973 deploy]
264
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2973 deploy]
265
-  (0.3ms) COMMIT [shard 2973 deploy]
266
- Migrating to AddParentIdToUsers (20140123154135)
267
-  (0.2ms) BEGIN [shard 2973 deploy]
268
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2973 deploy]
269
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2973 deploy]
270
-  (0.3ms) COMMIT [shard 2973 deploy]
271
- Migrating to CreateRoots (20140219183820)
272
-  (0.1ms) BEGIN [shard 2973 deploy]
273
-  (2.0ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2973 deploy]
274
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2973 deploy]
275
-  (0.3ms) COMMIT [shard 2973 deploy]
276
-  (0.2ms) BEGIN [shard 2971 master]
277
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2973 [["name", "switchman_test_shard_2973"]] [shard 2971 master]
278
-  (0.3ms) COMMIT [shard 2971 master]
279
-  (0.1ms) BEGIN [shard 2971 master]
280
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2971 master]
281
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2972]] [shard 2971 master]
282
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2973]] [shard 2971 master]
283
-  (0.1ms) BEGIN [shard 2973 master]
284
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 2971 master]
285
-  (0.1ms) SAVEPOINT active_record_1 [shard 2971 master]
286
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "2"], ["name", "public"]] [shard 2971 master]
287
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2971 master]
288
-  (0.8ms) CREATE SCHEMA switchman_test_shard_2974 [shard 2974 deploy]
289
-  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 2974 deploy]
290
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2974 deploy]
291
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2974 deploy]
292
- Migrating to CreateUsers (20130403132607)
293
-  (0.1ms) BEGIN [shard 2974 deploy]
294
-  (2.5ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2974 deploy]
295
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2974 deploy]
296
-  (0.3ms) COMMIT [shard 2974 deploy]
297
- Migrating to CreateAppendages (20130411202442)
298
-  (0.2ms) BEGIN [shard 2974 deploy]
299
-  (2.1ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2974 deploy]
300
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2974 deploy]
301
-  (5.7ms) COMMIT [shard 2974 deploy]
302
- Migrating to CreateMirrorUsers (20130411202551)
303
-  (5.5ms) BEGIN [shard 2974 deploy]
304
-  (7.5ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2974 deploy]
305
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2974 deploy]
306
-  (0.4ms) COMMIT [shard 2974 deploy]
307
- Migrating to CreateDigits (20131022202028)
308
-  (0.2ms) BEGIN [shard 2974 deploy]
309
-  (2.1ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2974 deploy]
310
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2974 deploy]
311
-  (0.4ms) COMMIT [shard 2974 deploy]
312
- Migrating to CreateFeatures (20131206172923)
313
-  (0.2ms) BEGIN [shard 2974 deploy]
314
-  (2.5ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2974 deploy]
315
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2974 deploy]
316
-  (0.4ms) COMMIT [shard 2974 deploy]
317
- Migrating to AddParentIdToUsers (20140123154135)
318
-  (0.2ms) BEGIN [shard 2974 deploy]
319
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2974 deploy]
320
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2974 deploy]
321
-  (0.3ms) COMMIT [shard 2974 deploy]
322
- Migrating to CreateRoots (20140219183820)
323
-  (0.1ms) BEGIN [shard 2974 deploy]
324
-  (2.2ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2974 deploy]
325
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2974 deploy]
326
-  (0.5ms) COMMIT [shard 2974 deploy]
327
-  (0.2ms) SAVEPOINT active_record_1 [shard 2971 master]
328
- SQL (0.9ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2974 [["name", "switchman_test_shard_2974"]] [shard 2971 master]
329
-  (0.2ms) RELEASE SAVEPOINT active_record_1 [shard 2971 master]
330
-  (0.1ms) BEGIN [shard 2974 master]
331
- SQL (1.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:08:13 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:13 UTC +00:00]] [shard 2974 master]
332
-  (0.3ms) COMMIT [shard 2974 master]
333
-  (4.3ms) DROP SCHEMA switchman_test_shard_2974 CASCADE [shard 2974 deploy]
334
-  (0.1ms) SAVEPOINT active_record_1 [shard 2971 master]
335
- SQL (0.5ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2974]] [shard 2971 master]
336
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2971 master]
337
-  (0.1ms) ROLLBACK [shard 2973 master]
338
-  (0.2ms) ROLLBACK [shard 2971 master]
339
-  (0.1ms) BEGIN [shard 2971 master]
340
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2971 master]
341
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2972]] [shard 2971 master]
342
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2973]] [shard 2971 master]
343
-  (0.1ms) BEGIN [shard 2973 master]
344
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 2971 master]
345
-  (0.1ms) SAVEPOINT active_record_1 [shard 2971 master]
346
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]] [shard 2971 master]
347
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2971 master]
348
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [shard 2975 deploy]
349
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2975 deploy]
350
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2975 deploy]
351
- Migrating to CreateUsers (20130403132607)
352
-  (0.1ms) begin transaction [shard 2975 deploy]
353
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "mirror_user_id" integer(8), "created_at" datetime, "updated_at" datetime) [shard 2975 deploy]
354
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130403132607"]] [shard 2975 deploy]
355
-  (0.8ms) commit transaction [shard 2975 deploy]
356
- Migrating to CreateAppendages (20130411202442)
357
-  (0.1ms) begin transaction [shard 2975 deploy]
358
-  (0.3ms) CREATE TABLE "appendages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime) [shard 2975 deploy]
359
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202442"]] [shard 2975 deploy]
360
-  (0.7ms) commit transaction [shard 2975 deploy]
361
- Migrating to CreateMirrorUsers (20130411202551)
362
-  (0.1ms) begin transaction [shard 2975 deploy]
363
-  (0.3ms) CREATE TABLE "mirror_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime) [shard 2975 deploy]
364
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202551"]] [shard 2975 deploy]
365
-  (0.8ms) commit transaction [shard 2975 deploy]
366
- Migrating to CreateDigits (20131022202028)
367
-  (0.1ms) begin transaction [shard 2975 deploy]
368
-  (0.3ms) CREATE TABLE "digits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "appendage_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime) [shard 2975 deploy]
369
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131022202028"]] [shard 2975 deploy]
370
-  (0.7ms) commit transaction [shard 2975 deploy]
371
- Migrating to CreateFeatures (20131206172923)
372
-  (0.1ms) begin transaction [shard 2975 deploy]
373
-  (0.3ms) 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) [shard 2975 deploy]
374
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206172923"]] [shard 2975 deploy]
375
-  (0.7ms) commit transaction [shard 2975 deploy]
376
- Migrating to AddParentIdToUsers (20140123154135)
377
-  (0.1ms) begin transaction [shard 2975 deploy]
378
-  (0.3ms) ALTER TABLE "users" ADD "parent_id" integer(8) [shard 2975 deploy]
379
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123154135"]] [shard 2975 deploy]
380
-  (0.6ms) commit transaction [shard 2975 deploy]
381
- Migrating to CreateRoots (20140219183820)
382
-  (0.1ms) begin transaction [shard 2975 deploy]
383
-  (0.3ms) CREATE TABLE "roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime) [shard 2975 deploy]
384
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140219183820"]] [shard 2975 deploy]
385
-  (0.6ms) commit transaction [shard 2975 deploy]
386
-  (0.1ms) SAVEPOINT active_record_1 [shard 2971 master]
387
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2975 [["name", "db/shard_2975.sqlite3"]] [shard 2971 master]
388
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2971 master]
389
-  (0.1ms) begin transaction [shard 2975 master]
390
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 20 Mar 2014 22:08:13 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:13 UTC +00:00]] [shard 2975 master]
391
-  (0.7ms) commit transaction [shard 2975 master]
392
-  (0.1ms) SAVEPOINT active_record_1 [shard 2971 master]
393
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2975]] [shard 2971 master]
394
-  (0.2ms) RELEASE SAVEPOINT active_record_1 [shard 2971 master]
395
-  (0.2ms) ROLLBACK [shard 2973 master]
396
-  (0.2ms) ROLLBACK [shard 2971 master]
397
-  (0.1ms) BEGIN [shard 2971 master]
398
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2971 master]
399
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2972]] [shard 2971 master]
400
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2973]] [shard 2971 master]
401
-  (0.1ms) BEGIN [shard 2973 master]
402
- Switchman::Shard Load (0.4ms) 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 [shard 2971 master]
403
-  (0.1ms) SAVEPOINT active_record_1 [shard 2971 master]
404
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 [shard 2971 master]
405
-  (0.1ms) ROLLBACK [shard 2973 master]
406
-  (0.1ms) ROLLBACK [shard 2971 master]
407
-  (0.1ms) BEGIN [shard 2971 master]
408
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2971 master]
409
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2972]] [shard 2971 master]
410
- Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2973]] [shard 2971 master]
411
-  (0.2ms) BEGIN [shard 2973 master]
412
- 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 [shard 2971 master]
413
-  (0.2ms) SAVEPOINT active_record_1 [shard 2971 master]
414
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]] [shard 2971 master]
415
-  (0.2ms) CREATE SCHEMA switchman_test_shard_2976 [shard 2976 deploy]
416
-  (1.0ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [shard 2976 deploy]
417
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2976 deploy]
418
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2976 deploy]
419
- Migrating to CreateUsers (20130403132607)
420
-  (2.5ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2976 deploy]
421
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2976 deploy]
422
- Migrating to CreateAppendages (20130411202442)
423
-  (2.1ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2976 deploy]
424
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2976 deploy]
425
- Migrating to CreateMirrorUsers (20130411202551)
426
-  (2.1ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2976 deploy]
427
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2976 deploy]
428
- Migrating to CreateDigits (20131022202028)
429
-  (1.9ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2976 deploy]
430
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2976 deploy]
431
- Migrating to CreateFeatures (20131206172923)
432
-  (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) [shard 2976 deploy]
433
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2976 deploy]
434
- Migrating to AddParentIdToUsers (20140123154135)
435
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2976 deploy]
436
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2976 deploy]
437
- Migrating to CreateRoots (20140219183820)
438
-  (2.1ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2976 deploy]
439
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2976 deploy]
440
- SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2976 [["name", "switchman_test_shard_2976"]] [shard 2971 master]
441
-  (0.2ms) RELEASE SAVEPOINT active_record_1 [shard 2971 master]
442
-  (0.2ms) SAVEPOINT active_record_1 [shard 2976 master]
443
- SQL (0.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:08:14 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:14 UTC +00:00]] [shard 2976 master]
444
-  (0.2ms) RELEASE SAVEPOINT active_record_1 [shard 2976 master]
445
-  (2.6ms) DROP SCHEMA switchman_test_shard_2976 CASCADE [shard 2976 deploy]
446
-  (0.1ms) SAVEPOINT active_record_1 [shard 2971 master]
447
- SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2976]] [shard 2971 master]
448
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2971 master]
449
-  (0.1ms) ROLLBACK [shard 2973 master]
450
-  (2.4ms) ROLLBACK [shard 2971 master]
451
-  (0.1ms) BEGIN [shard 2971 master]
452
- SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2971]] [shard 2971 master]
453
-  (0.3ms) COMMIT [shard 2971 master]
454
-  (0.1ms) BEGIN [shard 2971 master]
455
- SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2972]] [shard 2971 master]
456
-  (0.3ms) COMMIT [shard 2971 master]
457
-  (0.1ms) BEGIN [shard 2971 master]
458
- SQL (0.2ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2973]] [shard 2971 master]
459
-  (0.3ms) COMMIT [shard 2971 master]
460
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2971 master]
461
-  (0.1ms) BEGIN [shard 2971 master]
462
-  (0.1ms) ROLLBACK [shard 2971 master]
463
-  (0.1ms) BEGIN [shard 2971 master]
464
-  (0.2ms) ROLLBACK [shard 2971 master]
465
-  (0.1ms) BEGIN [shard 2971 master]
466
-  (0.1ms) ROLLBACK [shard 2971 master]
467
-  (0.1ms) BEGIN [shard 2971 master]
468
-  (0.1ms) ROLLBACK [shard 2971 master]
469
-  (0.1ms) BEGIN [shard 2971 master]
470
-  (0.1ms) ROLLBACK [shard 2971 master]
471
-  (0.1ms) BEGIN [shard 2971 master]
472
-  (0.1ms) ROLLBACK [shard 2971 master]
473
-  (0.1ms) BEGIN [shard 2971 master]
474
-  (0.1ms) ROLLBACK [shard 2971 master]
475
-  (0.1ms) BEGIN [shard 2971 master]
476
-  (0.1ms) ROLLBACK [shard 2971 master]
477
-  (0.1ms) BEGIN [shard 2971 master]
478
-  (0.2ms) ROLLBACK [shard 2971 master]
479
-  (0.1ms) BEGIN [shard 2971 master]
480
-  (0.1ms) ROLLBACK [shard 2971 master]
481
-  (4.8ms) DROP SCHEMA switchman_test_shard_2972 CASCADE [shard 2972 deploy]
482
-  (0.1ms) BEGIN
483
-  (0.1ms) COMMIT
484
-  (4.7ms) DROP SCHEMA switchman_test_shard_2973 CASCADE [shard 2973 deploy]
485
-  (0.2ms) BEGIN
486
-  (0.1ms) COMMIT
487
-  (1.6ms) SELECT * FROM unnest(current_schemas(false))
488
- Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
489
-  (0.2ms) BEGIN
490
-  (0.1ms) ROLLBACK
491
-  (0.1ms) BEGIN
492
-  (0.1ms) ROLLBACK
493
-  (0.1ms) BEGIN
494
-  (0.1ms) ROLLBACK
495
-  (0.1ms) BEGIN
496
-  (0.1ms) ROLLBACK
497
-  (0.1ms) BEGIN
498
-  (0.1ms) ROLLBACK
499
-  (0.1ms) BEGIN
500
-  (0.1ms) ROLLBACK
501
-  (0.1ms) BEGIN
502
-  (0.1ms) ROLLBACK
503
-  (0.1ms) BEGIN
504
-  (0.1ms) ROLLBACK
505
-  (0.1ms) BEGIN
506
-  (0.1ms) ROLLBACK
507
-  (0.1ms) BEGIN
508
-  (0.1ms) ROLLBACK
509
- SQL (0.5ms) DELETE FROM "switchman_shards"
510
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
511
-  (0.1ms) BEGIN
512
- Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
513
- SQL (0.6ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]]
514
-  (6.4ms) COMMIT
515
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
516
- Switchman::Shard Load (0.7ms) 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
517
-  (0.1ms) BEGIN
518
- SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
519
-  (0.3ms) CREATE SCHEMA switchman_test_shard_2978 [shard 2978 deploy]
520
-  (1.4ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 2978 deploy]
521
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2978 deploy]
522
- ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2978 deploy]
523
- Migrating to CreateUsers (20130403132607)
524
-  (2.5ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2978 deploy]
525
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2978 deploy]
526
- Migrating to CreateAppendages (20130411202442)
527
-  (2.0ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2978 deploy]
528
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2978 deploy]
529
- Migrating to CreateMirrorUsers (20130411202551)
530
-  (2.0ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2978 deploy]
531
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2978 deploy]
532
- Migrating to CreateDigits (20131022202028)
533
-  (1.9ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2978 deploy]
534
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2978 deploy]
535
- Migrating to CreateFeatures (20131206172923)
536
-  (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)  [shard 2978 deploy]
537
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2978 deploy]
538
- Migrating to AddParentIdToUsers (20140123154135)
539
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2978 deploy]
540
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2978 deploy]
541
- Migrating to CreateRoots (20140219183820)
542
-  (2.0ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2978 deploy]
543
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2978 deploy]
544
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2978 [["name", "switchman_test_shard_2978"]] [shard 2977 master]
545
-  (0.8ms) COMMIT [shard 2977 master]
546
- Switchman::Shard Load (0.6ms) 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 [shard 2977 master]
547
-  (0.1ms) BEGIN [shard 2977 master]
548
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [shard 2977 master]
549
-  (0.3ms) COMMIT [shard 2977 master]
550
-  (0.7ms) CREATE SCHEMA switchman_test_shard_2979 [shard 2979 deploy]
551
-  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 2979 deploy]
552
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2979 deploy]
553
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2979 deploy]
554
- Migrating to CreateUsers (20130403132607)
555
-  (0.1ms) BEGIN [shard 2979 deploy]
556
-  (2.5ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2979 deploy]
557
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2979 deploy]
558
-  (0.3ms) COMMIT [shard 2979 deploy]
559
- Migrating to CreateAppendages (20130411202442)
560
-  (0.2ms) BEGIN [shard 2979 deploy]
561
-  (1.9ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2979 deploy]
562
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2979 deploy]
563
-  (0.4ms) COMMIT [shard 2979 deploy]
564
- Migrating to CreateMirrorUsers (20130411202551)
565
-  (0.2ms) BEGIN [shard 2979 deploy]
566
-  (1.9ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2979 deploy]
567
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2979 deploy]
568
-  (0.4ms) COMMIT [shard 2979 deploy]
569
- Migrating to CreateDigits (20131022202028)
570
-  (0.1ms) BEGIN [shard 2979 deploy]
571
-  (2.0ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2979 deploy]
572
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2979 deploy]
573
-  (0.4ms) COMMIT [shard 2979 deploy]
574
- Migrating to CreateFeatures (20131206172923)
575
-  (0.2ms) BEGIN [shard 2979 deploy]
576
-  (2.2ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2979 deploy]
577
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2979 deploy]
578
-  (0.4ms) COMMIT [shard 2979 deploy]
579
- Migrating to AddParentIdToUsers (20140123154135)
580
-  (0.1ms) BEGIN [shard 2979 deploy]
581
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2979 deploy]
582
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2979 deploy]
583
-  (0.3ms) COMMIT [shard 2979 deploy]
584
- Migrating to CreateRoots (20140219183820)
585
-  (0.1ms) BEGIN [shard 2979 deploy]
586
-  (1.9ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2979 deploy]
587
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2979 deploy]
588
-  (0.4ms) COMMIT [shard 2979 deploy]
589
-  (0.2ms) BEGIN [shard 2977 master]
590
- SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2979 [["name", "switchman_test_shard_2979"]] [shard 2977 master]
591
-  (0.4ms) COMMIT [shard 2977 master]
592
-  (0.1ms) BEGIN [shard 2977 master]
593
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2977 master]
594
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2978]] [shard 2977 master]
595
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2979]] [shard 2977 master]
596
-  (0.1ms) BEGIN [shard 2979 master]
597
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 2977 master]
598
-  (0.1ms) SAVEPOINT active_record_1 [shard 2977 master]
599
- SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]] [shard 2977 master]
600
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2977 master]
601
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  [shard 2980 deploy]
602
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2980 deploy]
603
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2980 deploy]
604
- Migrating to CreateUsers (20130403132607)
605
-  (0.1ms) begin transaction [shard 2980 deploy]
606
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "mirror_user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [shard 2980 deploy]
607
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130403132607"]] [shard 2980 deploy]
608
-  (0.7ms) commit transaction [shard 2980 deploy]
609
- Migrating to CreateAppendages (20130411202442)
610
-  (0.1ms) begin transaction [shard 2980 deploy]
611
-  (0.5ms) CREATE TABLE "appendages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime)  [shard 2980 deploy]
612
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202442"]] [shard 2980 deploy]
613
-  (0.7ms) commit transaction [shard 2980 deploy]
614
- Migrating to CreateMirrorUsers (20130411202551)
615
-  (0.1ms) begin transaction [shard 2980 deploy]
616
-  (0.3ms) CREATE TABLE "mirror_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [shard 2980 deploy]
617
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202551"]] [shard 2980 deploy]
618
-  (0.6ms) commit transaction [shard 2980 deploy]
619
- Migrating to CreateDigits (20131022202028)
620
-  (0.1ms) begin transaction [shard 2980 deploy]
621
-  (0.6ms) CREATE TABLE "digits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "appendage_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime)  [shard 2980 deploy]
622
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131022202028"]] [shard 2980 deploy]
623
-  (0.8ms) commit transaction [shard 2980 deploy]
624
- Migrating to CreateFeatures (20131206172923)
625
-  (0.2ms) begin transaction [shard 2980 deploy]
626
-  (0.5ms) 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)  [shard 2980 deploy]
627
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206172923"]] [shard 2980 deploy]
628
-  (0.7ms) commit transaction [shard 2980 deploy]
629
- Migrating to AddParentIdToUsers (20140123154135)
630
-  (0.1ms) begin transaction [shard 2980 deploy]
631
-  (0.3ms) ALTER TABLE "users" ADD "parent_id" integer(8) [shard 2980 deploy]
632
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123154135"]] [shard 2980 deploy]
633
-  (0.7ms) commit transaction [shard 2980 deploy]
634
- Migrating to CreateRoots (20140219183820)
635
-  (0.1ms) begin transaction [shard 2980 deploy]
636
-  (0.3ms) CREATE TABLE "roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [shard 2980 deploy]
637
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140219183820"]] [shard 2980 deploy]
638
-  (1.0ms) commit transaction [shard 2980 deploy]
639
-  (0.1ms) SAVEPOINT active_record_1 [shard 2977 master]
640
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2980 [["name", "db/shard_2980.sqlite3"]] [shard 2977 master]
641
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2977 master]
642
-  (0.1ms) begin transaction [shard 2980 master]
643
- SQL (1.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 20 Mar 2014 22:08:18 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:18 UTC +00:00]] [shard 2980 master]
644
-  (0.8ms) commit transaction [shard 2980 master]
645
-  (0.1ms) SAVEPOINT active_record_1 [shard 2977 master]
646
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2980]] [shard 2977 master]
647
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2977 master]
648
-  (0.1ms) ROLLBACK [shard 2979 master]
649
-  (0.2ms) ROLLBACK [shard 2977 master]
650
-  (0.1ms) BEGIN [shard 2977 master]
651
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2977 master]
652
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2978]] [shard 2977 master]
653
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2979]] [shard 2977 master]
654
-  (0.1ms) BEGIN [shard 2979 master]
655
- Switchman::Shard Load (0.6ms) 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 [shard 2977 master]
656
-  (0.2ms) SAVEPOINT active_record_1 [shard 2977 master]
657
-  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 [shard 2977 master]
658
-  (0.2ms) ROLLBACK [shard 2979 master]
659
-  (0.2ms) ROLLBACK [shard 2977 master]
660
-  (0.2ms) BEGIN [shard 2977 master]
661
- Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2977 master]
662
- Switchman::Shard Load (0.6ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2978]] [shard 2977 master]
663
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2979]] [shard 2977 master]
664
-  (0.1ms) BEGIN [shard 2979 master]
665
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 2977 master]
666
-  (0.1ms) SAVEPOINT active_record_1 [shard 2977 master]
667
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "2"], ["name", "public"]] [shard 2977 master]
668
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2977 master]
669
-  (0.7ms) CREATE SCHEMA switchman_test_shard_2981 [shard 2981 deploy]
670
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [shard 2981 deploy]
671
-  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2981 deploy]
672
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2981 deploy]
673
- Migrating to CreateUsers (20130403132607)
674
-  (0.1ms) BEGIN [shard 2981 deploy]
675
-  (2.6ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2981 deploy]
676
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2981 deploy]
677
-  (0.3ms) COMMIT [shard 2981 deploy]
678
- Migrating to CreateAppendages (20130411202442)
679
-  (0.2ms) BEGIN [shard 2981 deploy]
680
-  (2.2ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2981 deploy]
681
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2981 deploy]
682
-  (0.4ms) COMMIT [shard 2981 deploy]
683
- Migrating to CreateMirrorUsers (20130411202551)
684
-  (0.2ms) BEGIN [shard 2981 deploy]
685
-  (2.6ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2981 deploy]
686
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2981 deploy]
687
-  (0.4ms) COMMIT [shard 2981 deploy]
688
- Migrating to CreateDigits (20131022202028)
689
-  (0.2ms) BEGIN [shard 2981 deploy]
690
-  (2.1ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2981 deploy]
691
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2981 deploy]
692
-  (0.3ms) COMMIT [shard 2981 deploy]
693
- Migrating to CreateFeatures (20131206172923)
694
-  (0.2ms) BEGIN [shard 2981 deploy]
695
-  (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)  [shard 2981 deploy]
696
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2981 deploy]
697
-  (0.3ms) COMMIT [shard 2981 deploy]
698
- Migrating to AddParentIdToUsers (20140123154135)
699
-  (0.2ms) BEGIN [shard 2981 deploy]
700
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2981 deploy]
701
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2981 deploy]
702
-  (0.2ms) COMMIT [shard 2981 deploy]
703
- Migrating to CreateRoots (20140219183820)
704
-  (0.1ms) BEGIN [shard 2981 deploy]
705
-  (2.2ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2981 deploy]
706
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2981 deploy]
707
-  (0.3ms) COMMIT [shard 2981 deploy]
708
-  (0.1ms) SAVEPOINT active_record_1 [shard 2977 master]
709
- SQL (0.5ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2981 [["name", "switchman_test_shard_2981"]] [shard 2977 master]
710
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2977 master]
711
-  (0.1ms) BEGIN [shard 2981 master]
712
- SQL (4.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:08:18 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:18 UTC +00:00]] [shard 2981 master]
713
-  (0.3ms) COMMIT [shard 2981 master]
714
-  (4.3ms) DROP SCHEMA switchman_test_shard_2981 CASCADE [shard 2981 deploy]
715
-  (0.1ms) SAVEPOINT active_record_1 [shard 2977 master]
716
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2981]] [shard 2977 master]
717
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2977 master]
718
-  (0.1ms) ROLLBACK [shard 2979 master]
719
-  (0.1ms) ROLLBACK [shard 2977 master]
720
-  (0.1ms) BEGIN [shard 2977 master]
721
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2977 master]
722
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2978]] [shard 2977 master]
723
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2979]] [shard 2977 master]
724
-  (0.1ms) BEGIN [shard 2979 master]
725
- Switchman::Shard Load (0.3ms) 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 [shard 2977 master]
726
-  (0.1ms) SAVEPOINT active_record_1 [shard 2977 master]
727
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]] [shard 2977 master]
728
-  (0.1ms) CREATE SCHEMA switchman_test_shard_2982 [shard 2982 deploy]
729
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [shard 2982 deploy]
730
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2982 deploy]
731
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2982 deploy]
732
- Migrating to CreateUsers (20130403132607)
733
-  (1.9ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2982 deploy]
734
- SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2982 deploy]
735
- Migrating to CreateAppendages (20130411202442)
736
-  (2.2ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2982 deploy]
737
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2982 deploy]
738
- Migrating to CreateMirrorUsers (20130411202551)
739
-  (1.8ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2982 deploy]
740
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2982 deploy]
741
- Migrating to CreateDigits (20131022202028)
742
-  (2.3ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2982 deploy]
743
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2982 deploy]
744
- Migrating to CreateFeatures (20131206172923)
745
-  (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) [shard 2982 deploy]
746
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2982 deploy]
747
- Migrating to AddParentIdToUsers (20140123154135)
748
-  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2982 deploy]
749
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2982 deploy]
750
- Migrating to CreateRoots (20140219183820)
751
-  (2.1ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2982 deploy]
752
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2982 deploy]
753
- SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2982 [["name", "switchman_test_shard_2982"]] [shard 2977 master]
754
-  (0.2ms) RELEASE SAVEPOINT active_record_1 [shard 2977 master]
755
-  (0.1ms) SAVEPOINT active_record_1 [shard 2982 master]
756
- SQL (0.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:08:18 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:18 UTC +00:00]] [shard 2982 master]
757
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2982 master]
758
-  (2.6ms) DROP SCHEMA switchman_test_shard_2982 CASCADE [shard 2982 deploy]
759
-  (0.1ms) SAVEPOINT active_record_1 [shard 2977 master]
760
- SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2982]] [shard 2977 master]
761
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2977 master]
762
-  (0.2ms) ROLLBACK [shard 2979 master]
763
-  (2.3ms) ROLLBACK [shard 2977 master]
764
-  (0.1ms) BEGIN [shard 2977 master]
765
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2977]] [shard 2977 master]
766
-  (0.5ms) COMMIT [shard 2977 master]
767
-  (0.2ms) BEGIN [shard 2977 master]
768
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2978]] [shard 2977 master]
769
-  (0.4ms) COMMIT [shard 2977 master]
770
-  (0.2ms) BEGIN [shard 2977 master]
771
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2979]] [shard 2977 master]
772
-  (0.5ms) COMMIT [shard 2977 master]
773
- Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2977 master]
774
-  (1.5ms) BEGIN [shard 2977 master]
775
-  (0.2ms) ROLLBACK [shard 2977 master]
776
-  (0.2ms) BEGIN [shard 2977 master]
777
-  (0.2ms) ROLLBACK [shard 2977 master]
778
-  (0.2ms) BEGIN [shard 2977 master]
779
-  (0.2ms) ROLLBACK [shard 2977 master]
780
-  (0.2ms) BEGIN [shard 2977 master]
781
-  (0.2ms) ROLLBACK [shard 2977 master]
782
-  (4.3ms) DROP SCHEMA switchman_test_shard_2978 CASCADE [shard 2978 deploy]
783
-  (0.1ms) BEGIN
784
-  (0.1ms) COMMIT
785
-  (4.5ms) DROP SCHEMA switchman_test_shard_2979 CASCADE [shard 2979 deploy]
786
-  (0.2ms) BEGIN
787
-  (0.1ms) COMMIT
788
-  (1.6ms) SELECT * FROM unnest(current_schemas(false))
789
- Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
790
-  (0.2ms) BEGIN
791
-  (0.1ms) ROLLBACK
792
-  (0.1ms) BEGIN
793
-  (0.1ms) ROLLBACK
794
-  (0.1ms) BEGIN
795
-  (0.1ms) ROLLBACK
796
-  (0.1ms) BEGIN
797
-  (0.1ms) ROLLBACK
798
- SQL (0.5ms) DELETE FROM "switchman_shards"
799
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
800
-  (0.1ms) BEGIN
801
- Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
802
- SQL (0.7ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]]
803
-  (6.4ms) COMMIT
804
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
805
- Switchman::Shard Load (0.7ms) 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
806
-  (0.1ms) BEGIN
807
- SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
808
-  (0.3ms) CREATE SCHEMA switchman_test_shard_2984 [shard 2984 deploy]
809
-  (1.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 2984 deploy]
810
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2984 deploy]
811
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2984 deploy]
812
- Migrating to CreateUsers (20130403132607)
813
-  (2.4ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2984 deploy]
814
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2984 deploy]
815
- Migrating to CreateAppendages (20130411202442)
816
-  (2.2ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2984 deploy]
817
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2984 deploy]
818
- Migrating to CreateMirrorUsers (20130411202551)
819
-  (2.4ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2984 deploy]
820
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2984 deploy]
821
- Migrating to CreateDigits (20131022202028)
822
-  (2.1ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2984 deploy]
823
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2984 deploy]
824
- Migrating to CreateFeatures (20131206172923)
825
-  (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)  [shard 2984 deploy]
826
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2984 deploy]
827
- Migrating to AddParentIdToUsers (20140123154135)
828
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2984 deploy]
829
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2984 deploy]
830
- Migrating to CreateRoots (20140219183820)
831
-  (2.2ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2984 deploy]
832
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2984 deploy]
833
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2984 [["name", "switchman_test_shard_2984"]] [shard 2983 master]
834
-  (0.8ms) COMMIT [shard 2983 master]
835
- 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 [shard 2983 master]
836
-  (0.1ms) BEGIN [shard 2983 master]
837
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [shard 2983 master]
838
-  (0.3ms) COMMIT [shard 2983 master]
839
-  (0.6ms) CREATE SCHEMA switchman_test_shard_2985 [shard 2985 deploy]
840
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 2985 deploy]
841
-  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2985 deploy]
842
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2985 deploy]
843
- Migrating to CreateUsers (20130403132607)
844
-  (0.1ms) BEGIN [shard 2985 deploy]
845
-  (2.7ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2985 deploy]
846
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2985 deploy]
847
-  (0.3ms) COMMIT [shard 2985 deploy]
848
- Migrating to CreateAppendages (20130411202442)
849
-  (0.2ms) BEGIN [shard 2985 deploy]
850
-  (2.2ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2985 deploy]
851
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2985 deploy]
852
-  (0.3ms) COMMIT [shard 2985 deploy]
853
- Migrating to CreateMirrorUsers (20130411202551)
854
-  (0.1ms) BEGIN [shard 2985 deploy]
855
-  (2.0ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2985 deploy]
856
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2985 deploy]
857
-  (0.3ms) COMMIT [shard 2985 deploy]
858
- Migrating to CreateDigits (20131022202028)
859
-  (0.2ms) BEGIN [shard 2985 deploy]
860
-  (1.9ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2985 deploy]
861
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2985 deploy]
862
-  (0.4ms) COMMIT [shard 2985 deploy]
863
- Migrating to CreateFeatures (20131206172923)
864
-  (0.2ms) BEGIN [shard 2985 deploy]
865
-  (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) [shard 2985 deploy]
866
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2985 deploy]
867
-  (0.3ms) COMMIT [shard 2985 deploy]
868
- Migrating to AddParentIdToUsers (20140123154135)
869
-  (0.2ms) BEGIN [shard 2985 deploy]
870
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2985 deploy]
871
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2985 deploy]
872
-  (0.3ms) COMMIT [shard 2985 deploy]
873
- Migrating to CreateRoots (20140219183820)
874
-  (0.1ms) BEGIN [shard 2985 deploy]
875
-  (2.0ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2985 deploy]
876
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2985 deploy]
877
-  (0.4ms) COMMIT [shard 2985 deploy]
878
-  (0.2ms) BEGIN [shard 2983 master]
879
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2985 [["name", "switchman_test_shard_2985"]] [shard 2983 master]
880
-  (0.3ms) COMMIT [shard 2983 master]
881
-  (0.1ms) BEGIN [shard 2983 master]
882
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2983 master]
883
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2984]] [shard 2983 master]
884
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2985]] [shard 2983 master]
885
-  (0.1ms) BEGIN [shard 2985 master]
886
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 2983 master]
887
-  (0.1ms) SAVEPOINT active_record_1 [shard 2983 master]
888
- SQL (0.2ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "2"], ["name", "public"]] [shard 2983 master]
889
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2983 master]
890
-  (0.7ms) CREATE SCHEMA switchman_test_shard_2986 [shard 2986 deploy]
891
-  (1.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 2986 deploy]
892
-  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2986 deploy]
893
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2986 deploy]
894
- Migrating to CreateUsers (20130403132607)
895
-  (0.1ms) BEGIN [shard 2986 deploy]
896
-  (2.6ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2986 deploy]
897
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2986 deploy]
898
-  (0.4ms) COMMIT [shard 2986 deploy]
899
- Migrating to CreateAppendages (20130411202442)
900
-  (0.2ms) BEGIN [shard 2986 deploy]
901
-  (2.2ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2986 deploy]
902
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2986 deploy]
903
-  (0.4ms) COMMIT [shard 2986 deploy]
904
- Migrating to CreateMirrorUsers (20130411202551)
905
-  (0.1ms) BEGIN [shard 2986 deploy]
906
-  (2.0ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2986 deploy]
907
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2986 deploy]
908
-  (0.4ms) COMMIT [shard 2986 deploy]
909
- Migrating to CreateDigits (20131022202028)
910
-  (0.2ms) BEGIN [shard 2986 deploy]
911
-  (2.1ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2986 deploy]
912
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2986 deploy]
913
-  (0.4ms) COMMIT [shard 2986 deploy]
914
- Migrating to CreateFeatures (20131206172923)
915
-  (0.2ms) BEGIN [shard 2986 deploy]
916
-  (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) [shard 2986 deploy]
917
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2986 deploy]
918
-  (0.4ms) COMMIT [shard 2986 deploy]
919
- Migrating to AddParentIdToUsers (20140123154135)
920
-  (0.2ms) BEGIN [shard 2986 deploy]
921
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2986 deploy]
922
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2986 deploy]
923
-  (0.3ms) COMMIT [shard 2986 deploy]
924
- Migrating to CreateRoots (20140219183820)
925
-  (0.1ms) BEGIN [shard 2986 deploy]
926
-  (39.0ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2986 deploy]
927
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2986 deploy]
928
-  (0.4ms) COMMIT [shard 2986 deploy]
929
-  (0.2ms) SAVEPOINT active_record_1 [shard 2983 master]
930
- SQL (0.9ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2986 [["name", "switchman_test_shard_2986"]] [shard 2983 master]
931
-  (0.2ms) RELEASE SAVEPOINT active_record_1 [shard 2983 master]
932
-  (0.1ms) BEGIN [shard 2986 master]
933
- SQL (1.8ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:08:22 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:22 UTC +00:00]] [shard 2986 master]
934
-  (0.3ms) COMMIT [shard 2986 master]
935
-  (4.3ms) DROP SCHEMA switchman_test_shard_2986 CASCADE [shard 2986 deploy]
936
-  (0.1ms) SAVEPOINT active_record_1 [shard 2983 master]
937
- SQL (0.5ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2986]] [shard 2983 master]
938
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2983 master]
939
-  (0.1ms) ROLLBACK [shard 2985 master]
940
-  (0.2ms) ROLLBACK [shard 2983 master]
941
-  (0.1ms) BEGIN [shard 2983 master]
942
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2983 master]
943
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2984]] [shard 2983 master]
944
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2985]] [shard 2983 master]
945
-  (0.1ms) BEGIN [shard 2985 master]
946
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 2983 master]
947
-  (0.1ms) SAVEPOINT active_record_1 [shard 2983 master]
948
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]] [shard 2983 master]
949
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2983 master]
950
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [shard 2987 deploy]
951
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2987 deploy]
952
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2987 deploy]
953
- Migrating to CreateUsers (20130403132607)
954
-  (0.1ms) begin transaction [shard 2987 deploy]
955
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "mirror_user_id" integer(8), "created_at" datetime, "updated_at" datetime) [shard 2987 deploy]
956
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130403132607"]] [shard 2987 deploy]
957
-  (0.8ms) commit transaction [shard 2987 deploy]
958
- Migrating to CreateAppendages (20130411202442)
959
-  (0.1ms) begin transaction [shard 2987 deploy]
960
-  (0.3ms) CREATE TABLE "appendages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime) [shard 2987 deploy]
961
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202442"]] [shard 2987 deploy]
962
-  (0.7ms) commit transaction [shard 2987 deploy]
963
- Migrating to CreateMirrorUsers (20130411202551)
964
-  (0.1ms) begin transaction [shard 2987 deploy]
965
-  (0.3ms) CREATE TABLE "mirror_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime) [shard 2987 deploy]
966
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202551"]] [shard 2987 deploy]
967
-  (0.7ms) commit transaction [shard 2987 deploy]
968
- Migrating to CreateDigits (20131022202028)
969
-  (0.1ms) begin transaction [shard 2987 deploy]
970
-  (0.3ms) CREATE TABLE "digits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "appendage_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime) [shard 2987 deploy]
971
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131022202028"]] [shard 2987 deploy]
972
-  (0.8ms) commit transaction [shard 2987 deploy]
973
- Migrating to CreateFeatures (20131206172923)
974
-  (0.1ms) begin transaction [shard 2987 deploy]
975
-  (0.3ms) 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) [shard 2987 deploy]
976
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206172923"]] [shard 2987 deploy]
977
-  (0.7ms) commit transaction [shard 2987 deploy]
978
- Migrating to AddParentIdToUsers (20140123154135)
979
-  (0.1ms) begin transaction [shard 2987 deploy]
980
-  (0.3ms) ALTER TABLE "users" ADD "parent_id" integer(8) [shard 2987 deploy]
981
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123154135"]] [shard 2987 deploy]
982
-  (0.7ms) commit transaction [shard 2987 deploy]
983
- Migrating to CreateRoots (20140219183820)
984
-  (0.1ms) begin transaction [shard 2987 deploy]
985
-  (0.3ms) CREATE TABLE "roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime) [shard 2987 deploy]
986
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140219183820"]] [shard 2987 deploy]
987
-  (0.7ms) commit transaction [shard 2987 deploy]
988
-  (0.1ms) SAVEPOINT active_record_1 [shard 2983 master]
989
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2987 [["name", "db/shard_2987.sqlite3"]] [shard 2983 master]
990
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2983 master]
991
-  (0.1ms) begin transaction [shard 2987 master]
992
- SQL (0.5ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 20 Mar 2014 22:08:22 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:22 UTC +00:00]] [shard 2987 master]
993
-  (0.8ms) commit transaction [shard 2987 master]
994
-  (0.1ms) SAVEPOINT active_record_1 [shard 2983 master]
995
- SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2987]] [shard 2983 master]
996
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2983 master]
997
-  (0.1ms) ROLLBACK [shard 2985 master]
998
-  (0.1ms) ROLLBACK [shard 2983 master]
999
-  (0.1ms) BEGIN [shard 2983 master]
1000
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2983 master]
1001
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2984]] [shard 2983 master]
1002
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2985]] [shard 2983 master]
1003
-  (0.1ms) BEGIN [shard 2985 master]
1004
- Switchman::Shard Load (0.4ms) 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 [shard 2983 master]
1005
-  (0.1ms) SAVEPOINT active_record_1 [shard 2983 master]
1006
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 [shard 2983 master]
1007
-  (0.1ms) ROLLBACK [shard 2985 master]
1008
-  (0.1ms) ROLLBACK [shard 2983 master]
1009
-  (0.1ms) BEGIN [shard 2983 master]
1010
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2983 master]
1011
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2984]] [shard 2983 master]
1012
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2985]] [shard 2983 master]
1013
-  (0.1ms) BEGIN [shard 2985 master]
1014
- 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 [shard 2983 master]
1015
-  (0.1ms) SAVEPOINT active_record_1 [shard 2983 master]
1016
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]] [shard 2983 master]
1017
-  (0.2ms) CREATE SCHEMA switchman_test_shard_2988 [shard 2988 deploy]
1018
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [shard 2988 deploy]
1019
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2988 deploy]
1020
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2988 deploy]
1021
- Migrating to CreateUsers (20130403132607)
1022
-  (1.9ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2988 deploy]
1023
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2988 deploy]
1024
- Migrating to CreateAppendages (20130411202442)
1025
-  (2.2ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2988 deploy]
1026
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2988 deploy]
1027
- Migrating to CreateMirrorUsers (20130411202551)
1028
-  (2.2ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2988 deploy]
1029
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2988 deploy]
1030
- Migrating to CreateDigits (20131022202028)
1031
-  (2.3ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2988 deploy]
1032
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2988 deploy]
1033
- Migrating to CreateFeatures (20131206172923)
1034
-  (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) [shard 2988 deploy]
1035
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2988 deploy]
1036
- Migrating to AddParentIdToUsers (20140123154135)
1037
-  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2988 deploy]
1038
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2988 deploy]
1039
- Migrating to CreateRoots (20140219183820)
1040
-  (2.7ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2988 deploy]
1041
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2988 deploy]
1042
- SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2988 [["name", "switchman_test_shard_2988"]] [shard 2983 master]
1043
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2983 master]
1044
-  (0.1ms) SAVEPOINT active_record_1 [shard 2988 master]
1045
- SQL (0.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:08:22 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:22 UTC +00:00]] [shard 2988 master]
1046
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2988 master]
1047
-  (2.5ms) DROP SCHEMA switchman_test_shard_2988 CASCADE [shard 2988 deploy]
1048
-  (0.1ms) SAVEPOINT active_record_1 [shard 2983 master]
1049
- SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2988]] [shard 2983 master]
1050
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2983 master]
1051
-  (0.2ms) ROLLBACK [shard 2985 master]
1052
-  (1.8ms) ROLLBACK [shard 2983 master]
1053
-  (0.1ms) BEGIN [shard 2983 master]
1054
- SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2983]] [shard 2983 master]
1055
-  (0.4ms) COMMIT [shard 2983 master]
1056
-  (0.2ms) BEGIN [shard 2983 master]
1057
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2984]] [shard 2983 master]
1058
-  (0.4ms) COMMIT [shard 2983 master]
1059
-  (0.2ms) BEGIN [shard 2983 master]
1060
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2985]] [shard 2983 master]
1061
-  (0.5ms) COMMIT [shard 2983 master]
1062
- Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2983 master]
1063
-  (0.2ms) BEGIN [shard 2983 master]
1064
-  (0.2ms) ROLLBACK [shard 2983 master]
1065
-  (0.1ms) BEGIN [shard 2983 master]
1066
-  (0.2ms) ROLLBACK [shard 2983 master]
1067
-  (0.1ms) BEGIN [shard 2983 master]
1068
-  (0.1ms) ROLLBACK [shard 2983 master]
1069
-  (0.1ms) BEGIN [shard 2983 master]
1070
-  (0.1ms) ROLLBACK [shard 2983 master]
1071
-  (0.1ms) BEGIN [shard 2983 master]
1072
-  (0.1ms) ROLLBACK [shard 2983 master]
1073
-  (0.1ms) BEGIN [shard 2983 master]
1074
-  (0.1ms) ROLLBACK [shard 2983 master]
1075
-  (0.1ms) BEGIN [shard 2983 master]
1076
-  (0.1ms) ROLLBACK [shard 2983 master]
1077
-  (0.1ms) BEGIN [shard 2983 master]
1078
-  (0.1ms) ROLLBACK [shard 2983 master]
1079
-  (0.1ms) BEGIN [shard 2983 master]
1080
-  (0.1ms) ROLLBACK [shard 2983 master]
1081
-  (0.1ms) BEGIN [shard 2983 master]
1082
-  (0.1ms) ROLLBACK [shard 2983 master]
1083
-  (4.8ms) DROP SCHEMA switchman_test_shard_2984 CASCADE [shard 2984 deploy]
1084
-  (0.1ms) BEGIN
1085
-  (0.1ms) COMMIT
1086
-  (4.8ms) DROP SCHEMA switchman_test_shard_2985 CASCADE [shard 2985 deploy]
1087
-  (0.3ms) BEGIN
1088
-  (0.1ms) COMMIT
1089
-  (1.6ms) SELECT * FROM unnest(current_schemas(false))
1090
- Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
1091
-  (0.1ms) BEGIN
1092
-  (0.1ms) ROLLBACK
1093
-  (0.1ms) BEGIN
1094
-  (0.1ms) ROLLBACK
1095
-  (0.1ms) BEGIN
1096
-  (0.1ms) ROLLBACK
1097
-  (0.1ms) BEGIN
1098
-  (0.1ms) ROLLBACK
1099
-  (0.1ms) BEGIN
1100
-  (0.1ms) ROLLBACK
1101
-  (0.1ms) BEGIN
1102
-  (0.1ms) ROLLBACK
1103
-  (0.1ms) BEGIN
1104
-  (0.1ms) ROLLBACK
1105
-  (0.1ms) BEGIN
1106
-  (0.1ms) ROLLBACK
1107
-  (0.1ms) BEGIN
1108
-  (0.1ms) ROLLBACK
1109
-  (0.1ms) BEGIN
1110
-  (0.1ms) ROLLBACK
1111
- SQL (0.5ms) DELETE FROM "switchman_shards"
1112
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
1113
-  (0.1ms) BEGIN
1114
- Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
1115
- SQL (0.7ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]]
1116
-  (0.4ms) COMMIT
1117
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
1118
- Switchman::Shard Load (0.8ms) 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
1119
-  (0.1ms) BEGIN
1120
- SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
1121
-  (0.3ms) CREATE SCHEMA switchman_test_shard_2990 [shard 2990 deploy]
1122
-  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 2990 deploy]
1123
-  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2990 deploy]
1124
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2990 deploy]
1125
- Migrating to CreateUsers (20130403132607)
1126
-  (2.7ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2990 deploy]
1127
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2990 deploy]
1128
- Migrating to CreateAppendages (20130411202442)
1129
-  (2.3ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2990 deploy]
1130
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2990 deploy]
1131
- Migrating to CreateMirrorUsers (20130411202551)
1132
-  (2.1ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2990 deploy]
1133
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2990 deploy]
1134
- Migrating to CreateDigits (20131022202028)
1135
-  (2.8ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2990 deploy]
1136
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2990 deploy]
1137
- Migrating to CreateFeatures (20131206172923)
1138
-  (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)  [shard 2990 deploy]
1139
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2990 deploy]
1140
- Migrating to AddParentIdToUsers (20140123154135)
1141
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2990 deploy]
1142
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2990 deploy]
1143
- Migrating to CreateRoots (20140219183820)
1144
-  (2.2ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2990 deploy]
1145
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2990 deploy]
1146
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2990 [["name", "switchman_test_shard_2990"]] [shard 2989 master]
1147
-  (0.7ms) COMMIT [shard 2989 master]
1148
- Switchman::Shard Load (33.2ms) 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 [shard 2989 master]
1149
-  (0.2ms) BEGIN [shard 2989 master]
1150
- SQL (0.5ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [shard 2989 master]
1151
-  (0.3ms) COMMIT [shard 2989 master]
1152
-  (0.6ms) CREATE SCHEMA switchman_test_shard_2991 [shard 2991 deploy]
1153
-  (1.7ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 2991 deploy]
1154
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2991 deploy]
1155
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2991 deploy]
1156
- Migrating to CreateUsers (20130403132607)
1157
-  (0.1ms) BEGIN [shard 2991 deploy]
1158
-  (2.8ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2991 deploy]
1159
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2991 deploy]
1160
-  (0.4ms) COMMIT [shard 2991 deploy]
1161
- Migrating to CreateAppendages (20130411202442)
1162
-  (0.2ms) BEGIN [shard 2991 deploy]
1163
-  (2.2ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2991 deploy]
1164
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2991 deploy]
1165
-  (0.3ms) COMMIT [shard 2991 deploy]
1166
- Migrating to CreateMirrorUsers (20130411202551)
1167
-  (0.1ms) BEGIN [shard 2991 deploy]
1168
-  (2.1ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2991 deploy]
1169
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2991 deploy]
1170
-  (0.4ms) COMMIT [shard 2991 deploy]
1171
- Migrating to CreateDigits (20131022202028)
1172
-  (0.1ms) BEGIN [shard 2991 deploy]
1173
-  (2.0ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2991 deploy]
1174
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2991 deploy]
1175
-  (0.4ms) COMMIT [shard 2991 deploy]
1176
- Migrating to CreateFeatures (20131206172923)
1177
-  (0.2ms) BEGIN [shard 2991 deploy]
1178
-  (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) [shard 2991 deploy]
1179
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2991 deploy]
1180
-  (0.3ms) COMMIT [shard 2991 deploy]
1181
- Migrating to AddParentIdToUsers (20140123154135)
1182
-  (0.2ms) BEGIN [shard 2991 deploy]
1183
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2991 deploy]
1184
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2991 deploy]
1185
-  (0.2ms) COMMIT [shard 2991 deploy]
1186
- Migrating to CreateRoots (20140219183820)
1187
-  (0.1ms) BEGIN [shard 2991 deploy]
1188
-  (1.9ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2991 deploy]
1189
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2991 deploy]
1190
-  (0.4ms) COMMIT [shard 2991 deploy]
1191
-  (0.2ms) BEGIN [shard 2989 master]
1192
- SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2991 [["name", "switchman_test_shard_2991"]] [shard 2989 master]
1193
-  (0.3ms) COMMIT [shard 2989 master]
1194
-  (0.1ms) BEGIN [shard 2989 master]
1195
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2989 master]
1196
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2990]] [shard 2989 master]
1197
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2991]] [shard 2989 master]
1198
-  (0.1ms) BEGIN [shard 2991 master]
1199
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 2989 master]
1200
-  (0.1ms) SAVEPOINT active_record_1 [shard 2989 master]
1201
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]] [shard 2989 master]
1202
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2989 master]
1203
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  [shard 2992 deploy]
1204
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2992 deploy]
1205
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2992 deploy]
1206
- Migrating to CreateUsers (20130403132607)
1207
-  (0.1ms) begin transaction [shard 2992 deploy]
1208
-  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "mirror_user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [shard 2992 deploy]
1209
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130403132607"]] [shard 2992 deploy]
1210
-  (0.7ms) commit transaction [shard 2992 deploy]
1211
- Migrating to CreateAppendages (20130411202442)
1212
-  (0.1ms) begin transaction [shard 2992 deploy]
1213
-  (0.3ms) CREATE TABLE "appendages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime)  [shard 2992 deploy]
1214
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202442"]] [shard 2992 deploy]
1215
-  (0.6ms) commit transaction [shard 2992 deploy]
1216
- Migrating to CreateMirrorUsers (20130411202551)
1217
-  (0.1ms) begin transaction [shard 2992 deploy]
1218
-  (0.3ms) CREATE TABLE "mirror_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [shard 2992 deploy]
1219
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202551"]] [shard 2992 deploy]
1220
-  (0.7ms) commit transaction [shard 2992 deploy]
1221
- Migrating to CreateDigits (20131022202028)
1222
-  (0.1ms) begin transaction [shard 2992 deploy]
1223
-  (0.3ms) CREATE TABLE "digits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "appendage_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime)  [shard 2992 deploy]
1224
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131022202028"]] [shard 2992 deploy]
1225
-  (0.6ms) commit transaction [shard 2992 deploy]
1226
- Migrating to CreateFeatures (20131206172923)
1227
-  (0.1ms) begin transaction [shard 2992 deploy]
1228
-  (0.3ms) 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)  [shard 2992 deploy]
1229
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206172923"]] [shard 2992 deploy]
1230
-  (0.7ms) commit transaction [shard 2992 deploy]
1231
- Migrating to AddParentIdToUsers (20140123154135)
1232
-  (0.1ms) begin transaction [shard 2992 deploy]
1233
-  (0.3ms) ALTER TABLE "users" ADD "parent_id" integer(8) [shard 2992 deploy]
1234
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123154135"]] [shard 2992 deploy]
1235
-  (0.7ms) commit transaction [shard 2992 deploy]
1236
- Migrating to CreateRoots (20140219183820)
1237
-  (0.1ms) begin transaction [shard 2992 deploy]
1238
-  (0.4ms) CREATE TABLE "roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [shard 2992 deploy]
1239
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140219183820"]] [shard 2992 deploy]
1240
-  (0.9ms) commit transaction [shard 2992 deploy]
1241
-  (0.1ms) SAVEPOINT active_record_1 [shard 2989 master]
1242
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2992 [["name", "db/shard_2992.sqlite3"]] [shard 2989 master]
1243
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2989 master]
1244
-  (0.1ms) begin transaction [shard 2992 master]
1245
- SQL (1.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 20 Mar 2014 22:08:26 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:26 UTC +00:00]] [shard 2992 master]
1246
-  (0.8ms) commit transaction [shard 2992 master]
1247
-  (0.1ms) SAVEPOINT active_record_1 [shard 2989 master]
1248
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2992]] [shard 2989 master]
1249
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2989 master]
1250
-  (0.1ms) ROLLBACK [shard 2991 master]
1251
-  (0.1ms) ROLLBACK [shard 2989 master]
1252
-  (0.1ms) BEGIN [shard 2989 master]
1253
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2989 master]
1254
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2990]] [shard 2989 master]
1255
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2991]] [shard 2989 master]
1256
-  (0.1ms) BEGIN [shard 2991 master]
1257
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 2989 master]
1258
-  (0.1ms) SAVEPOINT active_record_1 [shard 2989 master]
1259
- SQL (0.5ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "2"], ["name", "public"]] [shard 2989 master]
1260
-  (0.2ms) RELEASE SAVEPOINT active_record_1 [shard 2989 master]
1261
-  (0.7ms) CREATE SCHEMA switchman_test_shard_2993 [shard 2993 deploy]
1262
-  (1.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [shard 2993 deploy]
1263
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2993 deploy]
1264
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2993 deploy]
1265
- Migrating to CreateUsers (20130403132607)
1266
-  (0.1ms) BEGIN [shard 2993 deploy]
1267
-  (2.7ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2993 deploy]
1268
- SQL (2.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2993 deploy]
1269
-  (0.4ms) COMMIT [shard 2993 deploy]
1270
- Migrating to CreateAppendages (20130411202442)
1271
-  (0.2ms) BEGIN [shard 2993 deploy]
1272
-  (2.1ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2993 deploy]
1273
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2993 deploy]
1274
-  (0.4ms) COMMIT [shard 2993 deploy]
1275
- Migrating to CreateMirrorUsers (20130411202551)
1276
-  (0.2ms) BEGIN [shard 2993 deploy]
1277
-  (2.2ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2993 deploy]
1278
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2993 deploy]
1279
-  (0.4ms) COMMIT [shard 2993 deploy]
1280
- Migrating to CreateDigits (20131022202028)
1281
-  (0.2ms) BEGIN [shard 2993 deploy]
1282
-  (2.3ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2993 deploy]
1283
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2993 deploy]
1284
-  (0.3ms) COMMIT [shard 2993 deploy]
1285
- Migrating to CreateFeatures (20131206172923)
1286
-  (0.2ms) BEGIN [shard 2993 deploy]
1287
-  (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)  [shard 2993 deploy]
1288
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2993 deploy]
1289
-  (0.4ms) COMMIT [shard 2993 deploy]
1290
- Migrating to AddParentIdToUsers (20140123154135)
1291
-  (0.2ms) BEGIN [shard 2993 deploy]
1292
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2993 deploy]
1293
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2993 deploy]
1294
-  (0.3ms) COMMIT [shard 2993 deploy]
1295
- Migrating to CreateRoots (20140219183820)
1296
-  (0.1ms) BEGIN [shard 2993 deploy]
1297
-  (3.7ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2993 deploy]
1298
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2993 deploy]
1299
-  (0.3ms) COMMIT [shard 2993 deploy]
1300
-  (0.1ms) SAVEPOINT active_record_1 [shard 2989 master]
1301
- SQL (0.5ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2993 [["name", "switchman_test_shard_2993"]] [shard 2989 master]
1302
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2989 master]
1303
-  (0.1ms) BEGIN [shard 2993 master]
1304
- SQL (0.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:08:27 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:27 UTC +00:00]] [shard 2993 master]
1305
-  (0.3ms) COMMIT [shard 2993 master]
1306
-  (4.4ms) DROP SCHEMA switchman_test_shard_2993 CASCADE [shard 2993 deploy]
1307
-  (0.1ms) SAVEPOINT active_record_1 [shard 2989 master]
1308
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2993]] [shard 2989 master]
1309
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2989 master]
1310
-  (0.1ms) ROLLBACK [shard 2991 master]
1311
-  (0.2ms) ROLLBACK [shard 2989 master]
1312
-  (0.1ms) BEGIN [shard 2989 master]
1313
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2989 master]
1314
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2990]] [shard 2989 master]
1315
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2991]] [shard 2989 master]
1316
-  (0.1ms) BEGIN [shard 2991 master]
1317
- Switchman::Shard Load (0.3ms) 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 [shard 2989 master]
1318
-  (0.1ms) SAVEPOINT active_record_1 [shard 2989 master]
1319
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 [shard 2989 master]
1320
-  (0.1ms) ROLLBACK [shard 2991 master]
1321
-  (0.1ms) ROLLBACK [shard 2989 master]
1322
-  (0.1ms) BEGIN [shard 2989 master]
1323
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2989 master]
1324
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2990]] [shard 2989 master]
1325
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2991]] [shard 2989 master]
1326
-  (0.1ms) BEGIN [shard 2991 master]
1327
- Switchman::Shard Load (0.3ms) 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 [shard 2989 master]
1328
-  (0.1ms) SAVEPOINT active_record_1 [shard 2989 master]
1329
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]] [shard 2989 master]
1330
-  (0.2ms) CREATE SCHEMA switchman_test_shard_2994 [shard 2994 deploy]
1331
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [shard 2994 deploy]
1332
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2994 deploy]
1333
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2994 deploy]
1334
- Migrating to CreateUsers (20130403132607)
1335
-  (2.2ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2994 deploy]
1336
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2994 deploy]
1337
- Migrating to CreateAppendages (20130411202442)
1338
-  (2.2ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2994 deploy]
1339
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2994 deploy]
1340
- Migrating to CreateMirrorUsers (20130411202551)
1341
-  (2.1ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2994 deploy]
1342
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2994 deploy]
1343
- Migrating to CreateDigits (20131022202028)
1344
-  (2.4ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2994 deploy]
1345
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2994 deploy]
1346
- Migrating to CreateFeatures (20131206172923)
1347
-  (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) [shard 2994 deploy]
1348
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2994 deploy]
1349
- Migrating to AddParentIdToUsers (20140123154135)
1350
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2994 deploy]
1351
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2994 deploy]
1352
- Migrating to CreateRoots (20140219183820)
1353
-  (2.1ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2994 deploy]
1354
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2994 deploy]
1355
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2994 [["name", "switchman_test_shard_2994"]] [shard 2989 master]
1356
-  (0.2ms) RELEASE SAVEPOINT active_record_1 [shard 2989 master]
1357
-  (0.2ms) SAVEPOINT active_record_1 [shard 2994 master]
1358
- SQL (0.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:08:27 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:27 UTC +00:00]] [shard 2994 master]
1359
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2994 master]
1360
-  (2.5ms) DROP SCHEMA switchman_test_shard_2994 CASCADE [shard 2994 deploy]
1361
-  (0.1ms) SAVEPOINT active_record_1 [shard 2989 master]
1362
- SQL (0.3ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2994]] [shard 2989 master]
1363
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2989 master]
1364
-  (0.2ms) ROLLBACK [shard 2991 master]
1365
-  (2.1ms) ROLLBACK [shard 2989 master]
1366
-  (0.1ms) BEGIN [shard 2989 master]
1367
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2989]] [shard 2989 master]
1368
-  (0.4ms) COMMIT [shard 2989 master]
1369
-  (0.2ms) BEGIN [shard 2989 master]
1370
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2990]] [shard 2989 master]
1371
-  (0.5ms) COMMIT [shard 2989 master]
1372
-  (0.2ms) BEGIN [shard 2989 master]
1373
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2991]] [shard 2989 master]
1374
-  (0.4ms) COMMIT [shard 2989 master]
1375
- Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2989 master]
1376
-  (0.2ms) BEGIN [shard 2989 master]
1377
-  (0.2ms) ROLLBACK [shard 2989 master]
1378
-  (0.2ms) BEGIN [shard 2989 master]
1379
-  (0.2ms) ROLLBACK [shard 2989 master]
1380
-  (0.2ms) BEGIN [shard 2989 master]
1381
-  (0.2ms) ROLLBACK [shard 2989 master]
1382
-  (0.2ms) BEGIN [shard 2989 master]
1383
-  (0.2ms) ROLLBACK [shard 2989 master]
1384
-  (3.9ms) DROP SCHEMA switchman_test_shard_2990 CASCADE [shard 2990 deploy]
1385
-  (0.2ms) BEGIN
1386
-  (0.2ms) COMMIT
1387
-  (5.2ms) DROP SCHEMA switchman_test_shard_2991 CASCADE [shard 2991 deploy]
1388
-  (0.3ms) BEGIN
1389
-  (0.1ms) COMMIT
1390
-  (1.6ms) SELECT * FROM unnest(current_schemas(false))
1391
- Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
1392
-  (0.2ms) BEGIN
1393
-  (0.1ms) ROLLBACK
1394
-  (0.1ms) BEGIN
1395
-  (0.1ms) ROLLBACK
1396
-  (0.1ms) BEGIN
1397
-  (0.1ms) ROLLBACK
1398
- SQL (0.5ms) DELETE FROM "switchman_shards"
1399
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
1400
-  (0.1ms) BEGIN
1401
- Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
1402
- SQL (0.7ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]]
1403
-  (6.4ms) COMMIT
1404
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
1405
- Switchman::Shard Load (0.8ms) 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
1406
-  (0.1ms) BEGIN
1407
- SQL (0.5ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
1408
-  (0.3ms) CREATE SCHEMA switchman_test_shard_2996 [shard 2996 deploy]
1409
-  (1.6ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 2996 deploy]
1410
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2996 deploy]
1411
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2996 deploy]
1412
- Migrating to CreateUsers (20130403132607)
1413
-  (2.6ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2996 deploy]
1414
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2996 deploy]
1415
- Migrating to CreateAppendages (20130411202442)
1416
-  (2.3ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2996 deploy]
1417
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2996 deploy]
1418
- Migrating to CreateMirrorUsers (20130411202551)
1419
-  (2.3ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2996 deploy]
1420
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2996 deploy]
1421
- Migrating to CreateDigits (20131022202028)
1422
-  (2.2ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2996 deploy]
1423
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2996 deploy]
1424
- Migrating to CreateFeatures (20131206172923)
1425
-  (2.2ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2996 deploy]
1426
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2996 deploy]
1427
- Migrating to AddParentIdToUsers (20140123154135)
1428
-  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2996 deploy]
1429
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2996 deploy]
1430
- Migrating to CreateRoots (20140219183820)
1431
-  (2.1ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2996 deploy]
1432
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2996 deploy]
1433
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2996 [["name", "switchman_test_shard_2996"]] [shard 2995 master]
1434
-  (0.7ms) COMMIT [shard 2995 master]
1435
- Switchman::Shard Load (0.6ms) 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 [shard 2995 master]
1436
-  (0.1ms) BEGIN [shard 2995 master]
1437
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [shard 2995 master]
1438
-  (0.3ms) COMMIT [shard 2995 master]
1439
-  (0.8ms) CREATE SCHEMA switchman_test_shard_2997 [shard 2997 deploy]
1440
-  (1.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [shard 2997 deploy]
1441
-  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2997 deploy]
1442
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2997 deploy]
1443
- Migrating to CreateUsers (20130403132607)
1444
-  (0.1ms) BEGIN [shard 2997 deploy]
1445
-  (2.7ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2997 deploy]
1446
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2997 deploy]
1447
-  (0.3ms) COMMIT [shard 2997 deploy]
1448
- Migrating to CreateAppendages (20130411202442)
1449
-  (0.2ms) BEGIN [shard 2997 deploy]
1450
-  (2.3ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2997 deploy]
1451
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2997 deploy]
1452
-  (0.4ms) COMMIT [shard 2997 deploy]
1453
- Migrating to CreateMirrorUsers (20130411202551)
1454
-  (0.2ms) BEGIN [shard 2997 deploy]
1455
-  (2.1ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2997 deploy]
1456
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2997 deploy]
1457
-  (0.3ms) COMMIT [shard 2997 deploy]
1458
- Migrating to CreateDigits (20131022202028)
1459
-  (0.1ms) BEGIN [shard 2997 deploy]
1460
-  (1.9ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 2997 deploy]
1461
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2997 deploy]
1462
-  (0.3ms) COMMIT [shard 2997 deploy]
1463
- Migrating to CreateFeatures (20131206172923)
1464
-  (0.2ms) BEGIN [shard 2997 deploy]
1465
-  (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) [shard 2997 deploy]
1466
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2997 deploy]
1467
-  (0.3ms) COMMIT [shard 2997 deploy]
1468
- Migrating to AddParentIdToUsers (20140123154135)
1469
-  (0.1ms) BEGIN [shard 2997 deploy]
1470
-  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2997 deploy]
1471
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2997 deploy]
1472
-  (0.3ms) COMMIT [shard 2997 deploy]
1473
- Migrating to CreateRoots (20140219183820)
1474
-  (0.1ms) BEGIN [shard 2997 deploy]
1475
-  (2.1ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 2997 deploy]
1476
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2997 deploy]
1477
-  (0.3ms) COMMIT [shard 2997 deploy]
1478
-  (0.2ms) BEGIN [shard 2995 master]
1479
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2997 [["name", "switchman_test_shard_2997"]] [shard 2995 master]
1480
-  (0.3ms) COMMIT [shard 2995 master]
1481
-  (0.1ms) BEGIN [shard 2995 master]
1482
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2995 master]
1483
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2996]] [shard 2995 master]
1484
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2997]] [shard 2995 master]
1485
-  (0.1ms) BEGIN [shard 2997 master]
1486
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 2995 master]
1487
-  (0.1ms) SAVEPOINT active_record_1 [shard 2995 master]
1488
- SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id") VALUES ($1) RETURNING "id" [["database_server_id", "2"]] [shard 2995 master]
1489
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2995 master]
1490
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  [shard 2998 deploy]
1491
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2998 deploy]
1492
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2998 deploy]
1493
- Migrating to CreateUsers (20130403132607)
1494
-  (0.1ms) begin transaction [shard 2998 deploy]
1495
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "mirror_user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [shard 2998 deploy]
1496
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130403132607"]] [shard 2998 deploy]
1497
-  (0.6ms) commit transaction [shard 2998 deploy]
1498
- Migrating to CreateAppendages (20130411202442)
1499
-  (0.1ms) begin transaction [shard 2998 deploy]
1500
-  (0.3ms) CREATE TABLE "appendages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime)  [shard 2998 deploy]
1501
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202442"]] [shard 2998 deploy]
1502
-  (0.6ms) commit transaction [shard 2998 deploy]
1503
- Migrating to CreateMirrorUsers (20130411202551)
1504
-  (0.1ms) begin transaction [shard 2998 deploy]
1505
-  (0.3ms) CREATE TABLE "mirror_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [shard 2998 deploy]
1506
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130411202551"]] [shard 2998 deploy]
1507
-  (0.7ms) commit transaction [shard 2998 deploy]
1508
- Migrating to CreateDigits (20131022202028)
1509
-  (0.1ms) begin transaction [shard 2998 deploy]
1510
-  (0.3ms) CREATE TABLE "digits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "appendage_id" integer(8), "value" integer, "created_at" datetime, "updated_at" datetime)  [shard 2998 deploy]
1511
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131022202028"]] [shard 2998 deploy]
1512
-  (0.6ms) commit transaction [shard 2998 deploy]
1513
- Migrating to CreateFeatures (20131206172923)
1514
-  (0.1ms) begin transaction [shard 2998 deploy]
1515
-  (0.3ms) 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)  [shard 2998 deploy]
1516
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206172923"]] [shard 2998 deploy]
1517
-  (0.8ms) commit transaction [shard 2998 deploy]
1518
- Migrating to AddParentIdToUsers (20140123154135)
1519
-  (0.1ms) begin transaction [shard 2998 deploy]
1520
-  (0.3ms) ALTER TABLE "users" ADD "parent_id" integer(8) [shard 2998 deploy]
1521
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140123154135"]] [shard 2998 deploy]
1522
-  (0.7ms) commit transaction [shard 2998 deploy]
1523
- Migrating to CreateRoots (20140219183820)
1524
-  (0.1ms) begin transaction [shard 2998 deploy]
1525
-  (0.3ms) CREATE TABLE "roots" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer(8), "created_at" datetime, "updated_at" datetime)  [shard 2998 deploy]
1526
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140219183820"]] [shard 2998 deploy]
1527
-  (0.6ms) commit transaction [shard 2998 deploy]
1528
-  (0.1ms) SAVEPOINT active_record_1 [shard 2995 master]
1529
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2998 [["name", "db/shard_2998.sqlite3"]] [shard 2995 master]
1530
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2995 master]
1531
-  (0.1ms) begin transaction [shard 2998 master]
1532
- SQL (1.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 20 Mar 2014 22:08:30 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:30 UTC +00:00]] [shard 2998 master]
1533
-  (0.8ms) commit transaction [shard 2998 master]
1534
-  (0.1ms) SAVEPOINT active_record_1 [shard 2995 master]
1535
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2998]] [shard 2995 master]
1536
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2995 master]
1537
-  (0.1ms) ROLLBACK [shard 2997 master]
1538
-  (0.1ms) ROLLBACK [shard 2995 master]
1539
-  (0.1ms) BEGIN [shard 2995 master]
1540
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2995 master]
1541
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2996]] [shard 2995 master]
1542
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2997]] [shard 2995 master]
1543
-  (0.1ms) BEGIN [shard 2997 master]
1544
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."database_server_id" = '2' AND (name<>':memory:' OR name IS NULL) ORDER BY "switchman_shards"."id" ASC LIMIT 1 [shard 2995 master]
1545
-  (0.2ms) SAVEPOINT active_record_1 [shard 2995 master]
1546
- SQL (0.5ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "2"], ["name", "public"]] [shard 2995 master]
1547
-  (0.2ms) RELEASE SAVEPOINT active_record_1 [shard 2995 master]
1548
-  (0.7ms) CREATE SCHEMA switchman_test_shard_2999 [shard 2999 deploy]
1549
-  (1.8ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [shard 2999 deploy]
1550
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 2999 deploy]
1551
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 2999 deploy]
1552
- Migrating to CreateUsers (20130403132607)
1553
-  (0.1ms) BEGIN [shard 2999 deploy]
1554
-  (2.6ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2999 deploy]
1555
- SQL (2.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 2999 deploy]
1556
-  (0.3ms) COMMIT [shard 2999 deploy]
1557
- Migrating to CreateAppendages (20130411202442)
1558
-  (0.2ms) BEGIN [shard 2999 deploy]
1559
-  (2.4ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2999 deploy]
1560
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 2999 deploy]
1561
-  (0.3ms) COMMIT [shard 2999 deploy]
1562
- Migrating to CreateMirrorUsers (20130411202551)
1563
-  (0.2ms) BEGIN [shard 2999 deploy]
1564
-  (2.0ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2999 deploy]
1565
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 2999 deploy]
1566
-  (0.4ms) COMMIT [shard 2999 deploy]
1567
- Migrating to CreateDigits (20131022202028)
1568
-  (0.2ms) BEGIN [shard 2999 deploy]
1569
-  (2.6ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp)  [shard 2999 deploy]
1570
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 2999 deploy]
1571
-  (0.3ms) COMMIT [shard 2999 deploy]
1572
- Migrating to CreateFeatures (20131206172923)
1573
-  (0.2ms) BEGIN [shard 2999 deploy]
1574
-  (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)  [shard 2999 deploy]
1575
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 2999 deploy]
1576
-  (0.4ms) COMMIT [shard 2999 deploy]
1577
- Migrating to AddParentIdToUsers (20140123154135)
1578
-  (0.2ms) BEGIN [shard 2999 deploy]
1579
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 2999 deploy]
1580
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 2999 deploy]
1581
-  (0.3ms) COMMIT [shard 2999 deploy]
1582
- Migrating to CreateRoots (20140219183820)
1583
-  (0.1ms) BEGIN [shard 2999 deploy]
1584
-  (2.2ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 2999 deploy]
1585
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 2999 deploy]
1586
-  (0.3ms) COMMIT [shard 2999 deploy]
1587
-  (0.1ms) SAVEPOINT active_record_1 [shard 2995 master]
1588
- SQL (0.5ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 2999 [["name", "switchman_test_shard_2999"]] [shard 2995 master]
1589
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2995 master]
1590
-  (0.2ms) BEGIN [shard 2999 master]
1591
- SQL (0.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:08:31 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:31 UTC +00:00]] [shard 2999 master]
1592
-  (0.3ms) COMMIT [shard 2999 master]
1593
-  (4.3ms) DROP SCHEMA switchman_test_shard_2999 CASCADE [shard 2999 deploy]
1594
-  (0.1ms) SAVEPOINT active_record_1 [shard 2995 master]
1595
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2999]] [shard 2995 master]
1596
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2995 master]
1597
-  (0.1ms) ROLLBACK [shard 2997 master]
1598
-  (0.2ms) ROLLBACK [shard 2995 master]
1599
-  (0.1ms) BEGIN [shard 2995 master]
1600
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2995 master]
1601
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2996]] [shard 2995 master]
1602
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2997]] [shard 2995 master]
1603
-  (0.1ms) BEGIN [shard 2997 master]
1604
- Switchman::Shard Load (0.4ms) 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 [shard 2995 master]
1605
-  (0.1ms) SAVEPOINT active_record_1 [shard 2995 master]
1606
-  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 [shard 2995 master]
1607
-  (0.1ms) ROLLBACK [shard 2997 master]
1608
-  (0.1ms) ROLLBACK [shard 2995 master]
1609
-  (0.1ms) BEGIN [shard 2995 master]
1610
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2995 master]
1611
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2996]] [shard 2995 master]
1612
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 LIMIT 1 [["id", 2997]] [shard 2995 master]
1613
-  (0.1ms) BEGIN [shard 2997 master]
1614
- Switchman::Shard Load (0.3ms) 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 [shard 2995 master]
1615
-  (0.1ms) SAVEPOINT active_record_1 [shard 2995 master]
1616
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]] [shard 2995 master]
1617
-  (0.2ms) CREATE SCHEMA switchman_test_shard_3000 [shard 3000 deploy]
1618
-  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [shard 3000 deploy]
1619
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 3000 deploy]
1620
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 3000 deploy]
1621
- Migrating to CreateUsers (20130403132607)
1622
-  (1.9ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 3000 deploy]
1623
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 3000 deploy]
1624
- Migrating to CreateAppendages (20130411202442)
1625
-  (2.2ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 3000 deploy]
1626
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 3000 deploy]
1627
- Migrating to CreateMirrorUsers (20130411202551)
1628
-  (2.4ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 3000 deploy]
1629
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 3000 deploy]
1630
- Migrating to CreateDigits (20131022202028)
1631
-  (2.3ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 3000 deploy]
1632
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 3000 deploy]
1633
- Migrating to CreateFeatures (20131206172923)
1634
-  (2.2ms) CREATE TABLE "features" ("id" bigserial primary key, "owner_id" bigint, "owner_type" character varying(255), "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 3000 deploy]
1635
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 3000 deploy]
1636
- Migrating to AddParentIdToUsers (20140123154135)
1637
-  (0.3ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 3000 deploy]
1638
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 3000 deploy]
1639
- Migrating to CreateRoots (20140219183820)
1640
-  (2.1ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 3000 deploy]
1641
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 3000 deploy]
1642
- SQL (0.3ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 3000 [["name", "switchman_test_shard_3000"]] [shard 2995 master]
1643
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2995 master]
1644
-  (0.1ms) SAVEPOINT active_record_1 [shard 3000 master]
1645
- SQL (0.9ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:08:31 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:08:31 UTC +00:00]] [shard 3000 master]
1646
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 3000 master]
1647
-  (2.5ms) DROP SCHEMA switchman_test_shard_3000 CASCADE [shard 3000 deploy]
1648
-  (0.1ms) SAVEPOINT active_record_1 [shard 2995 master]
1649
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 3000]] [shard 2995 master]
1650
-  (0.1ms) RELEASE SAVEPOINT active_record_1 [shard 2995 master]
1651
-  (0.2ms) ROLLBACK [shard 2997 master]
1652
-  (2.0ms) ROLLBACK [shard 2995 master]
1653
-  (0.1ms) BEGIN [shard 2995 master]
1654
- SQL (0.5ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2995]] [shard 2995 master]
1655
-  (0.4ms) COMMIT [shard 2995 master]
1656
-  (0.2ms) BEGIN [shard 2995 master]
1657
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2996]] [shard 2995 master]
1658
-  (0.4ms) COMMIT [shard 2995 master]
1659
-  (0.2ms) BEGIN [shard 2995 master]
1660
- SQL (0.4ms) DELETE FROM "switchman_shards" WHERE "switchman_shards"."id" = $1 [["id", 2997]] [shard 2995 master]
1661
-  (0.5ms) COMMIT [shard 2995 master]
1662
- Switchman::Shard Load (0.4ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1 [shard 2995 master]
1663
-  (0.2ms) BEGIN [shard 2995 master]
1664
-  (0.2ms) ROLLBACK [shard 2995 master]
1665
-  (0.2ms) BEGIN [shard 2995 master]
1666
-  (0.2ms) ROLLBACK [shard 2995 master]
1667
-  (0.2ms) BEGIN [shard 2995 master]
1668
-  (0.2ms) ROLLBACK [shard 2995 master]
1669
-  (0.2ms) BEGIN [shard 2995 master]
1670
-  (0.2ms) ROLLBACK [shard 2995 master]
1671
-  (0.2ms) BEGIN [shard 2995 master]
1672
-  (0.1ms) ROLLBACK [shard 2995 master]
1673
-  (0.1ms) BEGIN [shard 2995 master]
1674
-  (0.1ms) ROLLBACK [shard 2995 master]
1675
-  (0.1ms) BEGIN [shard 2995 master]
1676
-  (0.1ms) ROLLBACK [shard 2995 master]
1677
-  (0.1ms) BEGIN [shard 2995 master]
1678
-  (0.1ms) ROLLBACK [shard 2995 master]
1679
-  (0.1ms) BEGIN [shard 2995 master]
1680
-  (0.1ms) ROLLBACK [shard 2995 master]
1681
-  (0.1ms) BEGIN [shard 2995 master]
1682
-  (0.1ms) ROLLBACK [shard 2995 master]
1683
-  (0.1ms) BEGIN [shard 2995 master]
1684
-  (0.2ms) ROLLBACK [shard 2995 master]
1685
-  (3.9ms) DROP SCHEMA switchman_test_shard_2996 CASCADE [shard 2996 deploy]
1686
-  (0.1ms) BEGIN
1687
-  (0.1ms) COMMIT
1688
-  (4.8ms) DROP SCHEMA switchman_test_shard_2997 CASCADE [shard 2997 deploy]
1689
-  (0.2ms) BEGIN
1690
-  (0.1ms) COMMIT
1691
-  (1.6ms) SELECT * FROM unnest(current_schemas(false))
1692
- Switchman::Shard Load (0.5ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
1693
-  (0.1ms) BEGIN
1694
- SQL (1.7ms) INSERT INTO "users" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", Thu, 20 Mar 2014 22:09:26 UTC +00:00], ["updated_at", Thu, 20 Mar 2014 22:09:26 UTC +00:00]]
1695
-  (6.3ms) COMMIT
1696
- SQL (0.4ms) DELETE FROM "switchman_shards"
1697
- Switchman::Shard Load (0.2ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
1698
-  (0.2ms) BEGIN
1699
- Switchman::Shard Exists (0.3ms) SELECT 1 AS one FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
1700
- SQL (0.5ms) INSERT INTO "switchman_shards" ("default") VALUES ($1) RETURNING "id" [["default", true]]
1701
-  (0.3ms) COMMIT
1702
- Switchman::Shard Load (0.3ms) SELECT "switchman_shards".* FROM "switchman_shards" WHERE "switchman_shards"."default" = 't' LIMIT 1
1703
- Switchman::Shard Load (0.7ms) 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
1704
-  (0.1ms) BEGIN
1705
- SQL (0.3ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "test"], ["name", "public"]]
1706
-  (0.3ms) CREATE SCHEMA switchman_test_shard_3002 [shard 3002 deploy]
1707
-  (1.5ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [shard 3002 deploy]
1708
-  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 3002 deploy]
1709
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 3002 deploy]
1710
- Migrating to CreateUsers (20130403132607)
1711
-  (3.4ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 3002 deploy]
1712
- SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 3002 deploy]
1713
- Migrating to CreateAppendages (20130411202442)
1714
-  (2.6ms) CREATE TABLE "appendages" ("id" bigserial primary key, "user_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 3002 deploy]
1715
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202442"]] [shard 3002 deploy]
1716
- Migrating to CreateMirrorUsers (20130411202551)
1717
-  (2.1ms) CREATE TABLE "mirror_users" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 3002 deploy]
1718
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130411202551"]] [shard 3002 deploy]
1719
- Migrating to CreateDigits (20131022202028)
1720
-  (3.0ms) CREATE TABLE "digits" ("id" bigserial primary key, "appendage_id" bigint, "value" integer, "created_at" timestamp, "updated_at" timestamp) [shard 3002 deploy]
1721
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131022202028"]] [shard 3002 deploy]
1722
- Migrating to CreateFeatures (20131206172923)
1723
-  (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) [shard 3002 deploy]
1724
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20131206172923"]] [shard 3002 deploy]
1725
- Migrating to AddParentIdToUsers (20140123154135)
1726
-  (0.2ms) ALTER TABLE "users" ADD COLUMN "parent_id" bigint [shard 3002 deploy]
1727
- SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140123154135"]] [shard 3002 deploy]
1728
- Migrating to CreateRoots (20140219183820)
1729
-  (2.2ms) CREATE TABLE "roots" ("id" bigserial primary key, "user_id" bigint, "created_at" timestamp, "updated_at" timestamp) [shard 3002 deploy]
1730
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20140219183820"]] [shard 3002 deploy]
1731
- SQL (0.4ms) UPDATE "switchman_shards" SET "name" = $1 WHERE "switchman_shards"."id" = 3002 [["name", "switchman_test_shard_3002"]] [shard 3001 master]
1732
-  (0.8ms) COMMIT [shard 3001 master]
1733
- Switchman::Shard Load (0.6ms) 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 [shard 3001 master]
1734
-  (0.1ms) BEGIN [shard 3001 master]
1735
- SQL (0.4ms) INSERT INTO "switchman_shards" ("database_server_id", "name") VALUES ($1, $2) RETURNING "id" [["database_server_id", "1"], ["name", "public"]] [shard 3001 master]
1736
-  (0.3ms) COMMIT [shard 3001 master]
1737
-  (0.7ms) CREATE SCHEMA switchman_test_shard_3003 [shard 3003 deploy]
1738
-  (1.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)  [shard 3003 deploy]
1739
-  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [shard 3003 deploy]
1740
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" [shard 3003 deploy]
1741
- Migrating to CreateUsers (20130403132607)
1742
-  (0.1ms) BEGIN [shard 3003 deploy]
1743
-  (2.8ms) CREATE TABLE "users" ("id" bigserial primary key, "name" character varying(255), "mirror_user_id" bigint, "created_at" timestamp, "updated_at" timestamp)  [shard 3003 deploy]
1744
- SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20130403132607"]] [shard 3003 deploy]
1745
-  (0.3ms) COMMIT [shard 3003 deploy]
1746
- Migrating to CreateAppendages (20130411202442)
1747
-  (0.2ms) BEGIN [shard 3003 deploy]