curate 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. data/LICENSE +14 -0
  2. data/app/controllers/application_controller.rb +69 -0
  3. data/app/controllers/catalog_controller.rb +336 -0
  4. data/app/controllers/classify_concerns_controller.rb +29 -0
  5. data/app/controllers/common_objects_controller.rb +27 -0
  6. data/app/controllers/curation_concern/base_controller.rb +26 -0
  7. data/app/controllers/curation_concern/generic_files_controller.rb +82 -0
  8. data/app/controllers/dashboard_controller.rb +85 -0
  9. data/app/controllers/downloads_controller.rb +22 -0
  10. data/app/controllers/errors_controller.rb +19 -0
  11. data/app/controllers/help_requests_controller.rb +38 -0
  12. data/app/controllers/terms_of_service_agreements_controller.rb +44 -0
  13. data/app/controllers/welcome_controller.rb +14 -0
  14. data/app/helpers/application_helper.rb +89 -0
  15. data/app/helpers/blacklight_helper.rb +19 -0
  16. data/app/helpers/common_objects_helper.rb +5 -0
  17. data/app/inputs/multi_value_input.rb +71 -0
  18. data/app/models/access_right.rb +53 -0
  19. data/app/models/classify_concern.rb +30 -0
  20. data/app/models/contributor_agreement.rb +58 -0
  21. data/app/models/digital_object_identifier.rb +83 -0
  22. data/app/models/doi_config.rb +26 -0
  23. data/app/models/help_request.rb +34 -0
  24. data/app/models/mint_doi.rb +51 -0
  25. data/app/models/mint_purl.rb +40 -0
  26. data/app/models/object_access.rb +17 -0
  27. data/app/models/purl.rb +18 -0
  28. data/app/models/purl_config.rb +10 -0
  29. data/app/models/repo_object.rb +24 -0
  30. data/app/models/solr_document.rb +35 -0
  31. data/app/repository_datastreams/file_content_datastream.rb +36 -0
  32. data/app/repository_models/curation_concern/embargoable.rb +43 -0
  33. data/app/repository_models/curation_concern/with_access_right.rb +31 -0
  34. data/app/repository_models/generic_file.rb +36 -0
  35. data/app/services/anti_virus_scanner.rb +28 -0
  36. data/app/services/curation_concern.rb +22 -0
  37. data/app/services/curation_concern/base_actor.rb +48 -0
  38. data/app/services/curation_concern/generic_file_actor.rb +38 -0
  39. data/app/validators/future_date_validator.rb +19 -0
  40. data/app/views/_footer.html.erb +19 -0
  41. data/app/views/_ga.html.erb +6 -0
  42. data/app/views/_logo.html.erb +34 -0
  43. data/app/views/_masthead.html.erb +34 -0
  44. data/app/views/catalog/_bookmark_control.html.erb +25 -0
  45. data/app/views/catalog/_bookmark_form.html.erb +8 -0
  46. data/app/views/catalog/_citation.html.erb +11 -0
  47. data/app/views/catalog/_constraints.html.erb +6 -0
  48. data/app/views/catalog/_constraints_element.html.erb +20 -0
  49. data/app/views/catalog/_delete_partials/_default.html.erb +29 -0
  50. data/app/views/catalog/_did_you_mean.html.erb +10 -0
  51. data/app/views/catalog/_document.html.erb +19 -0
  52. data/app/views/catalog/_document_list.html.erb +2 -0
  53. data/app/views/catalog/_edit_partials/_default.html.erb +58 -0
  54. data/app/views/catalog/_edit_partials/_default_details.html.erb +13 -0
  55. data/app/views/catalog/_email_form.html.erb +11 -0
  56. data/app/views/catalog/_facet_layout.html.erb +12 -0
  57. data/app/views/catalog/_facet_limit.html.erb +19 -0
  58. data/app/views/catalog/_facet_selected.html.erb +12 -0
  59. data/app/views/catalog/_facets.html.erb +5 -0
  60. data/app/views/catalog/_folder_control.html.erb +12 -0
  61. data/app/views/catalog/_home.html.erb +2 -0
  62. data/app/views/catalog/_home_text.html.erb +10 -0
  63. data/app/views/catalog/_index_default.html.erb +11 -0
  64. data/app/views/catalog/_index_partials/_default_group.html.erb +37 -0
  65. data/app/views/catalog/_marc_view.html.erb +33 -0
  66. data/app/views/catalog/_opensearch_response_metadata.html.erb +2 -0
  67. data/app/views/catalog/_previous_next_doc.html.erb +6 -0
  68. data/app/views/catalog/_refworks_form.html.erb +7 -0
  69. data/app/views/catalog/_results_pagination.html.erb +6 -0
  70. data/app/views/catalog/_search_form.html.erb +20 -0
  71. data/app/views/catalog/_show_default.html.erb +9 -0
  72. data/app/views/catalog/_show_partials/_default.html.erb +22 -0
  73. data/app/views/catalog/_show_partials/_default_details.html.erb +15 -0
  74. data/app/views/catalog/_show_partials/_facets.html.erb +52 -0
  75. data/app/views/catalog/_show_sidebar.html.erb +1 -0
  76. data/app/views/catalog/_show_tools.html.erb +46 -0
  77. data/app/views/catalog/_sms_form.html.erb +21 -0
  78. data/app/views/catalog/_sort_and_per_page.html.erb +38 -0
  79. data/app/views/catalog/_uva_tabs.html.erb +10 -0
  80. data/app/views/catalog/about.html.erb +0 -0
  81. data/app/views/catalog/citation.html.erb +1 -0
  82. data/app/views/catalog/email.erb +1 -0
  83. data/app/views/catalog/endnote.endnote.erb +1 -0
  84. data/app/views/catalog/index.atom.builder +109 -0
  85. data/app/views/catalog/index.html.erb +55 -0
  86. data/app/views/catalog/index.rss.builder +19 -0
  87. data/app/views/catalog/librarian_view.html.erb +3 -0
  88. data/app/views/catalog/opensearch.json.erb +0 -0
  89. data/app/views/catalog/opensearch.xml.builder +10 -0
  90. data/app/views/catalog/send_email_record.erb +0 -0
  91. data/app/views/catalog/show.endnote.erb +1 -0
  92. data/app/views/catalog/show.html.erb +40 -0
  93. data/app/views/catalog/show.refworks.erb +1 -0
  94. data/app/views/catalog/sms.erb +1 -0
  95. data/app/views/classify_concerns/new.html.erb +24 -0
  96. data/app/views/common_objects/_generic_file.html.erb +0 -0
  97. data/app/views/common_objects/_senior_thesis.html.erb +2 -0
  98. data/app/views/common_objects/show.html.erb +11 -0
  99. data/app/views/common_objects/show_stub_information.html.erb +13 -0
  100. data/app/views/curation_concern/_content_license.html.erb +16 -0
  101. data/app/views/curation_concern/_contributor_agreement.html.erb +27 -0
  102. data/app/views/curation_concern/_doi.html.erb +43 -0
  103. data/app/views/curation_concern/_media_display.html.erb +1 -0
  104. data/app/views/curation_concern/_permission.html.erb +39 -0
  105. data/app/views/curation_concern/_related_files.html.erb +46 -0
  106. data/app/views/curation_concern/generic_files/_attributes.html.erb +63 -0
  107. data/app/views/curation_concern/generic_files/_form.html.erb +57 -0
  108. data/app/views/curation_concern/generic_files/edit.html.erb +5 -0
  109. data/app/views/curation_concern/generic_files/new.html.erb +5 -0
  110. data/app/views/curation_concern/generic_files/show.html.erb +12 -0
  111. data/app/views/curation_concern/senior_theses/_attributes.html.erb +13 -0
  112. data/app/views/curation_concern/senior_theses/_form.html.erb +88 -0
  113. data/app/views/curation_concern/senior_theses/edit.html.erb +15 -0
  114. data/app/views/curation_concern/senior_theses/new.html.erb +14 -0
  115. data/app/views/curation_concern/senior_theses/show.html.erb +18 -0
  116. data/app/views/dashboard/_constraints.html.erb +22 -0
  117. data/app/views/dashboard/_did_you_mean.html.erb +26 -0
  118. data/app/views/dashboard/_document_list.html.erb +20 -0
  119. data/app/views/dashboard/_facet_layout.html.erb +27 -0
  120. data/app/views/dashboard/_facet_limit.html.erb +35 -0
  121. data/app/views/dashboard/_facet_pagination.html.erb +25 -0
  122. data/app/views/dashboard/_facet_selected.html.erb +28 -0
  123. data/app/views/dashboard/_facets.html.erb +22 -0
  124. data/app/views/dashboard/_index_partials/_default_group.html.erb +37 -0
  125. data/app/views/dashboard/_index_partials/_list_files.html.erb +66 -0
  126. data/app/views/dashboard/_index_partials/_thumbnail_display.html.erb +0 -0
  127. data/app/views/dashboard/_results_pagination.html.erb +22 -0
  128. data/app/views/dashboard/_search_form.html.erb +36 -0
  129. data/app/views/dashboard/_show_partials/_default.html.erb +38 -0
  130. data/app/views/dashboard/_show_partials/_default_details.html.erb +31 -0
  131. data/app/views/dashboard/_show_partials/_facets.html.erb +103 -0
  132. data/app/views/dashboard/_sort_and_per_page.html.erb +18 -0
  133. data/app/views/dashboard/facet.html.erb +38 -0
  134. data/app/views/dashboard/get_related_file.html.erb +4 -0
  135. data/app/views/dashboard/index.html.erb +60 -0
  136. data/app/views/errors/401.html.erb +5 -0
  137. data/app/views/errors/404.html.erb +16 -0
  138. data/app/views/errors/500.html.erb +10 -0
  139. data/app/views/help_requests/new.html.erb +60 -0
  140. data/app/views/layouts/application.html.erb +14 -0
  141. data/app/views/layouts/boilerplate.html.erb +28 -0
  142. data/app/views/layouts/common_objects.html.erb +45 -0
  143. data/app/views/layouts/curate_nd.html.erb +55 -0
  144. data/app/views/layouts/curate_nd/1_column.html.erb +22 -0
  145. data/app/views/layouts/curate_nd/2_column.html.erb +26 -0
  146. data/app/views/layouts/curate_nd/catalog.html.erb +22 -0
  147. data/app/views/layouts/curate_nd/dashboard.html.erb +22 -0
  148. data/app/views/layouts/hydra-head.html.erb +95 -0
  149. data/app/views/shared/_action_bar.html.erb +30 -0
  150. data/app/views/shared/_flash_message.html.erb +9 -0
  151. data/app/views/shared/_site_search.html.erb +18 -0
  152. data/app/views/terms_of_service_agreements/new.html.erb +136 -0
  153. data/app/views/welcome/index.html.erb +21 -0
  154. data/app/workers/characterize_job.rb +4 -0
  155. data/app/workers/doi_worker.rb +16 -0
  156. data/config/routes.rb +35 -0
  157. data/lib/curate.rb +6 -0
  158. data/lib/curate/engine.rb +46 -0
  159. data/lib/curate/version.rb +1 -1
  160. data/spec/abilities/generic_file_abilities_spec.rb +55 -0
  161. data/spec/controllers/application_controller_spec.rb +38 -0
  162. data/spec/controllers/classify_concerns_controller_spec.rb +36 -0
  163. data/spec/controllers/common_objects_controller_spec.rb +112 -0
  164. data/spec/controllers/curation_concern/base_controller_spec.rb +14 -0
  165. data/spec/controllers/curation_concern/generic_files_controller_spec.rb +156 -0
  166. data/spec/controllers/dashboard_controller_spec.rb +85 -0
  167. data/spec/controllers/downloads_controller_spec.rb +42 -0
  168. data/spec/controllers/help_requests_controller_spec.rb +42 -0
  169. data/spec/controllers/terms_of_service_agreements_controller_spec.rb +30 -0
  170. data/spec/controllers/welcome_controller_spec.rb +10 -0
  171. data/spec/dummy/app/models/solr_document.rb +4 -0
  172. data/spec/dummy/app/models/user.rb +13 -0
  173. data/spec/dummy/config/application.rb +8 -1
  174. data/spec/dummy/config/database.yml +21 -22
  175. data/spec/dummy/config/doi.yml +11 -0
  176. data/spec/dummy/config/fedora.yml +20 -0
  177. data/spec/dummy/config/initializers/devise.rb +232 -0
  178. data/spec/dummy/config/initializers/hydra_config.rb +41 -0
  179. data/spec/dummy/config/initializers/mailboxer.rb +17 -0
  180. data/spec/dummy/config/initializers/redis_config.rb +45 -0
  181. data/spec/dummy/config/initializers/sufia.rb +66 -0
  182. data/spec/dummy/config/purl.yml +15 -0
  183. data/spec/dummy/config/redis.yml +6 -0
  184. data/spec/dummy/config/role_map_ci.yml +15 -0
  185. data/spec/dummy/config/role_map_cucumber.yml +10 -0
  186. data/spec/dummy/config/role_map_development.yml +12 -0
  187. data/spec/dummy/config/role_map_pre_production.yml +2 -0
  188. data/spec/dummy/config/role_map_production.yml +2 -0
  189. data/spec/dummy/config/role_map_test.yml +15 -0
  190. data/spec/dummy/config/routes.rb +4 -55
  191. data/spec/dummy/config/solr.yml +17 -0
  192. data/spec/dummy/db/migrate/20130130142162_create_purl.rb +55 -0
  193. data/spec/dummy/db/migrate/20130312135359_create_help_requests.rb +22 -0
  194. data/spec/dummy/db/migrate/20130408165008_create_users.rb +11 -0
  195. data/spec/dummy/db/migrate/20130408165009_acts_as_follower_migration.rb +31 -0
  196. data/spec/dummy/db/migrate/20130408165010_add_social_to_users.rb +27 -0
  197. data/spec/dummy/db/migrate/20130408165011_create_single_use_links.rb +12 -0
  198. data/spec/dummy/db/migrate/20130408165012_add_ldap_attrs_to_user.rb +41 -0
  199. data/spec/dummy/db/migrate/20130408165013_add_avatars_to_users.rb +23 -0
  200. data/spec/dummy/db/migrate/20130408165014_create_checksum_audit_logs.rb +34 -0
  201. data/spec/dummy/db/migrate/20130408165015_create_version_committers.rb +29 -0
  202. data/spec/dummy/db/migrate/20130408165016_add_groups_to_users.rb +25 -0
  203. data/spec/dummy/db/migrate/20130408165017_create_local_authorities.rb +64 -0
  204. data/spec/dummy/db/migrate/20130408165018_create_trophies.rb +10 -0
  205. data/spec/dummy/db/migrate/20130408165022_create_mailboxer.mailboxer_engine.rb +62 -0
  206. data/spec/dummy/db/migrate/20130408165023_add_notified_object.mailboxer_engine.rb +18 -0
  207. data/spec/dummy/db/migrate/20130408165024_add_notification_code.mailboxer_engine.rb +14 -0
  208. data/spec/dummy/db/migrate/20130408165025_add_attachments.mailboxer_engine.rb +10 -0
  209. data/spec/dummy/db/migrate/20130408165026_rename_receipts_read.mailboxer_engine.rb +10 -0
  210. data/spec/dummy/db/schema.rb +197 -0
  211. data/spec/dummy/db/test.sqlite3 +0 -0
  212. data/spec/dummy/fedora_conf/conf/development/fedora.fcfg +953 -0
  213. data/spec/dummy/fedora_conf/conf/test/fedora.fcfg +953 -0
  214. data/spec/dummy/log/development.log +1791 -0
  215. data/spec/dummy/log/test.log +176333 -0
  216. data/spec/dummy/solr_conf/conf/schema.xml +692 -0
  217. data/spec/dummy/solr_conf/conf/solrconfig.xml +299 -0
  218. data/spec/dummy/solr_conf/solr.xml +35 -0
  219. data/spec/factories/create_curation_concern.rb +11 -0
  220. data/spec/factories/create_generic_file.rb +36 -0
  221. data/spec/factories/help_requests.rb +10 -0
  222. data/spec/factories/mock_curation_concerns.rb +4 -0
  223. data/spec/factories/users.rb +8 -0
  224. data/spec/helpers/application_helper_spec.rb +139 -0
  225. data/spec/helpers/common_objects_helper_spec.rb +9 -0
  226. data/spec/models/access_right_spec.rb +47 -0
  227. data/spec/models/classify_concern_spec.rb +30 -0
  228. data/spec/models/contributor_agreement_spec.rb +45 -0
  229. data/spec/models/digital_object_identifier_spec.rb +50 -0
  230. data/spec/models/help_request_spec.rb +5 -0
  231. data/spec/models/mint_doi_spec.rb +79 -0
  232. data/spec/models/mint_purl_spec.rb +38 -0
  233. data/spec/models/object_access_spec.rb +24 -0
  234. data/spec/models/purl_spec.rb +22 -0
  235. data/spec/models/repo_object_spec.rb +39 -0
  236. data/spec/repository_models/curation_concern/embargoable_spec.rb +69 -0
  237. data/spec/repository_models/generic_file_spec.rb +38 -0
  238. data/spec/services/anti_virus_scanner_spec.rb +26 -0
  239. data/spec/services/curation_concern/base_actor_spec.rb +28 -0
  240. data/spec/services/curation_concern/generic_file_actor_spec.rb +75 -0
  241. data/spec/services/curation_concern_spec.rb +34 -0
  242. data/spec/spec_helper.rb +54 -1
  243. data/spec/support/environment_override.rb +17 -0
  244. data/spec/support/matchers/raise_rescue_response_type_matcher.rb +42 -0
  245. data/spec/support/mock_curation_concern.rb +61 -0
  246. data/spec/support/shared/shared_examples_is_embargoable.rb +9 -0
  247. data/spec/support/shared/shared_examples_with_access_rights.rb +33 -0
  248. data/spec/workers/characterize_job_spec.rb +26 -0
  249. metadata +686 -10
  250. data/MIT-LICENSE +0 -20
@@ -0,0 +1,1791 @@
1
+ Connecting to database specified by database.yml
2
+ Mysql2::Error: Table 'curate_development.local_authorities' doesn't exist: SHOW FULL FIELDS FROM `local_authorities`
3
+ Connecting to database specified by database.yml
4
+ Couldn't find SolrDocument
5
+ Connecting to database specified by database.yml
6
+ Couldn't find SolrDocument
7
+ Connecting to database specified by database.yml
8
+ Couldn't find SolrDocument
9
+ Connecting to database specified by database.yml
10
+ Couldn't find SolrDocument
11
+ Connecting to database specified by database.yml
12
+ Couldn't find SolrDocument
13
+ Connecting to database specified by database.yml
14
+ Couldn't find SolrDocument
15
+ Connecting to database specified by database.yml
16
+ Couldn't find SolrDocument
17
+ Connecting to database specified by database.yml
18
+ Mysql2::Error: Table 'curate_development.local_authorities' doesn't exist: SHOW FULL FIELDS FROM `local_authorities`
19
+ Connecting to database specified by database.yml
20
+ Couldn't find SolrDocument
21
+  (22.6ms) CREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB
22
+  (21.7ms) CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
23
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
24
+ Migrating to ActsAsFollowerMigration (20130408165009)
25
+  (10.7ms) CREATE TABLE `follows` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `followable_id` int(11) NOT NULL, `followable_type` varchar(255) NOT NULL, `follower_id` int(11) NOT NULL, `follower_type` varchar(255) NOT NULL, `blocked` tinyint(1) DEFAULT 0 NOT NULL, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
26
+  (18.5ms) CREATE INDEX `fk_follows` ON `follows` (`follower_id`, `follower_type`)
27
+  (11.8ms) CREATE INDEX `fk_followables` ON `follows` (`followable_id`, `followable_type`)
28
+  (0.6ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165009')
29
+ Migrating to AddSocialToUsers (20130408165010)
30
+  (0.2ms) ALTER TABLE `users` ADD `facebook_handle` varchar(255)
31
+ Mysql2::Error: Table 'curate_development.users' doesn't exist: ALTER TABLE `users` ADD `facebook_handle` varchar(255)
32
+ Connecting to database specified by database.yml
33
+ Couldn't find SolrDocument
34
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
35
+ Migrating to CreateUsers (20130408165008)
36
+  (16.6ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
37
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165008')
38
+ Migrating to ActsAsFollowerMigration (20130408165009)
39
+ Migrating to AddSocialToUsers (20130408165010)
40
+  (21.0ms) ALTER TABLE `users` ADD `facebook_handle` varchar(255)
41
+  (12.4ms) ALTER TABLE `users` ADD `twitter_handle` varchar(255)
42
+  (15.1ms) ALTER TABLE `users` ADD `googleplus_handle` varchar(255)
43
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165010')
44
+ Migrating to CreateSingleUseLinks (20130408165011)
45
+  (20.8ms) CREATE TABLE `single_use_links` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `downloadKey` varchar(255), `path` varchar(255), `itemId` varchar(255), `expires` datetime, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
46
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165011')
47
+ Migrating to AddLdapAttrsToUser (20130408165012)
48
+  (14.9ms) ALTER TABLE `users` ADD `display_name` varchar(255)
49
+  (15.0ms) ALTER TABLE `users` ADD `address` varchar(255)
50
+  (16.5ms) ALTER TABLE `users` ADD `admin_area` varchar(255)
51
+  (17.0ms) ALTER TABLE `users` ADD `department` varchar(255)
52
+  (15.3ms) ALTER TABLE `users` ADD `title` varchar(255)
53
+  (13.2ms) ALTER TABLE `users` ADD `office` varchar(255)
54
+  (15.7ms) ALTER TABLE `users` ADD `chat_id` varchar(255)
55
+  (11.8ms) ALTER TABLE `users` ADD `website` varchar(255)
56
+  (13.8ms) ALTER TABLE `users` ADD `affiliation` varchar(255)
57
+  (12.5ms) ALTER TABLE `users` ADD `telephone` varchar(255)
58
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165012')
59
+ Migrating to AddAvatarsToUsers (20130408165013)
60
+  (16.2ms) ALTER TABLE `users` ADD `avatar_file_name` varchar(255)
61
+  (15.0ms) ALTER TABLE `users` ADD `avatar_content_type` varchar(255)
62
+  (19.5ms) ALTER TABLE `users` ADD `avatar_file_size` int(11)
63
+  (11.4ms) ALTER TABLE `users` ADD `avatar_updated_at` datetime
64
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165013')
65
+ Migrating to CreateChecksumAuditLogs (20130408165014)
66
+  (22.3ms) CREATE TABLE `checksum_audit_logs` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `pid` varchar(255), `dsid` varchar(255), `version` varchar(255), `pass` int(11), `expected_result` varchar(255), `actual_result` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
67
+  (17.3ms) CREATE INDEX `by_pid_and_dsid` ON `checksum_audit_logs` (`pid`, `dsid`)
68
+  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165014')
69
+ Migrating to CreateVersionCommitters (20130408165015)
70
+  (12.4ms) CREATE TABLE `version_committers` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `obj_id` varchar(255), `datastream_id` varchar(255), `version_id` varchar(255), `committer_login` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
71
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165015')
72
+ Migrating to AddGroupsToUsers (20130408165016)
73
+  (21.1ms) ALTER TABLE `users` ADD `group_list` text
74
+  (10.8ms) ALTER TABLE `users` ADD `groups_last_update` datetime
75
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165016')
76
+ Migrating to CreateLocalAuthorities (20130408165017)
77
+  (15.5ms) CREATE TABLE `local_authority_entries` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `local_authority_id` int(11), `label` varchar(255), `uri` varchar(255)) ENGINE=InnoDB
78
+  (15.8ms) CREATE TABLE `local_authorities` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `name` varchar(255)) ENGINE=InnoDB
79
+  (11.0ms) CREATE TABLE `domain_terms` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `model` varchar(255), `term` varchar(255)) ENGINE=InnoDB
80
+  (18.8ms) CREATE TABLE `domain_terms_local_authorities` (`domain_term_id` int(11), `local_authority_id` int(11)) ENGINE=InnoDB
81
+  (13.6ms) CREATE TABLE `subject_local_authority_entries` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `label` varchar(255), `lowerLabel` varchar(255), `url` varchar(255)) ENGINE=InnoDB
82
+  (20.4ms) CREATE INDEX `entries_by_term_and_label` ON `local_authority_entries` (`local_authority_id`, `label`)
83
+  (20.9ms) CREATE INDEX `entries_by_term_and_uri` ON `local_authority_entries` (`local_authority_id`, `uri`)
84
+  (22.5ms) CREATE INDEX `terms_by_model_and_term` ON `domain_terms` (`model`, `term`)
85
+  (17.4ms) CREATE INDEX `dtla_by_ids1` ON `domain_terms_local_authorities` (`local_authority_id`, `domain_term_id`)
86
+  (19.0ms) CREATE INDEX `dtla_by_ids2` ON `domain_terms_local_authorities` (`domain_term_id`, `local_authority_id`)
87
+  (13.8ms) CREATE INDEX `entries_by_lower_label` ON `subject_local_authority_entries` (`lowerLabel`)
88
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165017')
89
+ Migrating to CreateTrophies (20130408165018)
90
+  (20.2ms) CREATE TABLE `trophies` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `user_id` int(11), `generic_file_id` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
91
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165018')
92
+ Migrating to CreateMailboxer (20130408165022)
93
+  (12.4ms) CREATE TABLE `conversations` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `subject` varchar(255) DEFAULT '', `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
94
+  (19.5ms) CREATE TABLE `receipts` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `receiver_id` int(11), `receiver_type` varchar(255), `notification_id` int(11) NOT NULL, `read` tinyint(1) DEFAULT 0, `trashed` tinyint(1) DEFAULT 0, `deleted` tinyint(1) DEFAULT 0, `mailbox_type` varchar(25), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
95
+  (8.3ms) CREATE TABLE `notifications` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `type` varchar(255), `body` text, `subject` varchar(255) DEFAULT '', `sender_id` int(11), `sender_type` varchar(255), `object_id` int(11), `object_type` varchar(255), `conversation_id` int(11), `draft` tinyint(1) DEFAULT 0, `updated_at` datetime NOT NULL, `created_at` datetime NOT NULL) ENGINE=InnoDB
96
+  (11.5ms) CREATE INDEX `index_receipts_on_notification_id` ON `receipts` (`notification_id`)
97
+  (18.1ms) CREATE INDEX `index_notifications_on_conversation_id` ON `notifications` (`conversation_id`)
98
+  (12.8ms) ALTER TABLE `receipts` ADD CONSTRAINT `receipts_on_notification_id` FOREIGN KEY (`notification_id`) REFERENCES `notifications`(id)
99
+  (12.7ms) ALTER TABLE `notifications` ADD CONSTRAINT `notifications_on_conversation_id` FOREIGN KEY (`conversation_id`) REFERENCES `conversations`(id)
100
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165022')
101
+ Migrating to AddNotifiedObject (20130408165023)
102
+  (22.6ms) ALTER TABLE `notifications` ADD `notified_object_id` int(11)
103
+  (12.7ms) ALTER TABLE `notifications` ADD `notified_object_type` varchar(255)
104
+  (17.3ms) ALTER TABLE `notifications` DROP `object_id`
105
+  (12.4ms) ALTER TABLE `notifications` DROP `object_type`
106
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165023')
107
+ Migrating to AddNotificationCode (20130408165024)
108
+  (11.5ms) ALTER TABLE `notifications` ADD `notification_code` varchar(255) DEFAULT NULL
109
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165024')
110
+ Migrating to AddAttachments (20130408165025)
111
+  (10.2ms) ALTER TABLE `notifications` ADD `attachment` varchar(255)
112
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165025')
113
+ Migrating to RenameReceiptsRead (20130408165026)
114
+  (0.7ms) SHOW COLUMNS FROM `receipts` LIKE 'read'
115
+  (14.2ms) ALTER TABLE `receipts` CHANGE `read` `is_read` tinyint(1) DEFAULT 0
116
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165026')
117
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
118
+  (0.2ms) 
119
+ SELECT fk.referenced_table_name as 'to_table'
120
+ ,fk.referenced_column_name as 'primary_key'
121
+ ,fk.column_name as 'column'
122
+ ,fk.constraint_name as 'name'
123
+ FROM information_schema.key_column_usage fk
124
+ WHERE fk.referenced_column_name is not null
125
+ AND fk.table_schema = 'curate_development'
126
+ AND fk.table_name = 'checksum_audit_logs'
127
+ 
128
+  (0.1ms) SHOW CREATE TABLE `checksum_audit_logs`
129
+  (0.2ms) 
130
+ SELECT fk.referenced_table_name as 'to_table'
131
+ ,fk.referenced_column_name as 'primary_key'
132
+ ,fk.column_name as 'column'
133
+ ,fk.constraint_name as 'name'
134
+ FROM information_schema.key_column_usage fk
135
+ WHERE fk.referenced_column_name is not null
136
+ AND fk.table_schema = 'curate_development'
137
+ AND fk.table_name = 'conversations'
138
+ 
139
+  (0.1ms) SHOW CREATE TABLE `conversations`
140
+  (0.2ms) 
141
+ SELECT fk.referenced_table_name as 'to_table'
142
+ ,fk.referenced_column_name as 'primary_key'
143
+ ,fk.column_name as 'column'
144
+ ,fk.constraint_name as 'name'
145
+ FROM information_schema.key_column_usage fk
146
+ WHERE fk.referenced_column_name is not null
147
+ AND fk.table_schema = 'curate_development'
148
+ AND fk.table_name = 'domain_terms'
149
+ 
150
+  (0.1ms) SHOW CREATE TABLE `domain_terms`
151
+  (0.2ms) 
152
+ SELECT fk.referenced_table_name as 'to_table'
153
+ ,fk.referenced_column_name as 'primary_key'
154
+ ,fk.column_name as 'column'
155
+ ,fk.constraint_name as 'name'
156
+ FROM information_schema.key_column_usage fk
157
+ WHERE fk.referenced_column_name is not null
158
+ AND fk.table_schema = 'curate_development'
159
+ AND fk.table_name = 'domain_terms_local_authorities'
160
+ 
161
+  (0.1ms) SHOW CREATE TABLE `domain_terms_local_authorities`
162
+  (0.2ms) 
163
+ SELECT fk.referenced_table_name as 'to_table'
164
+ ,fk.referenced_column_name as 'primary_key'
165
+ ,fk.column_name as 'column'
166
+ ,fk.constraint_name as 'name'
167
+ FROM information_schema.key_column_usage fk
168
+ WHERE fk.referenced_column_name is not null
169
+ AND fk.table_schema = 'curate_development'
170
+ AND fk.table_name = 'follows'
171
+ 
172
+  (0.1ms) SHOW CREATE TABLE `follows`
173
+  (0.2ms) 
174
+ SELECT fk.referenced_table_name as 'to_table'
175
+ ,fk.referenced_column_name as 'primary_key'
176
+ ,fk.column_name as 'column'
177
+ ,fk.constraint_name as 'name'
178
+ FROM information_schema.key_column_usage fk
179
+ WHERE fk.referenced_column_name is not null
180
+ AND fk.table_schema = 'curate_development'
181
+ AND fk.table_name = 'local_authorities'
182
+ 
183
+  (0.1ms) SHOW CREATE TABLE `local_authorities`
184
+  (0.2ms) 
185
+ SELECT fk.referenced_table_name as 'to_table'
186
+ ,fk.referenced_column_name as 'primary_key'
187
+ ,fk.column_name as 'column'
188
+ ,fk.constraint_name as 'name'
189
+ FROM information_schema.key_column_usage fk
190
+ WHERE fk.referenced_column_name is not null
191
+ AND fk.table_schema = 'curate_development'
192
+ AND fk.table_name = 'local_authority_entries'
193
+ 
194
+  (0.1ms) SHOW CREATE TABLE `local_authority_entries`
195
+  (0.2ms) 
196
+ SELECT fk.referenced_table_name as 'to_table'
197
+ ,fk.referenced_column_name as 'primary_key'
198
+ ,fk.column_name as 'column'
199
+ ,fk.constraint_name as 'name'
200
+ FROM information_schema.key_column_usage fk
201
+ WHERE fk.referenced_column_name is not null
202
+ AND fk.table_schema = 'curate_development'
203
+ AND fk.table_name = 'notifications'
204
+ 
205
+  (0.1ms) SHOW CREATE TABLE `notifications`
206
+  (0.4ms) 
207
+ SELECT fk.referenced_table_name as 'to_table'
208
+ ,fk.referenced_column_name as 'primary_key'
209
+ ,fk.column_name as 'column'
210
+ ,fk.constraint_name as 'name'
211
+ FROM information_schema.key_column_usage fk
212
+ WHERE fk.referenced_column_name is not null
213
+ AND fk.table_schema = 'curate_development'
214
+ AND fk.table_name = 'receipts'
215
+ 
216
+  (0.2ms) SHOW CREATE TABLE `receipts`
217
+  (0.3ms) 
218
+ SELECT fk.referenced_table_name as 'to_table'
219
+ ,fk.referenced_column_name as 'primary_key'
220
+ ,fk.column_name as 'column'
221
+ ,fk.constraint_name as 'name'
222
+ FROM information_schema.key_column_usage fk
223
+ WHERE fk.referenced_column_name is not null
224
+ AND fk.table_schema = 'curate_development'
225
+ AND fk.table_name = 'single_use_links'
226
+ 
227
+  (0.1ms) SHOW CREATE TABLE `single_use_links`
228
+  (0.2ms) 
229
+ SELECT fk.referenced_table_name as 'to_table'
230
+ ,fk.referenced_column_name as 'primary_key'
231
+ ,fk.column_name as 'column'
232
+ ,fk.constraint_name as 'name'
233
+ FROM information_schema.key_column_usage fk
234
+ WHERE fk.referenced_column_name is not null
235
+ AND fk.table_schema = 'curate_development'
236
+ AND fk.table_name = 'subject_local_authority_entries'
237
+ 
238
+  (0.1ms) SHOW CREATE TABLE `subject_local_authority_entries`
239
+  (0.2ms) 
240
+ SELECT fk.referenced_table_name as 'to_table'
241
+ ,fk.referenced_column_name as 'primary_key'
242
+ ,fk.column_name as 'column'
243
+ ,fk.constraint_name as 'name'
244
+ FROM information_schema.key_column_usage fk
245
+ WHERE fk.referenced_column_name is not null
246
+ AND fk.table_schema = 'curate_development'
247
+ AND fk.table_name = 'trophies'
248
+ 
249
+  (0.1ms) SHOW CREATE TABLE `trophies`
250
+  (0.2ms) 
251
+ SELECT fk.referenced_table_name as 'to_table'
252
+ ,fk.referenced_column_name as 'primary_key'
253
+ ,fk.column_name as 'column'
254
+ ,fk.constraint_name as 'name'
255
+ FROM information_schema.key_column_usage fk
256
+ WHERE fk.referenced_column_name is not null
257
+ AND fk.table_schema = 'curate_development'
258
+ AND fk.table_name = 'users'
259
+ 
260
+  (0.1ms) SHOW CREATE TABLE `users`
261
+  (0.2ms) 
262
+ SELECT fk.referenced_table_name as 'to_table'
263
+ ,fk.referenced_column_name as 'primary_key'
264
+ ,fk.column_name as 'column'
265
+ ,fk.constraint_name as 'name'
266
+ FROM information_schema.key_column_usage fk
267
+ WHERE fk.referenced_column_name is not null
268
+ AND fk.table_schema = 'curate_development'
269
+ AND fk.table_name = 'version_committers'
270
+ 
271
+  (0.1ms) SHOW CREATE TABLE `version_committers`
272
+ Connecting to database specified by database.yml
273
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
274
+ resetting mappings for Solrizer::FieldMapper
275
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
276
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
277
+ LocalAuthority Load (0.1ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
278
+ Couldn't find SolrDocument
279
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
280
+  (1.0ms) DROP TABLE `users`
281
+  (0.4ms) DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20130408165008'
282
+  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
283
+  (0.2ms)
284
+ SELECT fk.referenced_table_name as 'to_table'
285
+ ,fk.referenced_column_name as 'primary_key'
286
+ ,fk.column_name as 'column'
287
+ ,fk.constraint_name as 'name'
288
+ FROM information_schema.key_column_usage fk
289
+ WHERE fk.referenced_column_name is not null
290
+ AND fk.table_schema = 'curate_development'
291
+ AND fk.table_name = 'checksum_audit_logs'
292
+
293
+  (0.1ms) SHOW CREATE TABLE `checksum_audit_logs`
294
+  (0.2ms)
295
+ SELECT fk.referenced_table_name as 'to_table'
296
+ ,fk.referenced_column_name as 'primary_key'
297
+ ,fk.column_name as 'column'
298
+ ,fk.constraint_name as 'name'
299
+ FROM information_schema.key_column_usage fk
300
+ WHERE fk.referenced_column_name is not null
301
+ AND fk.table_schema = 'curate_development'
302
+ AND fk.table_name = 'conversations'
303
+
304
+  (0.1ms) SHOW CREATE TABLE `conversations`
305
+  (0.2ms)
306
+ SELECT fk.referenced_table_name as 'to_table'
307
+ ,fk.referenced_column_name as 'primary_key'
308
+ ,fk.column_name as 'column'
309
+ ,fk.constraint_name as 'name'
310
+ FROM information_schema.key_column_usage fk
311
+ WHERE fk.referenced_column_name is not null
312
+ AND fk.table_schema = 'curate_development'
313
+ AND fk.table_name = 'domain_terms'
314
+
315
+  (0.1ms) SHOW CREATE TABLE `domain_terms`
316
+  (0.1ms)
317
+ SELECT fk.referenced_table_name as 'to_table'
318
+ ,fk.referenced_column_name as 'primary_key'
319
+ ,fk.column_name as 'column'
320
+ ,fk.constraint_name as 'name'
321
+ FROM information_schema.key_column_usage fk
322
+ WHERE fk.referenced_column_name is not null
323
+ AND fk.table_schema = 'curate_development'
324
+ AND fk.table_name = 'domain_terms_local_authorities'
325
+
326
+  (0.1ms) SHOW CREATE TABLE `domain_terms_local_authorities`
327
+  (0.1ms)
328
+ SELECT fk.referenced_table_name as 'to_table'
329
+ ,fk.referenced_column_name as 'primary_key'
330
+ ,fk.column_name as 'column'
331
+ ,fk.constraint_name as 'name'
332
+ FROM information_schema.key_column_usage fk
333
+ WHERE fk.referenced_column_name is not null
334
+ AND fk.table_schema = 'curate_development'
335
+ AND fk.table_name = 'follows'
336
+
337
+  (0.1ms) SHOW CREATE TABLE `follows`
338
+  (0.1ms)
339
+ SELECT fk.referenced_table_name as 'to_table'
340
+ ,fk.referenced_column_name as 'primary_key'
341
+ ,fk.column_name as 'column'
342
+ ,fk.constraint_name as 'name'
343
+ FROM information_schema.key_column_usage fk
344
+ WHERE fk.referenced_column_name is not null
345
+ AND fk.table_schema = 'curate_development'
346
+ AND fk.table_name = 'local_authorities'
347
+
348
+  (0.1ms) SHOW CREATE TABLE `local_authorities`
349
+  (0.1ms)
350
+ SELECT fk.referenced_table_name as 'to_table'
351
+ ,fk.referenced_column_name as 'primary_key'
352
+ ,fk.column_name as 'column'
353
+ ,fk.constraint_name as 'name'
354
+ FROM information_schema.key_column_usage fk
355
+ WHERE fk.referenced_column_name is not null
356
+ AND fk.table_schema = 'curate_development'
357
+ AND fk.table_name = 'local_authority_entries'
358
+
359
+  (0.1ms) SHOW CREATE TABLE `local_authority_entries`
360
+  (0.2ms)
361
+ SELECT fk.referenced_table_name as 'to_table'
362
+ ,fk.referenced_column_name as 'primary_key'
363
+ ,fk.column_name as 'column'
364
+ ,fk.constraint_name as 'name'
365
+ FROM information_schema.key_column_usage fk
366
+ WHERE fk.referenced_column_name is not null
367
+ AND fk.table_schema = 'curate_development'
368
+ AND fk.table_name = 'notifications'
369
+
370
+  (0.1ms) SHOW CREATE TABLE `notifications`
371
+  (0.3ms)
372
+ SELECT fk.referenced_table_name as 'to_table'
373
+ ,fk.referenced_column_name as 'primary_key'
374
+ ,fk.column_name as 'column'
375
+ ,fk.constraint_name as 'name'
376
+ FROM information_schema.key_column_usage fk
377
+ WHERE fk.referenced_column_name is not null
378
+ AND fk.table_schema = 'curate_development'
379
+ AND fk.table_name = 'receipts'
380
+
381
+  (0.1ms) SHOW CREATE TABLE `receipts`
382
+  (0.2ms)
383
+ SELECT fk.referenced_table_name as 'to_table'
384
+ ,fk.referenced_column_name as 'primary_key'
385
+ ,fk.column_name as 'column'
386
+ ,fk.constraint_name as 'name'
387
+ FROM information_schema.key_column_usage fk
388
+ WHERE fk.referenced_column_name is not null
389
+ AND fk.table_schema = 'curate_development'
390
+ AND fk.table_name = 'single_use_links'
391
+
392
+  (0.1ms) SHOW CREATE TABLE `single_use_links`
393
+  (0.2ms)
394
+ SELECT fk.referenced_table_name as 'to_table'
395
+ ,fk.referenced_column_name as 'primary_key'
396
+ ,fk.column_name as 'column'
397
+ ,fk.constraint_name as 'name'
398
+ FROM information_schema.key_column_usage fk
399
+ WHERE fk.referenced_column_name is not null
400
+ AND fk.table_schema = 'curate_development'
401
+ AND fk.table_name = 'subject_local_authority_entries'
402
+
403
+  (0.1ms) SHOW CREATE TABLE `subject_local_authority_entries`
404
+  (0.1ms)
405
+ SELECT fk.referenced_table_name as 'to_table'
406
+ ,fk.referenced_column_name as 'primary_key'
407
+ ,fk.column_name as 'column'
408
+ ,fk.constraint_name as 'name'
409
+ FROM information_schema.key_column_usage fk
410
+ WHERE fk.referenced_column_name is not null
411
+ AND fk.table_schema = 'curate_development'
412
+ AND fk.table_name = 'trophies'
413
+
414
+  (0.1ms) SHOW CREATE TABLE `trophies`
415
+  (0.1ms)
416
+ SELECT fk.referenced_table_name as 'to_table'
417
+ ,fk.referenced_column_name as 'primary_key'
418
+ ,fk.column_name as 'column'
419
+ ,fk.constraint_name as 'name'
420
+ FROM information_schema.key_column_usage fk
421
+ WHERE fk.referenced_column_name is not null
422
+ AND fk.table_schema = 'curate_development'
423
+ AND fk.table_name = 'version_committers'
424
+
425
+  (0.1ms) SHOW CREATE TABLE `version_committers`
426
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
427
+  (23.8ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
428
+  (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165008')
429
+  (47.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
430
+  (0.2ms)
431
+ SELECT fk.referenced_table_name as 'to_table'
432
+ ,fk.referenced_column_name as 'primary_key'
433
+ ,fk.column_name as 'column'
434
+ ,fk.constraint_name as 'name'
435
+ FROM information_schema.key_column_usage fk
436
+ WHERE fk.referenced_column_name is not null
437
+ AND fk.table_schema = 'curate_development'
438
+ AND fk.table_name = 'checksum_audit_logs'
439
+
440
+  (0.1ms) SHOW CREATE TABLE `checksum_audit_logs`
441
+  (0.2ms)
442
+ SELECT fk.referenced_table_name as 'to_table'
443
+ ,fk.referenced_column_name as 'primary_key'
444
+ ,fk.column_name as 'column'
445
+ ,fk.constraint_name as 'name'
446
+ FROM information_schema.key_column_usage fk
447
+ WHERE fk.referenced_column_name is not null
448
+ AND fk.table_schema = 'curate_development'
449
+ AND fk.table_name = 'conversations'
450
+
451
+  (0.1ms) SHOW CREATE TABLE `conversations`
452
+  (0.2ms)
453
+ SELECT fk.referenced_table_name as 'to_table'
454
+ ,fk.referenced_column_name as 'primary_key'
455
+ ,fk.column_name as 'column'
456
+ ,fk.constraint_name as 'name'
457
+ FROM information_schema.key_column_usage fk
458
+ WHERE fk.referenced_column_name is not null
459
+ AND fk.table_schema = 'curate_development'
460
+ AND fk.table_name = 'domain_terms'
461
+
462
+  (0.1ms) SHOW CREATE TABLE `domain_terms`
463
+  (0.1ms)
464
+ SELECT fk.referenced_table_name as 'to_table'
465
+ ,fk.referenced_column_name as 'primary_key'
466
+ ,fk.column_name as 'column'
467
+ ,fk.constraint_name as 'name'
468
+ FROM information_schema.key_column_usage fk
469
+ WHERE fk.referenced_column_name is not null
470
+ AND fk.table_schema = 'curate_development'
471
+ AND fk.table_name = 'domain_terms_local_authorities'
472
+
473
+  (0.1ms) SHOW CREATE TABLE `domain_terms_local_authorities`
474
+  (0.2ms)
475
+ SELECT fk.referenced_table_name as 'to_table'
476
+ ,fk.referenced_column_name as 'primary_key'
477
+ ,fk.column_name as 'column'
478
+ ,fk.constraint_name as 'name'
479
+ FROM information_schema.key_column_usage fk
480
+ WHERE fk.referenced_column_name is not null
481
+ AND fk.table_schema = 'curate_development'
482
+ AND fk.table_name = 'follows'
483
+
484
+  (0.1ms) SHOW CREATE TABLE `follows`
485
+  (0.1ms)
486
+ SELECT fk.referenced_table_name as 'to_table'
487
+ ,fk.referenced_column_name as 'primary_key'
488
+ ,fk.column_name as 'column'
489
+ ,fk.constraint_name as 'name'
490
+ FROM information_schema.key_column_usage fk
491
+ WHERE fk.referenced_column_name is not null
492
+ AND fk.table_schema = 'curate_development'
493
+ AND fk.table_name = 'local_authorities'
494
+
495
+  (0.1ms) SHOW CREATE TABLE `local_authorities`
496
+  (0.2ms)
497
+ SELECT fk.referenced_table_name as 'to_table'
498
+ ,fk.referenced_column_name as 'primary_key'
499
+ ,fk.column_name as 'column'
500
+ ,fk.constraint_name as 'name'
501
+ FROM information_schema.key_column_usage fk
502
+ WHERE fk.referenced_column_name is not null
503
+ AND fk.table_schema = 'curate_development'
504
+ AND fk.table_name = 'local_authority_entries'
505
+
506
+  (0.1ms) SHOW CREATE TABLE `local_authority_entries`
507
+  (0.2ms)
508
+ SELECT fk.referenced_table_name as 'to_table'
509
+ ,fk.referenced_column_name as 'primary_key'
510
+ ,fk.column_name as 'column'
511
+ ,fk.constraint_name as 'name'
512
+ FROM information_schema.key_column_usage fk
513
+ WHERE fk.referenced_column_name is not null
514
+ AND fk.table_schema = 'curate_development'
515
+ AND fk.table_name = 'notifications'
516
+
517
+  (0.1ms) SHOW CREATE TABLE `notifications`
518
+  (0.2ms)
519
+ SELECT fk.referenced_table_name as 'to_table'
520
+ ,fk.referenced_column_name as 'primary_key'
521
+ ,fk.column_name as 'column'
522
+ ,fk.constraint_name as 'name'
523
+ FROM information_schema.key_column_usage fk
524
+ WHERE fk.referenced_column_name is not null
525
+ AND fk.table_schema = 'curate_development'
526
+ AND fk.table_name = 'receipts'
527
+
528
+  (0.1ms) SHOW CREATE TABLE `receipts`
529
+  (0.1ms)
530
+ SELECT fk.referenced_table_name as 'to_table'
531
+ ,fk.referenced_column_name as 'primary_key'
532
+ ,fk.column_name as 'column'
533
+ ,fk.constraint_name as 'name'
534
+ FROM information_schema.key_column_usage fk
535
+ WHERE fk.referenced_column_name is not null
536
+ AND fk.table_schema = 'curate_development'
537
+ AND fk.table_name = 'single_use_links'
538
+
539
+  (0.1ms) SHOW CREATE TABLE `single_use_links`
540
+  (0.1ms)
541
+ SELECT fk.referenced_table_name as 'to_table'
542
+ ,fk.referenced_column_name as 'primary_key'
543
+ ,fk.column_name as 'column'
544
+ ,fk.constraint_name as 'name'
545
+ FROM information_schema.key_column_usage fk
546
+ WHERE fk.referenced_column_name is not null
547
+ AND fk.table_schema = 'curate_development'
548
+ AND fk.table_name = 'subject_local_authority_entries'
549
+
550
+  (0.1ms) SHOW CREATE TABLE `subject_local_authority_entries`
551
+  (0.1ms)
552
+ SELECT fk.referenced_table_name as 'to_table'
553
+ ,fk.referenced_column_name as 'primary_key'
554
+ ,fk.column_name as 'column'
555
+ ,fk.constraint_name as 'name'
556
+ FROM information_schema.key_column_usage fk
557
+ WHERE fk.referenced_column_name is not null
558
+ AND fk.table_schema = 'curate_development'
559
+ AND fk.table_name = 'trophies'
560
+
561
+  (0.1ms) SHOW CREATE TABLE `trophies`
562
+  (0.1ms)
563
+ SELECT fk.referenced_table_name as 'to_table'
564
+ ,fk.referenced_column_name as 'primary_key'
565
+ ,fk.column_name as 'column'
566
+ ,fk.constraint_name as 'name'
567
+ FROM information_schema.key_column_usage fk
568
+ WHERE fk.referenced_column_name is not null
569
+ AND fk.table_schema = 'curate_development'
570
+ AND fk.table_name = 'users'
571
+
572
+  (0.1ms) SHOW CREATE TABLE `users`
573
+  (0.1ms)
574
+ SELECT fk.referenced_table_name as 'to_table'
575
+ ,fk.referenced_column_name as 'primary_key'
576
+ ,fk.column_name as 'column'
577
+ ,fk.constraint_name as 'name'
578
+ FROM information_schema.key_column_usage fk
579
+ WHERE fk.referenced_column_name is not null
580
+ AND fk.table_schema = 'curate_development'
581
+ AND fk.table_name = 'version_committers'
582
+
583
+  (0.1ms) SHOW CREATE TABLE `version_committers`
584
+ Connecting to database specified by database.yml
585
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
586
+ resetting mappings for Solrizer::FieldMapper
587
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
588
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
589
+ LocalAuthority Load (0.1ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
590
+ Couldn't find SolrDocument
591
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
592
+ Migrating to CreatePurl (20130130142162)
593
+  (12.0ms) CREATE TABLE `repo_object` (`repo_object_id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `filename` varchar(255), `url` varchar(255), `date_added` datetime, `add_source_ip` varchar(255), `date_modified` datetime, `information` varchar(255)) ENGINE=InnoDB
594
+  (19.9ms) CREATE TABLE `purl` (`purl_id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `repo_object_id` int(11), `access_count` varchar(255), `last_accessed` datetime, `source_app` varchar(255), `date_created` datetime) ENGINE=InnoDB
595
+  (13.7ms) CREATE TABLE `object_access` (`access_id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `date_accessed` datetime, `ip_address` varchar(255), `host_name` varchar(255), `user_agent` varchar(255), `request_method` varchar(255), `path_info` varchar(255), `repo_object_id` int(11), `purl_id` int(11)) ENGINE=InnoDB
596
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130130142162')
597
+ Migrating to CreateHelpRequests (20130312135359)
598
+  (18.5ms) CREATE TABLE `help_requests` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `view_port` varchar(255), `current_url` text, `user_agent` varchar(255), `resolution` varchar(255), `how_can_we_help_you` text, `javascript_enabled` tinyint(1), `release_version` varchar(255), `user_id` int(11), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
599
+  (18.4ms) CREATE INDEX `index_help_requests_on_user_id` ON `help_requests` (`user_id`)
600
+  (13.9ms) CREATE INDEX `index_help_requests_on_created_at` ON `help_requests` (`created_at`)
601
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130312135359')
602
+ Migrating to CreateUsers (20130408165008)
603
+ Migrating to ActsAsFollowerMigration (20130408165009)
604
+ Migrating to AddSocialToUsers (20130408165010)
605
+ Migrating to CreateSingleUseLinks (20130408165011)
606
+ Migrating to AddLdapAttrsToUser (20130408165012)
607
+ Migrating to AddAvatarsToUsers (20130408165013)
608
+ Migrating to CreateChecksumAuditLogs (20130408165014)
609
+ Migrating to CreateVersionCommitters (20130408165015)
610
+ Migrating to AddGroupsToUsers (20130408165016)
611
+ Migrating to CreateLocalAuthorities (20130408165017)
612
+ Migrating to CreateTrophies (20130408165018)
613
+ Migrating to CreateMailboxer (20130408165022)
614
+ Migrating to AddNotifiedObject (20130408165023)
615
+ Migrating to AddNotificationCode (20130408165024)
616
+ Migrating to AddAttachments (20130408165025)
617
+ Migrating to RenameReceiptsRead (20130408165026)
618
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
619
+  (0.3ms)
620
+ SELECT fk.referenced_table_name as 'to_table'
621
+ ,fk.referenced_column_name as 'primary_key'
622
+ ,fk.column_name as 'column'
623
+ ,fk.constraint_name as 'name'
624
+ FROM information_schema.key_column_usage fk
625
+ WHERE fk.referenced_column_name is not null
626
+ AND fk.table_schema = 'curate_development'
627
+ AND fk.table_name = 'checksum_audit_logs'
628
+
629
+  (0.1ms) SHOW CREATE TABLE `checksum_audit_logs`
630
+  (0.2ms)
631
+ SELECT fk.referenced_table_name as 'to_table'
632
+ ,fk.referenced_column_name as 'primary_key'
633
+ ,fk.column_name as 'column'
634
+ ,fk.constraint_name as 'name'
635
+ FROM information_schema.key_column_usage fk
636
+ WHERE fk.referenced_column_name is not null
637
+ AND fk.table_schema = 'curate_development'
638
+ AND fk.table_name = 'conversations'
639
+
640
+  (0.1ms) SHOW CREATE TABLE `conversations`
641
+  (0.2ms)
642
+ SELECT fk.referenced_table_name as 'to_table'
643
+ ,fk.referenced_column_name as 'primary_key'
644
+ ,fk.column_name as 'column'
645
+ ,fk.constraint_name as 'name'
646
+ FROM information_schema.key_column_usage fk
647
+ WHERE fk.referenced_column_name is not null
648
+ AND fk.table_schema = 'curate_development'
649
+ AND fk.table_name = 'domain_terms'
650
+
651
+  (0.1ms) SHOW CREATE TABLE `domain_terms`
652
+  (0.2ms)
653
+ SELECT fk.referenced_table_name as 'to_table'
654
+ ,fk.referenced_column_name as 'primary_key'
655
+ ,fk.column_name as 'column'
656
+ ,fk.constraint_name as 'name'
657
+ FROM information_schema.key_column_usage fk
658
+ WHERE fk.referenced_column_name is not null
659
+ AND fk.table_schema = 'curate_development'
660
+ AND fk.table_name = 'domain_terms_local_authorities'
661
+
662
+  (0.1ms) SHOW CREATE TABLE `domain_terms_local_authorities`
663
+  (0.2ms)
664
+ SELECT fk.referenced_table_name as 'to_table'
665
+ ,fk.referenced_column_name as 'primary_key'
666
+ ,fk.column_name as 'column'
667
+ ,fk.constraint_name as 'name'
668
+ FROM information_schema.key_column_usage fk
669
+ WHERE fk.referenced_column_name is not null
670
+ AND fk.table_schema = 'curate_development'
671
+ AND fk.table_name = 'follows'
672
+
673
+  (0.1ms) SHOW CREATE TABLE `follows`
674
+  (0.2ms)
675
+ SELECT fk.referenced_table_name as 'to_table'
676
+ ,fk.referenced_column_name as 'primary_key'
677
+ ,fk.column_name as 'column'
678
+ ,fk.constraint_name as 'name'
679
+ FROM information_schema.key_column_usage fk
680
+ WHERE fk.referenced_column_name is not null
681
+ AND fk.table_schema = 'curate_development'
682
+ AND fk.table_name = 'help_requests'
683
+
684
+  (0.1ms) SHOW CREATE TABLE `help_requests`
685
+  (0.2ms)
686
+ SELECT fk.referenced_table_name as 'to_table'
687
+ ,fk.referenced_column_name as 'primary_key'
688
+ ,fk.column_name as 'column'
689
+ ,fk.constraint_name as 'name'
690
+ FROM information_schema.key_column_usage fk
691
+ WHERE fk.referenced_column_name is not null
692
+ AND fk.table_schema = 'curate_development'
693
+ AND fk.table_name = 'local_authorities'
694
+
695
+  (0.1ms) SHOW CREATE TABLE `local_authorities`
696
+  (0.2ms)
697
+ SELECT fk.referenced_table_name as 'to_table'
698
+ ,fk.referenced_column_name as 'primary_key'
699
+ ,fk.column_name as 'column'
700
+ ,fk.constraint_name as 'name'
701
+ FROM information_schema.key_column_usage fk
702
+ WHERE fk.referenced_column_name is not null
703
+ AND fk.table_schema = 'curate_development'
704
+ AND fk.table_name = 'local_authority_entries'
705
+
706
+  (0.1ms) SHOW CREATE TABLE `local_authority_entries`
707
+  (0.2ms)
708
+ SELECT fk.referenced_table_name as 'to_table'
709
+ ,fk.referenced_column_name as 'primary_key'
710
+ ,fk.column_name as 'column'
711
+ ,fk.constraint_name as 'name'
712
+ FROM information_schema.key_column_usage fk
713
+ WHERE fk.referenced_column_name is not null
714
+ AND fk.table_schema = 'curate_development'
715
+ AND fk.table_name = 'notifications'
716
+
717
+  (0.1ms) SHOW CREATE TABLE `notifications`
718
+  (0.3ms)
719
+ SELECT fk.referenced_table_name as 'to_table'
720
+ ,fk.referenced_column_name as 'primary_key'
721
+ ,fk.column_name as 'column'
722
+ ,fk.constraint_name as 'name'
723
+ FROM information_schema.key_column_usage fk
724
+ WHERE fk.referenced_column_name is not null
725
+ AND fk.table_schema = 'curate_development'
726
+ AND fk.table_name = 'object_access'
727
+
728
+  (0.2ms) SHOW CREATE TABLE `object_access`
729
+  (0.2ms)
730
+ SELECT fk.referenced_table_name as 'to_table'
731
+ ,fk.referenced_column_name as 'primary_key'
732
+ ,fk.column_name as 'column'
733
+ ,fk.constraint_name as 'name'
734
+ FROM information_schema.key_column_usage fk
735
+ WHERE fk.referenced_column_name is not null
736
+ AND fk.table_schema = 'curate_development'
737
+ AND fk.table_name = 'purl'
738
+
739
+  (0.1ms) SHOW CREATE TABLE `purl`
740
+  (0.2ms)
741
+ SELECT fk.referenced_table_name as 'to_table'
742
+ ,fk.referenced_column_name as 'primary_key'
743
+ ,fk.column_name as 'column'
744
+ ,fk.constraint_name as 'name'
745
+ FROM information_schema.key_column_usage fk
746
+ WHERE fk.referenced_column_name is not null
747
+ AND fk.table_schema = 'curate_development'
748
+ AND fk.table_name = 'receipts'
749
+
750
+  (0.1ms) SHOW CREATE TABLE `receipts`
751
+  (0.2ms)
752
+ SELECT fk.referenced_table_name as 'to_table'
753
+ ,fk.referenced_column_name as 'primary_key'
754
+ ,fk.column_name as 'column'
755
+ ,fk.constraint_name as 'name'
756
+ FROM information_schema.key_column_usage fk
757
+ WHERE fk.referenced_column_name is not null
758
+ AND fk.table_schema = 'curate_development'
759
+ AND fk.table_name = 'repo_object'
760
+
761
+  (0.1ms) SHOW CREATE TABLE `repo_object`
762
+  (0.1ms)
763
+ SELECT fk.referenced_table_name as 'to_table'
764
+ ,fk.referenced_column_name as 'primary_key'
765
+ ,fk.column_name as 'column'
766
+ ,fk.constraint_name as 'name'
767
+ FROM information_schema.key_column_usage fk
768
+ WHERE fk.referenced_column_name is not null
769
+ AND fk.table_schema = 'curate_development'
770
+ AND fk.table_name = 'single_use_links'
771
+
772
+  (0.1ms) SHOW CREATE TABLE `single_use_links`
773
+  (0.1ms)
774
+ SELECT fk.referenced_table_name as 'to_table'
775
+ ,fk.referenced_column_name as 'primary_key'
776
+ ,fk.column_name as 'column'
777
+ ,fk.constraint_name as 'name'
778
+ FROM information_schema.key_column_usage fk
779
+ WHERE fk.referenced_column_name is not null
780
+ AND fk.table_schema = 'curate_development'
781
+ AND fk.table_name = 'subject_local_authority_entries'
782
+
783
+  (0.1ms) SHOW CREATE TABLE `subject_local_authority_entries`
784
+  (0.1ms)
785
+ SELECT fk.referenced_table_name as 'to_table'
786
+ ,fk.referenced_column_name as 'primary_key'
787
+ ,fk.column_name as 'column'
788
+ ,fk.constraint_name as 'name'
789
+ FROM information_schema.key_column_usage fk
790
+ WHERE fk.referenced_column_name is not null
791
+ AND fk.table_schema = 'curate_development'
792
+ AND fk.table_name = 'trophies'
793
+
794
+  (0.1ms) SHOW CREATE TABLE `trophies`
795
+  (0.1ms)
796
+ SELECT fk.referenced_table_name as 'to_table'
797
+ ,fk.referenced_column_name as 'primary_key'
798
+ ,fk.column_name as 'column'
799
+ ,fk.constraint_name as 'name'
800
+ FROM information_schema.key_column_usage fk
801
+ WHERE fk.referenced_column_name is not null
802
+ AND fk.table_schema = 'curate_development'
803
+ AND fk.table_name = 'users'
804
+
805
+  (0.1ms) SHOW CREATE TABLE `users`
806
+  (0.1ms)
807
+ SELECT fk.referenced_table_name as 'to_table'
808
+ ,fk.referenced_column_name as 'primary_key'
809
+ ,fk.column_name as 'column'
810
+ ,fk.constraint_name as 'name'
811
+ FROM information_schema.key_column_usage fk
812
+ WHERE fk.referenced_column_name is not null
813
+ AND fk.table_schema = 'curate_development'
814
+ AND fk.table_name = 'version_committers'
815
+
816
+  (0.1ms) SHOW CREATE TABLE `version_committers`
817
+ Connecting to database specified by database.yml
818
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
819
+ resetting mappings for Solrizer::FieldMapper
820
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
821
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
822
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
823
+ Couldn't find SolrDocument
824
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
825
+ Connecting to database specified by database.yml
826
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
827
+ resetting mappings for Solrizer::FieldMapper
828
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
829
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
830
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
831
+ Couldn't find SolrDocument
832
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
833
+  (1.0ms) DROP TABLE `users`
834
+  (0.4ms) DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20130408165008'
835
+  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
836
+  (0.3ms)
837
+ SELECT fk.referenced_table_name as 'to_table'
838
+ ,fk.referenced_column_name as 'primary_key'
839
+ ,fk.column_name as 'column'
840
+ ,fk.constraint_name as 'name'
841
+ FROM information_schema.key_column_usage fk
842
+ WHERE fk.referenced_column_name is not null
843
+ AND fk.table_schema = 'curate_development'
844
+ AND fk.table_name = 'checksum_audit_logs'
845
+
846
+  (0.1ms) SHOW CREATE TABLE `checksum_audit_logs`
847
+  (0.2ms)
848
+ SELECT fk.referenced_table_name as 'to_table'
849
+ ,fk.referenced_column_name as 'primary_key'
850
+ ,fk.column_name as 'column'
851
+ ,fk.constraint_name as 'name'
852
+ FROM information_schema.key_column_usage fk
853
+ WHERE fk.referenced_column_name is not null
854
+ AND fk.table_schema = 'curate_development'
855
+ AND fk.table_name = 'conversations'
856
+
857
+  (0.1ms) SHOW CREATE TABLE `conversations`
858
+  (0.2ms)
859
+ SELECT fk.referenced_table_name as 'to_table'
860
+ ,fk.referenced_column_name as 'primary_key'
861
+ ,fk.column_name as 'column'
862
+ ,fk.constraint_name as 'name'
863
+ FROM information_schema.key_column_usage fk
864
+ WHERE fk.referenced_column_name is not null
865
+ AND fk.table_schema = 'curate_development'
866
+ AND fk.table_name = 'domain_terms'
867
+
868
+  (0.1ms) SHOW CREATE TABLE `domain_terms`
869
+  (0.2ms)
870
+ SELECT fk.referenced_table_name as 'to_table'
871
+ ,fk.referenced_column_name as 'primary_key'
872
+ ,fk.column_name as 'column'
873
+ ,fk.constraint_name as 'name'
874
+ FROM information_schema.key_column_usage fk
875
+ WHERE fk.referenced_column_name is not null
876
+ AND fk.table_schema = 'curate_development'
877
+ AND fk.table_name = 'domain_terms_local_authorities'
878
+
879
+  (0.1ms) SHOW CREATE TABLE `domain_terms_local_authorities`
880
+  (0.2ms)
881
+ SELECT fk.referenced_table_name as 'to_table'
882
+ ,fk.referenced_column_name as 'primary_key'
883
+ ,fk.column_name as 'column'
884
+ ,fk.constraint_name as 'name'
885
+ FROM information_schema.key_column_usage fk
886
+ WHERE fk.referenced_column_name is not null
887
+ AND fk.table_schema = 'curate_development'
888
+ AND fk.table_name = 'follows'
889
+
890
+  (0.1ms) SHOW CREATE TABLE `follows`
891
+  (0.2ms)
892
+ SELECT fk.referenced_table_name as 'to_table'
893
+ ,fk.referenced_column_name as 'primary_key'
894
+ ,fk.column_name as 'column'
895
+ ,fk.constraint_name as 'name'
896
+ FROM information_schema.key_column_usage fk
897
+ WHERE fk.referenced_column_name is not null
898
+ AND fk.table_schema = 'curate_development'
899
+ AND fk.table_name = 'help_requests'
900
+
901
+  (0.1ms) SHOW CREATE TABLE `help_requests`
902
+  (0.2ms)
903
+ SELECT fk.referenced_table_name as 'to_table'
904
+ ,fk.referenced_column_name as 'primary_key'
905
+ ,fk.column_name as 'column'
906
+ ,fk.constraint_name as 'name'
907
+ FROM information_schema.key_column_usage fk
908
+ WHERE fk.referenced_column_name is not null
909
+ AND fk.table_schema = 'curate_development'
910
+ AND fk.table_name = 'local_authorities'
911
+
912
+  (0.1ms) SHOW CREATE TABLE `local_authorities`
913
+  (0.2ms)
914
+ SELECT fk.referenced_table_name as 'to_table'
915
+ ,fk.referenced_column_name as 'primary_key'
916
+ ,fk.column_name as 'column'
917
+ ,fk.constraint_name as 'name'
918
+ FROM information_schema.key_column_usage fk
919
+ WHERE fk.referenced_column_name is not null
920
+ AND fk.table_schema = 'curate_development'
921
+ AND fk.table_name = 'local_authority_entries'
922
+
923
+  (0.1ms) SHOW CREATE TABLE `local_authority_entries`
924
+  (0.2ms)
925
+ SELECT fk.referenced_table_name as 'to_table'
926
+ ,fk.referenced_column_name as 'primary_key'
927
+ ,fk.column_name as 'column'
928
+ ,fk.constraint_name as 'name'
929
+ FROM information_schema.key_column_usage fk
930
+ WHERE fk.referenced_column_name is not null
931
+ AND fk.table_schema = 'curate_development'
932
+ AND fk.table_name = 'notifications'
933
+
934
+  (0.1ms) SHOW CREATE TABLE `notifications`
935
+  (0.3ms)
936
+ SELECT fk.referenced_table_name as 'to_table'
937
+ ,fk.referenced_column_name as 'primary_key'
938
+ ,fk.column_name as 'column'
939
+ ,fk.constraint_name as 'name'
940
+ FROM information_schema.key_column_usage fk
941
+ WHERE fk.referenced_column_name is not null
942
+ AND fk.table_schema = 'curate_development'
943
+ AND fk.table_name = 'object_access'
944
+
945
+  (0.1ms) SHOW CREATE TABLE `object_access`
946
+  (0.2ms)
947
+ SELECT fk.referenced_table_name as 'to_table'
948
+ ,fk.referenced_column_name as 'primary_key'
949
+ ,fk.column_name as 'column'
950
+ ,fk.constraint_name as 'name'
951
+ FROM information_schema.key_column_usage fk
952
+ WHERE fk.referenced_column_name is not null
953
+ AND fk.table_schema = 'curate_development'
954
+ AND fk.table_name = 'purl'
955
+
956
+  (0.1ms) SHOW CREATE TABLE `purl`
957
+  (0.2ms)
958
+ SELECT fk.referenced_table_name as 'to_table'
959
+ ,fk.referenced_column_name as 'primary_key'
960
+ ,fk.column_name as 'column'
961
+ ,fk.constraint_name as 'name'
962
+ FROM information_schema.key_column_usage fk
963
+ WHERE fk.referenced_column_name is not null
964
+ AND fk.table_schema = 'curate_development'
965
+ AND fk.table_name = 'receipts'
966
+
967
+  (0.1ms) SHOW CREATE TABLE `receipts`
968
+  (0.2ms)
969
+ SELECT fk.referenced_table_name as 'to_table'
970
+ ,fk.referenced_column_name as 'primary_key'
971
+ ,fk.column_name as 'column'
972
+ ,fk.constraint_name as 'name'
973
+ FROM information_schema.key_column_usage fk
974
+ WHERE fk.referenced_column_name is not null
975
+ AND fk.table_schema = 'curate_development'
976
+ AND fk.table_name = 'repo_object'
977
+
978
+  (0.1ms) SHOW CREATE TABLE `repo_object`
979
+  (0.2ms)
980
+ SELECT fk.referenced_table_name as 'to_table'
981
+ ,fk.referenced_column_name as 'primary_key'
982
+ ,fk.column_name as 'column'
983
+ ,fk.constraint_name as 'name'
984
+ FROM information_schema.key_column_usage fk
985
+ WHERE fk.referenced_column_name is not null
986
+ AND fk.table_schema = 'curate_development'
987
+ AND fk.table_name = 'single_use_links'
988
+
989
+  (0.1ms) SHOW CREATE TABLE `single_use_links`
990
+  (0.2ms)
991
+ SELECT fk.referenced_table_name as 'to_table'
992
+ ,fk.referenced_column_name as 'primary_key'
993
+ ,fk.column_name as 'column'
994
+ ,fk.constraint_name as 'name'
995
+ FROM information_schema.key_column_usage fk
996
+ WHERE fk.referenced_column_name is not null
997
+ AND fk.table_schema = 'curate_development'
998
+ AND fk.table_name = 'subject_local_authority_entries'
999
+
1000
+  (0.1ms) SHOW CREATE TABLE `subject_local_authority_entries`
1001
+  (0.2ms)
1002
+ SELECT fk.referenced_table_name as 'to_table'
1003
+ ,fk.referenced_column_name as 'primary_key'
1004
+ ,fk.column_name as 'column'
1005
+ ,fk.constraint_name as 'name'
1006
+ FROM information_schema.key_column_usage fk
1007
+ WHERE fk.referenced_column_name is not null
1008
+ AND fk.table_schema = 'curate_development'
1009
+ AND fk.table_name = 'trophies'
1010
+
1011
+  (0.1ms) SHOW CREATE TABLE `trophies`
1012
+  (0.2ms)
1013
+ SELECT fk.referenced_table_name as 'to_table'
1014
+ ,fk.referenced_column_name as 'primary_key'
1015
+ ,fk.column_name as 'column'
1016
+ ,fk.constraint_name as 'name'
1017
+ FROM information_schema.key_column_usage fk
1018
+ WHERE fk.referenced_column_name is not null
1019
+ AND fk.table_schema = 'curate_development'
1020
+ AND fk.table_name = 'version_committers'
1021
+
1022
+  (0.1ms) SHOW CREATE TABLE `version_committers`
1023
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
1024
+  (18.4ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255), `agreed_to_terms_of_service` tinyint(1), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
1025
+  (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165008')
1026
+  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
1027
+  (0.2ms)
1028
+ SELECT fk.referenced_table_name as 'to_table'
1029
+ ,fk.referenced_column_name as 'primary_key'
1030
+ ,fk.column_name as 'column'
1031
+ ,fk.constraint_name as 'name'
1032
+ FROM information_schema.key_column_usage fk
1033
+ WHERE fk.referenced_column_name is not null
1034
+ AND fk.table_schema = 'curate_development'
1035
+ AND fk.table_name = 'checksum_audit_logs'
1036
+
1037
+  (0.1ms) SHOW CREATE TABLE `checksum_audit_logs`
1038
+  (0.2ms)
1039
+ SELECT fk.referenced_table_name as 'to_table'
1040
+ ,fk.referenced_column_name as 'primary_key'
1041
+ ,fk.column_name as 'column'
1042
+ ,fk.constraint_name as 'name'
1043
+ FROM information_schema.key_column_usage fk
1044
+ WHERE fk.referenced_column_name is not null
1045
+ AND fk.table_schema = 'curate_development'
1046
+ AND fk.table_name = 'conversations'
1047
+
1048
+  (0.1ms) SHOW CREATE TABLE `conversations`
1049
+  (0.2ms)
1050
+ SELECT fk.referenced_table_name as 'to_table'
1051
+ ,fk.referenced_column_name as 'primary_key'
1052
+ ,fk.column_name as 'column'
1053
+ ,fk.constraint_name as 'name'
1054
+ FROM information_schema.key_column_usage fk
1055
+ WHERE fk.referenced_column_name is not null
1056
+ AND fk.table_schema = 'curate_development'
1057
+ AND fk.table_name = 'domain_terms'
1058
+
1059
+  (0.1ms) SHOW CREATE TABLE `domain_terms`
1060
+  (0.2ms)
1061
+ SELECT fk.referenced_table_name as 'to_table'
1062
+ ,fk.referenced_column_name as 'primary_key'
1063
+ ,fk.column_name as 'column'
1064
+ ,fk.constraint_name as 'name'
1065
+ FROM information_schema.key_column_usage fk
1066
+ WHERE fk.referenced_column_name is not null
1067
+ AND fk.table_schema = 'curate_development'
1068
+ AND fk.table_name = 'domain_terms_local_authorities'
1069
+
1070
+  (0.1ms) SHOW CREATE TABLE `domain_terms_local_authorities`
1071
+  (0.2ms)
1072
+ SELECT fk.referenced_table_name as 'to_table'
1073
+ ,fk.referenced_column_name as 'primary_key'
1074
+ ,fk.column_name as 'column'
1075
+ ,fk.constraint_name as 'name'
1076
+ FROM information_schema.key_column_usage fk
1077
+ WHERE fk.referenced_column_name is not null
1078
+ AND fk.table_schema = 'curate_development'
1079
+ AND fk.table_name = 'follows'
1080
+
1081
+  (0.1ms) SHOW CREATE TABLE `follows`
1082
+  (0.2ms)
1083
+ SELECT fk.referenced_table_name as 'to_table'
1084
+ ,fk.referenced_column_name as 'primary_key'
1085
+ ,fk.column_name as 'column'
1086
+ ,fk.constraint_name as 'name'
1087
+ FROM information_schema.key_column_usage fk
1088
+ WHERE fk.referenced_column_name is not null
1089
+ AND fk.table_schema = 'curate_development'
1090
+ AND fk.table_name = 'help_requests'
1091
+
1092
+  (0.1ms) SHOW CREATE TABLE `help_requests`
1093
+  (0.1ms)
1094
+ SELECT fk.referenced_table_name as 'to_table'
1095
+ ,fk.referenced_column_name as 'primary_key'
1096
+ ,fk.column_name as 'column'
1097
+ ,fk.constraint_name as 'name'
1098
+ FROM information_schema.key_column_usage fk
1099
+ WHERE fk.referenced_column_name is not null
1100
+ AND fk.table_schema = 'curate_development'
1101
+ AND fk.table_name = 'local_authorities'
1102
+
1103
+  (0.1ms) SHOW CREATE TABLE `local_authorities`
1104
+  (0.2ms)
1105
+ SELECT fk.referenced_table_name as 'to_table'
1106
+ ,fk.referenced_column_name as 'primary_key'
1107
+ ,fk.column_name as 'column'
1108
+ ,fk.constraint_name as 'name'
1109
+ FROM information_schema.key_column_usage fk
1110
+ WHERE fk.referenced_column_name is not null
1111
+ AND fk.table_schema = 'curate_development'
1112
+ AND fk.table_name = 'local_authority_entries'
1113
+
1114
+  (0.1ms) SHOW CREATE TABLE `local_authority_entries`
1115
+  (0.2ms)
1116
+ SELECT fk.referenced_table_name as 'to_table'
1117
+ ,fk.referenced_column_name as 'primary_key'
1118
+ ,fk.column_name as 'column'
1119
+ ,fk.constraint_name as 'name'
1120
+ FROM information_schema.key_column_usage fk
1121
+ WHERE fk.referenced_column_name is not null
1122
+ AND fk.table_schema = 'curate_development'
1123
+ AND fk.table_name = 'notifications'
1124
+
1125
+  (0.1ms) SHOW CREATE TABLE `notifications`
1126
+  (0.1ms)
1127
+ SELECT fk.referenced_table_name as 'to_table'
1128
+ ,fk.referenced_column_name as 'primary_key'
1129
+ ,fk.column_name as 'column'
1130
+ ,fk.constraint_name as 'name'
1131
+ FROM information_schema.key_column_usage fk
1132
+ WHERE fk.referenced_column_name is not null
1133
+ AND fk.table_schema = 'curate_development'
1134
+ AND fk.table_name = 'object_access'
1135
+
1136
+  (0.1ms) SHOW CREATE TABLE `object_access`
1137
+  (0.1ms)
1138
+ SELECT fk.referenced_table_name as 'to_table'
1139
+ ,fk.referenced_column_name as 'primary_key'
1140
+ ,fk.column_name as 'column'
1141
+ ,fk.constraint_name as 'name'
1142
+ FROM information_schema.key_column_usage fk
1143
+ WHERE fk.referenced_column_name is not null
1144
+ AND fk.table_schema = 'curate_development'
1145
+ AND fk.table_name = 'purl'
1146
+
1147
+  (0.1ms) SHOW CREATE TABLE `purl`
1148
+  (0.2ms)
1149
+ SELECT fk.referenced_table_name as 'to_table'
1150
+ ,fk.referenced_column_name as 'primary_key'
1151
+ ,fk.column_name as 'column'
1152
+ ,fk.constraint_name as 'name'
1153
+ FROM information_schema.key_column_usage fk
1154
+ WHERE fk.referenced_column_name is not null
1155
+ AND fk.table_schema = 'curate_development'
1156
+ AND fk.table_name = 'receipts'
1157
+
1158
+  (0.1ms) SHOW CREATE TABLE `receipts`
1159
+  (0.2ms)
1160
+ SELECT fk.referenced_table_name as 'to_table'
1161
+ ,fk.referenced_column_name as 'primary_key'
1162
+ ,fk.column_name as 'column'
1163
+ ,fk.constraint_name as 'name'
1164
+ FROM information_schema.key_column_usage fk
1165
+ WHERE fk.referenced_column_name is not null
1166
+ AND fk.table_schema = 'curate_development'
1167
+ AND fk.table_name = 'repo_object'
1168
+
1169
+  (0.1ms) SHOW CREATE TABLE `repo_object`
1170
+  (0.2ms)
1171
+ SELECT fk.referenced_table_name as 'to_table'
1172
+ ,fk.referenced_column_name as 'primary_key'
1173
+ ,fk.column_name as 'column'
1174
+ ,fk.constraint_name as 'name'
1175
+ FROM information_schema.key_column_usage fk
1176
+ WHERE fk.referenced_column_name is not null
1177
+ AND fk.table_schema = 'curate_development'
1178
+ AND fk.table_name = 'single_use_links'
1179
+
1180
+  (0.1ms) SHOW CREATE TABLE `single_use_links`
1181
+  (0.1ms)
1182
+ SELECT fk.referenced_table_name as 'to_table'
1183
+ ,fk.referenced_column_name as 'primary_key'
1184
+ ,fk.column_name as 'column'
1185
+ ,fk.constraint_name as 'name'
1186
+ FROM information_schema.key_column_usage fk
1187
+ WHERE fk.referenced_column_name is not null
1188
+ AND fk.table_schema = 'curate_development'
1189
+ AND fk.table_name = 'subject_local_authority_entries'
1190
+
1191
+  (0.1ms) SHOW CREATE TABLE `subject_local_authority_entries`
1192
+  (0.1ms)
1193
+ SELECT fk.referenced_table_name as 'to_table'
1194
+ ,fk.referenced_column_name as 'primary_key'
1195
+ ,fk.column_name as 'column'
1196
+ ,fk.constraint_name as 'name'
1197
+ FROM information_schema.key_column_usage fk
1198
+ WHERE fk.referenced_column_name is not null
1199
+ AND fk.table_schema = 'curate_development'
1200
+ AND fk.table_name = 'trophies'
1201
+
1202
+  (0.1ms) SHOW CREATE TABLE `trophies`
1203
+  (0.1ms)
1204
+ SELECT fk.referenced_table_name as 'to_table'
1205
+ ,fk.referenced_column_name as 'primary_key'
1206
+ ,fk.column_name as 'column'
1207
+ ,fk.constraint_name as 'name'
1208
+ FROM information_schema.key_column_usage fk
1209
+ WHERE fk.referenced_column_name is not null
1210
+ AND fk.table_schema = 'curate_development'
1211
+ AND fk.table_name = 'users'
1212
+
1213
+  (0.1ms) SHOW CREATE TABLE `users`
1214
+  (0.1ms)
1215
+ SELECT fk.referenced_table_name as 'to_table'
1216
+ ,fk.referenced_column_name as 'primary_key'
1217
+ ,fk.column_name as 'column'
1218
+ ,fk.constraint_name as 'name'
1219
+ FROM information_schema.key_column_usage fk
1220
+ WHERE fk.referenced_column_name is not null
1221
+ AND fk.table_schema = 'curate_development'
1222
+ AND fk.table_name = 'version_committers'
1223
+
1224
+  (0.1ms) SHOW CREATE TABLE `version_committers`
1225
+ Connecting to database specified by database.yml
1226
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1227
+ resetting mappings for Solrizer::FieldMapper
1228
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1229
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1230
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1231
+ Couldn't find SolrDocument
1232
+ Connecting to database specified by database.yml
1233
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1234
+ resetting mappings for Solrizer::FieldMapper
1235
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1236
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1237
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1238
+ Couldn't find SolrDocument
1239
+ Connecting to database specified by database.yml
1240
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1241
+ resetting mappings for Solrizer::FieldMapper
1242
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1243
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1244
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1245
+ Couldn't find SolrDocument
1246
+ Connecting to database specified by database.yml
1247
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1248
+ resetting mappings for Solrizer::FieldMapper
1249
+ LocalAuthority Load (0.5ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1250
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1251
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1252
+ Couldn't find SolrDocument
1253
+ Connecting to database specified by database.yml
1254
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1255
+ resetting mappings for Solrizer::FieldMapper
1256
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1257
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1258
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1259
+ Couldn't find SolrDocument
1260
+ Connecting to database specified by database.yml
1261
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1262
+ resetting mappings for Solrizer::FieldMapper
1263
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1264
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1265
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1266
+ Couldn't find SolrDocument
1267
+ Connecting to database specified by database.yml
1268
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1269
+ resetting mappings for Solrizer::FieldMapper
1270
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1271
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1272
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1273
+ Couldn't find SolrDocument
1274
+ Connecting to database specified by database.yml
1275
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1276
+ resetting mappings for Solrizer::FieldMapper
1277
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1278
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1279
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1280
+ Couldn't find SolrDocument
1281
+ Connecting to database specified by database.yml
1282
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1283
+ resetting mappings for Solrizer::FieldMapper
1284
+ LocalAuthority Load (0.4ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1285
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1286
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1287
+ Couldn't find SolrDocument
1288
+ Connecting to database specified by database.yml
1289
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1290
+ resetting mappings for Solrizer::FieldMapper
1291
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1292
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1293
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1294
+ Couldn't find SolrDocument
1295
+ Connecting to database specified by database.yml
1296
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1297
+ resetting mappings for Solrizer::FieldMapper
1298
+ LocalAuthority Load (0.6ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1299
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1300
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1301
+ Couldn't find SolrDocument
1302
+ Connecting to database specified by database.yml
1303
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1304
+ resetting mappings for Solrizer::FieldMapper
1305
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1306
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1307
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1308
+ Couldn't find SolrDocument
1309
+ Connecting to database specified by database.yml
1310
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1311
+ resetting mappings for Solrizer::FieldMapper
1312
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1313
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1314
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1315
+ Couldn't find SolrDocument
1316
+ Connecting to database specified by database.yml
1317
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1318
+ resetting mappings for Solrizer::FieldMapper
1319
+ LocalAuthority Load (0.5ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1320
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1321
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1322
+ Couldn't find SolrDocument
1323
+ Connecting to database specified by database.yml
1324
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1325
+ resetting mappings for Solrizer::FieldMapper
1326
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1327
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1328
+ LocalAuthority Load (0.1ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1329
+ Couldn't find SolrDocument
1330
+ Connecting to database specified by database.yml
1331
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1332
+ resetting mappings for Solrizer::FieldMapper
1333
+ LocalAuthority Load (0.4ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1334
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1335
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1336
+ Couldn't find SolrDocument
1337
+ Connecting to database specified by database.yml
1338
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1339
+ resetting mappings for Solrizer::FieldMapper
1340
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1341
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1342
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1343
+ Couldn't find SolrDocument
1344
+ Connecting to database specified by database.yml
1345
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1346
+ resetting mappings for Solrizer::FieldMapper
1347
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1348
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1349
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1350
+ Couldn't find SolrDocument
1351
+ Connecting to database specified by database.yml
1352
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1353
+ resetting mappings for Solrizer::FieldMapper
1354
+ LocalAuthority Load (0.6ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1355
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1356
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1357
+ Couldn't find SolrDocument
1358
+ Connecting to database specified by database.yml
1359
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1360
+ resetting mappings for Solrizer::FieldMapper
1361
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1362
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1363
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1364
+ Couldn't find SolrDocument
1365
+ Connecting to database specified by database.yml
1366
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1367
+ resetting mappings for Solrizer::FieldMapper
1368
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1369
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1370
+ LocalAuthority Load (0.1ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1371
+ Couldn't find SolrDocument
1372
+ Connecting to database specified by database.yml
1373
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1374
+ resetting mappings for Solrizer::FieldMapper
1375
+ LocalAuthority Load (0.8ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1376
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1377
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1378
+ Couldn't find SolrDocument
1379
+ Connecting to database specified by database.yml
1380
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1381
+ resetting mappings for Solrizer::FieldMapper
1382
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1383
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1384
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1385
+ Couldn't find SolrDocument
1386
+ Connecting to database specified by database.yml
1387
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1388
+ resetting mappings for Solrizer::FieldMapper
1389
+ LocalAuthority Load (0.6ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1390
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1391
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1392
+  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
1393
+ Connecting to database specified by database.yml
1394
+ SOLRIZER: loading field name mappings from /Users/jfriesen/.rvm/gems/ruby-2.0.0-p0@curate/gems/solrizer-2.1.0/config/solr_mappings.yml
1395
+ resetting mappings for Solrizer::FieldMapper
1396
+ LocalAuthority Load (0.3ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_subjects' LIMIT 1
1397
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lexvo_languages' LIMIT 1
1398
+ LocalAuthority Load (0.2ms) SELECT `local_authorities`.* FROM `local_authorities` WHERE `local_authorities`.`name` = 'lc_genres' LIMIT 1
1399
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
1400
+  (1.3ms) DROP TABLE `users`
1401
+  (0.4ms) DELETE FROM `schema_migrations` WHERE `schema_migrations`.`version` = '20130408165008'
1402
+  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
1403
+  (0.3ms)
1404
+ SELECT fk.referenced_table_name as 'to_table'
1405
+ ,fk.referenced_column_name as 'primary_key'
1406
+ ,fk.column_name as 'column'
1407
+ ,fk.constraint_name as 'name'
1408
+ FROM information_schema.key_column_usage fk
1409
+ WHERE fk.referenced_column_name is not null
1410
+ AND fk.table_schema = 'curate_development'
1411
+ AND fk.table_name = 'checksum_audit_logs'
1412
+
1413
+  (0.1ms) SHOW CREATE TABLE `checksum_audit_logs`
1414
+  (0.2ms)
1415
+ SELECT fk.referenced_table_name as 'to_table'
1416
+ ,fk.referenced_column_name as 'primary_key'
1417
+ ,fk.column_name as 'column'
1418
+ ,fk.constraint_name as 'name'
1419
+ FROM information_schema.key_column_usage fk
1420
+ WHERE fk.referenced_column_name is not null
1421
+ AND fk.table_schema = 'curate_development'
1422
+ AND fk.table_name = 'conversations'
1423
+
1424
+  (0.1ms) SHOW CREATE TABLE `conversations`
1425
+  (0.2ms)
1426
+ SELECT fk.referenced_table_name as 'to_table'
1427
+ ,fk.referenced_column_name as 'primary_key'
1428
+ ,fk.column_name as 'column'
1429
+ ,fk.constraint_name as 'name'
1430
+ FROM information_schema.key_column_usage fk
1431
+ WHERE fk.referenced_column_name is not null
1432
+ AND fk.table_schema = 'curate_development'
1433
+ AND fk.table_name = 'domain_terms'
1434
+
1435
+  (0.1ms) SHOW CREATE TABLE `domain_terms`
1436
+  (0.2ms)
1437
+ SELECT fk.referenced_table_name as 'to_table'
1438
+ ,fk.referenced_column_name as 'primary_key'
1439
+ ,fk.column_name as 'column'
1440
+ ,fk.constraint_name as 'name'
1441
+ FROM information_schema.key_column_usage fk
1442
+ WHERE fk.referenced_column_name is not null
1443
+ AND fk.table_schema = 'curate_development'
1444
+ AND fk.table_name = 'domain_terms_local_authorities'
1445
+
1446
+  (0.1ms) SHOW CREATE TABLE `domain_terms_local_authorities`
1447
+  (0.2ms)
1448
+ SELECT fk.referenced_table_name as 'to_table'
1449
+ ,fk.referenced_column_name as 'primary_key'
1450
+ ,fk.column_name as 'column'
1451
+ ,fk.constraint_name as 'name'
1452
+ FROM information_schema.key_column_usage fk
1453
+ WHERE fk.referenced_column_name is not null
1454
+ AND fk.table_schema = 'curate_development'
1455
+ AND fk.table_name = 'follows'
1456
+
1457
+  (0.1ms) SHOW CREATE TABLE `follows`
1458
+  (0.2ms)
1459
+ SELECT fk.referenced_table_name as 'to_table'
1460
+ ,fk.referenced_column_name as 'primary_key'
1461
+ ,fk.column_name as 'column'
1462
+ ,fk.constraint_name as 'name'
1463
+ FROM information_schema.key_column_usage fk
1464
+ WHERE fk.referenced_column_name is not null
1465
+ AND fk.table_schema = 'curate_development'
1466
+ AND fk.table_name = 'help_requests'
1467
+
1468
+  (0.1ms) SHOW CREATE TABLE `help_requests`
1469
+  (0.2ms)
1470
+ SELECT fk.referenced_table_name as 'to_table'
1471
+ ,fk.referenced_column_name as 'primary_key'
1472
+ ,fk.column_name as 'column'
1473
+ ,fk.constraint_name as 'name'
1474
+ FROM information_schema.key_column_usage fk
1475
+ WHERE fk.referenced_column_name is not null
1476
+ AND fk.table_schema = 'curate_development'
1477
+ AND fk.table_name = 'local_authorities'
1478
+
1479
+  (0.1ms) SHOW CREATE TABLE `local_authorities`
1480
+  (0.2ms)
1481
+ SELECT fk.referenced_table_name as 'to_table'
1482
+ ,fk.referenced_column_name as 'primary_key'
1483
+ ,fk.column_name as 'column'
1484
+ ,fk.constraint_name as 'name'
1485
+ FROM information_schema.key_column_usage fk
1486
+ WHERE fk.referenced_column_name is not null
1487
+ AND fk.table_schema = 'curate_development'
1488
+ AND fk.table_name = 'local_authority_entries'
1489
+
1490
+  (0.1ms) SHOW CREATE TABLE `local_authority_entries`
1491
+  (0.2ms)
1492
+ SELECT fk.referenced_table_name as 'to_table'
1493
+ ,fk.referenced_column_name as 'primary_key'
1494
+ ,fk.column_name as 'column'
1495
+ ,fk.constraint_name as 'name'
1496
+ FROM information_schema.key_column_usage fk
1497
+ WHERE fk.referenced_column_name is not null
1498
+ AND fk.table_schema = 'curate_development'
1499
+ AND fk.table_name = 'notifications'
1500
+
1501
+  (0.1ms) SHOW CREATE TABLE `notifications`
1502
+  (0.4ms)
1503
+ SELECT fk.referenced_table_name as 'to_table'
1504
+ ,fk.referenced_column_name as 'primary_key'
1505
+ ,fk.column_name as 'column'
1506
+ ,fk.constraint_name as 'name'
1507
+ FROM information_schema.key_column_usage fk
1508
+ WHERE fk.referenced_column_name is not null
1509
+ AND fk.table_schema = 'curate_development'
1510
+ AND fk.table_name = 'object_access'
1511
+
1512
+  (0.1ms) SHOW CREATE TABLE `object_access`
1513
+  (0.2ms)
1514
+ SELECT fk.referenced_table_name as 'to_table'
1515
+ ,fk.referenced_column_name as 'primary_key'
1516
+ ,fk.column_name as 'column'
1517
+ ,fk.constraint_name as 'name'
1518
+ FROM information_schema.key_column_usage fk
1519
+ WHERE fk.referenced_column_name is not null
1520
+ AND fk.table_schema = 'curate_development'
1521
+ AND fk.table_name = 'purl'
1522
+
1523
+  (0.1ms) SHOW CREATE TABLE `purl`
1524
+  (0.2ms)
1525
+ SELECT fk.referenced_table_name as 'to_table'
1526
+ ,fk.referenced_column_name as 'primary_key'
1527
+ ,fk.column_name as 'column'
1528
+ ,fk.constraint_name as 'name'
1529
+ FROM information_schema.key_column_usage fk
1530
+ WHERE fk.referenced_column_name is not null
1531
+ AND fk.table_schema = 'curate_development'
1532
+ AND fk.table_name = 'receipts'
1533
+
1534
+  (0.1ms) SHOW CREATE TABLE `receipts`
1535
+  (0.2ms)
1536
+ SELECT fk.referenced_table_name as 'to_table'
1537
+ ,fk.referenced_column_name as 'primary_key'
1538
+ ,fk.column_name as 'column'
1539
+ ,fk.constraint_name as 'name'
1540
+ FROM information_schema.key_column_usage fk
1541
+ WHERE fk.referenced_column_name is not null
1542
+ AND fk.table_schema = 'curate_development'
1543
+ AND fk.table_name = 'repo_object'
1544
+
1545
+  (0.1ms) SHOW CREATE TABLE `repo_object`
1546
+  (0.2ms)
1547
+ SELECT fk.referenced_table_name as 'to_table'
1548
+ ,fk.referenced_column_name as 'primary_key'
1549
+ ,fk.column_name as 'column'
1550
+ ,fk.constraint_name as 'name'
1551
+ FROM information_schema.key_column_usage fk
1552
+ WHERE fk.referenced_column_name is not null
1553
+ AND fk.table_schema = 'curate_development'
1554
+ AND fk.table_name = 'single_use_links'
1555
+
1556
+  (0.1ms) SHOW CREATE TABLE `single_use_links`
1557
+  (0.2ms)
1558
+ SELECT fk.referenced_table_name as 'to_table'
1559
+ ,fk.referenced_column_name as 'primary_key'
1560
+ ,fk.column_name as 'column'
1561
+ ,fk.constraint_name as 'name'
1562
+ FROM information_schema.key_column_usage fk
1563
+ WHERE fk.referenced_column_name is not null
1564
+ AND fk.table_schema = 'curate_development'
1565
+ AND fk.table_name = 'subject_local_authority_entries'
1566
+
1567
+  (0.1ms) SHOW CREATE TABLE `subject_local_authority_entries`
1568
+  (0.1ms)
1569
+ SELECT fk.referenced_table_name as 'to_table'
1570
+ ,fk.referenced_column_name as 'primary_key'
1571
+ ,fk.column_name as 'column'
1572
+ ,fk.constraint_name as 'name'
1573
+ FROM information_schema.key_column_usage fk
1574
+ WHERE fk.referenced_column_name is not null
1575
+ AND fk.table_schema = 'curate_development'
1576
+ AND fk.table_name = 'trophies'
1577
+
1578
+  (0.1ms) SHOW CREATE TABLE `trophies`
1579
+  (0.1ms)
1580
+ SELECT fk.referenced_table_name as 'to_table'
1581
+ ,fk.referenced_column_name as 'primary_key'
1582
+ ,fk.column_name as 'column'
1583
+ ,fk.constraint_name as 'name'
1584
+ FROM information_schema.key_column_usage fk
1585
+ WHERE fk.referenced_column_name is not null
1586
+ AND fk.table_schema = 'curate_development'
1587
+ AND fk.table_name = 'version_committers'
1588
+
1589
+  (0.1ms) SHOW CREATE TABLE `version_committers`
1590
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations`
1591
+  (22.7ms) CREATE TABLE `users` (`id` int(11) DEFAULT NULL auto_increment PRIMARY KEY, `email` varchar(255), `agreed_to_terms_of_service` tinyint(1), `encrypted_password` varchar(255), `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB
1592
+  (0.4ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20130408165008')
1593
+  (0.1ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` 
1594
+  (0.2ms)
1595
+ SELECT fk.referenced_table_name as 'to_table'
1596
+ ,fk.referenced_column_name as 'primary_key'
1597
+ ,fk.column_name as 'column'
1598
+ ,fk.constraint_name as 'name'
1599
+ FROM information_schema.key_column_usage fk
1600
+ WHERE fk.referenced_column_name is not null
1601
+ AND fk.table_schema = 'curate_development'
1602
+ AND fk.table_name = 'checksum_audit_logs'
1603
+
1604
+  (0.1ms) SHOW CREATE TABLE `checksum_audit_logs`
1605
+  (0.2ms)
1606
+ SELECT fk.referenced_table_name as 'to_table'
1607
+ ,fk.referenced_column_name as 'primary_key'
1608
+ ,fk.column_name as 'column'
1609
+ ,fk.constraint_name as 'name'
1610
+ FROM information_schema.key_column_usage fk
1611
+ WHERE fk.referenced_column_name is not null
1612
+ AND fk.table_schema = 'curate_development'
1613
+ AND fk.table_name = 'conversations'
1614
+
1615
+  (0.1ms) SHOW CREATE TABLE `conversations`
1616
+  (0.2ms)
1617
+ SELECT fk.referenced_table_name as 'to_table'
1618
+ ,fk.referenced_column_name as 'primary_key'
1619
+ ,fk.column_name as 'column'
1620
+ ,fk.constraint_name as 'name'
1621
+ FROM information_schema.key_column_usage fk
1622
+ WHERE fk.referenced_column_name is not null
1623
+ AND fk.table_schema = 'curate_development'
1624
+ AND fk.table_name = 'domain_terms'
1625
+
1626
+  (0.1ms) SHOW CREATE TABLE `domain_terms`
1627
+  (0.2ms)
1628
+ SELECT fk.referenced_table_name as 'to_table'
1629
+ ,fk.referenced_column_name as 'primary_key'
1630
+ ,fk.column_name as 'column'
1631
+ ,fk.constraint_name as 'name'
1632
+ FROM information_schema.key_column_usage fk
1633
+ WHERE fk.referenced_column_name is not null
1634
+ AND fk.table_schema = 'curate_development'
1635
+ AND fk.table_name = 'domain_terms_local_authorities'
1636
+
1637
+  (0.1ms) SHOW CREATE TABLE `domain_terms_local_authorities`
1638
+  (0.2ms)
1639
+ SELECT fk.referenced_table_name as 'to_table'
1640
+ ,fk.referenced_column_name as 'primary_key'
1641
+ ,fk.column_name as 'column'
1642
+ ,fk.constraint_name as 'name'
1643
+ FROM information_schema.key_column_usage fk
1644
+ WHERE fk.referenced_column_name is not null
1645
+ AND fk.table_schema = 'curate_development'
1646
+ AND fk.table_name = 'follows'
1647
+
1648
+  (0.1ms) SHOW CREATE TABLE `follows`
1649
+  (0.2ms)
1650
+ SELECT fk.referenced_table_name as 'to_table'
1651
+ ,fk.referenced_column_name as 'primary_key'
1652
+ ,fk.column_name as 'column'
1653
+ ,fk.constraint_name as 'name'
1654
+ FROM information_schema.key_column_usage fk
1655
+ WHERE fk.referenced_column_name is not null
1656
+ AND fk.table_schema = 'curate_development'
1657
+ AND fk.table_name = 'help_requests'
1658
+
1659
+  (0.1ms) SHOW CREATE TABLE `help_requests`
1660
+  (0.1ms)
1661
+ SELECT fk.referenced_table_name as 'to_table'
1662
+ ,fk.referenced_column_name as 'primary_key'
1663
+ ,fk.column_name as 'column'
1664
+ ,fk.constraint_name as 'name'
1665
+ FROM information_schema.key_column_usage fk
1666
+ WHERE fk.referenced_column_name is not null
1667
+ AND fk.table_schema = 'curate_development'
1668
+ AND fk.table_name = 'local_authorities'
1669
+
1670
+  (0.1ms) SHOW CREATE TABLE `local_authorities`
1671
+  (0.2ms)
1672
+ SELECT fk.referenced_table_name as 'to_table'
1673
+ ,fk.referenced_column_name as 'primary_key'
1674
+ ,fk.column_name as 'column'
1675
+ ,fk.constraint_name as 'name'
1676
+ FROM information_schema.key_column_usage fk
1677
+ WHERE fk.referenced_column_name is not null
1678
+ AND fk.table_schema = 'curate_development'
1679
+ AND fk.table_name = 'local_authority_entries'
1680
+
1681
+  (0.1ms) SHOW CREATE TABLE `local_authority_entries`
1682
+  (0.2ms)
1683
+ SELECT fk.referenced_table_name as 'to_table'
1684
+ ,fk.referenced_column_name as 'primary_key'
1685
+ ,fk.column_name as 'column'
1686
+ ,fk.constraint_name as 'name'
1687
+ FROM information_schema.key_column_usage fk
1688
+ WHERE fk.referenced_column_name is not null
1689
+ AND fk.table_schema = 'curate_development'
1690
+ AND fk.table_name = 'notifications'
1691
+
1692
+  (0.1ms) SHOW CREATE TABLE `notifications`
1693
+  (0.2ms)
1694
+ SELECT fk.referenced_table_name as 'to_table'
1695
+ ,fk.referenced_column_name as 'primary_key'
1696
+ ,fk.column_name as 'column'
1697
+ ,fk.constraint_name as 'name'
1698
+ FROM information_schema.key_column_usage fk
1699
+ WHERE fk.referenced_column_name is not null
1700
+ AND fk.table_schema = 'curate_development'
1701
+ AND fk.table_name = 'object_access'
1702
+
1703
+  (0.1ms) SHOW CREATE TABLE `object_access`
1704
+  (0.1ms)
1705
+ SELECT fk.referenced_table_name as 'to_table'
1706
+ ,fk.referenced_column_name as 'primary_key'
1707
+ ,fk.column_name as 'column'
1708
+ ,fk.constraint_name as 'name'
1709
+ FROM information_schema.key_column_usage fk
1710
+ WHERE fk.referenced_column_name is not null
1711
+ AND fk.table_schema = 'curate_development'
1712
+ AND fk.table_name = 'purl'
1713
+
1714
+  (0.1ms) SHOW CREATE TABLE `purl`
1715
+  (0.2ms)
1716
+ SELECT fk.referenced_table_name as 'to_table'
1717
+ ,fk.referenced_column_name as 'primary_key'
1718
+ ,fk.column_name as 'column'
1719
+ ,fk.constraint_name as 'name'
1720
+ FROM information_schema.key_column_usage fk
1721
+ WHERE fk.referenced_column_name is not null
1722
+ AND fk.table_schema = 'curate_development'
1723
+ AND fk.table_name = 'receipts'
1724
+
1725
+  (0.1ms) SHOW CREATE TABLE `receipts`
1726
+  (0.1ms)
1727
+ SELECT fk.referenced_table_name as 'to_table'
1728
+ ,fk.referenced_column_name as 'primary_key'
1729
+ ,fk.column_name as 'column'
1730
+ ,fk.constraint_name as 'name'
1731
+ FROM information_schema.key_column_usage fk
1732
+ WHERE fk.referenced_column_name is not null
1733
+ AND fk.table_schema = 'curate_development'
1734
+ AND fk.table_name = 'repo_object'
1735
+
1736
+  (0.1ms) SHOW CREATE TABLE `repo_object`
1737
+  (0.1ms)
1738
+ SELECT fk.referenced_table_name as 'to_table'
1739
+ ,fk.referenced_column_name as 'primary_key'
1740
+ ,fk.column_name as 'column'
1741
+ ,fk.constraint_name as 'name'
1742
+ FROM information_schema.key_column_usage fk
1743
+ WHERE fk.referenced_column_name is not null
1744
+ AND fk.table_schema = 'curate_development'
1745
+ AND fk.table_name = 'single_use_links'
1746
+
1747
+  (0.1ms) SHOW CREATE TABLE `single_use_links`
1748
+  (0.1ms)
1749
+ SELECT fk.referenced_table_name as 'to_table'
1750
+ ,fk.referenced_column_name as 'primary_key'
1751
+ ,fk.column_name as 'column'
1752
+ ,fk.constraint_name as 'name'
1753
+ FROM information_schema.key_column_usage fk
1754
+ WHERE fk.referenced_column_name is not null
1755
+ AND fk.table_schema = 'curate_development'
1756
+ AND fk.table_name = 'subject_local_authority_entries'
1757
+
1758
+  (0.1ms) SHOW CREATE TABLE `subject_local_authority_entries`
1759
+  (0.2ms)
1760
+ SELECT fk.referenced_table_name as 'to_table'
1761
+ ,fk.referenced_column_name as 'primary_key'
1762
+ ,fk.column_name as 'column'
1763
+ ,fk.constraint_name as 'name'
1764
+ FROM information_schema.key_column_usage fk
1765
+ WHERE fk.referenced_column_name is not null
1766
+ AND fk.table_schema = 'curate_development'
1767
+ AND fk.table_name = 'trophies'
1768
+
1769
+  (0.1ms) SHOW CREATE TABLE `trophies`
1770
+  (0.1ms)
1771
+ SELECT fk.referenced_table_name as 'to_table'
1772
+ ,fk.referenced_column_name as 'primary_key'
1773
+ ,fk.column_name as 'column'
1774
+ ,fk.constraint_name as 'name'
1775
+ FROM information_schema.key_column_usage fk
1776
+ WHERE fk.referenced_column_name is not null
1777
+ AND fk.table_schema = 'curate_development'
1778
+ AND fk.table_name = 'users'
1779
+
1780
+  (0.1ms) SHOW CREATE TABLE `users`
1781
+  (0.1ms)
1782
+ SELECT fk.referenced_table_name as 'to_table'
1783
+ ,fk.referenced_column_name as 'primary_key'
1784
+ ,fk.column_name as 'column'
1785
+ ,fk.constraint_name as 'name'
1786
+ FROM information_schema.key_column_usage fk
1787
+ WHERE fk.referenced_column_name is not null
1788
+ AND fk.table_schema = 'curate_development'
1789
+ AND fk.table_name = 'version_committers'
1790
+
1791
+  (0.1ms) SHOW CREATE TABLE `version_committers`