enju_loc 0.1.0.pre1

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 (226) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +3 -0
  4. data/Rakefile +38 -0
  5. data/app/assets/javascripts/loc_search.js +2 -0
  6. data/app/assets/stylesheets/loc_search.css +4 -0
  7. data/app/controllers/loc_search_controller.rb +49 -0
  8. data/app/helpers/loc_search_helper.rb +18 -0
  9. data/app/models/loc_search.rb +97 -0
  10. data/app/views/loc_search/index.html.erb +49 -0
  11. data/config/locales/en.yml +13 -0
  12. data/config/locales/ja.yml +11 -0
  13. data/config/routes.rb +3 -0
  14. data/lib/enju_loc.rb +21 -0
  15. data/lib/enju_loc/engine.rb +7 -0
  16. data/lib/enju_loc/loc_search.rb +537 -0
  17. data/lib/enju_loc/version.rb +3 -0
  18. data/lib/tasks/enju_loc_tasks.rake +4 -0
  19. data/spec/cassette_library/LocSearch/_ModsRecord/should_parse_MODS_metadata.yml +111 -0
  20. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_a_valid_manifestation.yml +113 -0
  21. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_lcsh_subjects_only.yml +66 -0
  22. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_multiple_series_statements.yml +69 -0
  23. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_distinguish_title_information_with_subject.yml +67 -0
  24. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_a_manifestation_that_has_invalid_classification.yml +81 -0
  25. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_another_serial.yml +85 -0
  26. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_audio_book.yml +91 -0
  27. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource.yml +73 -0
  28. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_note_fields.yml +72 -0
  29. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_publication_year.yml +78 -0
  30. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_serial.yml +70 -0
  31. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_video_publication.yml +204 -0
  32. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_parse_title_information_properly.yml +80 -0
  33. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_support_name_and_title_subjects.yml +77 -0
  34. data/spec/cassette_library/LocSearch/_search/should_return_a_search_result.yml +353 -0
  35. data/spec/cassette_library/LocSearchController/GET_index/should_get_index.yml +353 -0
  36. data/spec/cassette_library/LocSearchController/GET_index/should_get_index_with_page_parameter.yml +415 -0
  37. data/spec/cassette_library/LocSearchController/POST_create/should_create_a_bibliographic_record_if_lccn_is_set.yml +140 -0
  38. data/spec/cassette_library/LocSearchController/POST_create/should_not_create_a_bibliographic_record_if_lccn_is_not_set.yml +38 -0
  39. data/spec/controllers/loc_search_controller_spec.rb +44 -0
  40. data/spec/dummy/README.rdoc +28 -0
  41. data/spec/dummy/Rakefile +6 -0
  42. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  43. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  44. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  45. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  46. data/spec/dummy/app/models/setting.rb +4 -0
  47. data/spec/dummy/app/models/user.rb +8 -0
  48. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  49. data/spec/dummy/config.ru +4 -0
  50. data/spec/dummy/config/application.rb +47 -0
  51. data/spec/dummy/config/application.yml +38 -0
  52. data/spec/dummy/config/boot.rb +10 -0
  53. data/spec/dummy/config/database.yml +25 -0
  54. data/spec/dummy/config/environment.rb +5 -0
  55. data/spec/dummy/config/environments/development.rb +30 -0
  56. data/spec/dummy/config/environments/production.rb +60 -0
  57. data/spec/dummy/config/environments/test.rb +39 -0
  58. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  59. data/spec/dummy/config/initializers/devise.rb +207 -0
  60. data/spec/dummy/config/initializers/inflections.rb +16 -0
  61. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  62. data/spec/dummy/config/initializers/session_store.rb +3 -0
  63. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  64. data/spec/dummy/config/locales/en.yml +23 -0
  65. data/spec/dummy/config/routes.rb +58 -0
  66. data/spec/dummy/config/secrets.yml +22 -0
  67. data/spec/dummy/db/development.sqlite3 +0 -0
  68. data/spec/dummy/db/migrate/001_create_agents.rb +50 -0
  69. data/spec/dummy/db/migrate/002_devise_create_users.rb +46 -0
  70. data/spec/dummy/db/migrate/005_create_manifestations.rb +44 -0
  71. data/spec/dummy/db/migrate/006_create_items.rb +21 -0
  72. data/spec/dummy/db/migrate/012_create_owns.rb +12 -0
  73. data/spec/dummy/db/migrate/015_create_creates.rb +12 -0
  74. data/spec/dummy/db/migrate/029_create_subjects.rb +27 -0
  75. data/spec/dummy/db/migrate/041_create_roles.rb +13 -0
  76. data/spec/dummy/db/migrate/047_create_produces.rb +12 -0
  77. data/spec/dummy/db/migrate/059_create_libraries.rb +28 -0
  78. data/spec/dummy/db/migrate/069_create_shelves.rb +15 -0
  79. data/spec/dummy/db/migrate/073_create_carrier_types.rb +11 -0
  80. data/spec/dummy/db/migrate/077_create_user_groups.rb +12 -0
  81. data/spec/dummy/db/migrate/080_create_library_groups.rb +17 -0
  82. data/spec/dummy/db/migrate/112_create_frequencies.rb +12 -0
  83. data/spec/dummy/db/migrate/117_create_form_of_works.rb +12 -0
  84. data/spec/dummy/db/migrate/120_create_baskets.rb +12 -0
  85. data/spec/dummy/db/migrate/124_create_bookstores.rb +17 -0
  86. data/spec/dummy/db/migrate/125_create_donates.rb +12 -0
  87. data/spec/dummy/db/migrate/130_create_request_status_types.rb +12 -0
  88. data/spec/dummy/db/migrate/131_create_request_types.rb +12 -0
  89. data/spec/dummy/db/migrate/142_create_classifications.rb +19 -0
  90. data/spec/dummy/db/migrate/144_create_classification_types.rb +16 -0
  91. data/spec/dummy/db/migrate/145_create_subject_heading_types.rb +16 -0
  92. data/spec/dummy/db/migrate/146_create_subject_types.rb +16 -0
  93. data/spec/dummy/db/migrate/20080830154109_create_realizes.rb +13 -0
  94. data/spec/dummy/db/migrate/20080830172106_create_exemplifies.rb +13 -0
  95. data/spec/dummy/db/migrate/20080905191442_create_agent_types.rb +12 -0
  96. data/spec/dummy/db/migrate/20081006090811_create_subscriptions.rb +17 -0
  97. data/spec/dummy/db/migrate/20081006093246_create_subscribes.rb +14 -0
  98. data/spec/dummy/db/migrate/20081023092436_create_search_engines.rb +17 -0
  99. data/spec/dummy/db/migrate/20081025083323_create_countries.rb +28 -0
  100. data/spec/dummy/db/migrate/20081025083905_create_languages.rb +23 -0
  101. data/spec/dummy/db/migrate/20081027150907_create_picture_files.rb +15 -0
  102. data/spec/dummy/db/migrate/20081028083142_create_agent_import_files.rb +20 -0
  103. data/spec/dummy/db/migrate/20081028083208_create_resource_import_files.rb +20 -0
  104. data/spec/dummy/db/migrate/20090705133942_add_attachments_picture_to_picture_file.rb +15 -0
  105. data/spec/dummy/db/migrate/20090705212043_add_attachments_attachment_to_manifestation.rb +15 -0
  106. data/spec/dummy/db/migrate/20090719201843_create_extents.rb +12 -0
  107. data/spec/dummy/db/migrate/20090720091106_create_medium_of_performances.rb +12 -0
  108. data/spec/dummy/db/migrate/20090720091429_create_content_types.rb +12 -0
  109. data/spec/dummy/db/migrate/20090812151902_create_agent_relationship_types.rb +12 -0
  110. data/spec/dummy/db/migrate/20091012101112_add_dcndl_schema.rb +27 -0
  111. data/spec/dummy/db/migrate/20091025080447_create_licenses.rb +12 -0
  112. data/spec/dummy/db/migrate/20091202124834_create_versions.rb +18 -0
  113. data/spec/dummy/db/migrate/20091214131723_create_series_statements.rb +13 -0
  114. data/spec/dummy/db/migrate/20100129142347_create_import_requests.rb +14 -0
  115. data/spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb +9 -0
  116. data/spec/dummy/db/migrate/20100223121519_rename_series_statement_title_to_original_title.rb +13 -0
  117. data/spec/dummy/db/migrate/20100314190054_add_opening_hour_to_library.rb +9 -0
  118. data/spec/dummy/db/migrate/20100321235924_add_series_statement_identifier_to_series_statement.rb +10 -0
  119. data/spec/dummy/db/migrate/20100525124311_create_manifestation_relationships.rb +13 -0
  120. data/spec/dummy/db/migrate/20100606065209_create_user_has_roles.rb +12 -0
  121. data/spec/dummy/db/migrate/20100606073747_create_agent_relationships.rb +13 -0
  122. data/spec/dummy/db/migrate/20100607044753_create_manifestation_relationship_types.rb +12 -0
  123. data/spec/dummy/db/migrate/20100814091104_add_position_to_agent_relationship.rb +11 -0
  124. data/spec/dummy/db/migrate/20100925043847_create_resource_import_results.rb +15 -0
  125. data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +11 -0
  126. data/spec/dummy/db/migrate/20101212070145_add_acquired_at_to_item.rb +9 -0
  127. data/spec/dummy/db/migrate/20110222073537_add_url_to_library_group.rb +9 -0
  128. data/spec/dummy/db/migrate/20110301035123_add_pub_date_to_manifestation.rb +9 -0
  129. data/spec/dummy/db/migrate/20110301121550_add_birth_date_and_death_date_to_agent.rb +11 -0
  130. data/spec/dummy/db/migrate/20110318183304_add_valid_period_for_new_user_to_user_group.rb +11 -0
  131. data/spec/dummy/db/migrate/20110603184217_add_edit_mode_to_resource_import_file.rb +9 -0
  132. data/spec/dummy/db/migrate/20110619064807_add_edition_string_to_manifestation.rb +9 -0
  133. data/spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb +11 -0
  134. data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +9 -0
  135. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +12 -0
  136. data/spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb +11 -0
  137. data/spec/dummy/db/migrate/20110916091020_add_volume_number_to_manifestation.rb +13 -0
  138. data/spec/dummy/db/migrate/20110916103953_add_manifestaiton_id_to_series_statement.rb +10 -0
  139. data/spec/dummy/db/migrate/20110918162329_add_note_to_series_statement.rb +9 -0
  140. data/spec/dummy/db/migrate/20111124110059_create_create_types.rb +12 -0
  141. data/spec/dummy/db/migrate/20111124110319_create_realize_types.rb +12 -0
  142. data/spec/dummy/db/migrate/20111124110355_create_produce_types.rb +12 -0
  143. data/spec/dummy/db/migrate/20111124112131_add_create_type_to_create.rb +7 -0
  144. data/spec/dummy/db/migrate/20120105074911_add_isil_to_library.rb +5 -0
  145. data/spec/dummy/db/migrate/20120125152919_add_title_subseries_transcription_to_series_statement.rb +6 -0
  146. data/spec/dummy/db/migrate/20120129014038_create_budget_types.rb +12 -0
  147. data/spec/dummy/db/migrate/20120129020544_add_budget_type_id_to_item.rb +6 -0
  148. data/spec/dummy/db/migrate/20120319120638_add_content_type_id_to_manifestation.rb +6 -0
  149. data/spec/dummy/db/migrate/20120319173203_create_accepts.rb +14 -0
  150. data/spec/dummy/db/migrate/20120406020752_add_url_to_subject.rb +5 -0
  151. data/spec/dummy/db/migrate/20120410104851_add_year_of_publication_to_manifestation.rb +5 -0
  152. data/spec/dummy/db/migrate/20120413072700_add_picture_meta_to_picture_file.rb +5 -0
  153. data/spec/dummy/db/migrate/20120413100352_add_fingerprint_to_picture_file.rb +5 -0
  154. data/spec/dummy/db/migrate/20120413161340_add_fingerprint_to_resource_import_file.rb +5 -0
  155. data/spec/dummy/db/migrate/20120413161403_add_fingerprint_to_agent_import_file.rb +5 -0
  156. data/spec/dummy/db/migrate/20120413170705_add_error_message_to_resource_import_file.rb +5 -0
  157. data/spec/dummy/db/migrate/20120413170720_add_error_message_to_agent_import_file.rb +5 -0
  158. data/spec/dummy/db/migrate/20120415164821_add_attachment_meta_to_manifestation.rb +5 -0
  159. data/spec/dummy/db/migrate/20120418081407_add_month_of_publication_to_manifestation.rb +5 -0
  160. data/spec/dummy/db/migrate/20120510140958_add_closed_to_shelf.rb +5 -0
  161. data/spec/dummy/db/migrate/20120511072422_add_agent_identifier_to_agent.rb +6 -0
  162. data/spec/dummy/db/migrate/20120602141129_add_edit_mode_to_agent_import_file.rb +5 -0
  163. data/spec/dummy/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb +5 -0
  164. data/spec/dummy/db/migrate/20121116033446_add_doi_to_manifestation.rb +6 -0
  165. data/spec/dummy/db/migrate/20130221154434_add_additional_attributes_to_user.rb +16 -0
  166. data/spec/dummy/db/migrate/20130412083556_add_latitude_and_longitude_to_library.rb +6 -0
  167. data/spec/dummy/db/migrate/20130421093852_add_periodical_to_manifestation.rb +5 -0
  168. data/spec/dummy/db/migrate/20130421155019_add_creator_string_to_series_statement.rb +7 -0
  169. data/spec/dummy/db/migrate/20130421164124_add_series_master_to_series_statement.rb +5 -0
  170. data/spec/dummy/db/migrate/20130429020822_add_root_manifestation_id_to_series_statement.rb +6 -0
  171. data/spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb +6 -0
  172. data/spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb +6 -0
  173. data/spec/dummy/db/migrate/20130504195916_add_subject_heading_type_id_to_subject.rb +5 -0
  174. data/spec/dummy/db/migrate/20130506175303_create_identifier_types.rb +12 -0
  175. data/spec/dummy/db/migrate/20130506175834_create_identifiers.rb +15 -0
  176. data/spec/dummy/db/migrate/20130509185724_add_statement_of_responsibility_to_manifestation.rb +5 -0
  177. data/spec/dummy/db/migrate/20140110122216_create_user_import_files.rb +18 -0
  178. data/spec/dummy/db/migrate/20140110131010_create_user_import_results.rb +11 -0
  179. data/spec/dummy/db/migrate/20140122054321_create_profiles.rb +20 -0
  180. data/spec/dummy/db/migrate/20140519170214_create_resource_import_file_transitions.rb +14 -0
  181. data/spec/dummy/db/migrate/20140519171220_create_import_request_transitions.rb +14 -0
  182. data/spec/dummy/db/migrate/20140524020735_create_agent_import_file_transitions.rb +14 -0
  183. data/spec/dummy/db/migrate/20140524074813_create_user_import_file_transitions.rb +14 -0
  184. data/spec/dummy/db/migrate/20140610123439_drop_email_unique_constraint_enju_leaf_rc10.rb +11 -0
  185. data/spec/dummy/db/migrate/20140614065404_create_resource_export_files.rb +11 -0
  186. data/spec/dummy/db/migrate/20140614141500_create_resource_export_file_transitions.rb +14 -0
  187. data/spec/dummy/db/migrate/20140628072217_add_user_encoding_to_user_import_file.rb +5 -0
  188. data/spec/dummy/db/migrate/20140628073524_add_user_encoding_to_agent_import_file.rb +5 -0
  189. data/spec/dummy/db/migrate/20140628073535_add_user_encoding_to_resource_import_file.rb +5 -0
  190. data/spec/dummy/db/migrate/20140709113413_create_user_export_files.rb +11 -0
  191. data/spec/dummy/db/migrate/20140709113905_create_user_export_file_transitions.rb +14 -0
  192. data/spec/dummy/db/migrate/20140720140916_add_binding_item_identifier_to_item.rb +8 -0
  193. data/spec/dummy/db/migrate/20140720170714_add_default_library_id_to_user_import_file.rb +5 -0
  194. data/spec/dummy/db/migrate/20140720170735_add_default_user_group_id_to_user_import_file.rb +5 -0
  195. data/spec/dummy/db/migrate/20140721151416_add_default_shelf_id_to_resource_import_file.rb +5 -0
  196. data/spec/dummy/db/migrate/20140802082007_add_manifestation_id_to_item.rb +6 -0
  197. data/spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb +5 -0
  198. data/spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb +5 -0
  199. data/spec/dummy/db/schema.rb +1008 -0
  200. data/spec/dummy/db/test.sqlite3 +0 -0
  201. data/spec/dummy/log/development.log +2139 -0
  202. data/spec/dummy/log/test.log +21513 -0
  203. data/spec/dummy/public/404.html +67 -0
  204. data/spec/dummy/public/422.html +67 -0
  205. data/spec/dummy/public/500.html +66 -0
  206. data/spec/dummy/public/favicon.ico +0 -0
  207. data/spec/dummy/script/rails +6 -0
  208. data/spec/fixtures/agent_types.yml +35 -0
  209. data/spec/fixtures/carrier_types.yml +51 -0
  210. data/spec/fixtures/classification_types.yml +13 -0
  211. data/spec/fixtures/content_types.yml +19 -0
  212. data/spec/fixtures/countries.yml +2059 -0
  213. data/spec/fixtures/frequencies.yml +76 -0
  214. data/spec/fixtures/identifier_types.yml +36 -0
  215. data/spec/fixtures/languages.yml +1901 -0
  216. data/spec/fixtures/roles.yml +35 -0
  217. data/spec/fixtures/subject_heading_types.yml +39 -0
  218. data/spec/fixtures/subject_types.yml +42 -0
  219. data/spec/fixtures/user_has_roles.yml +41 -0
  220. data/spec/fixtures/users.yml +51 -0
  221. data/spec/models/loc_search_spec.rb +195 -0
  222. data/spec/rails_helper.rb +43 -0
  223. data/spec/spec_helper.rb +47 -0
  224. data/spec/support/controller_macros.rb +25 -0
  225. data/spec/support/devise.rb +4 -0
  226. metadata +615 -0
Binary file
@@ -0,0 +1,2139 @@
1
+ Connecting to database specified by database.yml
2
+  (0.1ms) select sqlite_version(*)
3
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
+ Connecting to database specified by database.yml
7
+  (0.1ms) select sqlite_version(*)
8
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
9
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
10
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
11
+ Migrating to CreateAgents (1)
12
+  (0.0ms) begin transaction
13
+  (0.4ms) CREATE TABLE "agents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "last_name" varchar(255), "middle_name" varchar(255), "first_name" varchar(255), "last_name_transcription" varchar(255), "middle_name_transcription" varchar(255), "first_name_transcription" varchar(255), "corporate_name" varchar(255), "corporate_name_transcription" varchar(255), "full_name" varchar(255), "full_name_transcription" text, "full_name_alternative" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "zip_code_1" varchar(255), "zip_code_2" varchar(255), "address_1" text, "address_2" text, "address_1_note" text, "address_2_note" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number_1" varchar(255), "fax_number_2" varchar(255), "other_designation" text, "place" text, "postal_code" varchar(255), "street" text, "locality" text, "region" text, "date_of_birth" datetime, "date_of_death" datetime, "language_id" integer DEFAULT 1 NOT NULL, "country_id" integer DEFAULT 1 NOT NULL, "agent_type_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "state" varchar(255), "email" text, "url" text)
14
+  (0.9ms) CREATE UNIQUE INDEX "index_agents_on_user_id" ON "agents" ("user_id")
15
+  (0.1ms) CREATE INDEX "index_agents_on_language_id" ON "agents" ("language_id")
16
+  (0.1ms) CREATE INDEX "index_agents_on_country_id" ON "agents" ("country_id")
17
+  (0.1ms) CREATE INDEX "index_agents_on_required_role_id" ON "agents" ("required_role_id")
18
+  (0.1ms) CREATE INDEX "index_agents_on_full_name" ON "agents" ("full_name")
19
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('1')
20
+  (0.6ms) commit transaction
21
+ Migrating to CreateManifestations (5)
22
+  (0.0ms) begin transaction
23
+  (0.3ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "copyright_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_list" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL) 
24
+  (0.4ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
25
+  (0.1ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
26
+  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
27
+  (0.1ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
28
+  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
29
+  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
30
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('5')
31
+  (0.7ms) commit transaction
32
+ Migrating to CreateItems (6)
33
+  (0.0ms) begin transaction
34
+  (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "call_number" varchar(255), "item_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "shelf_id" integer DEFAULT 1 NOT NULL, "include_supplements" boolean DEFAULT 'f' NOT NULL, "note" text, "url" varchar(255), "price" integer, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL) 
35
+  (0.1ms) CREATE INDEX "index_items_on_shelf_id" ON "items" ("shelf_id")
36
+  (0.1ms) CREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")
37
+  (0.1ms) CREATE INDEX "index_items_on_required_role_id" ON "items" ("required_role_id")
38
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('6')
39
+  (0.7ms) commit transaction
40
+ Migrating to CreateOwns (12)
41
+  (0.0ms) begin transaction
42
+  (0.7ms) CREATE TABLE "owns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
43
+  (0.1ms) CREATE INDEX "index_owns_on_agent_id" ON "owns" ("agent_id")
44
+  (0.1ms) CREATE INDEX "index_owns_on_item_id" ON "owns" ("item_id")
45
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('12')
46
+  (2.2ms) commit transaction
47
+ Migrating to CreateCreates (15)
48
+  (0.0ms) begin transaction
49
+  (0.3ms) CREATE TABLE "creates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "work_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
50
+  (0.1ms) CREATE INDEX "index_creates_on_agent_id" ON "creates" ("agent_id")
51
+  (0.1ms) CREATE INDEX "index_creates_on_work_id" ON "creates" ("work_id")
52
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('15')
53
+  (0.7ms) commit transaction
54
+ Migrating to CreateSubjects (29)
55
+  (0.0ms) begin transaction
56
+  (0.3ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime)
57
+  (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
58
+  (0.1ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
59
+  (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
60
+  (0.1ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
61
+  (0.1ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
62
+  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
63
+  (0.7ms) commit transaction
64
+ Migrating to CreateProduces (47)
65
+  (0.0ms) begin transaction
66
+  (0.4ms) CREATE TABLE "produces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
67
+  (0.1ms) CREATE INDEX "index_produces_on_agent_id" ON "produces" ("agent_id")
68
+  (0.1ms) CREATE INDEX "index_produces_on_manifestation_id" ON "produces" ("manifestation_id")
69
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('47')
70
+  (0.7ms) commit transaction
71
+ Migrating to CreateCarrierTypes (73)
72
+  (0.0ms) begin transaction
73
+  (1.4ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
74
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
75
+  (1.0ms) commit transaction
76
+ Migrating to CreateFrequencies (112)
77
+  (0.0ms) begin transaction
78
+  (1.0ms) CREATE TABLE "frequencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
79
+  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('112')
80
+  (1.2ms) commit transaction
81
+ Migrating to CreateFormOfWorks (117)
82
+  (0.0ms) begin transaction
83
+  (0.5ms) CREATE TABLE "form_of_works" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
84
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('117')
85
+  (0.6ms) commit transaction
86
+ Migrating to CreateDonates (125)
87
+  (0.0ms) begin transaction
88
+  (0.3ms) CREATE TABLE "donates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
89
+  (0.1ms) CREATE INDEX "index_donates_on_agent_id" ON "donates" ("agent_id")
90
+  (0.1ms) CREATE INDEX "index_donates_on_item_id" ON "donates" ("item_id")
91
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('125')
92
+  (0.6ms) commit transaction
93
+ Migrating to CreateClassifications (142)
94
+  (0.0ms) begin transaction
95
+  (0.5ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
96
+  (0.2ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
97
+  (0.2ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
98
+  (0.2ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
99
+  (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
100
+  (0.8ms) commit transaction
101
+ Migrating to CreateSubjectHasClassifications (143)
102
+  (0.1ms) begin transaction
103
+  (0.8ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
104
+  (0.3ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
105
+  (0.2ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
106
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('143')
107
+  (0.8ms) commit transaction
108
+ Migrating to CreateClassificationTypes (144)
109
+  (0.1ms) begin transaction
110
+  (0.4ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
111
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
112
+  (1.3ms) commit transaction
113
+ Migrating to CreateSubjectHeadingTypes (145)
114
+  (0.1ms) begin transaction
115
+  (0.5ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
116
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
117
+  (0.6ms) commit transaction
118
+ Migrating to CreateSubjectTypes (146)
119
+  (0.0ms) begin transaction
120
+  (0.5ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
121
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
122
+  (0.7ms) commit transaction
123
+ Migrating to CreateWorkHasSubjects (20080606052544)
124
+  (0.1ms) begin transaction
125
+  (0.6ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
126
+  (0.2ms) CREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")
127
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
128
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')
129
+  (5.2ms) commit transaction
130
+ Migrating to CreateRealizes (20080830154109)
131
+  (0.1ms) begin transaction
132
+  (0.4ms) CREATE TABLE "realizes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "expression_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
133
+  (0.1ms) CREATE INDEX "index_realizes_on_agent_id" ON "realizes" ("agent_id")
134
+  (0.1ms) CREATE INDEX "index_realizes_on_expression_id" ON "realizes" ("expression_id")
135
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830154109')
136
+  (1.5ms) commit transaction
137
+ Migrating to CreateExemplifies (20080830172106)
138
+  (0.0ms) begin transaction
139
+  (0.3ms) CREATE TABLE "exemplifies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "manifestation_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
140
+  (0.6ms) CREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")
141
+  (0.6ms) CREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")
142
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')
143
+  (0.8ms) commit transaction
144
+ Migrating to CreateAgentTypes (20080905191442)
145
+  (0.0ms) begin transaction
146
+  (0.6ms) CREATE TABLE "agent_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
147
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
148
+  (0.7ms) commit transaction
149
+ Migrating to CreateCountries (20081025083323)
150
+  (0.2ms) begin transaction
151
+  (0.9ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "alpha_2" varchar(255), "alpha_3" varchar(255), "numeric_3" varchar(255), "note" text, "position" integer)
152
+  (0.2ms) CREATE INDEX "index_countries_on_name" ON "countries" ("name")
153
+  (0.1ms) CREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")
154
+  (0.1ms) CREATE INDEX "index_countries_on_alpha_3" ON "countries" ("alpha_3")
155
+  (0.1ms) CREATE INDEX "index_countries_on_numeric_3" ON "countries" ("numeric_3")
156
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083323')
157
+  (0.6ms) commit transaction
158
+ Migrating to CreateLanguages (20081025083905)
159
+  (0.0ms) begin transaction
160
+  (0.6ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer)
161
+  (0.6ms) CREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")
162
+  (0.1ms) CREATE INDEX "index_languages_on_iso_639_1" ON "languages" ("iso_639_1")
163
+  (0.1ms) CREATE INDEX "index_languages_on_iso_639_2" ON "languages" ("iso_639_2")
164
+  (0.2ms) CREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")
165
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083905')
166
+  (0.8ms) commit transaction
167
+ Migrating to CreatePictureFiles (20081027150907)
168
+  (0.0ms) begin transaction
169
+  (0.7ms) CREATE TABLE "picture_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_attachable_id" integer, "picture_attachable_type" varchar(255), "content_type" varchar(255), "title" text, "thumbnail" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
170
+  (0.2ms) CREATE INDEX "index_picture_files_on_picture_attachable_id_and_type" ON "picture_files" ("picture_attachable_id", "picture_attachable_type")
171
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081027150907')
172
+  (1.1ms) commit transaction
173
+ Migrating to CreateAgentImportFiles (20081028083142)
174
+  (0.2ms) begin transaction
175
+  (0.6ms) CREATE TABLE "agent_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "state" varchar(255), "agent_import_file_name" varchar(255), "agent_import_content_type" varchar(255), "agent_import_file_size" integer, "agent_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
176
+  (0.2ms) CREATE INDEX "index_agent_import_files_on_parent_id" ON "agent_import_files" ("parent_id")
177
+  (0.1ms) CREATE INDEX "index_agent_import_files_on_user_id" ON "agent_import_files" ("user_id")
178
+  (0.1ms) CREATE INDEX "index_agent_import_files_on_state" ON "agent_import_files" ("state")
179
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083142')
180
+  (0.7ms) commit transaction
181
+ Migrating to CreateResourceImportFiles (20081028083208)
182
+  (0.0ms) begin transaction
183
+  (0.5ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "imported_at" datetime, "state" varchar(255), "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
184
+  (0.2ms) CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
185
+  (0.1ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
186
+  (0.5ms) CREATE INDEX "index_resource_import_files_on_state" ON "resource_import_files" ("state")
187
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083208')
188
+  (0.9ms) commit transaction
189
+ Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
190
+  (0.1ms) begin transaction
191
+  (0.5ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
192
+  (0.3ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
193
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
194
+  (2.2ms) commit transaction
195
+ Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
196
+  (0.1ms) begin transaction
197
+  (3.8ms) ALTER TABLE "picture_files" ADD "picture_file_name" varchar(255)
198
+  (1.4ms) ALTER TABLE "picture_files" ADD "picture_content_type" varchar(255)
199
+  (0.3ms) ALTER TABLE "picture_files" ADD "picture_file_size" integer
200
+  (0.2ms) ALTER TABLE "picture_files" ADD "picture_updated_at" datetime
201
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705133942')
202
+  (1.4ms) commit transaction
203
+ Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
204
+  (0.2ms) begin transaction
205
+  (0.7ms) ALTER TABLE "manifestations" ADD "attachment_file_name" varchar(255)
206
+  (0.4ms) ALTER TABLE "manifestations" ADD "attachment_content_type" varchar(255)
207
+  (0.3ms) ALTER TABLE "manifestations" ADD "attachment_file_size" integer
208
+  (0.3ms) ALTER TABLE "manifestations" ADD "attachment_updated_at" datetime
209
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705212043')
210
+  (0.6ms) commit transaction
211
+ Migrating to CreateExtents (20090719201843)
212
+  (0.2ms) begin transaction
213
+  (2.3ms) CREATE TABLE "extents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
214
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090719201843')
215
+  (3.5ms) commit transaction
216
+ Migrating to CreateMediumOfPerformances (20090720091106)
217
+  (0.1ms) begin transaction
218
+  (0.3ms) CREATE TABLE "medium_of_performances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
219
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091106')
220
+  (0.9ms) commit transaction
221
+ Migrating to CreateContentTypes (20090720091429)
222
+  (0.0ms) begin transaction
223
+  (0.5ms) CREATE TABLE "content_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
224
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091429')
225
+  (1.2ms) commit transaction
226
+ Migrating to CreateAgentRelationshipTypes (20090812151902)
227
+  (0.0ms) begin transaction
228
+  (0.3ms) CREATE TABLE "agent_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
229
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090812151902')
230
+  (0.7ms) commit transaction
231
+ Migrating to AddDcndlSchema (20091012101112)
232
+  (0.0ms) begin transaction
233
+  (0.8ms) ALTER TABLE "manifestations" ADD "title_alternative_transcription" text
234
+  (0.4ms) ALTER TABLE "agents" ADD "full_name_alternative_transcription" text
235
+  (0.7ms) ALTER TABLE "manifestations" ADD "description" text
236
+  (0.3ms) ALTER TABLE "manifestations" ADD "abstract" text
237
+  (0.3ms) ALTER TABLE "manifestations" ADD "available_at" datetime
238
+  (0.3ms) ALTER TABLE "manifestations" ADD "valid_until" datetime
239
+  (0.4ms) ALTER TABLE "manifestations" ADD "date_submitted" datetime
240
+  (0.3ms) ALTER TABLE "manifestations" ADD "date_accepted" datetime
241
+  (0.4ms) ALTER TABLE "manifestations" ADD "date_caputured" datetime
242
+  (0.6ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_list" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime) 
243
+  (0.3ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
244
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
245
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
246
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
247
+  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
248
+  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
249
+  (0.2ms) SELECT * FROM "manifestations"
250
+  (1.2ms) DROP TABLE "manifestations"
251
+  (0.9ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_list" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime)
252
+  (0.2ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
253
+  (0.3ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
254
+  (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
255
+  (0.2ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
256
+  (0.2ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
257
+  (0.2ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
258
+  (0.1ms) SELECT * FROM "altered_manifestations"
259
+  (0.6ms) DROP TABLE "altered_manifestations"
260
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091012101112')
261
+  (2.2ms) commit transaction
262
+ Migrating to CreateLicenses (20091025080447)
263
+  (0.1ms) begin transaction
264
+  (0.7ms) CREATE TABLE "licenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" varchar(255), "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
265
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091025080447')
266
+  (0.6ms) commit transaction
267
+ Migrating to CreateVersions (20091202124834)
268
+  (0.0ms) begin transaction
269
+  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar(255) NOT NULL, "item_id" integer NOT NULL, "event" varchar(255) NOT NULL, "whodunnit" varchar(255), "object" text, "created_at" datetime)
270
+  (0.2ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
271
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091202124834')
272
+  (0.7ms) commit transaction
273
+ Migrating to CreateSeriesStatements (20091214131723)
274
+  (0.0ms) begin transaction
275
+  (1.2ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
276
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091214131723')
277
+  (1.0ms) commit transaction
278
+ Migrating to CreateImportRequests (20100129142347)
279
+  (0.0ms) begin transaction
280
+  (0.5ms) CREATE TABLE "import_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "isbn" varchar(255), "state" varchar(255), "manifestation_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
281
+  (0.2ms) CREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")
282
+  (0.2ms) CREATE INDEX "index_import_requests_on_manifestation_id" ON "import_requests" ("manifestation_id")
283
+  (0.2ms) CREATE INDEX "index_import_requests_on_user_id" ON "import_requests" ("user_id")
284
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100129142347')
285
+  (1.7ms) commit transaction
286
+ Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
287
+  (0.1ms) begin transaction
288
+  (0.3ms) CREATE TEMPORARY TABLE "altered_series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
289
+  (0.1ms) SELECT * FROM "series_statements"
290
+  (0.3ms) DROP TABLE "series_statements"
291
+  (0.3ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
292
+  (0.1ms) SELECT * FROM "altered_series_statements"
293
+  (0.1ms) DROP TABLE "altered_series_statements"
294
+  (0.3ms) ALTER TABLE "series_statements" ADD "title_transcription" text
295
+  (0.4ms) ALTER TABLE "series_statements" ADD "title_alternative" text
296
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100223121519')
297
+  (1.1ms) commit transaction
298
+ Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
299
+  (0.1ms) begin transaction
300
+  (0.6ms) ALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)
301
+  (0.2ms) CREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")
302
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100321235924')
303
+  (2.1ms) commit transaction
304
+ Migrating to CreateManifestationRelationships (20100525124311)
305
+  (0.1ms) begin transaction
306
+  (1.3ms) CREATE TABLE "manifestation_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "manifestation_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
307
+  (0.2ms) CREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")
308
+  (0.2ms) CREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")
309
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100525124311')
310
+  (0.7ms) commit transaction
311
+ Migrating to CreateAgentRelationships (20100606073747)
312
+  (0.1ms) begin transaction
313
+  (0.5ms) CREATE TABLE "agent_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "agent_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
314
+  (0.2ms) CREATE INDEX "index_agent_relationships_on_parent_id" ON "agent_relationships" ("parent_id")
315
+  (0.1ms) CREATE INDEX "index_agent_relationships_on_child_id" ON "agent_relationships" ("child_id")
316
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100606073747')
317
+  (3.2ms) commit transaction
318
+ Migrating to CreateManifestationRelationshipTypes (20100607044753)
319
+  (0.1ms) begin transaction
320
+  (0.5ms) CREATE TABLE "manifestation_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
321
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100607044753')
322
+  (0.5ms) commit transaction
323
+ Migrating to AddPositionToAgentRelationship (20100814091104)
324
+  (0.0ms) begin transaction
325
+  (0.6ms) ALTER TABLE "manifestation_relationships" ADD "position" integer
326
+  (0.2ms) ALTER TABLE "agent_relationships" ADD "position" integer
327
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100814091104')
328
+  (0.9ms) commit transaction
329
+ Migrating to CreateResourceImportResults (20100925043847)
330
+  (0.0ms) begin transaction
331
+  (0.5ms) CREATE TABLE "resource_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_import_file_id" integer, "manifestation_id" integer, "item_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
332
+  (0.2ms) CREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")
333
+  (0.3ms) CREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")
334
+  (0.4ms) CREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")
335
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925043847')
336
+  (2.0ms) commit transaction
337
+ Migrating to CreateAgentImportResults (20100925074559)
338
+  (0.1ms) begin transaction
339
+  (5.0ms) CREATE TABLE "agent_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_import_file_id" integer, "agent_id" integer, "user_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
340
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925074559')
341
+  (1.3ms) commit transaction
342
+ Migrating to AddAcquiredAtToItem (20101212070145)
343
+  (0.1ms) begin transaction
344
+  (0.6ms) ALTER TABLE "items" ADD "acquired_at" datetime
345
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101212070145')
346
+  (0.9ms) commit transaction
347
+ Migrating to AddPubDateToManifestation (20110301035123)
348
+  (0.1ms) begin transaction
349
+  (1.2ms) ALTER TABLE "manifestations" ADD "pub_date" varchar(255)
350
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301035123')
351
+  (0.7ms) commit transaction
352
+ Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
353
+  (0.1ms) begin transaction
354
+  (0.7ms) ALTER TABLE "agents" ADD "birth_date" varchar(255)
355
+  (0.5ms) ALTER TABLE "agents" ADD "death_date" varchar(255)
356
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301121550')
357
+  (0.6ms) commit transaction
358
+ Migrating to AddIssnToSeriesStatement (20110425133109)
359
+  (0.1ms) begin transaction
360
+  (0.5ms) ALTER TABLE "series_statements" ADD "issn" varchar(255)
361
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110425133109')
362
+  (0.8ms) commit transaction
363
+ Migrating to AddEditModeToResourceImportFile (20110603184217)
364
+  (0.0ms) begin transaction
365
+  (0.5ms) ALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)
366
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110603184217')
367
+  (2.4ms) commit transaction
368
+ Migrating to AddPeriodicalToSeriesStatement (20110618091240)
369
+  (1.5ms) begin transaction
370
+  (0.6ms) ALTER TABLE "series_statements" ADD "periodical" boolean
371
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110618091240')
372
+  (0.6ms) commit transaction
373
+ Migrating to AddEditionStringToManifestation (20110619064807)
374
+  (0.1ms) begin transaction
375
+  (0.7ms) ALTER TABLE "manifestations" ADD "edition_string" varchar(255)
376
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110619064807')
377
+  (0.6ms) commit transaction
378
+ Migrating to AddBookstoreIdToItem (20110620173525)
379
+  (0.0ms) begin transaction
380
+  (0.5ms) ALTER TABLE "items" ADD "bookstore_id" integer
381
+  (0.2ms) CREATE INDEX "index_items_on_bookstore_id" ON "items" ("bookstore_id")
382
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110620173525')
383
+  (0.7ms) commit transaction
384
+ Migrating to CreateSeriesStatementMergeLists (20110627034940)
385
+  (0.0ms) begin transaction
386
+  (0.4ms) CREATE TABLE "series_statement_merge_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
387
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')
388
+  (2.1ms) commit transaction
389
+ Migrating to CreateSeriesStatementMerges (20110627035057)
390
+  (0.1ms) begin transaction
391
+  (2.0ms) CREATE TABLE "series_statement_merges" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer NOT NULL, "series_statement_merge_list_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
392
+  (0.4ms) CREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")
393
+  (0.2ms) CREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")
394
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627035057')
395
+  (1.2ms) commit transaction
396
+ Migrating to CreateSeriesHasManifestations (20110820131417)
397
+  (0.0ms) begin transaction
398
+  (0.5ms) CREATE TABLE "series_has_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer, "manifestation_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
399
+  (0.2ms) CREATE INDEX "index_series_has_manifestations_on_series_statement_id" ON "series_has_manifestations" ("series_statement_id")
400
+  (0.2ms) CREATE INDEX "index_series_has_manifestations_on_manifestation_id" ON "series_has_manifestations" ("manifestation_id")
401
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110820131417')
402
+  (1.5ms) commit transaction
403
+ Migrating to AddLftAndRgtToClassification (20110913120629)
404
+  (0.1ms) begin transaction
405
+  (0.6ms) ALTER TABLE "classifications" ADD "lft" integer
406
+  (1.3ms) ALTER TABLE "classifications" ADD "rgt" integer
407
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
408
+  (1.6ms) commit transaction
409
+ Migrating to RenameManifestationNumberListToNumberString (20110916053430)
410
+  (0.1ms) begin transaction
411
+  (0.4ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255)) 
412
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
413
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
414
+  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
415
+  (0.6ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
416
+  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
417
+  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
418
+  (0.3ms) SELECT * FROM "manifestations"
419
+  (0.6ms) DROP TABLE "manifestations"
420
+  (0.5ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255))
421
+  (1.2ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
422
+  (0.9ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
423
+  (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
424
+  (0.2ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
425
+  (0.2ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
426
+  (0.2ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
427
+  (0.3ms) SELECT * FROM "altered_manifestations"
428
+  (0.3ms) DROP TABLE "altered_manifestations"
429
+  (0.4ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255)) 
430
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
431
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
432
+  (0.4ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
433
+  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
434
+  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
435
+  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
436
+  (0.2ms) SELECT * FROM "manifestations"
437
+  (0.8ms) DROP TABLE "manifestations"
438
+  (0.4ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255))
439
+  (0.2ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
440
+  (0.1ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
441
+  (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
442
+  (0.2ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
443
+  (2.4ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
444
+  (0.2ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
445
+  (0.2ms) SELECT * FROM "altered_manifestations"
446
+  (0.3ms) DROP TABLE "altered_manifestations"
447
+  (0.3ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255)) 
448
+  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
449
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
450
+  (0.2ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
451
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
452
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
453
+  (0.9ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
454
+  (0.2ms) SELECT * FROM "manifestations"
455
+  (0.3ms) DROP TABLE "manifestations"
456
+  (0.4ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255))
457
+  (0.2ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
458
+  (0.2ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
459
+  (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
460
+  (0.2ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
461
+  (0.2ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
462
+  (0.2ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
463
+  (1.1ms) SELECT * FROM "altered_manifestations"
464
+  (0.3ms) DROP TABLE "altered_manifestations"
465
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916053430')
466
+  (3.1ms) commit transaction
467
+ Migrating to AddVolumeNumberToManifestation (20110916091020)
468
+  (0.1ms) begin transaction
469
+  (0.8ms) ALTER TABLE "manifestations" ADD "volume_number" integer
470
+  (0.4ms) ALTER TABLE "manifestations" ADD "issue_number" integer
471
+  (2.4ms) ALTER TABLE "manifestations" ADD "serial_number" integer
472
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916091020')
473
+  (0.8ms) commit transaction
474
+ Migrating to AddManifestaitonIdToSeriesStatement (20110916103953)
475
+  (0.1ms) begin transaction
476
+  (0.6ms) ALTER TABLE "series_statements" ADD "manifestation_id" integer
477
+  (0.2ms) CREATE INDEX "index_series_statements_on_manifestation_id" ON "series_statements" ("manifestation_id")
478
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916103953')
479
+  (1.0ms) commit transaction
480
+ Migrating to AddNoteToSeriesStatement (20110918162329)
481
+  (0.1ms) begin transaction
482
+  (0.8ms) ALTER TABLE "series_statements" ADD "note" text
483
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110918162329')
484
+  (4.1ms) commit transaction
485
+ Migrating to AddNdcToManifestation (20111009183423)
486
+  (0.1ms) begin transaction
487
+  (0.8ms) ALTER TABLE "manifestations" ADD "ndc" varchar(255)
488
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111009183423')
489
+  (1.5ms) commit transaction
490
+ Migrating to CreateCreateTypes (20111124110059)
491
+  (0.0ms) begin transaction
492
+  (0.5ms) CREATE TABLE "create_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
493
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110059')
494
+  (0.6ms) commit transaction
495
+ Migrating to CreateRealizeTypes (20111124110319)
496
+  (0.0ms) begin transaction
497
+  (0.5ms) CREATE TABLE "realize_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
498
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110319')
499
+  (1.4ms) commit transaction
500
+ Migrating to CreateProduceTypes (20111124110355)
501
+  (0.1ms) begin transaction
502
+  (0.9ms) CREATE TABLE "produce_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
503
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110355')
504
+  (0.8ms) commit transaction
505
+ Migrating to AddCreateTypeToCreate (20111124112131)
506
+  (0.0ms) begin transaction
507
+  (0.4ms) ALTER TABLE "creates" ADD "create_type_id" integer
508
+  (0.2ms) ALTER TABLE "realizes" ADD "realize_type_id" integer
509
+  (0.1ms) ALTER TABLE "produces" ADD "produce_type_id" integer
510
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124112131')
511
+  (0.5ms) commit transaction
512
+ Migrating to CreateRoles (20111201121844)
513
+  (0.0ms) begin transaction
514
+  (0.4ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
515
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
516
+  (0.7ms) commit transaction
517
+ Migrating to CreateUsers (20111201155456)
518
+  (0.0ms) begin transaction
519
+  (3.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "locale" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
520
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
521
+  (1.3ms) commit transaction
522
+ Migrating to AddDeviseToUsers (20111201155513)
523
+  (0.5ms) begin transaction
524
+  (0.7ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
525
+  (0.3ms) ALTER TABLE "users" ADD "encrypted_password" varchar(255) DEFAULT '' NOT NULL
526
+  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)
527
+  (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
528
+  (0.3ms) ALTER TABLE "users" ADD "remember_created_at" datetime
529
+  (0.2ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
530
+  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
531
+  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
532
+  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)
533
+  (0.3ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
534
+  (0.2ms) ALTER TABLE "users" ADD "password_salt" varchar(255)
535
+  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar(255)
536
+  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
537
+  (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
538
+  (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar(255)
539
+  (0.2ms) ALTER TABLE "users" ADD "failed_attempts" integer DEFAULT 0
540
+  (0.3ms) ALTER TABLE "users" ADD "unlock_token" varchar(255)
541
+  (0.3ms) ALTER TABLE "users" ADD "locked_at" datetime
542
+  (1.9ms) ALTER TABLE "users" ADD "authentication_token" varchar(255)
543
+  (0.3ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
544
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
545
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
546
+  (2.3ms) commit transaction
547
+ Migrating to CreateUserHasRoles (20111201163718)
548
+  (0.1ms) begin transaction
549
+  (0.5ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
550
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
551
+  (1.9ms) commit transaction
552
+ Migrating to AddTitleSubseriesTranscriptionToSeriesStatement (20120125152919)
553
+  (0.1ms) begin transaction
554
+  (0.6ms) ALTER TABLE "series_statements" ADD "title_subseries_transcription" text
555
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120125152919')
556
+  (0.6ms) commit transaction
557
+ Migrating to AddBudgetTypeIdToItem (20120129020544)
558
+  (0.0ms) begin transaction
559
+  (0.6ms) ALTER TABLE "items" ADD "budget_type_id" integer
560
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120129020544')
561
+  (0.5ms) commit transaction
562
+ Migrating to AddContentTypeIdToManifestation (20120319120638)
563
+  (0.0ms) begin transaction
564
+  (0.9ms) ALTER TABLE "manifestations" ADD "content_type_id" integer DEFAULT 1
565
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120319120638')
566
+  (1.2ms) commit transaction
567
+ Migrating to AddUrlToSubject (20120406020752)
568
+  (0.1ms) begin transaction
569
+  (0.6ms) ALTER TABLE "subjects" ADD "url" varchar(255)
570
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120406020752')
571
+  (0.7ms) commit transaction
572
+ Migrating to AddYearOfPublicationToManifestation (20120410104851)
573
+  (0.1ms) begin transaction
574
+  (0.7ms) ALTER TABLE "manifestations" ADD "year_of_publication" integer
575
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120410104851')
576
+  (0.5ms) commit transaction
577
+ Migrating to AddPictureMetaToPictureFile (20120413072700)
578
+  (0.0ms) begin transaction
579
+  (0.5ms) ALTER TABLE "picture_files" ADD "picture_meta" text
580
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413072700')
581
+  (0.7ms) commit transaction
582
+ Migrating to AddFingerprintToPictureFile (20120413100352)
583
+  (0.2ms) begin transaction
584
+  (0.7ms) ALTER TABLE "picture_files" ADD "picture_fingerprint" varchar(255)
585
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413100352')
586
+  (0.8ms) commit transaction
587
+ Migrating to AddFingerprintToResourceImportFile (20120413161340)
588
+  (0.1ms) begin transaction
589
+  (0.6ms) ALTER TABLE "resource_import_files" ADD "resource_import_fingerprint" varchar(255)
590
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161340')
591
+  (1.0ms) commit transaction
592
+ Migrating to AddFingerprintToAgentImportFile (20120413161403)
593
+  (0.1ms) begin transaction
594
+  (0.5ms) ALTER TABLE "agent_import_files" ADD "agent_import_fingerprint" varchar(255)
595
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161403')
596
+  (0.6ms) commit transaction
597
+ Migrating to AddErrorMessageToResourceImportFile (20120413170705)
598
+  (0.0ms) begin transaction
599
+  (0.7ms) ALTER TABLE "resource_import_files" ADD "error_message" text
600
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170705')
601
+  (0.6ms) commit transaction
602
+ Migrating to AddErrorMessageToAgentImportFile (20120413170720)
603
+  (0.0ms) begin transaction
604
+  (0.4ms) ALTER TABLE "agent_import_files" ADD "error_message" text
605
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170720')
606
+  (0.6ms) commit transaction
607
+ Migrating to RenameResourceImportFileImportedAtToExecutedAt (20120415060308)
608
+  (0.0ms) begin transaction
609
+  (0.3ms) CREATE TEMPORARY TABLE "altered_resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "state" varchar(255), "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "edit_mode" varchar(255), "resource_import_fingerprint" varchar(255), "error_message" text) 
610
+  (0.1ms) CREATE INDEX "temp_index_altered_resource_import_files_on_state" ON "altered_resource_import_files" ("state")
611
+  (0.1ms) CREATE INDEX "temp_index_altered_resource_import_files_on_user_id" ON "altered_resource_import_files" ("user_id")
612
+  (0.1ms) CREATE INDEX "temp_index_altered_resource_import_files_on_parent_id" ON "altered_resource_import_files" ("parent_id")
613
+  (0.1ms) SELECT * FROM "resource_import_files"
614
+  (0.3ms) DROP TABLE "resource_import_files"
615
+  (0.3ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "state" varchar(255), "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "edit_mode" varchar(255), "resource_import_fingerprint" varchar(255), "error_message" text) 
616
+  (0.1ms) CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
617
+  (0.2ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
618
+  (0.2ms) CREATE INDEX "index_resource_import_files_on_state" ON "resource_import_files" ("state")
619
+  (0.1ms) SELECT * FROM "altered_resource_import_files"
620
+  (0.1ms) DROP TABLE "altered_resource_import_files"
621
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120415060308')
622
+  (1.6ms) commit transaction
623
+ Migrating to AddAttachmentMetaToManifestation (20120415164821)
624
+  (0.1ms) begin transaction
625
+  (0.5ms) ALTER TABLE "manifestations" ADD "attachment_meta" text
626
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120415164821')
627
+  (1.2ms) commit transaction
628
+ Migrating to AddMonthOfPublicationToManifestation (20120418081407)
629
+  (0.1ms) begin transaction
630
+  (0.6ms) ALTER TABLE "manifestations" ADD "month_of_publication" integer
631
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418081407')
632
+  (1.0ms) commit transaction
633
+ Migrating to AddAgentIdentifierToAgent (20120511072422)
634
+  (0.1ms) begin transaction
635
+  (0.7ms) ALTER TABLE "agents" ADD "agent_identifier" varchar(255)
636
+  (0.4ms) CREATE INDEX "index_agents_on_agent_identifier" ON "agents" ("agent_identifier")
637
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120511072422')
638
+  (0.7ms) commit transaction
639
+ Migrating to AddEditModeToAgentImportFile (20120602141129)
640
+  (0.1ms) begin transaction
641
+  (0.6ms) ALTER TABLE "agent_import_files" ADD "edit_mode" varchar(255)
642
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120602141129')
643
+  (1.2ms) commit transaction
644
+ Migrating to AddDoiToManifestation (20121116033446)
645
+  (0.1ms) begin transaction
646
+  (0.7ms) ALTER TABLE "manifestations" ADD "doi" varchar(255)
647
+  (0.3ms) CREATE INDEX "index_manifestations_on_doi" ON "manifestations" ("doi")
648
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121116033446')
649
+  (0.6ms) commit transaction
650
+ Migrating to AddPeriodicalToManifestation (20130421093852)
651
+  (0.0ms) begin transaction
652
+  (2.2ms) ALTER TABLE "manifestations" ADD "periodical" boolean
653
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421093852')
654
+  (2.5ms) commit transaction
655
+ Migrating to AddCreatorStringToSeriesStatement (20130421155019)
656
+  (0.1ms) begin transaction
657
+  (0.8ms) ALTER TABLE "series_statements" ADD "creator_string" text
658
+  (0.3ms) ALTER TABLE "series_statements" ADD "volume_number_string" text
659
+  (0.3ms) ALTER TABLE "series_statements" ADD "volume_number_transcription_string" text
660
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421155019')
661
+  (1.3ms) commit transaction
662
+ Migrating to AddSeriesMasterToSeriesStatement (20130421164124)
663
+  (0.0ms) begin transaction
664
+  (0.6ms) ALTER TABLE "series_statements" ADD "series_master" boolean
665
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421164124')
666
+  (0.6ms) commit transaction
667
+ Migrating to AddRootManifestationIdToSeriesStatement (20130429020822)
668
+  (0.1ms) begin transaction
669
+  (0.7ms) ALTER TABLE "series_statements" ADD "root_manifestation_id" integer
670
+  (0.4ms) CREATE INDEX "index_series_statements_on_root_manifestation_id" ON "series_statements" ("root_manifestation_id")
671
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130429020822')
672
+  (1.0ms) commit transaction
673
+ Migrating to AddManifestationIdToSubject (20130504133816)
674
+  (0.0ms) begin transaction
675
+  (0.5ms) ALTER TABLE "subjects" ADD "manifestation_id" integer
676
+  (0.2ms) CREATE INDEX "index_subjects_on_manifestation_id" ON "subjects" ("manifestation_id")
677
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504133816')
678
+  (0.7ms) commit transaction
679
+ Migrating to AddManifestationIdToClassification (20130504143515)
680
+  (0.0ms) begin transaction
681
+  (0.6ms) ALTER TABLE "classifications" ADD "manifestation_id" integer
682
+  (0.2ms) CREATE INDEX "index_classifications_on_manifestation_id" ON "classifications" ("manifestation_id")
683
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504143515')
684
+  (0.7ms) commit transaction
685
+ Migrating to AddSubjectHeadingTypeIdToSubject (20130504195916)
686
+  (0.1ms) begin transaction
687
+  (0.6ms) ALTER TABLE "subjects" ADD "subject_heading_type_id" integer
688
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504195916')
689
+  (0.5ms) commit transaction
690
+ Migrating to CreateIdentifierTypes (20130506175303)
691
+  (0.0ms) begin transaction
692
+  (0.5ms) CREATE TABLE "identifier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
693
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130506175303')
694
+  (1.0ms) commit transaction
695
+ Migrating to CreateIdentifiers (20130506175834)
696
+  (0.0ms) begin transaction
697
+  (0.5ms) CREATE TABLE "identifiers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar(255) NOT NULL, "identifier_type_id" integer NOT NULL, "manifestation_id" integer, "primary" boolean, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
698
+  (0.2ms) CREATE INDEX "index_identifiers_on_body_and_identifier_type_id" ON "identifiers" ("body", "identifier_type_id")
699
+  (0.2ms) CREATE INDEX "index_identifiers_on_manifestation_id" ON "identifiers" ("manifestation_id")
700
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130506175834')
701
+  (3.2ms) commit transaction
702
+ Migrating to AddStatementOfResponsibilityToManifestation (20130509185724)
703
+  (0.1ms) begin transaction
704
+  (0.8ms) ALTER TABLE "manifestations" ADD "statement_of_responsibility" text
705
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130509185724')
706
+  (0.7ms) commit transaction
707
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
708
+ Connecting to database specified by database.yml
709
+  (0.0ms) select sqlite_version(*)
710
+  (1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
711
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
712
+  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
713
+ Migrating to CreateAgents (1)
714
+  (0.0ms) begin transaction
715
+  (0.4ms) CREATE TABLE "agents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "last_name" varchar(255), "middle_name" varchar(255), "first_name" varchar(255), "last_name_transcription" varchar(255), "middle_name_transcription" varchar(255), "first_name_transcription" varchar(255), "corporate_name" varchar(255), "corporate_name_transcription" varchar(255), "full_name" varchar(255), "full_name_transcription" text, "full_name_alternative" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "zip_code_1" varchar(255), "zip_code_2" varchar(255), "address_1" text, "address_2" text, "address_1_note" text, "address_2_note" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number_1" varchar(255), "fax_number_2" varchar(255), "other_designation" text, "place" text, "postal_code" varchar(255), "street" text, "locality" text, "region" text, "date_of_birth" datetime, "date_of_death" datetime, "language_id" integer DEFAULT 1 NOT NULL, "country_id" integer DEFAULT 1 NOT NULL, "agent_type_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "email" text, "url" text)
716
+  (0.1ms) CREATE INDEX "index_agents_on_language_id" ON "agents" ("language_id")
717
+  (0.1ms) CREATE INDEX "index_agents_on_country_id" ON "agents" ("country_id")
718
+  (0.1ms) CREATE INDEX "index_agents_on_required_role_id" ON "agents" ("required_role_id")
719
+  (0.1ms) CREATE INDEX "index_agents_on_full_name" ON "agents" ("full_name")
720
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('1')
721
+  (0.7ms) commit transaction
722
+ Migrating to CreateManifestations (5)
723
+  (0.0ms) begin transaction
724
+  (0.4ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "copyright_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL)
725
+  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
726
+  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
727
+  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
728
+  (0.1ms) CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
729
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('5')
730
+  (0.7ms) commit transaction
731
+ Migrating to CreateItems (6)
732
+  (0.0ms) begin transaction
733
+  (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "call_number" varchar(255), "item_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "shelf_id" integer DEFAULT 1 NOT NULL, "include_supplements" boolean DEFAULT 'f' NOT NULL, "note" text, "url" varchar(255), "price" integer, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL)
734
+  (0.1ms) CREATE INDEX "index_items_on_shelf_id" ON "items" ("shelf_id")
735
+  (0.1ms) CREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")
736
+  (0.1ms) CREATE INDEX "index_items_on_required_role_id" ON "items" ("required_role_id")
737
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('6')
738
+  (0.7ms) commit transaction
739
+ Migrating to CreateOwns (12)
740
+  (0.1ms) begin transaction
741
+  (0.2ms) CREATE TABLE "owns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
742
+  (0.1ms) CREATE INDEX "index_owns_on_agent_id" ON "owns" ("agent_id")
743
+  (0.1ms) CREATE INDEX "index_owns_on_item_id" ON "owns" ("item_id")
744
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('12')
745
+  (0.7ms) commit transaction
746
+ Migrating to CreateCreates (15)
747
+  (0.0ms) begin transaction
748
+  (0.3ms) CREATE TABLE "creates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "work_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
749
+  (0.1ms) CREATE INDEX "index_creates_on_agent_id" ON "creates" ("agent_id")
750
+  (0.1ms) CREATE INDEX "index_creates_on_work_id" ON "creates" ("work_id")
751
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('15')
752
+  (0.6ms) commit transaction
753
+ Migrating to CreateSubjects (29)
754
+  (0.1ms) begin transaction
755
+  (0.3ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime) 
756
+  (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
757
+  (0.1ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
758
+  (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
759
+  (0.1ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
760
+  (0.1ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
761
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
762
+  (0.7ms) commit transaction
763
+ Migrating to CreateProduces (47)
764
+  (0.0ms) begin transaction
765
+  (0.2ms) CREATE TABLE "produces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
766
+  (0.1ms) CREATE INDEX "index_produces_on_agent_id" ON "produces" ("agent_id")
767
+  (0.1ms) CREATE INDEX "index_produces_on_manifestation_id" ON "produces" ("manifestation_id")
768
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('47')
769
+  (0.6ms) commit transaction
770
+ Migrating to CreateCarrierTypes (73)
771
+  (0.0ms) begin transaction
772
+  (0.3ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
773
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
774
+  (0.6ms) commit transaction
775
+ Migrating to CreateFrequencies (112)
776
+  (0.0ms) begin transaction
777
+  (0.2ms) CREATE TABLE "frequencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
778
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('112')
779
+  (0.6ms) commit transaction
780
+ Migrating to CreateFormOfWorks (117)
781
+  (0.0ms) begin transaction
782
+  (0.2ms) CREATE TABLE "form_of_works" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
783
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('117')
784
+  (0.7ms) commit transaction
785
+ Migrating to CreateDonates (125)
786
+  (0.0ms) begin transaction
787
+  (0.3ms) CREATE TABLE "donates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
788
+  (0.1ms) CREATE INDEX "index_donates_on_agent_id" ON "donates" ("agent_id")
789
+  (0.1ms) CREATE INDEX "index_donates_on_item_id" ON "donates" ("item_id")
790
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('125')
791
+  (0.7ms) commit transaction
792
+ Migrating to CreateClassifications (142)
793
+  (0.0ms) begin transaction
794
+  (0.3ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
795
+  (0.1ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
796
+  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
797
+  (0.1ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
798
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
799
+  (0.7ms) commit transaction
800
+ Migrating to CreateSubjectHasClassifications (143)
801
+  (0.0ms) begin transaction
802
+  (0.4ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
803
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
804
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
805
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('143')
806
+  (0.7ms) commit transaction
807
+ Migrating to CreateClassificationTypes (144)
808
+  (0.0ms) begin transaction
809
+  (0.4ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
810
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
811
+  (0.8ms) commit transaction
812
+ Migrating to CreateSubjectHeadingTypes (145)
813
+  (0.0ms) begin transaction
814
+  (0.2ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
815
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
816
+  (0.7ms) commit transaction
817
+ Migrating to CreateSubjectTypes (146)
818
+  (0.0ms) begin transaction
819
+  (0.3ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
820
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
821
+  (0.7ms) commit transaction
822
+ Migrating to CreateWorkHasSubjects (20080606052544)
823
+  (0.0ms) begin transaction
824
+  (0.3ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
825
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")
826
+  (0.2ms) CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
827
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')
828
+  (0.7ms) commit transaction
829
+ Migrating to CreateRealizes (20080830154109)
830
+  (0.0ms) begin transaction
831
+  (0.4ms) CREATE TABLE "realizes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "expression_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
832
+  (0.1ms) CREATE INDEX "index_realizes_on_agent_id" ON "realizes" ("agent_id")
833
+  (0.1ms) CREATE INDEX "index_realizes_on_expression_id" ON "realizes" ("expression_id")
834
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830154109')
835
+  (0.7ms) commit transaction
836
+ Migrating to CreateExemplifies (20080830172106)
837
+  (0.0ms) begin transaction
838
+  (0.3ms) CREATE TABLE "exemplifies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "manifestation_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
839
+  (0.2ms) CREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")
840
+  (0.9ms) CREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")
841
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')
842
+  (0.7ms) commit transaction
843
+ Migrating to CreateAgentTypes (20080905191442)
844
+  (0.0ms) begin transaction
845
+  (0.4ms) CREATE TABLE "agent_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
846
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
847
+  (0.7ms) commit transaction
848
+ Migrating to CreateCountries (20081025083323)
849
+  (0.0ms) begin transaction
850
+  (0.3ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "alpha_2" varchar(255), "alpha_3" varchar(255), "numeric_3" varchar(255), "note" text, "position" integer) 
851
+  (0.1ms) CREATE INDEX "index_countries_on_name" ON "countries" ("name")
852
+  (0.1ms) CREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")
853
+  (0.1ms) CREATE INDEX "index_countries_on_alpha_3" ON "countries" ("alpha_3")
854
+  (0.1ms) CREATE INDEX "index_countries_on_numeric_3" ON "countries" ("numeric_3")
855
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083323')
856
+  (0.7ms) commit transaction
857
+ Migrating to CreateLanguages (20081025083905)
858
+  (0.3ms) begin transaction
859
+  (0.2ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer) 
860
+  (0.3ms) CREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")
861
+  (0.1ms) CREATE INDEX "index_languages_on_iso_639_1" ON "languages" ("iso_639_1")
862
+  (0.1ms) CREATE INDEX "index_languages_on_iso_639_2" ON "languages" ("iso_639_2")
863
+  (0.1ms) CREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")
864
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083905')
865
+  (0.7ms) commit transaction
866
+ Migrating to CreatePictureFiles (20081027150907)
867
+  (0.0ms) begin transaction
868
+  (0.3ms) CREATE TABLE "picture_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_attachable_id" integer, "picture_attachable_type" varchar(255), "content_type" varchar(255), "title" text, "thumbnail" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
869
+  (0.1ms) CREATE INDEX "index_picture_files_on_picture_attachable_id_and_type" ON "picture_files" ("picture_attachable_id", "picture_attachable_type")
870
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081027150907')
871
+  (0.7ms) commit transaction
872
+ Migrating to CreateAgentImportFiles (20081028083142)
873
+  (0.0ms) begin transaction
874
+  (0.3ms) CREATE TABLE "agent_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "agent_import_file_name" varchar(255), "agent_import_content_type" varchar(255), "agent_import_file_size" integer, "agent_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
875
+  (0.1ms) CREATE INDEX "index_agent_import_files_on_parent_id" ON "agent_import_files" ("parent_id")
876
+  (0.1ms) CREATE INDEX "index_agent_import_files_on_user_id" ON "agent_import_files" ("user_id")
877
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083142')
878
+  (0.7ms) commit transaction
879
+ Migrating to CreateResourceImportFiles (20081028083208)
880
+  (0.0ms) begin transaction
881
+  (0.2ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
882
+  (0.2ms) CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
883
+  (0.1ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
884
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083208')
885
+  (0.7ms) commit transaction
886
+ Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
887
+  (0.0ms) begin transaction
888
+  (0.3ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
889
+  (0.1ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
890
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
891
+  (0.7ms) commit transaction
892
+ Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
893
+  (0.0ms) begin transaction
894
+  (0.3ms) ALTER TABLE "picture_files" ADD "picture_file_name" varchar(255)
895
+  (0.2ms) ALTER TABLE "picture_files" ADD "picture_content_type" varchar(255)
896
+  (0.1ms) ALTER TABLE "picture_files" ADD "picture_file_size" integer
897
+  (0.1ms) ALTER TABLE "picture_files" ADD "picture_updated_at" datetime
898
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705133942')
899
+  (0.6ms) commit transaction
900
+ Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
901
+  (0.0ms) begin transaction
902
+  (0.5ms) ALTER TABLE "manifestations" ADD "attachment_file_name" varchar(255)
903
+  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_content_type" varchar(255)
904
+  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_file_size" integer
905
+  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_updated_at" datetime
906
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705212043')
907
+  (0.6ms) commit transaction
908
+ Migrating to CreateExtents (20090719201843)
909
+  (0.0ms) begin transaction
910
+  (0.3ms) CREATE TABLE "extents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
911
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090719201843')
912
+  (0.7ms) commit transaction
913
+ Migrating to CreateMediumOfPerformances (20090720091106)
914
+  (0.0ms) begin transaction
915
+  (0.3ms) CREATE TABLE "medium_of_performances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
916
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091106')
917
+  (0.6ms) commit transaction
918
+ Migrating to CreateContentTypes (20090720091429)
919
+  (0.0ms) begin transaction
920
+  (0.2ms) CREATE TABLE "content_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
921
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091429')
922
+  (0.7ms) commit transaction
923
+ Migrating to CreateAgentRelationshipTypes (20090812151902)
924
+  (0.0ms) begin transaction
925
+  (0.2ms) CREATE TABLE "agent_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
926
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090812151902')
927
+  (0.5ms) commit transaction
928
+ Migrating to AddDcndlSchema (20091012101112)
929
+  (0.0ms) begin transaction
930
+  (0.4ms) ALTER TABLE "manifestations" ADD "title_alternative_transcription" text
931
+  (0.2ms) ALTER TABLE "agents" ADD "full_name_alternative_transcription" text
932
+  (0.2ms) ALTER TABLE "manifestations" ADD "description" text
933
+  (0.2ms) ALTER TABLE "manifestations" ADD "abstract" text
934
+  (0.2ms) ALTER TABLE "manifestations" ADD "available_at" datetime
935
+  (0.2ms) ALTER TABLE "manifestations" ADD "valid_until" datetime
936
+  (0.2ms) ALTER TABLE "manifestations" ADD "date_submitted" datetime
937
+  (0.2ms) ALTER TABLE "manifestations" ADD "date_accepted" datetime
938
+  (0.2ms) ALTER TABLE "manifestations" ADD "date_caputured" datetime
939
+  (0.5ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime)
940
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_date_of_publication" ON "altered_manifestations" ("date_of_publication")
941
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
942
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
943
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
944
+  (0.1ms) SELECT * FROM "manifestations"
945
+  (0.4ms) DROP TABLE "manifestations"
946
+  (0.2ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime) 
947
+  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
948
+  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
949
+  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
950
+  (0.1ms) CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
951
+  (0.1ms) SELECT * FROM "altered_manifestations"
952
+  (0.4ms) DROP TABLE "altered_manifestations"
953
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091012101112')
954
+  (1.2ms) commit transaction
955
+ Migrating to CreateLicenses (20091025080447)
956
+  (0.0ms) begin transaction
957
+  (0.3ms) CREATE TABLE "licenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" varchar(255), "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
958
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091025080447')
959
+  (0.7ms) commit transaction
960
+ Migrating to CreateVersions (20091202124834)
961
+  (0.0ms) begin transaction
962
+  (0.3ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar(255) NOT NULL, "item_id" integer NOT NULL, "event" varchar(255) NOT NULL, "whodunnit" varchar(255), "object" text, "created_at" datetime) 
963
+  (0.1ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
964
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091202124834')
965
+  (0.7ms) commit transaction
966
+ Migrating to CreateSeriesStatements (20091214131723)
967
+  (0.0ms) begin transaction
968
+  (0.3ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
969
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091214131723')
970
+  (0.9ms) commit transaction
971
+ Migrating to CreateImportRequests (20100129142347)
972
+  (0.1ms) begin transaction
973
+  (0.4ms) CREATE TABLE "import_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "isbn" varchar(255), "manifestation_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
974
+  (0.1ms) CREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")
975
+  (0.1ms) CREATE INDEX "index_import_requests_on_manifestation_id" ON "import_requests" ("manifestation_id")
976
+  (0.1ms) CREATE INDEX "index_import_requests_on_user_id" ON "import_requests" ("user_id")
977
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100129142347')
978
+  (0.8ms) commit transaction
979
+ Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
980
+  (0.0ms) begin transaction
981
+  (0.1ms) CREATE TEMPORARY TABLE "altered_series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
982
+  (0.1ms) SELECT * FROM "series_statements"
983
+  (0.2ms) DROP TABLE "series_statements"
984
+  (0.1ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
985
+  (0.0ms) SELECT * FROM "altered_series_statements"
986
+  (0.1ms) DROP TABLE "altered_series_statements"
987
+  (0.2ms) ALTER TABLE "series_statements" ADD "title_transcription" text
988
+  (0.1ms) ALTER TABLE "series_statements" ADD "title_alternative" text
989
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100223121519')
990
+  (0.8ms) commit transaction
991
+ Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
992
+  (0.0ms) begin transaction
993
+  (0.4ms) ALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)
994
+  (0.2ms) CREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")
995
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100321235924')
996
+  (0.8ms) commit transaction
997
+ Migrating to CreateManifestationRelationships (20100525124311)
998
+  (0.0ms) begin transaction
999
+  (0.3ms) CREATE TABLE "manifestation_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "manifestation_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1000
+  (0.1ms) CREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")
1001
+  (0.1ms) CREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")
1002
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100525124311')
1003
+  (0.6ms) commit transaction
1004
+ Migrating to CreateAgentRelationships (20100606073747)
1005
+  (0.0ms) begin transaction
1006
+  (0.3ms) CREATE TABLE "agent_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "agent_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1007
+  (0.1ms) CREATE INDEX "index_agent_relationships_on_parent_id" ON "agent_relationships" ("parent_id")
1008
+  (0.1ms) CREATE INDEX "index_agent_relationships_on_child_id" ON "agent_relationships" ("child_id")
1009
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100606073747')
1010
+  (0.7ms) commit transaction
1011
+ Migrating to CreateManifestationRelationshipTypes (20100607044753)
1012
+  (0.0ms) begin transaction
1013
+  (0.2ms) CREATE TABLE "manifestation_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1014
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100607044753')
1015
+  (0.7ms) commit transaction
1016
+ Migrating to AddPositionToAgentRelationship (20100814091104)
1017
+  (0.0ms) begin transaction
1018
+  (0.3ms) ALTER TABLE "manifestation_relationships" ADD "position" integer
1019
+  (0.2ms) ALTER TABLE "agent_relationships" ADD "position" integer
1020
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100814091104')
1021
+  (0.6ms) commit transaction
1022
+ Migrating to CreateResourceImportResults (20100925043847)
1023
+  (0.0ms) begin transaction
1024
+  (0.3ms) CREATE TABLE "resource_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_import_file_id" integer, "manifestation_id" integer, "item_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1025
+  (0.1ms) CREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")
1026
+  (0.1ms) CREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")
1027
+  (0.1ms) CREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")
1028
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925043847')
1029
+  (0.7ms) commit transaction
1030
+ Migrating to CreateAgentImportResults (20100925074559)
1031
+  (0.1ms) begin transaction
1032
+  (0.3ms) CREATE TABLE "agent_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_import_file_id" integer, "agent_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1033
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925074559')
1034
+  (0.7ms) commit transaction
1035
+ Migrating to AddAcquiredAtToItem (20101212070145)
1036
+  (0.0ms) begin transaction
1037
+  (0.3ms) ALTER TABLE "items" ADD "acquired_at" datetime
1038
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101212070145')
1039
+  (0.6ms) commit transaction
1040
+ Migrating to AddPubDateToManifestation (20110301035123)
1041
+  (0.0ms) begin transaction
1042
+  (0.5ms) ALTER TABLE "manifestations" ADD "pub_date" varchar(255)
1043
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301035123')
1044
+  (0.5ms) commit transaction
1045
+ Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
1046
+  (0.0ms) begin transaction
1047
+  (0.4ms) ALTER TABLE "agents" ADD "birth_date" varchar(255)
1048
+  (0.3ms) ALTER TABLE "agents" ADD "death_date" varchar(255)
1049
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301121550')
1050
+  (0.7ms) commit transaction
1051
+ Migrating to AddIssnToSeriesStatement (20110425133109)
1052
+  (0.1ms) begin transaction
1053
+  (0.3ms) ALTER TABLE "series_statements" ADD "issn" varchar(255)
1054
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110425133109')
1055
+  (0.6ms) commit transaction
1056
+ Migrating to AddEditModeToResourceImportFile (20110603184217)
1057
+  (0.0ms) begin transaction
1058
+  (0.4ms) ALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)
1059
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110603184217')
1060
+  (0.6ms) commit transaction
1061
+ Migrating to AddPeriodicalToSeriesStatement (20110618091240)
1062
+  (0.1ms) begin transaction
1063
+  (0.4ms) ALTER TABLE "series_statements" ADD "periodical" boolean
1064
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110618091240')
1065
+  (0.7ms) commit transaction
1066
+ Migrating to AddEditionStringToManifestation (20110619064807)
1067
+  (0.0ms) begin transaction
1068
+  (0.6ms) ALTER TABLE "manifestations" ADD "edition_string" varchar(255)
1069
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110619064807')
1070
+  (0.6ms) commit transaction
1071
+ Migrating to AddBookstoreIdToItem (20110620173525)
1072
+  (0.0ms) begin transaction
1073
+  (0.4ms) ALTER TABLE "items" ADD "bookstore_id" integer
1074
+  (0.2ms) CREATE INDEX "index_items_on_bookstore_id" ON "items" ("bookstore_id")
1075
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110620173525')
1076
+  (0.8ms) commit transaction
1077
+ Migrating to CreateSeriesStatementMergeLists (20110627034940)
1078
+  (0.0ms) begin transaction
1079
+  (0.4ms) CREATE TABLE "series_statement_merge_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1080
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')
1081
+  (0.7ms) commit transaction
1082
+ Migrating to CreateSeriesStatementMerges (20110627035057)
1083
+  (0.0ms) begin transaction
1084
+  (0.3ms) CREATE TABLE "series_statement_merges" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer NOT NULL, "series_statement_merge_list_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1085
+  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")
1086
+  (0.2ms) CREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")
1087
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627035057')
1088
+  (0.7ms) commit transaction
1089
+ Migrating to CreateSeriesHasManifestations (20110820131417)
1090
+  (0.0ms) begin transaction
1091
+  (0.2ms) CREATE TABLE "series_has_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer, "manifestation_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1092
+  (0.1ms) CREATE INDEX "index_series_has_manifestations_on_series_statement_id" ON "series_has_manifestations" ("series_statement_id")
1093
+  (0.1ms) CREATE INDEX "index_series_has_manifestations_on_manifestation_id" ON "series_has_manifestations" ("manifestation_id")
1094
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110820131417')
1095
+  (0.8ms) commit transaction
1096
+ Migrating to AddLftAndRgtToClassification (20110913120629)
1097
+  (0.0ms) begin transaction
1098
+  (0.4ms) ALTER TABLE "classifications" ADD "lft" integer
1099
+  (0.2ms) ALTER TABLE "classifications" ADD "rgt" integer
1100
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
1101
+  (0.7ms) commit transaction
1102
+ Migrating to RenameManifestationNumberListToNumberString (20110916053430)
1103
+  (0.1ms) begin transaction
1104
+  (0.0ms) rollback transaction
1105
+ Connecting to database specified by database.yml
1106
+  (0.0ms) select sqlite_version(*)
1107
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
1108
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1109
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1110
+ Migrating to CreateAgents (1)
1111
+  (0.0ms) begin transaction
1112
+  (0.5ms) CREATE TABLE "agents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "last_name" varchar(255), "middle_name" varchar(255), "first_name" varchar(255), "last_name_transcription" varchar(255), "middle_name_transcription" varchar(255), "first_name_transcription" varchar(255), "corporate_name" varchar(255), "corporate_name_transcription" varchar(255), "full_name" varchar(255), "full_name_transcription" text, "full_name_alternative" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "zip_code_1" varchar(255), "zip_code_2" varchar(255), "address_1" text, "address_2" text, "address_1_note" text, "address_2_note" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number_1" varchar(255), "fax_number_2" varchar(255), "other_designation" text, "place" text, "postal_code" varchar(255), "street" text, "locality" text, "region" text, "date_of_birth" datetime, "date_of_death" datetime, "language_id" integer DEFAULT 1 NOT NULL, "country_id" integer DEFAULT 1 NOT NULL, "agent_type_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "email" text, "url" text)
1113
+  (0.1ms) CREATE INDEX "index_agents_on_language_id" ON "agents" ("language_id")
1114
+  (0.1ms) CREATE INDEX "index_agents_on_country_id" ON "agents" ("country_id")
1115
+  (0.1ms) CREATE INDEX "index_agents_on_required_role_id" ON "agents" ("required_role_id")
1116
+  (0.1ms) CREATE INDEX "index_agents_on_full_name" ON "agents" ("full_name")
1117
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('1')
1118
+  (0.7ms) commit transaction
1119
+ Migrating to CreateManifestations (5)
1120
+  (0.0ms) begin transaction
1121
+  (0.3ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "copyright_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL)
1122
+  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
1123
+  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
1124
+  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
1125
+  (0.2ms) CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
1126
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('5')
1127
+  (0.7ms) commit transaction
1128
+ Migrating to CreateItems (6)
1129
+  (0.0ms) begin transaction
1130
+  (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "call_number" varchar(255), "item_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "shelf_id" integer DEFAULT 1 NOT NULL, "include_supplements" boolean DEFAULT 'f' NOT NULL, "note" text, "url" varchar(255), "price" integer, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL)
1131
+  (0.2ms) CREATE INDEX "index_items_on_shelf_id" ON "items" ("shelf_id")
1132
+  (0.1ms) CREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")
1133
+  (0.1ms) CREATE INDEX "index_items_on_required_role_id" ON "items" ("required_role_id")
1134
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('6')
1135
+  (0.7ms) commit transaction
1136
+ Migrating to CreateOwns (12)
1137
+  (0.1ms) begin transaction
1138
+  (0.3ms) CREATE TABLE "owns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1139
+  (0.1ms) CREATE INDEX "index_owns_on_agent_id" ON "owns" ("agent_id")
1140
+  (0.1ms) CREATE INDEX "index_owns_on_item_id" ON "owns" ("item_id")
1141
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('12')
1142
+  (0.8ms) commit transaction
1143
+ Migrating to CreateCreates (15)
1144
+  (0.0ms) begin transaction
1145
+  (0.3ms) CREATE TABLE "creates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "work_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1146
+  (0.2ms) CREATE INDEX "index_creates_on_agent_id" ON "creates" ("agent_id")
1147
+  (0.1ms) CREATE INDEX "index_creates_on_work_id" ON "creates" ("work_id")
1148
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('15')
1149
+  (0.5ms) commit transaction
1150
+ Migrating to CreateSubjects (29)
1151
+  (0.0ms) begin transaction
1152
+  (0.4ms) CREATE TABLE "subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "use_term_id" integer, "term" varchar(255), "term_transcription" text, "subject_type_id" integer NOT NULL, "scope_note" text, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime, "deleted_at" datetime) 
1153
+  (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
1154
+  (0.1ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
1155
+  (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
1156
+  (0.1ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
1157
+  (0.1ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
1158
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
1159
+  (0.8ms) commit transaction
1160
+ Migrating to CreateProduces (47)
1161
+  (0.0ms) begin transaction
1162
+  (0.3ms) CREATE TABLE "produces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1163
+  (0.1ms) CREATE INDEX "index_produces_on_agent_id" ON "produces" ("agent_id")
1164
+  (0.1ms) CREATE INDEX "index_produces_on_manifestation_id" ON "produces" ("manifestation_id")
1165
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('47')
1166
+  (0.6ms) commit transaction
1167
+ Migrating to CreateCarrierTypes (73)
1168
+  (0.0ms) begin transaction
1169
+  (0.4ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1170
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
1171
+  (0.7ms) commit transaction
1172
+ Migrating to CreateFrequencies (112)
1173
+  (0.0ms) begin transaction
1174
+  (0.4ms) CREATE TABLE "frequencies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1175
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('112')
1176
+  (0.6ms) commit transaction
1177
+ Migrating to CreateFormOfWorks (117)
1178
+  (0.0ms) begin transaction
1179
+  (0.2ms) CREATE TABLE "form_of_works" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1180
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('117')
1181
+  (0.7ms) commit transaction
1182
+ Migrating to CreateDonates (125)
1183
+  (0.0ms) begin transaction
1184
+  (0.3ms) CREATE TABLE "donates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1185
+  (0.1ms) CREATE INDEX "index_donates_on_agent_id" ON "donates" ("agent_id")
1186
+  (0.1ms) CREATE INDEX "index_donates_on_item_id" ON "donates" ("item_id")
1187
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('125')
1188
+  (0.7ms) commit transaction
1189
+ Migrating to CreateClassifications (142)
1190
+  (0.0ms) begin transaction
1191
+  (0.4ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1192
+  (0.2ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
1193
+  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
1194
+  (0.2ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
1195
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
1196
+  (0.7ms) commit transaction
1197
+ Migrating to CreateSubjectHasClassifications (143)
1198
+  (0.0ms) begin transaction
1199
+  (0.3ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1200
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
1201
+  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
1202
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('143')
1203
+  (0.7ms) commit transaction
1204
+ Migrating to CreateClassificationTypes (144)
1205
+  (0.0ms) begin transaction
1206
+  (0.3ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1207
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
1208
+  (0.7ms) commit transaction
1209
+ Migrating to CreateSubjectHeadingTypes (145)
1210
+  (0.0ms) begin transaction
1211
+  (0.3ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1212
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
1213
+  (0.7ms) commit transaction
1214
+ Migrating to CreateSubjectTypes (146)
1215
+  (0.0ms) begin transaction
1216
+  (0.3ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1217
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
1218
+  (0.7ms) commit transaction
1219
+ Migrating to CreateWorkHasSubjects (20080606052544)
1220
+  (0.0ms) begin transaction
1221
+  (0.3ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1222
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")
1223
+  (0.1ms) CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
1224
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')
1225
+  (0.7ms) commit transaction
1226
+ Migrating to CreateRealizes (20080830154109)
1227
+  (0.0ms) begin transaction
1228
+  (0.3ms) CREATE TABLE "realizes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "expression_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1229
+  (0.1ms) CREATE INDEX "index_realizes_on_agent_id" ON "realizes" ("agent_id")
1230
+  (0.1ms) CREATE INDEX "index_realizes_on_expression_id" ON "realizes" ("expression_id")
1231
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830154109')
1232
+  (0.6ms) commit transaction
1233
+ Migrating to CreateExemplifies (20080830172106)
1234
+  (0.0ms) begin transaction
1235
+  (0.4ms) CREATE TABLE "exemplifies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "manifestation_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1236
+  (0.1ms) CREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")
1237
+  (0.9ms) CREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")
1238
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')
1239
+  (0.7ms) commit transaction
1240
+ Migrating to CreateAgentTypes (20080905191442)
1241
+  (0.0ms) begin transaction
1242
+  (0.4ms) CREATE TABLE "agent_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1243
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
1244
+  (0.6ms) commit transaction
1245
+ Migrating to CreateCountries (20081025083323)
1246
+  (0.0ms) begin transaction
1247
+  (0.7ms) CREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "alpha_2" varchar(255), "alpha_3" varchar(255), "numeric_3" varchar(255), "note" text, "position" integer) 
1248
+  (0.3ms) CREATE INDEX "index_countries_on_name" ON "countries" ("name")
1249
+  (0.1ms) CREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")
1250
+  (0.1ms) CREATE INDEX "index_countries_on_alpha_3" ON "countries" ("alpha_3")
1251
+  (0.2ms) CREATE INDEX "index_countries_on_numeric_3" ON "countries" ("numeric_3")
1252
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083323')
1253
+  (0.7ms) commit transaction
1254
+ Migrating to CreateLanguages (20081025083905)
1255
+  (0.2ms) begin transaction
1256
+  (0.4ms) CREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer) 
1257
+  (0.4ms) CREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")
1258
+  (0.1ms) CREATE INDEX "index_languages_on_iso_639_1" ON "languages" ("iso_639_1")
1259
+  (0.2ms) CREATE INDEX "index_languages_on_iso_639_2" ON "languages" ("iso_639_2")
1260
+  (0.1ms) CREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")
1261
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083905')
1262
+  (0.8ms) commit transaction
1263
+ Migrating to CreatePictureFiles (20081027150907)
1264
+  (0.0ms) begin transaction
1265
+  (0.3ms) CREATE TABLE "picture_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_attachable_id" integer, "picture_attachable_type" varchar(255), "content_type" varchar(255), "title" text, "thumbnail" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1266
+  (0.1ms) CREATE INDEX "index_picture_files_on_picture_attachable_id_and_type" ON "picture_files" ("picture_attachable_id", "picture_attachable_type")
1267
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081027150907')
1268
+  (0.6ms) commit transaction
1269
+ Migrating to CreateAgentImportFiles (20081028083142)
1270
+  (0.0ms) begin transaction
1271
+  (0.4ms) CREATE TABLE "agent_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "agent_import_file_name" varchar(255), "agent_import_content_type" varchar(255), "agent_import_file_size" integer, "agent_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1272
+  (0.1ms) CREATE INDEX "index_agent_import_files_on_parent_id" ON "agent_import_files" ("parent_id")
1273
+  (0.1ms) CREATE INDEX "index_agent_import_files_on_user_id" ON "agent_import_files" ("user_id")
1274
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083142')
1275
+  (0.7ms) commit transaction
1276
+ Migrating to CreateResourceImportFiles (20081028083208)
1277
+  (0.0ms) begin transaction
1278
+  (0.3ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1279
+  (0.1ms) CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
1280
+  (0.1ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
1281
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083208')
1282
+  (0.8ms) commit transaction
1283
+ Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
1284
+  (0.0ms) begin transaction
1285
+  (0.4ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1286
+  (0.1ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
1287
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
1288
+  (0.6ms) commit transaction
1289
+ Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
1290
+  (0.0ms) begin transaction
1291
+  (0.3ms) ALTER TABLE "picture_files" ADD "picture_file_name" varchar(255)
1292
+  (0.2ms) ALTER TABLE "picture_files" ADD "picture_content_type" varchar(255)
1293
+  (0.1ms) ALTER TABLE "picture_files" ADD "picture_file_size" integer
1294
+  (0.2ms) ALTER TABLE "picture_files" ADD "picture_updated_at" datetime
1295
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705133942')
1296
+  (0.8ms) commit transaction
1297
+ Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
1298
+  (0.0ms) begin transaction
1299
+  (0.4ms) ALTER TABLE "manifestations" ADD "attachment_file_name" varchar(255)
1300
+  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_content_type" varchar(255)
1301
+  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_file_size" integer
1302
+  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_updated_at" datetime
1303
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705212043')
1304
+  (0.7ms) commit transaction
1305
+ Migrating to CreateExtents (20090719201843)
1306
+  (0.0ms) begin transaction
1307
+  (0.3ms) CREATE TABLE "extents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1308
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090719201843')
1309
+  (0.7ms) commit transaction
1310
+ Migrating to CreateMediumOfPerformances (20090720091106)
1311
+  (0.0ms) begin transaction
1312
+  (0.3ms) CREATE TABLE "medium_of_performances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1313
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091106')
1314
+  (0.7ms) commit transaction
1315
+ Migrating to CreateContentTypes (20090720091429)
1316
+  (0.0ms) begin transaction
1317
+  (0.3ms) CREATE TABLE "content_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1318
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091429')
1319
+  (0.6ms) commit transaction
1320
+ Migrating to CreateAgentRelationshipTypes (20090812151902)
1321
+  (0.0ms) begin transaction
1322
+  (0.3ms) CREATE TABLE "agent_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1323
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090812151902')
1324
+  (0.7ms) commit transaction
1325
+ Migrating to AddDcndlSchema (20091012101112)
1326
+  (0.0ms) begin transaction
1327
+  (0.3ms) ALTER TABLE "manifestations" ADD "title_alternative_transcription" text
1328
+  (0.2ms) ALTER TABLE "agents" ADD "full_name_alternative_transcription" text
1329
+  (0.2ms) ALTER TABLE "manifestations" ADD "description" text
1330
+  (0.2ms) ALTER TABLE "manifestations" ADD "abstract" text
1331
+  (0.3ms) ALTER TABLE "manifestations" ADD "available_at" datetime
1332
+  (0.3ms) ALTER TABLE "manifestations" ADD "valid_until" datetime
1333
+  (0.3ms) ALTER TABLE "manifestations" ADD "date_submitted" datetime
1334
+  (0.3ms) ALTER TABLE "manifestations" ADD "date_accepted" datetime
1335
+  (0.3ms) ALTER TABLE "manifestations" ADD "date_caputured" datetime
1336
+  (0.6ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime)
1337
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_date_of_publication" ON "altered_manifestations" ("date_of_publication")
1338
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
1339
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
1340
+  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
1341
+  (0.1ms) SELECT * FROM "manifestations"
1342
+  (0.4ms) DROP TABLE "manifestations"
1343
+  (0.2ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime) 
1344
+  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
1345
+  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
1346
+  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
1347
+  (0.1ms) CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
1348
+  (0.1ms) SELECT * FROM "altered_manifestations"
1349
+  (0.4ms) DROP TABLE "altered_manifestations"
1350
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091012101112')
1351
+  (1.1ms) commit transaction
1352
+ Migrating to CreateLicenses (20091025080447)
1353
+  (0.0ms) begin transaction
1354
+  (0.3ms) CREATE TABLE "licenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" varchar(255), "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1355
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091025080447')
1356
+  (0.8ms) commit transaction
1357
+ Migrating to CreateVersions (20091202124834)
1358
+  (0.0ms) begin transaction
1359
+  (0.3ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar(255) NOT NULL, "item_id" integer NOT NULL, "event" varchar(255) NOT NULL, "whodunnit" varchar(255), "object" text, "created_at" datetime) 
1360
+  (0.1ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
1361
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091202124834')
1362
+  (0.7ms) commit transaction
1363
+ Migrating to CreateSeriesStatements (20091214131723)
1364
+  (0.0ms) begin transaction
1365
+  (0.3ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1366
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091214131723')
1367
+  (0.6ms) commit transaction
1368
+ Migrating to CreateImportRequests (20100129142347)
1369
+  (0.0ms) begin transaction
1370
+  (0.4ms) CREATE TABLE "import_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "isbn" varchar(255), "manifestation_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1371
+  (0.1ms) CREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")
1372
+  (0.1ms) CREATE INDEX "index_import_requests_on_manifestation_id" ON "import_requests" ("manifestation_id")
1373
+  (0.1ms) CREATE INDEX "index_import_requests_on_user_id" ON "import_requests" ("user_id")
1374
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100129142347')
1375
+  (1.1ms) commit transaction
1376
+ Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
1377
+  (0.0ms) begin transaction
1378
+  (0.2ms) CREATE TEMPORARY TABLE "altered_series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1379
+  (0.1ms) SELECT * FROM "series_statements"
1380
+  (0.2ms) DROP TABLE "series_statements"
1381
+  (0.1ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1382
+  (0.0ms) SELECT * FROM "altered_series_statements"
1383
+  (0.1ms) DROP TABLE "altered_series_statements"
1384
+  (0.2ms) ALTER TABLE "series_statements" ADD "title_transcription" text
1385
+  (0.1ms) ALTER TABLE "series_statements" ADD "title_alternative" text
1386
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100223121519')
1387
+  (0.7ms) commit transaction
1388
+ Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
1389
+  (0.1ms) begin transaction
1390
+  (0.6ms) ALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)
1391
+  (0.3ms) CREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")
1392
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100321235924')
1393
+  (0.8ms) commit transaction
1394
+ Migrating to CreateManifestationRelationships (20100525124311)
1395
+  (0.0ms) begin transaction
1396
+  (0.3ms) CREATE TABLE "manifestation_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "manifestation_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1397
+  (0.1ms) CREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")
1398
+  (0.1ms) CREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")
1399
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100525124311')
1400
+  (0.7ms) commit transaction
1401
+ Migrating to CreateAgentRelationships (20100606073747)
1402
+  (0.0ms) begin transaction
1403
+  (0.4ms) CREATE TABLE "agent_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "agent_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1404
+  (0.2ms) CREATE INDEX "index_agent_relationships_on_parent_id" ON "agent_relationships" ("parent_id")
1405
+  (0.2ms) CREATE INDEX "index_agent_relationships_on_child_id" ON "agent_relationships" ("child_id")
1406
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100606073747')
1407
+  (0.8ms) commit transaction
1408
+ Migrating to CreateManifestationRelationshipTypes (20100607044753)
1409
+  (0.0ms) begin transaction
1410
+  (0.5ms) CREATE TABLE "manifestation_relationship_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1411
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100607044753')
1412
+  (0.6ms) commit transaction
1413
+ Migrating to AddPositionToAgentRelationship (20100814091104)
1414
+  (0.0ms) begin transaction
1415
+  (0.4ms) ALTER TABLE "manifestation_relationships" ADD "position" integer
1416
+  (0.2ms) ALTER TABLE "agent_relationships" ADD "position" integer
1417
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100814091104')
1418
+  (0.5ms) commit transaction
1419
+ Migrating to CreateResourceImportResults (20100925043847)
1420
+  (0.0ms) begin transaction
1421
+  (0.3ms) CREATE TABLE "resource_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_import_file_id" integer, "manifestation_id" integer, "item_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1422
+  (0.1ms) CREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")
1423
+  (0.1ms) CREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")
1424
+  (0.1ms) CREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")
1425
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925043847')
1426
+  (0.7ms) commit transaction
1427
+ Migrating to CreateAgentImportResults (20100925074559)
1428
+  (0.0ms) begin transaction
1429
+  (0.3ms) CREATE TABLE "agent_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_import_file_id" integer, "agent_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1430
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925074559')
1431
+  (0.7ms) commit transaction
1432
+ Migrating to AddAcquiredAtToItem (20101212070145)
1433
+  (0.1ms) begin transaction
1434
+  (0.4ms) ALTER TABLE "items" ADD "acquired_at" datetime
1435
+  (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101212070145')
1436
+  (0.7ms) commit transaction
1437
+ Migrating to AddPubDateToManifestation (20110301035123)
1438
+  (0.2ms) begin transaction
1439
+  (0.5ms) ALTER TABLE "manifestations" ADD "pub_date" varchar(255)
1440
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301035123')
1441
+  (0.7ms) commit transaction
1442
+ Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
1443
+  (0.1ms) begin transaction
1444
+  (0.5ms) ALTER TABLE "agents" ADD "birth_date" varchar(255)
1445
+  (0.2ms) ALTER TABLE "agents" ADD "death_date" varchar(255)
1446
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301121550')
1447
+  (0.7ms) commit transaction
1448
+ Migrating to AddIssnToSeriesStatement (20110425133109)
1449
+  (0.0ms) begin transaction
1450
+  (0.5ms) ALTER TABLE "series_statements" ADD "issn" varchar(255)
1451
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110425133109')
1452
+  (0.7ms) commit transaction
1453
+ Migrating to AddEditModeToResourceImportFile (20110603184217)
1454
+  (0.0ms) begin transaction
1455
+  (0.3ms) ALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)
1456
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110603184217')
1457
+  (0.7ms) commit transaction
1458
+ Migrating to AddPeriodicalToSeriesStatement (20110618091240)
1459
+  (0.0ms) begin transaction
1460
+  (0.4ms) ALTER TABLE "series_statements" ADD "periodical" boolean
1461
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110618091240')
1462
+  (0.7ms) commit transaction
1463
+ Migrating to AddEditionStringToManifestation (20110619064807)
1464
+  (0.0ms) begin transaction
1465
+  (0.5ms) ALTER TABLE "manifestations" ADD "edition_string" varchar(255)
1466
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110619064807')
1467
+  (0.6ms) commit transaction
1468
+ Migrating to AddBookstoreIdToItem (20110620173525)
1469
+  (0.0ms) begin transaction
1470
+  (0.5ms) ALTER TABLE "items" ADD "bookstore_id" integer
1471
+  (0.1ms) CREATE INDEX "index_items_on_bookstore_id" ON "items" ("bookstore_id")
1472
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110620173525')
1473
+  (0.9ms) commit transaction
1474
+ Migrating to CreateSeriesStatementMergeLists (20110627034940)
1475
+  (0.0ms) begin transaction
1476
+  (0.3ms) CREATE TABLE "series_statement_merge_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1477
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')
1478
+  (0.6ms) commit transaction
1479
+ Migrating to CreateSeriesStatementMerges (20110627035057)
1480
+  (0.0ms) begin transaction
1481
+  (0.3ms) CREATE TABLE "series_statement_merges" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer NOT NULL, "series_statement_merge_list_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1482
+  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")
1483
+  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")
1484
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627035057')
1485
+  (0.9ms) commit transaction
1486
+ Migrating to CreateSeriesHasManifestations (20110820131417)
1487
+  (0.0ms) begin transaction
1488
+  (0.3ms) CREATE TABLE "series_has_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer, "manifestation_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1489
+  (0.2ms) CREATE INDEX "index_series_has_manifestations_on_series_statement_id" ON "series_has_manifestations" ("series_statement_id")
1490
+  (0.1ms) CREATE INDEX "index_series_has_manifestations_on_manifestation_id" ON "series_has_manifestations" ("manifestation_id")
1491
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110820131417')
1492
+  (0.9ms) commit transaction
1493
+ Migrating to AddLftAndRgtToClassification (20110913120629)
1494
+  (0.1ms) begin transaction
1495
+  (0.4ms) ALTER TABLE "classifications" ADD "lft" integer
1496
+  (0.2ms) ALTER TABLE "classifications" ADD "rgt" integer
1497
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
1498
+  (0.6ms) commit transaction
1499
+ Migrating to RenameManifestationNumberListToNumberString (20110916053430)
1500
+  (0.0ms) begin transaction
1501
+  (0.0ms) rollback transaction
1502
+ Connecting to database specified by database.yml
1503
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1504
+ Migrating to CreateAgents (1)
1505
+ Migrating to DeviseCreateUsers (2)
1506
+  (0.0ms) select sqlite_version(*)
1507
+  (0.1ms) begin transaction
1508
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1509
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
1510
+  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
1511
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('2')
1512
+  (0.8ms) commit transaction
1513
+ Migrating to CreateManifestations (5)
1514
+ Migrating to CreateItems (6)
1515
+ Migrating to CreateOwns (12)
1516
+ Migrating to CreateCreates (15)
1517
+ Migrating to CreateRoles (41)
1518
+  (0.0ms) begin transaction
1519
+  (0.3ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" varchar(255), "note" text, "created_at" datetime, "updated_at" datetime, "score" integer DEFAULT 0 NOT NULL, "position" integer)
1520
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('41')
1521
+  (0.7ms) commit transaction
1522
+ Migrating to CreateProduces (47)
1523
+ Migrating to CreateLibraries (59)
1524
+  (0.0ms) begin transaction
1525
+  (0.4ms) CREATE TABLE "libraries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_display_name" varchar(255) NOT NULL, "zip_code" varchar(255), "street" text, "locality" text, "region" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number" varchar(255), "note" text, "call_number_rows" integer DEFAULT 1 NOT NULL, "call_number_delimiter" varchar(255) DEFAULT '|' NOT NULL, "library_group_id" integer DEFAULT 1 NOT NULL, "users_count" integer DEFAULT 0 NOT NULL, "position" integer, "country_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime)
1526
+  (0.1ms) CREATE INDEX "index_libraries_on_library_group_id" ON "libraries" ("library_group_id")
1527
+  (0.3ms) CREATE UNIQUE INDEX "index_libraries_on_name" ON "libraries" ("name")
1528
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('59')
1529
+  (0.8ms) commit transaction
1530
+ Migrating to CreateShelves (69)
1531
+  (0.0ms) begin transaction
1532
+  (0.4ms) CREATE TABLE "shelves" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "library_id" integer DEFAULT 1 NOT NULL, "items_count" integer DEFAULT 0 NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime)
1533
+  (0.1ms) CREATE INDEX "index_shelves_on_library_id" ON "shelves" ("library_id")
1534
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('69')
1535
+  (0.7ms) commit transaction
1536
+ Migrating to CreateCarrierTypes (73)
1537
+ Migrating to CreateUserGroups (77)
1538
+  (0.0ms) begin transaction
1539
+  (0.4ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime) 
1540
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('77')
1541
+  (0.7ms) commit transaction
1542
+ Migrating to CreateLibraryGroups (80)
1543
+  (0.0ms) begin transaction
1544
+  (0.3ms) CREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "my_networks" text, "login_banner" text, "note" text, "country_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1545
+  (0.1ms) CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
1546
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('80')
1547
+  (0.8ms) commit transaction
1548
+ Migrating to CreateFrequencies (112)
1549
+ Migrating to CreateFormOfWorks (117)
1550
+ Migrating to CreateBaskets (120)
1551
+  (0.0ms) begin transaction
1552
+  (0.3ms) CREATE TABLE "baskets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "note" text, "lock_version" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1553
+  (0.2ms) CREATE INDEX "index_baskets_on_user_id" ON "baskets" ("user_id")
1554
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('120')
1555
+  (0.8ms) commit transaction
1556
+ Migrating to CreateBookstores (124)
1557
+  (0.0ms) begin transaction
1558
+  (0.2ms) CREATE TABLE "bookstores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text NOT NULL, "zip_code" varchar(255), "address" text, "note" text, "telephone_number" varchar(255), "fax_number" varchar(255), "url" varchar(255), "position" integer, "deleted_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1559
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('124')
1560
+  (0.7ms) commit transaction
1561
+ Migrating to CreateDonates (125)
1562
+ Migrating to CreateRequestStatusTypes (130)
1563
+  (0.0ms) begin transaction
1564
+  (0.3ms) CREATE TABLE "request_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1565
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('130')
1566
+  (0.7ms) commit transaction
1567
+ Migrating to CreateRequestTypes (131)
1568
+  (0.1ms) begin transaction
1569
+  (0.5ms) CREATE TABLE "request_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1570
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('131')
1571
+  (0.7ms) commit transaction
1572
+ Migrating to CreateRealizes (20080830154109)
1573
+ Migrating to CreateExemplifies (20080830172106)
1574
+ Migrating to CreateAgentTypes (20080905191442)
1575
+ Migrating to CreateSubscriptions (20081006090811)
1576
+  (0.0ms) begin transaction
1577
+  (0.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text NOT NULL, "note" text, "user_id" integer, "order_list_id" integer, "deleted_at" datetime, "subscribes_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1578
+  (0.2ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
1579
+  (0.2ms) CREATE INDEX "index_subscriptions_on_order_list_id" ON "subscriptions" ("order_list_id")
1580
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081006090811')
1581
+  (0.6ms) commit transaction
1582
+ Migrating to CreateSubscribes (20081006093246)
1583
+  (0.0ms) begin transaction
1584
+  (0.5ms) CREATE TABLE "subscribes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscription_id" integer NOT NULL, "work_id" integer NOT NULL, "start_at" datetime NOT NULL, "end_at" datetime NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1585
+  (0.2ms) CREATE INDEX "index_subscribes_on_subscription_id" ON "subscribes" ("subscription_id")
1586
+  (0.2ms) CREATE INDEX "index_subscribes_on_work_id" ON "subscribes" ("work_id")
1587
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081006093246')
1588
+  (0.7ms) commit transaction
1589
+ Migrating to CreateSearchEngines (20081023092436)
1590
+  (0.0ms) begin transaction
1591
+  (0.6ms) CREATE TABLE "search_engines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "url" varchar(255) NOT NULL, "base_url" text NOT NULL, "http_method" text NOT NULL, "query_param" text NOT NULL, "additional_param" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1592
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081023092436')
1593
+  (0.6ms) commit transaction
1594
+ Migrating to CreateCountries (20081025083323)
1595
+ Migrating to CreateLanguages (20081025083905)
1596
+ Migrating to CreatePictureFiles (20081027150907)
1597
+ Migrating to CreateAgentImportFiles (20081028083142)
1598
+ Migrating to CreateResourceImportFiles (20081028083208)
1599
+ Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
1600
+ Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
1601
+ Migrating to CreateExtents (20090719201843)
1602
+ Migrating to CreateMediumOfPerformances (20090720091106)
1603
+ Migrating to CreateContentTypes (20090720091429)
1604
+ Migrating to CreateAgentRelationshipTypes (20090812151902)
1605
+ Migrating to AddDcndlSchema (20091012101112)
1606
+ Migrating to CreateLicenses (20091025080447)
1607
+ Migrating to CreateVersions (20091202124834)
1608
+ Migrating to CreateSeriesStatements (20091214131723)
1609
+ Migrating to CreateImportRequests (20100129142347)
1610
+ Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
1611
+  (0.0ms) begin transaction
1612
+  (0.4ms) ALTER TABLE "library_groups" ADD "admin_networks" text
1613
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100211105551')
1614
+  (0.5ms) commit transaction
1615
+ Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
1616
+ Migrating to AddOpeningHourToLibrary (20100314190054)
1617
+  (0.0ms) begin transaction
1618
+  (0.4ms) ALTER TABLE "libraries" ADD "opening_hour" text
1619
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100314190054')
1620
+  (0.6ms) commit transaction
1621
+ Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
1622
+ Migrating to CreateManifestationRelationships (20100525124311)
1623
+ Migrating to CreateUserHasRoles (20100606065209)
1624
+  (0.0ms) begin transaction
1625
+  (0.3ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1626
+  (0.1ms) CREATE INDEX "index_user_has_roles_on_user_id" ON "user_has_roles" ("user_id")
1627
+  (0.1ms) CREATE INDEX "index_user_has_roles_on_role_id" ON "user_has_roles" ("role_id")
1628
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100606065209')
1629
+  (0.6ms) commit transaction
1630
+ Migrating to CreateAgentRelationships (20100606073747)
1631
+ Migrating to CreateManifestationRelationshipTypes (20100607044753)
1632
+ Migrating to AddPositionToAgentRelationship (20100814091104)
1633
+ Migrating to CreateResourceImportResults (20100925043847)
1634
+ Migrating to CreateAgentImportResults (20100925074559)
1635
+ Migrating to AddAcquiredAtToItem (20101212070145)
1636
+ Migrating to AddUrlToLibraryGroup (20110222073537)
1637
+  (0.0ms) begin transaction
1638
+  (0.6ms) ALTER TABLE "library_groups" ADD "url" varchar(255) DEFAULT 'http://localhost:3000/'
1639
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110222073537')
1640
+  (0.7ms) commit transaction
1641
+ Migrating to AddPubDateToManifestation (20110301035123)
1642
+ Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
1643
+ Migrating to AddValidPeriodForNewUserToUserGroup (20110318183304)
1644
+  (0.0ms) begin transaction
1645
+  (0.4ms) ALTER TABLE "user_groups" ADD "valid_period_for_new_user" integer DEFAULT 0 NOT NULL
1646
+  (0.4ms) ALTER TABLE "user_groups" ADD "expired_at" datetime
1647
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110318183304')
1648
+  (0.7ms) commit transaction
1649
+ Migrating to AddEditModeToResourceImportFile (20110603184217)
1650
+ Migrating to AddEditionStringToManifestation (20110619064807)
1651
+ Migrating to AddBookstoreIdToItem (20110620173525)
1652
+ Migrating to CreateSeriesStatementMergeLists (20110627034940)
1653
+ Migrating to CreateSeriesStatementMerges (20110627035057)
1654
+ Migrating to AddVolumeNumberToManifestation (20110916091020)
1655
+  (0.1ms) begin transaction
1656
+  (0.8ms) ALTER TABLE "manifestations" ADD "volume_number" integer
1657
+  (0.5ms) ALTER TABLE "manifestations" ADD "issue_number" integer
1658
+  (0.2ms) ALTER TABLE "manifestations" ADD "serial_number" integer
1659
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916091020')
1660
+  (0.7ms) commit transaction
1661
+ Migrating to AddManifestaitonIdToSeriesStatement (20110916103953)
1662
+  (0.1ms) begin transaction
1663
+  (0.6ms) ALTER TABLE "series_statements" ADD "manifestation_id" integer
1664
+  (0.4ms) CREATE INDEX "index_series_statements_on_manifestation_id" ON "series_statements" ("manifestation_id")
1665
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916103953')
1666
+  (3.4ms) commit transaction
1667
+ Migrating to AddNoteToSeriesStatement (20110918162329)
1668
+  (0.1ms) begin transaction
1669
+  (0.4ms) ALTER TABLE "series_statements" ADD "note" text
1670
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110918162329')
1671
+  (0.6ms) commit transaction
1672
+ Migrating to CreateCreateTypes (20111124110059)
1673
+  (0.0ms) begin transaction
1674
+  (0.3ms) CREATE TABLE "create_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1675
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110059')
1676
+  (0.7ms) commit transaction
1677
+ Migrating to CreateRealizeTypes (20111124110319)
1678
+  (0.0ms) begin transaction
1679
+  (0.3ms) CREATE TABLE "realize_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1680
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110319')
1681
+  (0.6ms) commit transaction
1682
+ Migrating to CreateProduceTypes (20111124110355)
1683
+  (0.0ms) begin transaction
1684
+  (0.3ms) CREATE TABLE "produce_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1685
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110355')
1686
+  (0.6ms) commit transaction
1687
+ Migrating to AddCreateTypeToCreate (20111124112131)
1688
+  (0.0ms) begin transaction
1689
+  (0.4ms) ALTER TABLE "creates" ADD "create_type_id" integer
1690
+  (0.2ms) ALTER TABLE "realizes" ADD "realize_type_id" integer
1691
+  (0.2ms) ALTER TABLE "produces" ADD "produce_type_id" integer
1692
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124112131')
1693
+  (0.7ms) commit transaction
1694
+ Migrating to AddIsilToLibrary (20120105074911)
1695
+  (0.1ms) begin transaction
1696
+  (0.4ms) ALTER TABLE "libraries" ADD "isil" varchar(255)
1697
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120105074911')
1698
+  (0.7ms) commit transaction
1699
+ Migrating to AddTitleSubseriesTranscriptionToSeriesStatement (20120125152919)
1700
+  (0.0ms) begin transaction
1701
+  (0.5ms) ALTER TABLE "series_statements" ADD "title_subseries_transcription" text
1702
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120125152919')
1703
+  (0.6ms) commit transaction
1704
+ Migrating to CreateBudgetTypes (20120129014038)
1705
+  (0.1ms) begin transaction
1706
+  (0.5ms) CREATE TABLE "budget_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1707
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120129014038')
1708
+  (0.6ms) commit transaction
1709
+ Migrating to AddBudgetTypeIdToItem (20120129020544)
1710
+  (0.1ms) begin transaction
1711
+  (0.6ms) ALTER TABLE "items" ADD "budget_type_id" integer
1712
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120129020544')
1713
+  (0.6ms) commit transaction
1714
+ Migrating to AddContentTypeIdToManifestation (20120319120638)
1715
+  (0.1ms) begin transaction
1716
+  (0.7ms) ALTER TABLE "manifestations" ADD "content_type_id" integer DEFAULT 1
1717
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120319120638')
1718
+  (0.7ms) commit transaction
1719
+ Migrating to CreateAccepts (20120319173203)
1720
+  (0.0ms) begin transaction
1721
+  (0.4ms) CREATE TABLE "accepts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "basket_id" integer, "item_id" integer, "librarian_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1722
+  (0.1ms) CREATE INDEX "index_accepts_on_basket_id" ON "accepts" ("basket_id")
1723
+  (0.4ms) CREATE INDEX "index_accepts_on_item_id" ON "accepts" ("item_id")
1724
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120319173203')
1725
+  (1.2ms) commit transaction
1726
+ Migrating to AddYearOfPublicationToManifestation (20120410104851)
1727
+  (0.1ms) begin transaction
1728
+  (0.7ms) ALTER TABLE "manifestations" ADD "year_of_publication" integer
1729
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120410104851')
1730
+  (0.7ms) commit transaction
1731
+ Migrating to AddPictureMetaToPictureFile (20120413072700)
1732
+  (0.0ms) begin transaction
1733
+  (0.4ms) ALTER TABLE "picture_files" ADD "picture_meta" text
1734
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413072700')
1735
+  (0.6ms) commit transaction
1736
+ Migrating to AddFingerprintToPictureFile (20120413100352)
1737
+  (0.0ms) begin transaction
1738
+  (0.7ms) ALTER TABLE "picture_files" ADD "picture_fingerprint" varchar(255)
1739
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413100352')
1740
+  (1.2ms) commit transaction
1741
+ Migrating to AddFingerprintToResourceImportFile (20120413161340)
1742
+  (0.1ms) begin transaction
1743
+  (16.1ms) ALTER TABLE "resource_import_files" ADD "resource_import_fingerprint" varchar(255)
1744
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161340')
1745
+  (0.6ms) commit transaction
1746
+ Migrating to AddFingerprintToAgentImportFile (20120413161403)
1747
+  (0.0ms) begin transaction
1748
+  (0.3ms) ALTER TABLE "agent_import_files" ADD "agent_import_fingerprint" varchar(255)
1749
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161403')
1750
+  (0.7ms) commit transaction
1751
+ Migrating to AddErrorMessageToResourceImportFile (20120413170705)
1752
+  (0.0ms) begin transaction
1753
+  (0.3ms) ALTER TABLE "resource_import_files" ADD "error_message" text
1754
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170705')
1755
+  (0.8ms) commit transaction
1756
+ Migrating to AddErrorMessageToAgentImportFile (20120413170720)
1757
+  (0.0ms) begin transaction
1758
+  (0.4ms) ALTER TABLE "agent_import_files" ADD "error_message" text
1759
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170720')
1760
+  (0.6ms) commit transaction
1761
+ Migrating to AddAttachmentMetaToManifestation (20120415164821)
1762
+  (0.1ms) begin transaction
1763
+  (0.7ms) ALTER TABLE "manifestations" ADD "attachment_meta" text
1764
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120415164821')
1765
+  (0.6ms) commit transaction
1766
+ Migrating to AddMonthOfPublicationToManifestation (20120418081407)
1767
+  (0.0ms) begin transaction
1768
+  (0.6ms) ALTER TABLE "manifestations" ADD "month_of_publication" integer
1769
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418081407')
1770
+  (0.5ms) commit transaction
1771
+ Migrating to AddClosedToShelf (20120510140958)
1772
+  (0.0ms) begin transaction
1773
+  (0.4ms) ALTER TABLE "shelves" ADD "closed" boolean DEFAULT 'f' NOT NULL
1774
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120510140958')
1775
+  (0.5ms) commit transaction
1776
+ Migrating to AddAgentIdentifierToAgent (20120511072422)
1777
+  (0.0ms) begin transaction
1778
+  (0.8ms) ALTER TABLE "agents" ADD "agent_identifier" varchar(255)
1779
+  (0.2ms) CREATE INDEX "index_agents_on_agent_identifier" ON "agents" ("agent_identifier")
1780
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120511072422')
1781
+  (0.6ms) commit transaction
1782
+ Migrating to AddEditModeToAgentImportFile (20120602141129)
1783
+  (0.0ms) begin transaction
1784
+  (0.4ms) ALTER TABLE "agent_import_files" ADD "edit_mode" varchar(255)
1785
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120602141129')
1786
+  (0.5ms) commit transaction
1787
+ Migrating to AddFulltextContentToManifestation (20121116031206)
1788
+  (0.0ms) begin transaction
1789
+  (0.4ms) ALTER TABLE "manifestations" ADD "fulltext_content" boolean
1790
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121116031206')
1791
+  (0.6ms) commit transaction
1792
+ Migrating to AddDoiToManifestation (20121116033446)
1793
+  (0.0ms) begin transaction
1794
+  (0.4ms) ALTER TABLE "manifestations" ADD "doi" varchar(255)
1795
+  (0.1ms) CREATE INDEX "index_manifestations_on_doi" ON "manifestations" ("doi")
1796
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121116033446')
1797
+  (0.7ms) commit transaction
1798
+ Migrating to AddAdditionalAttributesToUser (20130221154434)
1799
+  (0.0ms) begin transaction
1800
+  (0.3ms) ALTER TABLE "users" ADD "username" varchar(255)
1801
+  (0.2ms) ALTER TABLE "users" ADD "deleted_at" datetime
1802
+  (0.1ms) ALTER TABLE "users" ADD "expired_at" datetime
1803
+  (0.2ms) ALTER TABLE "users" ADD "failed_attempts" integer DEFAULT 0
1804
+  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar(255)
1805
+  (0.1ms) ALTER TABLE "users" ADD "locked_at" datetime
1806
+  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
1807
+  (0.3ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
1808
+  (0.2ms) CREATE UNIQUE INDEX "index_users_on_unlock_token" ON "users" ("unlock_token")
1809
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130221154434')
1810
+  (0.7ms) commit transaction
1811
+ Migrating to AddLatitudeAndLongitudeToLibrary (20130412083556)
1812
+  (0.0ms) begin transaction
1813
+  (0.5ms) ALTER TABLE "libraries" ADD "latitude" float
1814
+  (0.2ms) ALTER TABLE "libraries" ADD "longitude" float
1815
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130412083556')
1816
+  (0.8ms) commit transaction
1817
+ Migrating to AddPeriodicalToManifestation (20130421093852)
1818
+  (0.0ms) begin transaction
1819
+  (0.4ms) ALTER TABLE "manifestations" ADD "periodical" boolean
1820
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421093852')
1821
+  (0.7ms) commit transaction
1822
+ Migrating to AddCreatorStringToSeriesStatement (20130421155019)
1823
+  (0.1ms) begin transaction
1824
+  (0.7ms) ALTER TABLE "series_statements" ADD "creator_string" text
1825
+  (0.3ms) ALTER TABLE "series_statements" ADD "volume_number_string" text
1826
+  (0.3ms) ALTER TABLE "series_statements" ADD "volume_number_transcription_string" text
1827
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421155019')
1828
+  (0.6ms) commit transaction
1829
+ Migrating to AddSeriesMasterToSeriesStatement (20130421164124)
1830
+  (0.1ms) begin transaction
1831
+  (0.6ms) ALTER TABLE "series_statements" ADD "series_master" boolean
1832
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421164124')
1833
+  (0.9ms) commit transaction
1834
+ Migrating to AddRootManifestationIdToSeriesStatement (20130429020822)
1835
+  (0.0ms) begin transaction
1836
+  (0.6ms) ALTER TABLE "series_statements" ADD "root_manifestation_id" integer
1837
+  (0.2ms) CREATE INDEX "index_series_statements_on_root_manifestation_id" ON "series_statements" ("root_manifestation_id")
1838
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130429020822')
1839
+  (0.7ms) commit transaction
1840
+ Migrating to CreateIdentifierTypes (20130506175303)
1841
+  (0.0ms) begin transaction
1842
+  (0.7ms) CREATE TABLE "identifier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1843
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130506175303')
1844
+  (0.8ms) commit transaction
1845
+ Migrating to CreateIdentifiers (20130506175834)
1846
+  (0.0ms) begin transaction
1847
+  (0.5ms) CREATE TABLE "identifiers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar(255) NOT NULL, "identifier_type_id" integer NOT NULL, "manifestation_id" integer, "primary" boolean, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1848
+  (0.2ms) CREATE INDEX "index_identifiers_on_body_and_identifier_type_id" ON "identifiers" ("body", "identifier_type_id")
1849
+  (0.1ms) CREATE INDEX "index_identifiers_on_manifestation_id" ON "identifiers" ("manifestation_id")
1850
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130506175834')
1851
+  (0.6ms) commit transaction
1852
+ Migrating to AddStatementOfResponsibilityToManifestation (20130509185724)
1853
+  (0.0ms) begin transaction
1854
+  (0.8ms) ALTER TABLE "manifestations" ADD "statement_of_responsibility" text
1855
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130509185724')
1856
+  (1.0ms) commit transaction
1857
+ Migrating to CreateUserImportFiles (20140110122216)
1858
+  (0.1ms) begin transaction
1859
+  (0.4ms) CREATE TABLE "user_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "note" text, "executed_at" datetime, "user_import_file_name" varchar(255), "user_import_content_type" varchar(255), "user_import_file_size" varchar(255), "user_import_updated_at" datetime, "user_import_fingerprint" varchar(255), "edit_mode" varchar(255), "error_message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1860
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140110122216')
1861
+  (0.7ms) commit transaction
1862
+ Migrating to CreateUserImportResults (20140110131010)
1863
+  (0.0ms) begin transaction
1864
+  (0.3ms) CREATE TABLE "user_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_import_file_id" integer, "user_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1865
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140110131010')
1866
+  (0.7ms) commit transaction
1867
+ Migrating to CreateProfiles (20140122054321)
1868
+  (0.0ms) begin transaction
1869
+  (0.4ms) CREATE TABLE "profiles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_group_id" integer, "library_id" integer, "locale" varchar(255), "user_number" varchar(255), "full_name" text, "note" text, "keyword_list" text, "required_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1870
+  (0.1ms) CREATE INDEX "index_profiles_on_user_id" ON "profiles" ("user_id")
1871
+  (0.4ms) CREATE UNIQUE INDEX "index_profiles_on_user_number" ON "profiles" ("user_number")
1872
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140122054321')
1873
+  (0.8ms) commit transaction
1874
+ Migrating to CreateResourceImportFileTransitions (20140519170214)
1875
+  (0.0ms) begin transaction
1876
+  (0.5ms) CREATE TABLE "resource_import_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "resource_import_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1877
+  (0.3ms) CREATE INDEX "index_resource_import_file_transitions_on_file_id" ON "resource_import_file_transitions" ("resource_import_file_id")
1878
+  (0.6ms) CREATE UNIQUE INDEX "index_resource_import_file_transitions_on_sort_key_and_file_id" ON "resource_import_file_transitions" ("sort_key", "resource_import_file_id")
1879
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140519170214')
1880
+  (0.7ms) commit transaction
1881
+ Migrating to CreateImportRequestTransitions (20140519171220)
1882
+  (0.0ms) begin transaction
1883
+  (0.3ms) CREATE TABLE "import_request_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "import_request_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1884
+  (0.1ms) CREATE INDEX "index_import_request_transitions_on_import_request_id" ON "import_request_transitions" ("import_request_id")
1885
+  (0.4ms) CREATE UNIQUE INDEX "index_import_request_transitions_on_sort_key_and_request_id" ON "import_request_transitions" ("sort_key", "import_request_id")
1886
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140519171220')
1887
+  (0.8ms) commit transaction
1888
+ Migrating to CreateAgentImportFileTransitions (20140524020735)
1889
+  (0.0ms) begin transaction
1890
+  (0.3ms) CREATE TABLE "agent_import_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "agent_import_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1891
+  (0.2ms) CREATE INDEX "index_agent_import_file_transitions_on_agent_import_file_id" ON "agent_import_file_transitions" ("agent_import_file_id")
1892
+  (0.3ms) CREATE UNIQUE INDEX "index_agent_import_file_transitions_on_sort_key_and_file_id" ON "agent_import_file_transitions" ("sort_key", "agent_import_file_id")
1893
+  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140524020735')
1894
+  (0.7ms) commit transaction
1895
+ Migrating to CreateUserImportFileTransitions (20140524074813)
1896
+  (0.0ms) begin transaction
1897
+  (0.3ms) CREATE TABLE "user_import_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "user_import_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1898
+  (0.2ms) CREATE INDEX "index_user_import_file_transitions_on_user_import_file_id" ON "user_import_file_transitions" ("user_import_file_id")
1899
+  (0.6ms) CREATE UNIQUE INDEX "index_user_import_file_transitions_on_sort_key_and_file_id" ON "user_import_file_transitions" ("sort_key", "user_import_file_id")
1900
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140524074813')
1901
+  (0.8ms) commit transaction
1902
+ Migrating to DropEmailUniqueConstraintEnjuLeafRc10 (20140610123439)
1903
+  (0.0ms) begin transaction
1904
+  (0.3ms) DROP INDEX "index_users_on_email"
1905
+  (0.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
1906
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140610123439')
1907
+  (0.7ms) commit transaction
1908
+ Migrating to CreateResourceExportFiles (20140614065404)
1909
+  (0.0ms) begin transaction
1910
+  (0.4ms) CREATE TABLE "resource_export_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "resource_export_file_name" varchar(255), "resource_export_content_type" varchar(255), "resource_export_file_size" integer, "resource_export_updated_at" datetime, "executed_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1911
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140614065404')
1912
+  (0.7ms) commit transaction
1913
+ Migrating to CreateResourceExportFileTransitions (20140614141500)
1914
+  (0.0ms) begin transaction
1915
+  (0.4ms) CREATE TABLE "resource_export_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "resource_export_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1916
+  (0.1ms) CREATE INDEX "index_resource_export_file_transitions_on_file_id" ON "resource_export_file_transitions" ("resource_export_file_id")
1917
+  (0.3ms) CREATE UNIQUE INDEX "index_resource_export_file_transitions_on_sort_key_and_file_id" ON "resource_export_file_transitions" ("sort_key", "resource_export_file_id")
1918
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140614141500')
1919
+  (0.7ms) commit transaction
1920
+ Migrating to AddUserEncodingToUserImportFile (20140628072217)
1921
+  (0.0ms) begin transaction
1922
+  (0.7ms) ALTER TABLE "user_import_files" ADD "user_encoding" varchar(255)
1923
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140628072217')
1924
+  (0.8ms) commit transaction
1925
+ Migrating to AddUserEncodingToAgentImportFile (20140628073524)
1926
+  (0.0ms) begin transaction
1927
+  (0.3ms) ALTER TABLE "agent_import_files" ADD "user_encoding" varchar(255)
1928
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140628073524')
1929
+  (0.6ms) commit transaction
1930
+ Migrating to AddUserEncodingToResourceImportFile (20140628073535)
1931
+  (0.0ms) begin transaction
1932
+  (0.3ms) ALTER TABLE "resource_import_files" ADD "user_encoding" varchar(255)
1933
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140628073535')
1934
+  (0.7ms) commit transaction
1935
+ Migrating to CreateUserExportFiles (20140709113413)
1936
+  (0.0ms) begin transaction
1937
+  (0.3ms) CREATE TABLE "user_export_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_export_file_name" varchar(255), "user_export_content_type" varchar(255), "user_export_file_size" integer, "user_export_updated_at" datetime, "executed_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1938
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140709113413')
1939
+  (0.6ms) commit transaction
1940
+ Migrating to CreateUserExportFileTransitions (20140709113905)
1941
+  (0.0ms) begin transaction
1942
+  (0.6ms) CREATE TABLE "user_export_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "user_export_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1943
+  (0.2ms) CREATE INDEX "index_user_export_file_transitions_on_file_id" ON "user_export_file_transitions" ("user_export_file_id")
1944
+  (0.5ms) CREATE UNIQUE INDEX "index_user_export_file_transitions_on_sort_key_and_file_id" ON "user_export_file_transitions" ("sort_key", "user_export_file_id")
1945
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140709113905')
1946
+  (0.9ms) commit transaction
1947
+ Migrating to AddBindingItemIdentifierToItem (20140720140916)
1948
+  (0.0ms) begin transaction
1949
+  (0.4ms) ALTER TABLE "items" ADD "binding_item_identifier" varchar(255)
1950
+  (0.2ms) ALTER TABLE "items" ADD "binding_call_number" varchar(255)
1951
+  (0.2ms) ALTER TABLE "items" ADD "binded_at" datetime
1952
+  (0.2ms) CREATE INDEX "index_items_on_binding_item_identifier" ON "items" ("binding_item_identifier")
1953
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140720140916')
1954
+  (0.8ms) commit transaction
1955
+ Migrating to AddDefaultLibraryIdToUserImportFile (20140720170714)
1956
+  (0.1ms) begin transaction
1957
+  (0.4ms) ALTER TABLE "user_import_files" ADD "default_library_id" integer
1958
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140720170714')
1959
+  (0.7ms) commit transaction
1960
+ Migrating to AddDefaultUserGroupIdToUserImportFile (20140720170735)
1961
+  (0.0ms) begin transaction
1962
+  (0.3ms) ALTER TABLE "user_import_files" ADD "default_user_group_id" integer
1963
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140720170735')
1964
+  (0.8ms) commit transaction
1965
+ Migrating to AddDefaultShelfIdToResourceImportFile (20140721151416)
1966
+  (0.0ms) begin transaction
1967
+  (0.4ms) ALTER TABLE "resource_import_files" ADD "default_shelf_id" integer
1968
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140721151416')
1969
+  (0.6ms) commit transaction
1970
+ Migrating to AddManifestationIdToItem (20140802082007)
1971
+  (0.0ms) begin transaction
1972
+  (0.3ms) ALTER TABLE "items" ADD "manifestation_id" integer
1973
+  (0.1ms) CREATE INDEX "index_items_on_manifestation_id" ON "items" ("manifestation_id")
1974
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140802082007')
1975
+  (0.8ms) commit transaction
1976
+ Migrating to AddExpiredAtToProfile (20140811031145)
1977
+  (0.0ms) begin transaction
1978
+  (0.4ms) ALTER TABLE "profiles" ADD "expired_at" datetime
1979
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140811031145')
1980
+  (0.7ms) commit transaction
1981
+ Migrating to AddPublicationPlaceToManifestation (20140813182425)
1982
+  (0.0ms) begin transaction
1983
+  (0.4ms) ALTER TABLE "manifestations" ADD "publication_place" text
1984
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140813182425')
1985
+  (0.6ms) commit transaction
1986
+  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1987
+ Connecting to database specified by database.yml
1988
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1989
+ Migrating to CreateAgents (1)
1990
+ Migrating to DeviseCreateUsers (2)
1991
+ Migrating to CreateManifestations (5)
1992
+ Migrating to CreateItems (6)
1993
+ Migrating to CreateOwns (12)
1994
+ Migrating to CreateCreates (15)
1995
+ Migrating to CreateSubjects (29)
1996
+ Migrating to CreateRoles (41)
1997
+ Migrating to CreateProduces (47)
1998
+ Migrating to CreateLibraries (59)
1999
+ Migrating to CreateShelves (69)
2000
+ Migrating to CreateCarrierTypes (73)
2001
+ Migrating to CreateUserGroups (77)
2002
+ Migrating to CreateLibraryGroups (80)
2003
+ Migrating to CreateFrequencies (112)
2004
+ Migrating to CreateFormOfWorks (117)
2005
+ Migrating to CreateBaskets (120)
2006
+ Migrating to CreateBookstores (124)
2007
+ Migrating to CreateDonates (125)
2008
+ Migrating to CreateRequestStatusTypes (130)
2009
+ Migrating to CreateRequestTypes (131)
2010
+ Migrating to CreateClassifications (142)
2011
+ Migrating to CreateClassificationTypes (144)
2012
+ Migrating to CreateSubjectHeadingTypes (145)
2013
+ Migrating to CreateSubjectTypes (146)
2014
+ Migrating to CreateRealizes (20080830154109)
2015
+ Migrating to CreateExemplifies (20080830172106)
2016
+ Migrating to CreateAgentTypes (20080905191442)
2017
+ Migrating to CreateSubscriptions (20081006090811)
2018
+ Migrating to CreateSubscribes (20081006093246)
2019
+ Migrating to CreateSearchEngines (20081023092436)
2020
+ Migrating to CreateCountries (20081025083323)
2021
+ Migrating to CreateLanguages (20081025083905)
2022
+ Migrating to CreatePictureFiles (20081027150907)
2023
+ Migrating to CreateAgentImportFiles (20081028083142)
2024
+ Migrating to CreateResourceImportFiles (20081028083208)
2025
+ Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
2026
+ Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
2027
+ Migrating to CreateExtents (20090719201843)
2028
+ Migrating to CreateMediumOfPerformances (20090720091106)
2029
+ Migrating to CreateContentTypes (20090720091429)
2030
+ Migrating to CreateAgentRelationshipTypes (20090812151902)
2031
+ Migrating to AddDcndlSchema (20091012101112)
2032
+ Migrating to CreateLicenses (20091025080447)
2033
+ Migrating to CreateVersions (20091202124834)
2034
+ Migrating to CreateSeriesStatements (20091214131723)
2035
+ Migrating to CreateImportRequests (20100129142347)
2036
+ Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
2037
+ Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
2038
+ Migrating to AddOpeningHourToLibrary (20100314190054)
2039
+ Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
2040
+ Migrating to CreateManifestationRelationships (20100525124311)
2041
+ Migrating to CreateUserHasRoles (20100606065209)
2042
+ Migrating to CreateAgentRelationships (20100606073747)
2043
+ Migrating to CreateManifestationRelationshipTypes (20100607044753)
2044
+ Migrating to AddPositionToAgentRelationship (20100814091104)
2045
+ Migrating to CreateResourceImportResults (20100925043847)
2046
+ Migrating to CreateAgentImportResults (20100925074559)
2047
+ Migrating to AddAcquiredAtToItem (20101212070145)
2048
+ Migrating to AddUrlToLibraryGroup (20110222073537)
2049
+ Migrating to AddPubDateToManifestation (20110301035123)
2050
+ Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
2051
+ Migrating to AddValidPeriodForNewUserToUserGroup (20110318183304)
2052
+ Migrating to AddEditModeToResourceImportFile (20110603184217)
2053
+ Migrating to AddEditionStringToManifestation (20110619064807)
2054
+ Migrating to AddBookstoreIdToItem (20110620173525)
2055
+ Migrating to CreateSeriesStatementMergeLists (20110627034940)
2056
+ Migrating to CreateSeriesStatementMerges (20110627035057)
2057
+ Migrating to AddLftAndRgtToClassification (20110913120629)
2058
+ Migrating to AddVolumeNumberToManifestation (20110916091020)
2059
+ Migrating to AddManifestaitonIdToSeriesStatement (20110916103953)
2060
+ Migrating to AddNoteToSeriesStatement (20110918162329)
2061
+ Migrating to CreateCreateTypes (20111124110059)
2062
+ Migrating to CreateRealizeTypes (20111124110319)
2063
+ Migrating to CreateProduceTypes (20111124110355)
2064
+ Migrating to AddCreateTypeToCreate (20111124112131)
2065
+ Migrating to AddIsilToLibrary (20120105074911)
2066
+ Migrating to AddTitleSubseriesTranscriptionToSeriesStatement (20120125152919)
2067
+ Migrating to CreateBudgetTypes (20120129014038)
2068
+ Migrating to AddBudgetTypeIdToItem (20120129020544)
2069
+ Migrating to AddContentTypeIdToManifestation (20120319120638)
2070
+ Migrating to CreateAccepts (20120319173203)
2071
+ Migrating to AddUrlToSubject (20120406020752)
2072
+  (0.0ms) select sqlite_version(*)
2073
+  (0.1ms) begin transaction
2074
+  (0.5ms) ALTER TABLE "subjects" ADD "url" varchar(255)
2075
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120406020752')
2076
+  (1.4ms) commit transaction
2077
+ Migrating to AddYearOfPublicationToManifestation (20120410104851)
2078
+ Migrating to AddPictureMetaToPictureFile (20120413072700)
2079
+ Migrating to AddFingerprintToPictureFile (20120413100352)
2080
+ Migrating to AddFingerprintToResourceImportFile (20120413161340)
2081
+ Migrating to AddFingerprintToAgentImportFile (20120413161403)
2082
+ Migrating to AddErrorMessageToResourceImportFile (20120413170705)
2083
+ Migrating to AddErrorMessageToAgentImportFile (20120413170720)
2084
+ Migrating to AddAttachmentMetaToManifestation (20120415164821)
2085
+ Migrating to AddMonthOfPublicationToManifestation (20120418081407)
2086
+ Migrating to AddClosedToShelf (20120510140958)
2087
+ Migrating to AddAgentIdentifierToAgent (20120511072422)
2088
+ Migrating to AddEditModeToAgentImportFile (20120602141129)
2089
+ Migrating to AddFulltextContentToManifestation (20121116031206)
2090
+ Migrating to AddDoiToManifestation (20121116033446)
2091
+ Migrating to AddAdditionalAttributesToUser (20130221154434)
2092
+ Migrating to AddLatitudeAndLongitudeToLibrary (20130412083556)
2093
+ Migrating to AddPeriodicalToManifestation (20130421093852)
2094
+ Migrating to AddCreatorStringToSeriesStatement (20130421155019)
2095
+ Migrating to AddSeriesMasterToSeriesStatement (20130421164124)
2096
+ Migrating to AddRootManifestationIdToSeriesStatement (20130429020822)
2097
+ Migrating to AddManifestationIdToSubject (20130504133816)
2098
+  (0.1ms) begin transaction
2099
+  (0.4ms) ALTER TABLE "subjects" ADD "manifestation_id" integer
2100
+  (0.2ms) CREATE INDEX "index_subjects_on_manifestation_id" ON "subjects" ("manifestation_id")
2101
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504133816')
2102
+  (0.7ms) commit transaction
2103
+ Migrating to AddManifestationIdToClassification (20130504143515)
2104
+  (0.0ms) begin transaction
2105
+  (0.4ms) ALTER TABLE "classifications" ADD "manifestation_id" integer
2106
+  (0.2ms) CREATE INDEX "index_classifications_on_manifestation_id" ON "classifications" ("manifestation_id")
2107
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504143515')
2108
+  (0.6ms) commit transaction
2109
+ Migrating to AddSubjectHeadingTypeIdToSubject (20130504195916)
2110
+  (0.0ms) begin transaction
2111
+  (0.3ms) ALTER TABLE "subjects" ADD "subject_heading_type_id" integer
2112
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504195916')
2113
+  (0.4ms) commit transaction
2114
+ Migrating to CreateIdentifierTypes (20130506175303)
2115
+ Migrating to CreateIdentifiers (20130506175834)
2116
+ Migrating to AddStatementOfResponsibilityToManifestation (20130509185724)
2117
+ Migrating to CreateUserImportFiles (20140110122216)
2118
+ Migrating to CreateUserImportResults (20140110131010)
2119
+ Migrating to CreateProfiles (20140122054321)
2120
+ Migrating to CreateResourceImportFileTransitions (20140519170214)
2121
+ Migrating to CreateImportRequestTransitions (20140519171220)
2122
+ Migrating to CreateAgentImportFileTransitions (20140524020735)
2123
+ Migrating to CreateUserImportFileTransitions (20140524074813)
2124
+ Migrating to DropEmailUniqueConstraintEnjuLeafRc10 (20140610123439)
2125
+ Migrating to CreateResourceExportFiles (20140614065404)
2126
+ Migrating to CreateResourceExportFileTransitions (20140614141500)
2127
+ Migrating to AddUserEncodingToUserImportFile (20140628072217)
2128
+ Migrating to AddUserEncodingToAgentImportFile (20140628073524)
2129
+ Migrating to AddUserEncodingToResourceImportFile (20140628073535)
2130
+ Migrating to CreateUserExportFiles (20140709113413)
2131
+ Migrating to CreateUserExportFileTransitions (20140709113905)
2132
+ Migrating to AddBindingItemIdentifierToItem (20140720140916)
2133
+ Migrating to AddDefaultLibraryIdToUserImportFile (20140720170714)
2134
+ Migrating to AddDefaultUserGroupIdToUserImportFile (20140720170735)
2135
+ Migrating to AddDefaultShelfIdToResourceImportFile (20140721151416)
2136
+ Migrating to AddManifestationIdToItem (20140802082007)
2137
+ Migrating to AddExpiredAtToProfile (20140811031145)
2138
+ Migrating to AddPublicationPlaceToManifestation (20140813182425)
2139
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"