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