enju_loc 0.1.0.pre2 → 0.1.0.pre3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/loc_search_controller.rb +1 -1
  3. data/app/models/loc_search.rb +13 -15
  4. data/lib/enju_loc/engine.rb +1 -0
  5. data/lib/enju_loc/loc_search.rb +1 -1
  6. data/lib/enju_loc/version.rb +1 -1
  7. data/spec/cassette_library/LocSearch/_ModsRecord/should_parse_MODS_metadata.yml +16 -14
  8. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_a_valid_manifestation.yml +12 -12
  9. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_lcsh_subjects_only.yml +16 -14
  10. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_create_multiple_series_statements.yml +16 -14
  11. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_distinguish_title_information_with_subject.yml +16 -14
  12. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_a_manifestation_that_has_invalid_classification.yml +20 -17
  13. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_another_serial.yml +16 -14
  14. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_audio_book.yml +38 -34
  15. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource.yml +16 -14
  16. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_e-resource_packaged_.yml +16 -14
  17. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_notated_music.yml +16 -14
  18. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_note_fields.yml +16 -14
  19. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_publication_year.yml +16 -14
  20. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_serial.yml +16 -14
  21. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_import_video_publication.yml +16 -14
  22. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_parse_title_information_properly.yml +16 -14
  23. data/spec/cassette_library/LocSearch/_import_from_sru_response/should_support_name_and_title_subjects.yml +16 -14
  24. data/spec/cassette_library/LocSearch/_search/should_return_a_search_result.yml +16 -14
  25. data/spec/cassette_library/LocSearchController/GET_index/should_get_index.yml +16 -14
  26. data/spec/cassette_library/LocSearchController/GET_index/should_get_index_with_page_parameter.yml +16 -14
  27. data/spec/cassette_library/LocSearchController/POST_create/should_create_a_bibliographic_record_if_lccn_is_set.yml +16 -14
  28. data/spec/cassette_library/LocSearchController/POST_create/should_not_create_a_bibliographic_record_if_lccn_is_not_set.yml +18 -20
  29. data/spec/dummy/config/boot.rb +2 -2
  30. data/spec/dummy/db/migrate/133_create_agent_merges.rb +15 -0
  31. data/spec/dummy/db/migrate/134_create_agent_merge_lists.rb +13 -0
  32. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +1 -1
  33. data/spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb +5 -0
  34. data/spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb +5 -0
  35. data/spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb +5 -0
  36. data/spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb +9 -0
  37. data/spec/dummy/db/schema.rb +22 -3
  38. data/spec/dummy/db/test.sqlite3 +0 -0
  39. data/spec/fixtures/agent_types.yml +6 -25
  40. data/spec/models/loc_search_spec.rb +3 -3
  41. data/spec/spec_helper.rb +1 -1
  42. metadata +37 -31
  43. data/spec/dummy/db/development.sqlite3 +0 -0
  44. data/spec/dummy/log/development.log +0 -1528
  45. data/spec/dummy/log/test.log +0 -54815
@@ -0,0 +1,15 @@
1
+ class CreateAgentMerges < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :agent_merges do |t|
4
+ t.integer :agent_id, :agent_merge_list_id, :null => false
5
+
6
+ t.timestamps
7
+ end
8
+ add_index :agent_merges, :agent_id
9
+ add_index :agent_merges, :agent_merge_list_id
10
+ end
11
+
12
+ def self.down
13
+ drop_table :agent_merges
14
+ end
15
+ end
@@ -0,0 +1,13 @@
1
+ class CreateAgentMergeLists < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :agent_merge_lists do |t|
4
+ t.string :title
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+
10
+ def self.down
11
+ drop_table :agent_merge_lists
12
+ end
13
+ end
@@ -7,6 +7,6 @@ class CreateSeriesStatementMerges < ActiveRecord::Migration
7
7
  t.timestamps
8
8
  end
9
9
  add_index :series_statement_merges, :series_statement_id
10
- add_index :series_statement_merges, :series_statement_merge_list_id
10
+ add_index :series_statement_merges, :series_statement_merge_list_id, name: "index_series_statement_merges_on_list_id"
11
11
  end
12
12
  end
@@ -0,0 +1,5 @@
1
+ class AddErrorMessageToResourceImportResult < ActiveRecord::Migration
2
+ def change
3
+ add_column :resource_import_results, :error_message, :text
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddExtentToManifestation < ActiveRecord::Migration
2
+ def change
3
+ add_column :manifestations, :extent, :text
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddDimensionsToManifestation < ActiveRecord::Migration
2
+ def change
3
+ add_column :manifestations, :dimensions, :text
4
+ end
5
+ end
@@ -0,0 +1,9 @@
1
+ class RenameManifestationPeriodicalToSerial < ActiveRecord::Migration
2
+ def up
3
+ rename_column :manifestations, :periodical, :serial
4
+ end
5
+
6
+ def down
7
+ rename_column :manifestations, :serial, :periodical
8
+ end
9
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20140817155043) do
14
+ ActiveRecord::Schema.define(:version => 20140823095740) do
15
15
 
16
16
  create_table "accepts", :force => true do |t|
17
17
  t.integer "basket_id"
@@ -66,6 +66,22 @@ ActiveRecord::Schema.define(:version => 20140817155043) do
66
66
  t.datetime "updated_at", :null => false
67
67
  end
68
68
 
69
+ create_table "agent_merge_lists", :force => true do |t|
70
+ t.string "title"
71
+ t.datetime "created_at", :null => false
72
+ t.datetime "updated_at", :null => false
73
+ end
74
+
75
+ create_table "agent_merges", :force => true do |t|
76
+ t.integer "agent_id", :null => false
77
+ t.integer "agent_merge_list_id", :null => false
78
+ t.datetime "created_at", :null => false
79
+ t.datetime "updated_at", :null => false
80
+ end
81
+
82
+ add_index "agent_merges", ["agent_id"], :name => "index_agent_merges_on_agent_id"
83
+ add_index "agent_merges", ["agent_merge_list_id"], :name => "index_agent_merges_on_agent_merge_list_id"
84
+
69
85
  create_table "agent_relationship_types", :force => true do |t|
70
86
  t.string "name", :null => false
71
87
  t.text "display_name"
@@ -535,10 +551,12 @@ ActiveRecord::Schema.define(:version => 20140817155043) do
535
551
  t.text "attachment_meta"
536
552
  t.integer "month_of_publication"
537
553
  t.boolean "fulltext_content"
538
- t.boolean "periodical"
554
+ t.boolean "serial"
539
555
  t.text "statement_of_responsibility"
540
556
  t.text "publication_place"
541
557
  t.text "extent_of_text"
558
+ t.text "extent"
559
+ t.text "dimensions"
542
560
  end
543
561
 
544
562
  add_index "manifestations", ["access_address"], :name => "index_manifestations_on_access_address"
@@ -728,6 +746,7 @@ ActiveRecord::Schema.define(:version => 20140817155043) do
728
746
  t.text "body"
729
747
  t.datetime "created_at", :null => false
730
748
  t.datetime "updated_at", :null => false
749
+ t.text "error_message"
731
750
  end
732
751
 
733
752
  add_index "resource_import_results", ["item_id"], :name => "index_resource_import_results_on_item_id"
@@ -772,7 +791,7 @@ ActiveRecord::Schema.define(:version => 20140817155043) do
772
791
  end
773
792
 
774
793
  add_index "series_statement_merges", ["series_statement_id"], :name => "index_series_statement_merges_on_series_statement_id"
775
- add_index "series_statement_merges", ["series_statement_merge_list_id"], :name => "index_series_statement_merges_on_series_statement_merge_list_id"
794
+ add_index "series_statement_merges", ["series_statement_merge_list_id"], :name => "index_series_statement_merges_on_list_id"
776
795
 
777
796
  create_table "series_statements", :force => true do |t|
778
797
  t.text "original_title"
Binary file
@@ -1,35 +1,16 @@
1
1
  ---
2
2
  agent_type_00001:
3
3
  id: 1
4
- name: Person
5
- display_name: Person
4
+ name: person
5
+ display_name: "en: Person\r\n\
6
+ ja: 個人"
6
7
  note:
7
8
  position: 1
8
9
 
9
10
  agent_type_00002:
10
11
  id: 2
11
- name: CorporateBody
12
- display_name: CorporateBody
12
+ name: corporate_body
13
+ display_name: "en: CorporateBody\r\n\
14
+ ja: 団体"
13
15
  note:
14
16
  position: 2
15
-
16
- agent_type_00003:
17
- id: 3
18
- name: Conference
19
- display_name: Conference
20
- note:
21
- position: 3
22
-
23
- # == Schema Information
24
- #
25
- # Table name: agent_types
26
- #
27
- # id :integer not null, primary key
28
- # name :string(255) not null
29
- # display_name :text
30
- # note :text
31
- # position :integer
32
- # created_at :datetime
33
- # updated_at :datetime
34
- #
35
-
@@ -14,7 +14,7 @@ describe LocSearch do
14
14
  expect( manifestation.publishers.first.full_name ).to eq "Times Books"
15
15
  expect( manifestation.publication_place ).to eq "New York"
16
16
  expect( manifestation.creators.size ).to eq 1
17
- expect( manifestation.creators.first.agent_type.name ).to eq "Person"
17
+ expect( manifestation.creators.first.agent_type.name ).to eq "person"
18
18
  expect( manifestation.creators.first.full_name ).to eq "Weinberger, David, 1950-"
19
19
  expect( manifestation.edition_string ).to eq "1st ed."
20
20
  expect( manifestation.language.iso_639_2 ).to eq "eng"
@@ -124,7 +124,7 @@ describe LocSearch do
124
124
  it "should import serial", :vcr => true do
125
125
  m = LocSearch.import_from_sru_response( "00200486" )
126
126
  expect( m.original_title ).to eq "Science and technology of advanced materials"
127
- expect( m.periodical ).to be_truthy
127
+ expect( m.serial ).to be_truthy
128
128
  expect( m.identifier_contents( :issn ).first ).to eq "14686996"
129
129
  expect( m.identifier_contents( :issn_l ).first ).to eq "14686996"
130
130
  expect( m.frequency.name ).to eq "bimonthly"
@@ -136,7 +136,7 @@ describe LocSearch do
136
136
  m = LocSearch.import_from_sru_response( "88651712" )
137
137
  expect( m.original_title ).to eq "Superconductor science & technology"
138
138
  expect( m.title_alternative ).to eq "Supercond. sci. technol ; Superconductor science and technology"
139
- expect( m.periodical ).to be_truthy
139
+ expect( m.serial ).to be_truthy
140
140
  expect( m.identifier_contents( :issn ).first ).to eq "09532048"
141
141
  expect( m.identifier_contents( :issn_l ).first ).to eq "09532048"
142
142
  expect( m.frequency.name ).to eq "monthly"
data/spec/spec_helper.rb CHANGED
@@ -41,7 +41,7 @@ end
41
41
 
42
42
  VCR.configure do |c|
43
43
  c.cassette_library_dir = 'spec/cassette_library'
44
- c.hook_into :fakeweb
44
+ c.hook_into :webmock
45
45
  c.configure_rspec_metadata!
46
46
  c.allow_http_connections_when_no_cassette = true
47
47
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_loc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre2
4
+ version: 0.1.0.pre3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masao Takaku
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-19 00:00:00.000000000 Z
11
+ date: 2014-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: enju_seed
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.1.pre10
19
+ version: 0.1.1.pre11
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.1.pre10
26
+ version: 0.1.1.pre11
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: faraday
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: sqlite3
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +72,14 @@ dependencies:
58
72
  requirements:
59
73
  - - "~>"
60
74
  - !ruby/object:Gem::Version
61
- version: '3.0'
75
+ version: '3.1'
62
76
  type: :development
63
77
  prerelease: false
64
78
  version_requirements: !ruby/object:Gem::Requirement
65
79
  requirements:
66
80
  - - "~>"
67
81
  - !ruby/object:Gem::Version
68
- version: '3.0'
82
+ version: '3.1'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: vcr
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +95,7 @@ dependencies:
81
95
  - !ruby/object:Gem::Version
82
96
  version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
- name: fakeweb
98
+ name: webmock
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
101
  - - ">="
@@ -100,14 +114,14 @@ dependencies:
100
114
  requirements:
101
115
  - - "~>"
102
116
  - !ruby/object:Gem::Version
103
- version: 1.1.0.rc14
117
+ version: 1.1.0.rc15
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
- version: 1.1.0.rc14
124
+ version: 1.1.0.rc15
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: sunspot_solr
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -122,20 +136,6 @@ dependencies:
122
136
  - - "~>"
123
137
  - !ruby/object:Gem::Version
124
138
  version: '2.1'
125
- - !ruby/object:Gem::Dependency
126
- name: elasticsearch-extensions
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - ">="
130
- - !ruby/object:Gem::Version
131
- version: '0'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: simplecov
141
141
  requirement: !ruby/object:Gem::Requirement
@@ -156,14 +156,14 @@ dependencies:
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 0.1.0.pre27
159
+ version: 0.1.0.pre28
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 0.1.0.pre27
166
+ version: 0.1.0.pre28
167
167
  description: This module allow users to search and import bibliographic records from
168
168
  Library of Congress via SRU-based API.
169
169
  email:
@@ -239,7 +239,6 @@ files:
239
239
  - spec/dummy/config/locales/en.yml
240
240
  - spec/dummy/config/routes.rb
241
241
  - spec/dummy/config/secrets.yml
242
- - spec/dummy/db/development.sqlite3
243
242
  - spec/dummy/db/migrate/001_create_agents.rb
244
243
  - spec/dummy/db/migrate/002_devise_create_users.rb
245
244
  - spec/dummy/db/migrate/005_create_manifestations.rb
@@ -261,6 +260,8 @@ files:
261
260
  - spec/dummy/db/migrate/125_create_donates.rb
262
261
  - spec/dummy/db/migrate/130_create_request_status_types.rb
263
262
  - spec/dummy/db/migrate/131_create_request_types.rb
263
+ - spec/dummy/db/migrate/133_create_agent_merges.rb
264
+ - spec/dummy/db/migrate/134_create_agent_merge_lists.rb
264
265
  - spec/dummy/db/migrate/142_create_classifications.rb
265
266
  - spec/dummy/db/migrate/144_create_classification_types.rb
266
267
  - spec/dummy/db/migrate/145_create_subject_heading_types.rb
@@ -371,10 +372,12 @@ files:
371
372
  - spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb
372
373
  - spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
373
374
  - spec/dummy/db/migrate/20140817155043_add_extent_of_text_to_manifestation.rb
375
+ - spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb
376
+ - spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb
377
+ - spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb
378
+ - spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
374
379
  - spec/dummy/db/schema.rb
375
380
  - spec/dummy/db/test.sqlite3
376
- - spec/dummy/log/development.log
377
- - spec/dummy/log/test.log
378
381
  - spec/dummy/public/404.html
379
382
  - spec/dummy/public/422.html
380
383
  - spec/dummy/public/500.html
@@ -470,7 +473,6 @@ test_files:
470
473
  - spec/dummy/config/routes.rb
471
474
  - spec/dummy/config/secrets.yml
472
475
  - spec/dummy/config.ru
473
- - spec/dummy/db/development.sqlite3
474
476
  - spec/dummy/db/migrate/001_create_agents.rb
475
477
  - spec/dummy/db/migrate/002_devise_create_users.rb
476
478
  - spec/dummy/db/migrate/005_create_manifestations.rb
@@ -492,6 +494,8 @@ test_files:
492
494
  - spec/dummy/db/migrate/125_create_donates.rb
493
495
  - spec/dummy/db/migrate/130_create_request_status_types.rb
494
496
  - spec/dummy/db/migrate/131_create_request_types.rb
497
+ - spec/dummy/db/migrate/133_create_agent_merges.rb
498
+ - spec/dummy/db/migrate/134_create_agent_merge_lists.rb
495
499
  - spec/dummy/db/migrate/142_create_classifications.rb
496
500
  - spec/dummy/db/migrate/144_create_classification_types.rb
497
501
  - spec/dummy/db/migrate/145_create_subject_heading_types.rb
@@ -602,10 +606,12 @@ test_files:
602
606
  - spec/dummy/db/migrate/20140811031145_add_expired_at_to_profile.rb
603
607
  - spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb
604
608
  - spec/dummy/db/migrate/20140817155043_add_extent_of_text_to_manifestation.rb
609
+ - spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb
610
+ - spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb
611
+ - spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb
612
+ - spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb
605
613
  - spec/dummy/db/schema.rb
606
614
  - spec/dummy/db/test.sqlite3
607
- - spec/dummy/log/development.log
608
- - spec/dummy/log/test.log
609
615
  - spec/dummy/public/404.html
610
616
  - spec/dummy/public/422.html
611
617
  - spec/dummy/public/500.html
Binary file
@@ -1,1528 +0,0 @@
1
- Connecting to database specified by database.yml
2
-  (0.1ms) select sqlite_version(*)
3
-  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
- Migrating to CreateAgents (1)
7
-  (0.0ms) begin transaction
8
-  (0.6ms) 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)
9
-  (0.9ms) CREATE UNIQUE INDEX "index_agents_on_user_id" ON "agents" ("user_id")
10
-  (0.1ms) CREATE INDEX "index_agents_on_language_id" ON "agents" ("language_id")
11
-  (0.1ms) CREATE INDEX "index_agents_on_country_id" ON "agents" ("country_id")
12
-  (0.1ms) CREATE INDEX "index_agents_on_required_role_id" ON "agents" ("required_role_id")
13
-  (0.1ms) CREATE INDEX "index_agents_on_full_name" ON "agents" ("full_name")
14
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('1')
15
-  (0.7ms) commit transaction
16
- Migrating to CreateManifestations (5)
17
-  (0.0ms) begin transaction
18
-  (0.3ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "copyright_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_list" varchar(255), "issue_number_list" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL) 
19
-  (0.1ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
20
-  (0.1ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
21
-  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
22
-  (0.2ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
23
-  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
24
-  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
25
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('5')
26
-  (0.7ms) commit transaction
27
- Migrating to CreateItems (6)
28
-  (0.0ms) begin transaction
29
-  (0.4ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "call_number" varchar(255), "item_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "shelf_id" integer DEFAULT 1 NOT NULL, "include_supplements" boolean DEFAULT 'f' NOT NULL, "note" text, "url" varchar(255), "price" integer, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL) 
30
-  (0.2ms) CREATE INDEX "index_items_on_shelf_id" ON "items" ("shelf_id")
31
-  (0.2ms) CREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")
32
-  (0.1ms) CREATE INDEX "index_items_on_required_role_id" ON "items" ("required_role_id")
33
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('6')
34
-  (0.7ms) commit transaction
35
- Migrating to CreateOwns (12)
36
-  (0.0ms) begin transaction
37
-  (0.4ms) 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)
38
-  (0.1ms) CREATE INDEX "index_owns_on_agent_id" ON "owns" ("agent_id")
39
-  (0.1ms) CREATE INDEX "index_owns_on_item_id" ON "owns" ("item_id")
40
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('12')
41
-  (0.7ms) commit transaction
42
- Migrating to CreateCreates (15)
43
-  (0.0ms) begin transaction
44
-  (0.3ms) CREATE TABLE "creates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "work_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
45
-  (0.1ms) CREATE INDEX "index_creates_on_agent_id" ON "creates" ("agent_id")
46
-  (0.1ms) CREATE INDEX "index_creates_on_work_id" ON "creates" ("work_id")
47
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('15')
48
-  (0.6ms) commit transaction
49
- Migrating to CreateSubjects (29)
50
-  (0.0ms) begin transaction
51
-  (0.5ms) 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)
52
-  (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
53
-  (0.2ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
54
-  (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
55
-  (0.2ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
56
-  (0.1ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
57
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
58
-  (0.7ms) commit transaction
59
- Migrating to CreateProduces (47)
60
-  (0.0ms) begin transaction
61
-  (0.5ms) 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) 
62
-  (0.1ms) CREATE INDEX "index_produces_on_agent_id" ON "produces" ("agent_id")
63
-  (0.1ms) CREATE INDEX "index_produces_on_manifestation_id" ON "produces" ("manifestation_id")
64
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('47')
65
-  (0.7ms) commit transaction
66
- Migrating to CreateCarrierTypes (73)
67
-  (0.0ms) begin transaction
68
-  (0.3ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
69
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
70
-  (0.6ms) commit transaction
71
- Migrating to CreateFrequencies (112)
72
-  (0.0ms) begin transaction
73
-  (0.3ms) 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) 
74
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('112')
75
-  (0.6ms) commit transaction
76
- Migrating to CreateFormOfWorks (117)
77
-  (0.0ms) begin transaction
78
-  (0.3ms) 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) 
79
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('117')
80
-  (0.6ms) commit transaction
81
- Migrating to CreateDonates (125)
82
-  (0.1ms) begin transaction
83
-  (0.3ms) CREATE TABLE "donates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
84
-  (0.1ms) CREATE INDEX "index_donates_on_agent_id" ON "donates" ("agent_id")
85
-  (0.1ms) CREATE INDEX "index_donates_on_item_id" ON "donates" ("item_id")
86
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('125')
87
-  (0.6ms) commit transaction
88
- Migrating to CreateClassifications (142)
89
-  (0.0ms) begin transaction
90
-  (0.4ms) CREATE TABLE "classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "category" varchar(255) NOT NULL, "note" text, "classification_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
91
-  (0.1ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
92
-  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
93
-  (0.2ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
94
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
95
-  (0.7ms) commit transaction
96
- Migrating to CreateSubjectHasClassifications (143)
97
-  (0.1ms) begin transaction
98
-  (0.3ms) CREATE TABLE "subject_has_classifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "classification_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
99
-  (0.2ms) CREATE INDEX "index_subject_has_classifications_on_subject_id" ON "subject_has_classifications" ("subject_id")
100
-  (0.1ms) CREATE INDEX "index_subject_has_classifications_on_classification_id" ON "subject_has_classifications" ("classification_id")
101
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('143')
102
-  (0.7ms) commit transaction
103
- Migrating to CreateClassificationTypes (144)
104
-  (0.0ms) begin transaction
105
-  (0.3ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
106
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
107
-  (0.5ms) commit transaction
108
- Migrating to CreateSubjectHeadingTypes (145)
109
-  (0.0ms) begin transaction
110
-  (0.4ms) 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)
111
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
112
-  (0.6ms) commit transaction
113
- Migrating to CreateSubjectTypes (146)
114
-  (0.1ms) begin transaction
115
-  (0.3ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
116
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
117
-  (0.7ms) commit transaction
118
- Migrating to CreateWorkHasSubjects (20080606052544)
119
-  (0.0ms) begin transaction
120
-  (0.3ms) CREATE TABLE "work_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer, "subject_type" varchar(255), "work_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
121
-  (0.2ms) CREATE INDEX "index_work_has_subjects_on_subject_id" ON "work_has_subjects" ("subject_id")
122
-  (0.1ms) CREATE INDEX "index_work_has_subjects_on_work_id" ON "work_has_subjects" ("work_id")
123
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080606052544')
124
-  (0.6ms) commit transaction
125
- Migrating to CreateRealizes (20080830154109)
126
-  (0.1ms) begin transaction
127
-  (0.3ms) CREATE TABLE "realizes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "expression_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
128
-  (0.1ms) CREATE INDEX "index_realizes_on_agent_id" ON "realizes" ("agent_id")
129
-  (0.1ms) CREATE INDEX "index_realizes_on_expression_id" ON "realizes" ("expression_id")
130
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830154109')
131
-  (0.6ms) commit transaction
132
- Migrating to CreateExemplifies (20080830172106)
133
-  (0.0ms) begin transaction
134
-  (0.3ms) CREATE TABLE "exemplifies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "manifestation_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
135
-  (0.1ms) CREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")
136
-  (0.3ms) CREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")
137
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')
138
-  (0.6ms) commit transaction
139
- Migrating to CreateAgentTypes (20080905191442)
140
-  (0.0ms) begin transaction
141
-  (0.4ms) CREATE TABLE "agent_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
142
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
143
-  (0.6ms) commit transaction
144
- Migrating to CreateCountries (20081025083323)
145
-  (0.0ms) begin transaction
146
-  (0.5ms) 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)
147
-  (0.2ms) CREATE INDEX "index_countries_on_name" ON "countries" ("name")
148
-  (0.2ms) CREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")
149
-  (0.1ms) CREATE INDEX "index_countries_on_alpha_3" ON "countries" ("alpha_3")
150
-  (0.1ms) CREATE INDEX "index_countries_on_numeric_3" ON "countries" ("numeric_3")
151
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083323')
152
-  (0.7ms) commit transaction
153
- Migrating to CreateLanguages (20081025083905)
154
-  (0.0ms) begin transaction
155
-  (0.3ms) 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)
156
-  (0.4ms) CREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")
157
-  (0.1ms) CREATE INDEX "index_languages_on_iso_639_1" ON "languages" ("iso_639_1")
158
-  (0.1ms) CREATE INDEX "index_languages_on_iso_639_2" ON "languages" ("iso_639_2")
159
-  (0.1ms) CREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")
160
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083905')
161
-  (0.7ms) commit transaction
162
- Migrating to CreatePictureFiles (20081027150907)
163
-  (0.1ms) begin transaction
164
-  (0.3ms) CREATE TABLE "picture_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "picture_attachable_id" integer, "picture_attachable_type" varchar(255), "content_type" varchar(255), "title" text, "thumbnail" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
165
-  (0.2ms) CREATE INDEX "index_picture_files_on_picture_attachable_id_and_type" ON "picture_files" ("picture_attachable_id", "picture_attachable_type")
166
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081027150907')
167
-  (0.6ms) commit transaction
168
- Migrating to CreateAgentImportFiles (20081028083142)
169
-  (0.0ms) begin transaction
170
-  (0.5ms) CREATE TABLE "agent_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "state" varchar(255), "agent_import_file_name" varchar(255), "agent_import_content_type" varchar(255), "agent_import_file_size" integer, "agent_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
171
-  (0.1ms) CREATE INDEX "index_agent_import_files_on_parent_id" ON "agent_import_files" ("parent_id")
172
-  (0.1ms) CREATE INDEX "index_agent_import_files_on_user_id" ON "agent_import_files" ("user_id")
173
-  (0.1ms) CREATE INDEX "index_agent_import_files_on_state" ON "agent_import_files" ("state")
174
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083142')
175
-  (0.7ms) commit transaction
176
- Migrating to CreateResourceImportFiles (20081028083208)
177
-  (0.0ms) begin transaction
178
-  (0.3ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "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)
179
-  (0.2ms) CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
180
-  (0.1ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
181
-  (0.1ms) CREATE INDEX "index_resource_import_files_on_state" ON "resource_import_files" ("state")
182
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083208')
183
-  (0.6ms) commit transaction
184
- Migrating to CreateSubjectHeadingTypeHasSubjects (20090208044541)
185
-  (0.0ms) begin transaction
186
-  (0.4ms) CREATE TABLE "subject_heading_type_has_subjects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject_id" integer NOT NULL, "subject_type" varchar(255), "subject_heading_type_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
187
-  (0.2ms) CREATE INDEX "index_subject_heading_type_has_subjects_on_subject_id" ON "subject_heading_type_has_subjects" ("subject_id")
188
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090208044541')
189
-  (0.7ms) commit transaction
190
- Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
191
-  (0.1ms) begin transaction
192
-  (0.3ms) ALTER TABLE "picture_files" ADD "picture_file_name" varchar(255)
193
-  (0.1ms) ALTER TABLE "picture_files" ADD "picture_content_type" varchar(255)
194
-  (0.2ms) ALTER TABLE "picture_files" ADD "picture_file_size" integer
195
-  (0.2ms) ALTER TABLE "picture_files" ADD "picture_updated_at" datetime
196
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705133942')
197
-  (0.6ms) commit transaction
198
- Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
199
-  (0.0ms) begin transaction
200
-  (0.4ms) ALTER TABLE "manifestations" ADD "attachment_file_name" varchar(255)
201
-  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_content_type" varchar(255)
202
-  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_file_size" integer
203
-  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_updated_at" datetime
204
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705212043')
205
-  (0.5ms) commit transaction
206
- Migrating to CreateExtents (20090719201843)
207
-  (0.0ms) begin transaction
208
-  (0.4ms) 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)
209
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090719201843')
210
-  (0.7ms) commit transaction
211
- Migrating to CreateMediumOfPerformances (20090720091106)
212
-  (0.0ms) begin transaction
213
-  (0.3ms) CREATE TABLE "medium_of_performances" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
214
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091106')
215
-  (0.6ms) commit transaction
216
- Migrating to CreateContentTypes (20090720091429)
217
-  (0.0ms) begin transaction
218
-  (0.4ms) 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)
219
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091429')
220
-  (0.6ms) commit transaction
221
- Migrating to CreateAgentRelationshipTypes (20090812151902)
222
-  (0.0ms) begin transaction
223
-  (0.5ms) 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)
224
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090812151902')
225
-  (0.6ms) commit transaction
226
- Migrating to AddDcndlSchema (20091012101112)
227
-  (0.0ms) begin transaction
228
-  (0.4ms) ALTER TABLE "manifestations" ADD "title_alternative_transcription" text
229
-  (0.2ms) ALTER TABLE "agents" ADD "full_name_alternative_transcription" text
230
-  (0.2ms) ALTER TABLE "manifestations" ADD "description" text
231
-  (0.2ms) ALTER TABLE "manifestations" ADD "abstract" text
232
-  (0.2ms) ALTER TABLE "manifestations" ADD "available_at" datetime
233
-  (0.2ms) ALTER TABLE "manifestations" ADD "valid_until" datetime
234
-  (0.2ms) ALTER TABLE "manifestations" ADD "date_submitted" datetime
235
-  (0.2ms) ALTER TABLE "manifestations" ADD "date_accepted" datetime
236
-  (0.2ms) ALTER TABLE "manifestations" ADD "date_caputured" datetime
237
-  (0.5ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_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) 
238
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
239
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
240
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
241
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
242
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
243
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
244
-  (0.1ms) SELECT * FROM "manifestations"
245
-  (0.4ms) DROP TABLE "manifestations"
246
-  (0.4ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_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)
247
-  (0.1ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
248
-  (0.2ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
249
-  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
250
-  (0.1ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
251
-  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
252
-  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
253
-  (0.1ms) SELECT * FROM "altered_manifestations"
254
-  (0.5ms) DROP TABLE "altered_manifestations"
255
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091012101112')
256
-  (1.5ms) commit transaction
257
- Migrating to CreateLicenses (20091025080447)
258
-  (0.0ms) begin transaction
259
-  (0.3ms) CREATE TABLE "licenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" varchar(255), "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
260
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091025080447')
261
-  (0.6ms) commit transaction
262
- Migrating to CreateVersions (20091202124834)
263
-  (0.0ms) begin transaction
264
-  (0.4ms) 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)
265
-  (0.2ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
266
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091202124834')
267
-  (0.8ms) commit transaction
268
- Migrating to CreateSeriesStatements (20091214131723)
269
-  (0.0ms) begin transaction
270
-  (0.4ms) 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) 
271
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091214131723')
272
-  (0.6ms) commit transaction
273
- Migrating to CreateImportRequests (20100129142347)
274
-  (0.0ms) begin transaction
275
-  (0.3ms) CREATE TABLE "import_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "isbn" varchar(255), "state" varchar(255), "manifestation_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
276
-  (0.1ms) CREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")
277
-  (0.2ms) CREATE INDEX "index_import_requests_on_manifestation_id" ON "import_requests" ("manifestation_id")
278
-  (0.2ms) CREATE INDEX "index_import_requests_on_user_id" ON "import_requests" ("user_id")
279
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100129142347')
280
-  (0.7ms) commit transaction
281
- Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
282
-  (0.0ms) begin transaction
283
-  (0.2ms) CREATE TEMPORARY TABLE "altered_series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
284
-  (0.1ms) SELECT * FROM "series_statements"
285
-  (0.2ms) DROP TABLE "series_statements"
286
-  (0.1ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
287
-  (0.0ms) SELECT * FROM "altered_series_statements"
288
-  (0.1ms) DROP TABLE "altered_series_statements"
289
-  (0.1ms) ALTER TABLE "series_statements" ADD "title_transcription" text
290
-  (0.1ms) ALTER TABLE "series_statements" ADD "title_alternative" text
291
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100223121519')
292
-  (0.7ms) commit transaction
293
- Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
294
-  (0.0ms) begin transaction
295
-  (0.3ms) ALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)
296
-  (0.1ms) CREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")
297
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100321235924')
298
-  (2.7ms) commit transaction
299
- Migrating to CreateManifestationRelationships (20100525124311)
300
-  (0.1ms) begin transaction
301
-  (0.3ms) CREATE TABLE "manifestation_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "manifestation_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
302
-  (0.1ms) CREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")
303
-  (0.1ms) CREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")
304
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100525124311')
305
-  (0.7ms) commit transaction
306
- Migrating to CreateAgentRelationships (20100606073747)
307
-  (0.0ms) begin transaction
308
-  (0.4ms) CREATE TABLE "agent_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "agent_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
309
-  (0.2ms) CREATE INDEX "index_agent_relationships_on_parent_id" ON "agent_relationships" ("parent_id")
310
-  (0.2ms) CREATE INDEX "index_agent_relationships_on_child_id" ON "agent_relationships" ("child_id")
311
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100606073747')
312
-  (0.6ms) commit transaction
313
- Migrating to CreateManifestationRelationshipTypes (20100607044753)
314
-  (0.0ms) begin transaction
315
-  (0.3ms) 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)
316
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100607044753')
317
-  (0.6ms) commit transaction
318
- Migrating to AddPositionToAgentRelationship (20100814091104)
319
-  (0.0ms) begin transaction
320
-  (0.3ms) ALTER TABLE "manifestation_relationships" ADD "position" integer
321
-  (0.1ms) ALTER TABLE "agent_relationships" ADD "position" integer
322
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100814091104')
323
-  (0.6ms) commit transaction
324
- Migrating to CreateResourceImportResults (20100925043847)
325
-  (0.0ms) begin transaction
326
-  (0.3ms) CREATE TABLE "resource_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_import_file_id" integer, "manifestation_id" integer, "item_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
327
-  (0.1ms) CREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")
328
-  (0.1ms) CREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")
329
-  (0.1ms) CREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")
330
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925043847')
331
-  (0.7ms) commit transaction
332
- Migrating to CreateAgentImportResults (20100925074559)
333
-  (0.0ms) begin transaction
334
-  (0.5ms) 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)
335
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925074559')
336
-  (0.6ms) commit transaction
337
- Migrating to AddAcquiredAtToItem (20101212070145)
338
-  (0.0ms) begin transaction
339
-  (0.5ms) ALTER TABLE "items" ADD "acquired_at" datetime
340
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101212070145')
341
-  (0.6ms) commit transaction
342
- Migrating to AddPubDateToManifestation (20110301035123)
343
-  (0.1ms) begin transaction
344
-  (0.4ms) ALTER TABLE "manifestations" ADD "pub_date" varchar(255)
345
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301035123')
346
-  (0.5ms) commit transaction
347
- Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
348
-  (0.0ms) begin transaction
349
-  (0.5ms) ALTER TABLE "agents" ADD "birth_date" varchar(255)
350
-  (0.3ms) ALTER TABLE "agents" ADD "death_date" varchar(255)
351
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301121550')
352
-  (0.5ms) commit transaction
353
- Migrating to AddIssnToSeriesStatement (20110425133109)
354
-  (0.0ms) begin transaction
355
-  (0.4ms) ALTER TABLE "series_statements" ADD "issn" varchar(255)
356
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110425133109')
357
-  (0.6ms) commit transaction
358
- Migrating to AddEditModeToResourceImportFile (20110603184217)
359
-  (0.0ms) begin transaction
360
-  (0.3ms) ALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)
361
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110603184217')
362
-  (0.5ms) commit transaction
363
- Migrating to AddPeriodicalToSeriesStatement (20110618091240)
364
-  (0.0ms) begin transaction
365
-  (0.5ms) ALTER TABLE "series_statements" ADD "periodical" boolean
366
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110618091240')
367
-  (0.5ms) commit transaction
368
- Migrating to AddEditionStringToManifestation (20110619064807)
369
-  (0.0ms) begin transaction
370
-  (0.4ms) ALTER TABLE "manifestations" ADD "edition_string" varchar(255)
371
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110619064807')
372
-  (0.9ms) commit transaction
373
- Migrating to AddBookstoreIdToItem (20110620173525)
374
-  (0.0ms) begin transaction
375
-  (0.5ms) ALTER TABLE "items" ADD "bookstore_id" integer
376
-  (0.2ms) CREATE INDEX "index_items_on_bookstore_id" ON "items" ("bookstore_id")
377
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110620173525')
378
-  (0.7ms) commit transaction
379
- Migrating to CreateSeriesStatementMergeLists (20110627034940)
380
-  (0.0ms) begin transaction
381
-  (0.4ms) CREATE TABLE "series_statement_merge_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
382
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')
383
-  (1.2ms) commit transaction
384
- Migrating to CreateSeriesStatementMerges (20110627035057)
385
-  (0.0ms) begin transaction
386
-  (0.5ms) 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)
387
-  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")
388
-  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")
389
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627035057')
390
-  (1.4ms) commit transaction
391
- Migrating to CreateSeriesHasManifestations (20110820131417)
392
-  (0.1ms) begin transaction
393
-  (0.4ms) 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)
394
-  (0.1ms) CREATE INDEX "index_series_has_manifestations_on_series_statement_id" ON "series_has_manifestations" ("series_statement_id")
395
-  (0.2ms) CREATE INDEX "index_series_has_manifestations_on_manifestation_id" ON "series_has_manifestations" ("manifestation_id")
396
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110820131417')
397
-  (0.6ms) commit transaction
398
- Migrating to AddLftAndRgtToClassification (20110913120629)
399
-  (0.0ms) begin transaction
400
-  (0.4ms) ALTER TABLE "classifications" ADD "lft" integer
401
-  (0.2ms) ALTER TABLE "classifications" ADD "rgt" integer
402
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
403
-  (0.5ms) commit transaction
404
- Migrating to RenameManifestationNumberListToNumberString (20110916053430)
405
-  (0.0ms) begin transaction
406
-  (0.3ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_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)) 
407
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
408
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
409
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
410
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
411
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
412
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
413
-  (0.1ms) SELECT * FROM "manifestations"
414
-  (0.5ms) DROP TABLE "manifestations"
415
-  (0.4ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_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))
416
-  (0.1ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
417
-  (0.1ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
418
-  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
419
-  (0.1ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
420
-  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
421
-  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
422
-  (0.1ms) SELECT * FROM "altered_manifestations"
423
-  (0.1ms) DROP TABLE "altered_manifestations"
424
-  (0.2ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255)) 
425
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
426
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
427
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
428
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
429
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
430
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
431
-  (0.1ms) SELECT * FROM "manifestations"
432
-  (0.6ms) DROP TABLE "manifestations"
433
-  (0.4ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_list" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255))
434
-  (0.1ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
435
-  (0.1ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
436
-  (0.1ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
437
-  (0.1ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
438
-  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
439
-  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
440
-  (0.1ms) SELECT * FROM "altered_manifestations"
441
-  (0.2ms) DROP TABLE "altered_manifestations"
442
-  (0.2ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime, "pub_date" varchar(255), "edition_string" varchar(255)) 
443
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
444
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
445
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_frequency_id" ON "altered_manifestations" ("frequency_id")
446
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
447
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_required_role_id" ON "altered_manifestations" ("required_role_id")
448
-  (0.3ms) CREATE INDEX "temp_index_altered_manifestations_on_carrier_type_id" ON "altered_manifestations" ("carrier_type_id")
449
-  (0.2ms) SELECT * FROM "manifestations"
450
-  (0.5ms) DROP TABLE "manifestations"
451
-  (0.2ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "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))
452
-  (0.1ms) CREATE INDEX "index_manifestations_on_carrier_type_id" ON "manifestations" ("carrier_type_id")
453
-  (0.2ms) CREATE INDEX "index_manifestations_on_required_role_id" ON "manifestations" ("required_role_id")
454
-  (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
455
-  (0.2ms) CREATE INDEX "index_manifestations_on_frequency_id" ON "manifestations" ("frequency_id")
456
-  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
457
-  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
458
-  (0.1ms) SELECT * FROM "altered_manifestations"
459
-  (0.2ms) DROP TABLE "altered_manifestations"
460
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916053430')
461
-  (1.7ms) commit transaction
462
- Migrating to AddVolumeNumberToManifestation (20110916091020)
463
-  (0.0ms) begin transaction
464
-  (0.4ms) ALTER TABLE "manifestations" ADD "volume_number" integer
465
-  (0.2ms) ALTER TABLE "manifestations" ADD "issue_number" integer
466
-  (0.2ms) ALTER TABLE "manifestations" ADD "serial_number" integer
467
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916091020')
468
-  (1.2ms) commit transaction
469
- Migrating to AddManifestaitonIdToSeriesStatement (20110916103953)
470
-  (0.0ms) begin transaction
471
-  (0.3ms) ALTER TABLE "series_statements" ADD "manifestation_id" integer
472
-  (0.1ms) CREATE INDEX "index_series_statements_on_manifestation_id" ON "series_statements" ("manifestation_id")
473
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916103953')
474
-  (7.9ms) commit transaction
475
- Migrating to AddNoteToSeriesStatement (20110918162329)
476
-  (0.0ms) begin transaction
477
-  (0.3ms) ALTER TABLE "series_statements" ADD "note" text
478
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110918162329')
479
-  (0.5ms) commit transaction
480
- Migrating to AddNdcToManifestation (20111009183423)
481
-  (0.0ms) begin transaction
482
-  (0.4ms) ALTER TABLE "manifestations" ADD "ndc" varchar(255)
483
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111009183423')
484
-  (0.5ms) commit transaction
485
- Migrating to CreateCreateTypes (20111124110059)
486
-  (0.0ms) begin transaction
487
-  (0.3ms) CREATE TABLE "create_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
488
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110059')
489
-  (0.6ms) commit transaction
490
- Migrating to CreateRealizeTypes (20111124110319)
491
-  (0.0ms) begin transaction
492
-  (0.3ms) CREATE TABLE "realize_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
493
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110319')
494
-  (0.6ms) commit transaction
495
- Migrating to CreateProduceTypes (20111124110355)
496
-  (0.0ms) begin transaction
497
-  (0.3ms) CREATE TABLE "produce_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
498
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110355')
499
-  (1.9ms) commit transaction
500
- Migrating to AddCreateTypeToCreate (20111124112131)
501
-  (0.0ms) begin transaction
502
-  (0.3ms) ALTER TABLE "creates" ADD "create_type_id" integer
503
-  (0.2ms) ALTER TABLE "realizes" ADD "realize_type_id" integer
504
-  (0.3ms) ALTER TABLE "produces" ADD "produce_type_id" integer
505
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124112131')
506
-  (2.6ms) commit transaction
507
- Migrating to CreateRoles (20111201121844)
508
-  (0.1ms) begin transaction
509
-  (0.7ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
510
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
511
-  (0.6ms) commit transaction
512
- Migrating to CreateUsers (20111201155456)
513
-  (0.0ms) begin transaction
514
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "locale" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
515
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
516
-  (8.8ms) commit transaction
517
- Migrating to AddDeviseToUsers (20111201155513)
518
-  (0.1ms) begin transaction
519
-  (0.5ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
520
-  (0.2ms) ALTER TABLE "users" ADD "encrypted_password" varchar(255) DEFAULT '' NOT NULL
521
-  (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)
522
-  (0.4ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
523
-  (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
524
-  (0.2ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
525
-  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
526
-  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
527
-  (0.2ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)
528
-  (0.2ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
529
-  (0.2ms) ALTER TABLE "users" ADD "password_salt" varchar(255)
530
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_token" varchar(255)
531
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
532
-  (0.2ms) ALTER TABLE "users" ADD "confirmation_sent_at" datetime
533
-  (0.2ms) ALTER TABLE "users" ADD "unconfirmed_email" varchar(255)
534
-  (0.3ms) ALTER TABLE "users" ADD "failed_attempts" integer DEFAULT 0
535
-  (0.2ms) ALTER TABLE "users" ADD "unlock_token" varchar(255)
536
-  (0.2ms) ALTER TABLE "users" ADD "locked_at" datetime
537
-  (0.2ms) ALTER TABLE "users" ADD "authentication_token" varchar(255)
538
-  (0.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
539
-  (0.7ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
540
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
541
-  (0.6ms) commit transaction
542
- Migrating to CreateUserHasRoles (20111201163718)
543
-  (0.0ms) begin transaction
544
-  (0.3ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
545
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
546
-  (0.5ms) commit transaction
547
- Migrating to AddTitleSubseriesTranscriptionToSeriesStatement (20120125152919)
548
-  (0.0ms) begin transaction
549
-  (0.3ms) ALTER TABLE "series_statements" ADD "title_subseries_transcription" text
550
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120125152919')
551
-  (0.6ms) commit transaction
552
- Migrating to AddBudgetTypeIdToItem (20120129020544)
553
-  (0.0ms) begin transaction
554
-  (0.4ms) ALTER TABLE "items" ADD "budget_type_id" integer
555
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120129020544')
556
-  (2.8ms) commit transaction
557
- Migrating to AddContentTypeIdToManifestation (20120319120638)
558
-  (0.1ms) begin transaction
559
-  (0.6ms) ALTER TABLE "manifestations" ADD "content_type_id" integer DEFAULT 1
560
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120319120638')
561
-  (2.8ms) commit transaction
562
- Migrating to AddUrlToSubject (20120406020752)
563
-  (0.1ms) begin transaction
564
-  (0.4ms) ALTER TABLE "subjects" ADD "url" varchar(255)
565
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120406020752')
566
-  (0.6ms) commit transaction
567
- Migrating to AddYearOfPublicationToManifestation (20120410104851)
568
-  (0.0ms) begin transaction
569
-  (0.4ms) ALTER TABLE "manifestations" ADD "year_of_publication" integer
570
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120410104851')
571
-  (0.5ms) commit transaction
572
- Migrating to AddPictureMetaToPictureFile (20120413072700)
573
-  (0.0ms) begin transaction
574
-  (0.3ms) ALTER TABLE "picture_files" ADD "picture_meta" text
575
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413072700')
576
-  (0.6ms) commit transaction
577
- Migrating to AddFingerprintToPictureFile (20120413100352)
578
-  (0.0ms) begin transaction
579
-  (0.4ms) ALTER TABLE "picture_files" ADD "picture_fingerprint" varchar(255)
580
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413100352')
581
-  (0.6ms) commit transaction
582
- Migrating to AddFingerprintToResourceImportFile (20120413161340)
583
-  (0.0ms) begin transaction
584
-  (0.4ms) ALTER TABLE "resource_import_files" ADD "resource_import_fingerprint" varchar(255)
585
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161340')
586
-  (0.5ms) commit transaction
587
- Migrating to AddFingerprintToAgentImportFile (20120413161403)
588
-  (0.0ms) begin transaction
589
-  (0.3ms) ALTER TABLE "agent_import_files" ADD "agent_import_fingerprint" varchar(255)
590
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161403')
591
-  (0.5ms) commit transaction
592
- Migrating to AddErrorMessageToResourceImportFile (20120413170705)
593
-  (0.0ms) begin transaction
594
-  (0.4ms) ALTER TABLE "resource_import_files" ADD "error_message" text
595
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170705')
596
-  (0.6ms) commit transaction
597
- Migrating to AddErrorMessageToAgentImportFile (20120413170720)
598
-  (0.0ms) begin transaction
599
-  (0.5ms) ALTER TABLE "agent_import_files" ADD "error_message" text
600
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170720')
601
-  (0.8ms) commit transaction
602
- Migrating to RenameResourceImportFileImportedAtToExecutedAt (20120415060308)
603
-  (0.0ms) begin transaction
604
-  (0.1ms) CREATE TEMPORARY TABLE "altered_resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "state" varchar(255), "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "edit_mode" varchar(255), "resource_import_fingerprint" varchar(255), "error_message" text) 
605
-  (0.1ms) CREATE INDEX "temp_index_altered_resource_import_files_on_state" ON "altered_resource_import_files" ("state")
606
-  (0.1ms) CREATE INDEX "temp_index_altered_resource_import_files_on_user_id" ON "altered_resource_import_files" ("user_id")
607
-  (0.1ms) CREATE INDEX "temp_index_altered_resource_import_files_on_parent_id" ON "altered_resource_import_files" ("parent_id")
608
-  (0.1ms) SELECT * FROM "resource_import_files"
609
-  (0.3ms) DROP TABLE "resource_import_files"
610
-  (0.1ms) CREATE TABLE "resource_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "content_type" varchar(255), "size" integer, "user_id" integer, "note" text, "executed_at" datetime, "state" varchar(255), "resource_import_file_name" varchar(255), "resource_import_content_type" varchar(255), "resource_import_file_size" integer, "resource_import_updated_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "edit_mode" varchar(255), "resource_import_fingerprint" varchar(255), "error_message" text) 
611
-  (0.1ms) CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
612
-  (0.1ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
613
-  (0.1ms) CREATE INDEX "index_resource_import_files_on_state" ON "resource_import_files" ("state")
614
-  (0.0ms) SELECT * FROM "altered_resource_import_files"
615
-  (0.1ms) DROP TABLE "altered_resource_import_files"
616
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120415060308')
617
-  (0.7ms) commit transaction
618
- Migrating to AddAttachmentMetaToManifestation (20120415164821)
619
-  (0.0ms) begin transaction
620
-  (0.4ms) ALTER TABLE "manifestations" ADD "attachment_meta" text
621
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120415164821')
622
-  (0.6ms) commit transaction
623
- Migrating to AddMonthOfPublicationToManifestation (20120418081407)
624
-  (0.1ms) begin transaction
625
-  (0.5ms) ALTER TABLE "manifestations" ADD "month_of_publication" integer
626
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418081407')
627
-  (0.6ms) commit transaction
628
- Migrating to AddAgentIdentifierToAgent (20120511072422)
629
-  (0.0ms) begin transaction
630
-  (0.4ms) ALTER TABLE "agents" ADD "agent_identifier" varchar(255)
631
-  (0.1ms) CREATE INDEX "index_agents_on_agent_identifier" ON "agents" ("agent_identifier")
632
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120511072422')
633
-  (17.1ms) commit transaction
634
- Migrating to AddEditModeToAgentImportFile (20120602141129)
635
-  (0.0ms) begin transaction
636
-  (0.4ms) ALTER TABLE "agent_import_files" ADD "edit_mode" varchar(255)
637
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120602141129')
638
-  (0.9ms) commit transaction
639
- Migrating to AddDoiToManifestation (20121116033446)
640
-  (0.0ms) begin transaction
641
-  (0.4ms) ALTER TABLE "manifestations" ADD "doi" varchar(255)
642
-  (0.2ms) CREATE INDEX "index_manifestations_on_doi" ON "manifestations" ("doi")
643
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121116033446')
644
-  (2.6ms) commit transaction
645
- Migrating to AddPeriodicalToManifestation (20130421093852)
646
-  (0.0ms) begin transaction
647
-  (0.6ms) ALTER TABLE "manifestations" ADD "periodical" boolean
648
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421093852')
649
-  (3.7ms) commit transaction
650
- Migrating to AddCreatorStringToSeriesStatement (20130421155019)
651
-  (0.0ms) begin transaction
652
-  (0.5ms) ALTER TABLE "series_statements" ADD "creator_string" text
653
-  (0.2ms) ALTER TABLE "series_statements" ADD "volume_number_string" text
654
-  (0.2ms) ALTER TABLE "series_statements" ADD "volume_number_transcription_string" text
655
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421155019')
656
-  (0.5ms) commit transaction
657
- Migrating to AddSeriesMasterToSeriesStatement (20130421164124)
658
-  (0.0ms) begin transaction
659
-  (0.3ms) ALTER TABLE "series_statements" ADD "series_master" boolean
660
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421164124')
661
-  (0.5ms) commit transaction
662
- Migrating to AddRootManifestationIdToSeriesStatement (20130429020822)
663
-  (0.0ms) begin transaction
664
-  (0.4ms) ALTER TABLE "series_statements" ADD "root_manifestation_id" integer
665
-  (0.2ms) CREATE INDEX "index_series_statements_on_root_manifestation_id" ON "series_statements" ("root_manifestation_id")
666
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130429020822')
667
-  (4.5ms) commit transaction
668
- Migrating to AddManifestationIdToSubject (20130504133816)
669
-  (0.1ms) begin transaction
670
-  (0.5ms) ALTER TABLE "subjects" ADD "manifestation_id" integer
671
-  (0.2ms) CREATE INDEX "index_subjects_on_manifestation_id" ON "subjects" ("manifestation_id")
672
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504133816')
673
-  (5.0ms) commit transaction
674
- Migrating to AddManifestationIdToClassification (20130504143515)
675
-  (0.0ms) begin transaction
676
-  (0.4ms) ALTER TABLE "classifications" ADD "manifestation_id" integer
677
-  (0.2ms) CREATE INDEX "index_classifications_on_manifestation_id" ON "classifications" ("manifestation_id")
678
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504143515')
679
-  (6.2ms) commit transaction
680
- Migrating to AddSubjectHeadingTypeIdToSubject (20130504195916)
681
-  (0.1ms) begin transaction
682
-  (0.6ms) ALTER TABLE "subjects" ADD "subject_heading_type_id" integer
683
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504195916')
684
-  (4.3ms) commit transaction
685
- Migrating to CreateIdentifierTypes (20130506175303)
686
-  (0.0ms) begin transaction
687
-  (0.4ms) CREATE TABLE "identifier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
688
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130506175303')
689
-  (23.3ms) commit transaction
690
- Migrating to CreateIdentifiers (20130506175834)
691
-  (0.0ms) begin transaction
692
-  (0.4ms) CREATE TABLE "identifiers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar(255) NOT NULL, "identifier_type_id" integer NOT NULL, "manifestation_id" integer, "primary" boolean, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
693
-  (0.2ms) CREATE INDEX "index_identifiers_on_body_and_identifier_type_id" ON "identifiers" ("body", "identifier_type_id")
694
-  (0.2ms) CREATE INDEX "index_identifiers_on_manifestation_id" ON "identifiers" ("manifestation_id")
695
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130506175834')
696
-  (0.7ms) commit transaction
697
- Migrating to AddStatementOfResponsibilityToManifestation (20130509185724)
698
-  (0.0ms) begin transaction
699
-  (0.4ms) ALTER TABLE "manifestations" ADD "statement_of_responsibility" text
700
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130509185724')
701
-  (0.5ms) commit transaction
702
- Migrating to AddManifestationIdToItem (20140802082007)
703
-  (0.0ms) begin transaction
704
-  (0.3ms) ALTER TABLE "items" ADD "manifestation_id" integer
705
-  (0.1ms) CREATE INDEX "index_items_on_manifestation_id" ON "items" ("manifestation_id")
706
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140802082007')
707
-  (0.7ms) commit transaction
708
- Migrating to AddPublicationPlaceToManifestation (20140813182425)
709
-  (0.0ms) begin transaction
710
-  (0.4ms) ALTER TABLE "manifestations" ADD "publication_place" text
711
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140813182425')
712
-  (0.5ms) commit transaction
713
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
714
- Connecting to database specified by database.yml
715
-  (0.1ms) select sqlite_version(*)
716
-  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
717
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
718
-  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
719
- Migrating to CreateAgents (1)
720
-  (0.0ms) begin transaction
721
-  (0.4ms) CREATE TABLE "agents" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "last_name" varchar(255), "middle_name" varchar(255), "first_name" varchar(255), "last_name_transcription" varchar(255), "middle_name_transcription" varchar(255), "first_name_transcription" varchar(255), "corporate_name" varchar(255), "corporate_name_transcription" varchar(255), "full_name" varchar(255), "full_name_transcription" text, "full_name_alternative" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "zip_code_1" varchar(255), "zip_code_2" varchar(255), "address_1" text, "address_2" text, "address_1_note" text, "address_2_note" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number_1" varchar(255), "fax_number_2" varchar(255), "other_designation" text, "place" text, "postal_code" varchar(255), "street" text, "locality" text, "region" text, "date_of_birth" datetime, "date_of_death" datetime, "language_id" integer DEFAULT 1 NOT NULL, "country_id" integer DEFAULT 1 NOT NULL, "agent_type_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "note" text, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "email" text, "url" text)
722
-  (0.1ms) CREATE INDEX "index_agents_on_language_id" ON "agents" ("language_id")
723
-  (0.1ms) CREATE INDEX "index_agents_on_country_id" ON "agents" ("country_id")
724
-  (0.1ms) CREATE INDEX "index_agents_on_required_role_id" ON "agents" ("required_role_id")
725
-  (0.1ms) CREATE INDEX "index_agents_on_full_name" ON "agents" ("full_name")
726
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('1')
727
-  (0.7ms) commit transaction
728
- Migrating to DeviseCreateUsers (2)
729
-  (0.1ms) begin transaction
730
-  (0.3ms) 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)
731
-  (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
732
-  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
733
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('2')
734
-  (0.8ms) commit transaction
735
- Migrating to CreateManifestations (5)
736
-  (0.0ms) begin transaction
737
-  (0.3ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "copyright_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL)
738
-  (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
739
-  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
740
-  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
741
-  (0.2ms) CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
742
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('5')
743
-  (0.7ms) commit transaction
744
- Migrating to CreateItems (6)
745
-  (0.0ms) begin transaction
746
-  (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "call_number" varchar(255), "item_identifier" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "shelf_id" integer DEFAULT 1 NOT NULL, "include_supplements" boolean DEFAULT 'f' NOT NULL, "note" text, "url" varchar(255), "price" integer, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL)
747
-  (0.1ms) CREATE INDEX "index_items_on_shelf_id" ON "items" ("shelf_id")
748
-  (0.1ms) CREATE INDEX "index_items_on_item_identifier" ON "items" ("item_identifier")
749
-  (0.1ms) CREATE INDEX "index_items_on_required_role_id" ON "items" ("required_role_id")
750
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('6')
751
-  (0.8ms) commit transaction
752
- Migrating to CreateOwns (12)
753
-  (0.0ms) begin transaction
754
-  (0.2ms) CREATE TABLE "owns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
755
-  (0.1ms) CREATE INDEX "index_owns_on_agent_id" ON "owns" ("agent_id")
756
-  (0.1ms) CREATE INDEX "index_owns_on_item_id" ON "owns" ("item_id")
757
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('12')
758
-  (0.5ms) commit transaction
759
- Migrating to CreateCreates (15)
760
-  (0.1ms) begin transaction
761
-  (0.4ms) 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) 
762
-  (0.1ms) CREATE INDEX "index_creates_on_agent_id" ON "creates" ("agent_id")
763
-  (0.1ms) CREATE INDEX "index_creates_on_work_id" ON "creates" ("work_id")
764
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('15')
765
-  (0.7ms) commit transaction
766
- Migrating to CreateSubjects (29)
767
-  (0.0ms) begin transaction
768
-  (0.2ms) 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) 
769
-  (0.1ms) CREATE INDEX "index_subjects_on_term" ON "subjects" ("term")
770
-  (0.1ms) CREATE INDEX "index_subjects_on_parent_id" ON "subjects" ("parent_id")
771
-  (0.1ms) CREATE INDEX "index_subjects_on_use_term_id" ON "subjects" ("use_term_id")
772
-  (0.1ms) CREATE INDEX "index_subjects_on_subject_type_id" ON "subjects" ("subject_type_id")
773
-  (0.1ms) CREATE INDEX "index_subjects_on_required_role_id" ON "subjects" ("required_role_id")
774
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('29')
775
-  (0.6ms) commit transaction
776
- Migrating to CreateRoles (41)
777
-  (0.0ms) begin transaction
778
-  (0.3ms) CREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" varchar(255), "note" text, "created_at" datetime, "updated_at" datetime, "score" integer DEFAULT 0 NOT NULL, "position" integer)
779
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('41')
780
-  (0.6ms) commit transaction
781
- Migrating to CreateProduces (47)
782
-  (0.0ms) begin transaction
783
-  (0.2ms) CREATE TABLE "produces" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_id" integer NOT NULL, "manifestation_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
784
-  (0.1ms) CREATE INDEX "index_produces_on_agent_id" ON "produces" ("agent_id")
785
-  (0.1ms) CREATE INDEX "index_produces_on_manifestation_id" ON "produces" ("manifestation_id")
786
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('47')
787
-  (0.5ms) commit transaction
788
- Migrating to CreateLibraries (59)
789
-  (0.1ms) begin transaction
790
-  (0.4ms) CREATE TABLE "libraries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_display_name" varchar(255) NOT NULL, "zip_code" varchar(255), "street" text, "locality" text, "region" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number" varchar(255), "note" text, "call_number_rows" integer DEFAULT 1 NOT NULL, "call_number_delimiter" varchar(255) DEFAULT '|' NOT NULL, "library_group_id" integer DEFAULT 1 NOT NULL, "users_count" integer DEFAULT 0 NOT NULL, "position" integer, "country_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime)
791
-  (0.2ms) CREATE INDEX "index_libraries_on_library_group_id" ON "libraries" ("library_group_id")
792
-  (0.4ms) CREATE UNIQUE INDEX "index_libraries_on_name" ON "libraries" ("name")
793
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('59')
794
-  (0.7ms) commit transaction
795
- Migrating to CreateShelves (69)
796
-  (0.0ms) begin transaction
797
-  (0.3ms) 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)
798
-  (0.1ms) CREATE INDEX "index_shelves_on_library_id" ON "shelves" ("library_id")
799
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('69')
800
-  (0.7ms) commit transaction
801
- Migrating to CreateCarrierTypes (73)
802
-  (0.1ms) begin transaction
803
-  (0.3ms) CREATE TABLE "carrier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
804
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('73')
805
-  (0.7ms) commit transaction
806
- Migrating to CreateUserGroups (77)
807
-  (0.0ms) begin transaction
808
-  (0.6ms) CREATE TABLE "user_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime) 
809
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('77')
810
-  (1.1ms) commit transaction
811
- Migrating to CreateLibraryGroups (80)
812
-  (0.0ms) begin transaction
813
-  (0.5ms) CREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "my_networks" text, "login_banner" text, "note" text, "country_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
814
-  (0.1ms) CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
815
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('80')
816
-  (0.8ms) commit transaction
817
- Migrating to CreateFrequencies (112)
818
-  (0.0ms) begin transaction
819
-  (0.3ms) 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)
820
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('112')
821
-  (0.6ms) commit transaction
822
- Migrating to CreateFormOfWorks (117)
823
-  (0.0ms) begin transaction
824
-  (0.3ms) 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)
825
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('117')
826
-  (0.7ms) commit transaction
827
- Migrating to CreateBaskets (120)
828
-  (0.0ms) begin transaction
829
-  (0.4ms) 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)
830
-  (0.1ms) CREATE INDEX "index_baskets_on_user_id" ON "baskets" ("user_id")
831
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('120')
832
-  (0.7ms) commit transaction
833
- Migrating to CreateBookstores (124)
834
-  (0.0ms) begin transaction
835
-  (0.5ms) CREATE TABLE "bookstores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" text NOT NULL, "zip_code" varchar(255), "address" text, "note" text, "telephone_number" varchar(255), "fax_number" varchar(255), "url" varchar(255), "position" integer, "deleted_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
836
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('124')
837
-  (0.7ms) commit transaction
838
- Migrating to CreateDonates (125)
839
-  (0.0ms) begin transaction
840
-  (0.5ms) 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) 
841
-  (0.1ms) CREATE INDEX "index_donates_on_agent_id" ON "donates" ("agent_id")
842
-  (0.1ms) CREATE INDEX "index_donates_on_item_id" ON "donates" ("item_id")
843
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('125')
844
-  (0.8ms) commit transaction
845
- Migrating to CreateRequestStatusTypes (130)
846
-  (0.0ms) begin transaction
847
-  (0.3ms) CREATE TABLE "request_status_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
848
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('130')
849
-  (0.6ms) commit transaction
850
- Migrating to CreateRequestTypes (131)
851
-  (0.0ms) begin transaction
852
-  (0.4ms) CREATE TABLE "request_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
853
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('131')
854
-  (0.5ms) commit transaction
855
- Migrating to CreateClassifications (142)
856
-  (0.0ms) begin transaction
857
-  (0.6ms) 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) 
858
-  (0.1ms) CREATE INDEX "index_classifications_on_parent_id" ON "classifications" ("parent_id")
859
-  (0.1ms) CREATE INDEX "index_classifications_on_category" ON "classifications" ("category")
860
-  (0.1ms) CREATE INDEX "index_classifications_on_classification_type_id" ON "classifications" ("classification_type_id")
861
-  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('142')
862
-  (0.6ms) commit transaction
863
- Migrating to CreateClassificationTypes (144)
864
-  (0.0ms) begin transaction
865
-  (0.3ms) CREATE TABLE "classification_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
866
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('144')
867
-  (0.6ms) commit transaction
868
- Migrating to CreateSubjectHeadingTypes (145)
869
-  (0.0ms) begin transaction
870
-  (0.3ms) CREATE TABLE "subject_heading_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
871
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('145')
872
-  (0.8ms) commit transaction
873
- Migrating to CreateSubjectTypes (146)
874
-  (0.0ms) begin transaction
875
-  (0.3ms) CREATE TABLE "subject_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
876
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('146')
877
-  (0.7ms) commit transaction
878
- Migrating to CreateRealizes (20080830154109)
879
-  (0.0ms) begin transaction
880
-  (0.2ms) 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)
881
-  (0.1ms) CREATE INDEX "index_realizes_on_agent_id" ON "realizes" ("agent_id")
882
-  (0.1ms) CREATE INDEX "index_realizes_on_expression_id" ON "realizes" ("expression_id")
883
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830154109')
884
-  (0.6ms) commit transaction
885
- Migrating to CreateExemplifies (20080830172106)
886
-  (0.0ms) begin transaction
887
-  (0.3ms) CREATE TABLE "exemplifies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "manifestation_id" integer NOT NULL, "item_id" integer NOT NULL, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
888
-  (0.1ms) CREATE INDEX "index_exemplifies_on_manifestation_id" ON "exemplifies" ("manifestation_id")
889
-  (0.4ms) CREATE UNIQUE INDEX "index_exemplifies_on_item_id" ON "exemplifies" ("item_id")
890
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080830172106')
891
-  (0.8ms) commit transaction
892
- Migrating to CreateAgentTypes (20080905191442)
893
-  (0.0ms) begin transaction
894
-  (0.2ms) 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)
895
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
896
-  (0.6ms) commit transaction
897
- Migrating to CreateSubscriptions (20081006090811)
898
-  (0.0ms) begin transaction
899
-  (0.3ms) CREATE TABLE "subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text NOT NULL, "note" text, "user_id" integer, "order_list_id" integer, "deleted_at" datetime, "subscribes_count" integer DEFAULT 0 NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
900
-  (0.1ms) CREATE INDEX "index_subscriptions_on_user_id" ON "subscriptions" ("user_id")
901
-  (0.1ms) CREATE INDEX "index_subscriptions_on_order_list_id" ON "subscriptions" ("order_list_id")
902
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081006090811')
903
-  (0.7ms) commit transaction
904
- Migrating to CreateSubscribes (20081006093246)
905
-  (0.0ms) begin transaction
906
-  (0.4ms) CREATE TABLE "subscribes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subscription_id" integer NOT NULL, "work_id" integer NOT NULL, "start_at" datetime NOT NULL, "end_at" datetime NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
907
-  (0.1ms) CREATE INDEX "index_subscribes_on_subscription_id" ON "subscribes" ("subscription_id")
908
-  (0.1ms) CREATE INDEX "index_subscribes_on_work_id" ON "subscribes" ("work_id")
909
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081006093246')
910
-  (0.6ms) commit transaction
911
- Migrating to CreateSearchEngines (20081023092436)
912
-  (0.1ms) begin transaction
913
-  (0.3ms) CREATE TABLE "search_engines" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "url" varchar(255) NOT NULL, "base_url" text NOT NULL, "http_method" text NOT NULL, "query_param" text NOT NULL, "additional_param" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
914
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081023092436')
915
-  (0.6ms) commit transaction
916
- Migrating to CreateCountries (20081025083323)
917
-  (0.0ms) begin transaction
918
-  (0.2ms) 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)
919
-  (0.1ms) CREATE INDEX "index_countries_on_name" ON "countries" ("name")
920
-  (0.1ms) CREATE INDEX "index_countries_on_alpha_2" ON "countries" ("alpha_2")
921
-  (0.1ms) CREATE INDEX "index_countries_on_alpha_3" ON "countries" ("alpha_3")
922
-  (0.1ms) CREATE INDEX "index_countries_on_numeric_3" ON "countries" ("numeric_3")
923
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083323')
924
-  (0.6ms) commit transaction
925
- Migrating to CreateLanguages (20081025083905)
926
-  (0.0ms) begin transaction
927
-  (0.5ms) 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)
928
-  (0.5ms) CREATE UNIQUE INDEX "index_languages_on_name" ON "languages" ("name")
929
-  (0.1ms) CREATE INDEX "index_languages_on_iso_639_1" ON "languages" ("iso_639_1")
930
-  (0.1ms) CREATE INDEX "index_languages_on_iso_639_2" ON "languages" ("iso_639_2")
931
-  (0.1ms) CREATE INDEX "index_languages_on_iso_639_3" ON "languages" ("iso_639_3")
932
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081025083905')
933
-  (0.8ms) commit transaction
934
- Migrating to CreatePictureFiles (20081027150907)
935
-  (0.0ms) begin transaction
936
-  (0.4ms) 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)
937
-  (0.1ms) CREATE INDEX "index_picture_files_on_picture_attachable_id_and_type" ON "picture_files" ("picture_attachable_id", "picture_attachable_type")
938
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081027150907')
939
-  (0.8ms) commit transaction
940
- Migrating to CreateAgentImportFiles (20081028083142)
941
-  (0.0ms) begin transaction
942
-  (0.2ms) 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) 
943
-  (0.1ms) CREATE INDEX "index_agent_import_files_on_parent_id" ON "agent_import_files" ("parent_id")
944
-  (0.1ms) CREATE INDEX "index_agent_import_files_on_user_id" ON "agent_import_files" ("user_id")
945
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083142')
946
-  (0.7ms) commit transaction
947
- Migrating to CreateResourceImportFiles (20081028083208)
948
-  (0.0ms) begin transaction
949
-  (0.4ms) 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) 
950
-  (0.2ms) CREATE INDEX "index_resource_import_files_on_parent_id" ON "resource_import_files" ("parent_id")
951
-  (0.1ms) CREATE INDEX "index_resource_import_files_on_user_id" ON "resource_import_files" ("user_id")
952
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20081028083208')
953
-  (0.7ms) commit transaction
954
- Migrating to AddAttachmentsPictureToPictureFile (20090705133942)
955
-  (0.0ms) begin transaction
956
-  (0.3ms) ALTER TABLE "picture_files" ADD "picture_file_name" varchar(255)
957
-  (0.2ms) ALTER TABLE "picture_files" ADD "picture_content_type" varchar(255)
958
-  (0.2ms) ALTER TABLE "picture_files" ADD "picture_file_size" integer
959
-  (0.2ms) ALTER TABLE "picture_files" ADD "picture_updated_at" datetime
960
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705133942')
961
-  (0.7ms) commit transaction
962
- Migrating to AddAttachmentsAttachmentToManifestation (20090705212043)
963
-  (0.0ms) begin transaction
964
-  (0.4ms) ALTER TABLE "manifestations" ADD "attachment_file_name" varchar(255)
965
-  (0.3ms) ALTER TABLE "manifestations" ADD "attachment_content_type" varchar(255)
966
-  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_file_size" integer
967
-  (0.2ms) ALTER TABLE "manifestations" ADD "attachment_updated_at" datetime
968
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090705212043')
969
-  (0.6ms) commit transaction
970
- Migrating to CreateExtents (20090719201843)
971
-  (0.0ms) begin transaction
972
-  (0.2ms) 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) 
973
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090719201843')
974
-  (0.8ms) commit transaction
975
- Migrating to CreateMediumOfPerformances (20090720091106)
976
-  (0.0ms) begin transaction
977
-  (0.5ms) 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) 
978
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091106')
979
-  (0.9ms) commit transaction
980
- Migrating to CreateContentTypes (20090720091429)
981
-  (0.0ms) begin transaction
982
-  (0.3ms) CREATE TABLE "content_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
983
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090720091429')
984
-  (0.7ms) commit transaction
985
- Migrating to CreateAgentRelationshipTypes (20090812151902)
986
-  (0.0ms) begin transaction
987
-  (0.4ms) 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) 
988
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090812151902')
989
-  (0.8ms) commit transaction
990
- Migrating to AddDcndlSchema (20091012101112)
991
-  (0.0ms) begin transaction
992
-  (0.5ms) ALTER TABLE "manifestations" ADD "title_alternative_transcription" text
993
-  (0.3ms) ALTER TABLE "agents" ADD "full_name_alternative_transcription" text
994
-  (0.3ms) ALTER TABLE "manifestations" ADD "description" text
995
-  (0.2ms) ALTER TABLE "manifestations" ADD "abstract" text
996
-  (0.2ms) ALTER TABLE "manifestations" ADD "available_at" datetime
997
-  (0.2ms) ALTER TABLE "manifestations" ADD "valid_until" datetime
998
-  (0.2ms) ALTER TABLE "manifestations" ADD "date_submitted" datetime
999
-  (0.2ms) ALTER TABLE "manifestations" ADD "date_accepted" datetime
1000
-  (0.2ms) ALTER TABLE "manifestations" ADD "date_caputured" datetime
1001
-  (0.6ms) CREATE TEMPORARY TABLE "altered_manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime)
1002
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_date_of_publication" ON "altered_manifestations" ("date_of_publication")
1003
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_updated_at" ON "altered_manifestations" ("updated_at")
1004
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_manifestation_identifier" ON "altered_manifestations" ("manifestation_identifier")
1005
-  (0.1ms) CREATE INDEX "temp_index_altered_manifestations_on_access_address" ON "altered_manifestations" ("access_address")
1006
-  (0.1ms) SELECT * FROM "manifestations"
1007
-  (0.5ms) DROP TABLE "manifestations"
1008
-  (0.2ms) CREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "date_copyrighted" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "attachment_file_name" varchar(255), "attachment_content_type" varchar(255), "attachment_file_size" integer, "attachment_updated_at" datetime, "title_alternative_transcription" text, "description" text, "abstract" text, "available_at" datetime, "valid_until" datetime, "date_submitted" datetime, "date_accepted" datetime, "date_caputured" datetime) 
1009
-  (0.2ms) CREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")
1010
-  (0.1ms) CREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")
1011
-  (0.1ms) CREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at")
1012
-  (0.1ms) CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")
1013
-  (0.2ms) SELECT * FROM "altered_manifestations"
1014
-  (0.6ms) DROP TABLE "altered_manifestations"
1015
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091012101112')
1016
-  (1.2ms) commit transaction
1017
- Migrating to CreateLicenses (20091025080447)
1018
-  (0.0ms) begin transaction
1019
-  (0.3ms) CREATE TABLE "licenses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" varchar(255), "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1020
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091025080447')
1021
-  (0.7ms) commit transaction
1022
- Migrating to CreateVersions (20091202124834)
1023
-  (0.0ms) begin transaction
1024
-  (0.3ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar(255) NOT NULL, "item_id" integer NOT NULL, "event" varchar(255) NOT NULL, "whodunnit" varchar(255), "object" text, "created_at" datetime) 
1025
-  (0.1ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
1026
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091202124834')
1027
-  (0.7ms) commit transaction
1028
- Migrating to CreateSeriesStatements (20091214131723)
1029
-  (0.0ms) begin transaction
1030
-  (0.3ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1031
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091214131723')
1032
-  (0.7ms) commit transaction
1033
- Migrating to CreateImportRequests (20100129142347)
1034
-  (0.1ms) begin transaction
1035
-  (0.3ms) 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)
1036
-  (0.2ms) CREATE INDEX "index_import_requests_on_isbn" ON "import_requests" ("isbn")
1037
-  (0.1ms) CREATE INDEX "index_import_requests_on_manifestation_id" ON "import_requests" ("manifestation_id")
1038
-  (0.1ms) CREATE INDEX "index_import_requests_on_user_id" ON "import_requests" ("user_id")
1039
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100129142347')
1040
-  (0.8ms) commit transaction
1041
- Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
1042
-  (0.0ms) begin transaction
1043
-  (0.3ms) ALTER TABLE "library_groups" ADD "admin_networks" text
1044
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100211105551')
1045
-  (0.6ms) commit transaction
1046
- Migrating to RenameSeriesStatementTitleToOriginalTitle (20100223121519)
1047
-  (0.0ms) begin transaction
1048
-  (0.2ms) CREATE TEMPORARY TABLE "altered_series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1049
-  (0.1ms) SELECT * FROM "series_statements"
1050
-  (0.4ms) DROP TABLE "series_statements"
1051
-  (0.1ms) CREATE TABLE "series_statements" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text, "numbering" text, "title_subseries" text, "numbering_subseries" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1052
-  (0.0ms) SELECT * FROM "altered_series_statements"
1053
-  (0.1ms) DROP TABLE "altered_series_statements"
1054
-  (0.2ms) ALTER TABLE "series_statements" ADD "title_transcription" text
1055
-  (0.1ms) ALTER TABLE "series_statements" ADD "title_alternative" text
1056
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100223121519')
1057
-  (0.7ms) commit transaction
1058
- Migrating to AddOpeningHourToLibrary (20100314190054)
1059
-  (0.0ms) begin transaction
1060
-  (0.4ms) ALTER TABLE "libraries" ADD "opening_hour" text
1061
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100314190054')
1062
-  (0.6ms) commit transaction
1063
- Migrating to AddSeriesStatementIdentifierToSeriesStatement (20100321235924)
1064
-  (0.0ms) begin transaction
1065
-  (0.3ms) ALTER TABLE "series_statements" ADD "series_statement_identifier" varchar(255)
1066
-  (0.1ms) CREATE INDEX "index_series_statements_on_series_statement_identifier" ON "series_statements" ("series_statement_identifier")
1067
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100321235924')
1068
-  (0.7ms) commit transaction
1069
- Migrating to CreateManifestationRelationships (20100525124311)
1070
-  (0.0ms) begin transaction
1071
-  (0.5ms) 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) 
1072
-  (0.2ms) CREATE INDEX "index_manifestation_relationships_on_parent_id" ON "manifestation_relationships" ("parent_id")
1073
-  (0.1ms) CREATE INDEX "index_manifestation_relationships_on_child_id" ON "manifestation_relationships" ("child_id")
1074
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100525124311')
1075
-  (0.7ms) commit transaction
1076
- Migrating to CreateUserHasRoles (20100606065209)
1077
-  (0.0ms) begin transaction
1078
-  (0.3ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1079
-  (0.2ms) CREATE INDEX "index_user_has_roles_on_user_id" ON "user_has_roles" ("user_id")
1080
-  (0.1ms) CREATE INDEX "index_user_has_roles_on_role_id" ON "user_has_roles" ("role_id")
1081
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100606065209')
1082
-  (0.7ms) commit transaction
1083
- Migrating to CreateAgentRelationships (20100606073747)
1084
-  (0.0ms) begin transaction
1085
-  (0.3ms) CREATE TABLE "agent_relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "child_id" integer, "agent_relationship_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1086
-  (0.1ms) CREATE INDEX "index_agent_relationships_on_parent_id" ON "agent_relationships" ("parent_id")
1087
-  (0.1ms) CREATE INDEX "index_agent_relationships_on_child_id" ON "agent_relationships" ("child_id")
1088
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100606073747')
1089
-  (0.8ms) commit transaction
1090
- Migrating to CreateManifestationRelationshipTypes (20100607044753)
1091
-  (0.0ms) begin transaction
1092
-  (0.3ms) 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) 
1093
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100607044753')
1094
-  (0.7ms) commit transaction
1095
- Migrating to AddPositionToAgentRelationship (20100814091104)
1096
-  (0.0ms) begin transaction
1097
-  (0.4ms) ALTER TABLE "manifestation_relationships" ADD "position" integer
1098
-  (0.3ms) ALTER TABLE "agent_relationships" ADD "position" integer
1099
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100814091104')
1100
-  (0.7ms) commit transaction
1101
- Migrating to CreateResourceImportResults (20100925043847)
1102
-  (0.0ms) begin transaction
1103
-  (0.3ms) CREATE TABLE "resource_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_import_file_id" integer, "manifestation_id" integer, "item_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1104
-  (0.1ms) CREATE INDEX "index_resource_import_results_on_resource_import_file_id" ON "resource_import_results" ("resource_import_file_id")
1105
-  (0.1ms) CREATE INDEX "index_resource_import_results_on_manifestation_id" ON "resource_import_results" ("manifestation_id")
1106
-  (0.2ms) CREATE INDEX "index_resource_import_results_on_item_id" ON "resource_import_results" ("item_id")
1107
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925043847')
1108
-  (0.8ms) commit transaction
1109
- Migrating to CreateAgentImportResults (20100925074559)
1110
-  (0.0ms) begin transaction
1111
-  (0.5ms) CREATE TABLE "agent_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "agent_import_file_id" integer, "agent_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1112
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100925074559')
1113
-  (0.8ms) commit transaction
1114
- Migrating to AddAcquiredAtToItem (20101212070145)
1115
-  (0.0ms) begin transaction
1116
-  (0.5ms) ALTER TABLE "items" ADD "acquired_at" datetime
1117
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101212070145')
1118
-  (0.7ms) commit transaction
1119
- Migrating to AddUrlToLibraryGroup (20110222073537)
1120
-  (0.0ms) begin transaction
1121
-  (0.3ms) ALTER TABLE "library_groups" ADD "url" varchar(255) DEFAULT 'http://localhost:3000/'
1122
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110222073537')
1123
-  (0.6ms) commit transaction
1124
- Migrating to AddPubDateToManifestation (20110301035123)
1125
-  (0.0ms) begin transaction
1126
-  (0.4ms) ALTER TABLE "manifestations" ADD "pub_date" varchar(255)
1127
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301035123')
1128
-  (0.6ms) commit transaction
1129
- Migrating to AddBirthDateAndDeathDateToAgent (20110301121550)
1130
-  (0.0ms) begin transaction
1131
-  (0.8ms) ALTER TABLE "agents" ADD "birth_date" varchar(255)
1132
-  (0.5ms) ALTER TABLE "agents" ADD "death_date" varchar(255)
1133
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110301121550')
1134
-  (0.7ms) commit transaction
1135
- Migrating to AddValidPeriodForNewUserToUserGroup (20110318183304)
1136
-  (0.0ms) begin transaction
1137
-  (0.3ms) ALTER TABLE "user_groups" ADD "valid_period_for_new_user" integer DEFAULT 0 NOT NULL
1138
-  (0.2ms) ALTER TABLE "user_groups" ADD "expired_at" datetime
1139
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110318183304')
1140
-  (0.7ms) commit transaction
1141
- Migrating to AddEditModeToResourceImportFile (20110603184217)
1142
-  (0.0ms) begin transaction
1143
-  (0.4ms) ALTER TABLE "resource_import_files" ADD "edit_mode" varchar(255)
1144
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110603184217')
1145
-  (0.6ms) commit transaction
1146
- Migrating to AddEditionStringToManifestation (20110619064807)
1147
-  (0.0ms) begin transaction
1148
-  (0.6ms) ALTER TABLE "manifestations" ADD "edition_string" varchar(255)
1149
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110619064807')
1150
-  (0.5ms) commit transaction
1151
- Migrating to AddBookstoreIdToItem (20110620173525)
1152
-  (0.0ms) begin transaction
1153
-  (0.3ms) ALTER TABLE "items" ADD "bookstore_id" integer
1154
-  (0.1ms) CREATE INDEX "index_items_on_bookstore_id" ON "items" ("bookstore_id")
1155
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110620173525')
1156
-  (0.6ms) commit transaction
1157
- Migrating to CreateSeriesStatementMergeLists (20110627034940)
1158
-  (0.0ms) begin transaction
1159
-  (0.3ms) CREATE TABLE "series_statement_merge_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1160
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627034940')
1161
-  (0.5ms) commit transaction
1162
- Migrating to CreateSeriesStatementMerges (20110627035057)
1163
-  (0.0ms) begin transaction
1164
-  (0.3ms) CREATE TABLE "series_statement_merges" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "series_statement_id" integer NOT NULL, "series_statement_merge_list_id" integer NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1165
-  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_id" ON "series_statement_merges" ("series_statement_id")
1166
-  (0.1ms) CREATE INDEX "index_series_statement_merges_on_series_statement_merge_list_id" ON "series_statement_merges" ("series_statement_merge_list_id")
1167
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110627035057')
1168
-  (0.7ms) commit transaction
1169
- Migrating to AddLftAndRgtToClassification (20110913120629)
1170
-  (0.0ms) begin transaction
1171
-  (0.5ms) ALTER TABLE "classifications" ADD "lft" integer
1172
-  (0.4ms) ALTER TABLE "classifications" ADD "rgt" integer
1173
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913120629')
1174
-  (0.7ms) commit transaction
1175
- Migrating to AddVolumeNumberToManifestation (20110916091020)
1176
-  (0.1ms) begin transaction
1177
-  (0.6ms) ALTER TABLE "manifestations" ADD "volume_number" integer
1178
-  (0.2ms) ALTER TABLE "manifestations" ADD "issue_number" integer
1179
-  (0.3ms) ALTER TABLE "manifestations" ADD "serial_number" integer
1180
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916091020')
1181
-  (0.7ms) commit transaction
1182
- Migrating to AddManifestaitonIdToSeriesStatement (20110916103953)
1183
-  (0.0ms) begin transaction
1184
-  (0.5ms) ALTER TABLE "series_statements" ADD "manifestation_id" integer
1185
-  (0.2ms) CREATE INDEX "index_series_statements_on_manifestation_id" ON "series_statements" ("manifestation_id")
1186
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110916103953')
1187
-  (1.0ms) commit transaction
1188
- Migrating to AddNoteToSeriesStatement (20110918162329)
1189
-  (0.0ms) begin transaction
1190
-  (0.4ms) ALTER TABLE "series_statements" ADD "note" text
1191
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110918162329')
1192
-  (0.6ms) commit transaction
1193
- Migrating to CreateCreateTypes (20111124110059)
1194
-  (0.0ms) begin transaction
1195
-  (0.2ms) CREATE TABLE "create_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1196
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110059')
1197
-  (0.7ms) commit transaction
1198
- Migrating to CreateRealizeTypes (20111124110319)
1199
-  (0.0ms) begin transaction
1200
-  (0.2ms) CREATE TABLE "realize_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1201
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110319')
1202
-  (0.7ms) commit transaction
1203
- Migrating to CreateProduceTypes (20111124110355)
1204
-  (0.0ms) begin transaction
1205
-  (0.3ms) CREATE TABLE "produce_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1206
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124110355')
1207
-  (0.7ms) commit transaction
1208
- Migrating to AddCreateTypeToCreate (20111124112131)
1209
-  (0.0ms) begin transaction
1210
-  (0.3ms) ALTER TABLE "creates" ADD "create_type_id" integer
1211
-  (0.2ms) ALTER TABLE "realizes" ADD "realize_type_id" integer
1212
-  (0.2ms) ALTER TABLE "produces" ADD "produce_type_id" integer
1213
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111124112131')
1214
-  (0.6ms) commit transaction
1215
- Migrating to AddIsilToLibrary (20120105074911)
1216
-  (0.0ms) begin transaction
1217
-  (0.4ms) ALTER TABLE "libraries" ADD "isil" varchar(255)
1218
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120105074911')
1219
-  (0.5ms) commit transaction
1220
- Migrating to AddTitleSubseriesTranscriptionToSeriesStatement (20120125152919)
1221
-  (0.0ms) begin transaction
1222
-  (0.4ms) ALTER TABLE "series_statements" ADD "title_subseries_transcription" text
1223
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120125152919')
1224
-  (0.7ms) commit transaction
1225
- Migrating to CreateBudgetTypes (20120129014038)
1226
-  (0.0ms) begin transaction
1227
-  (0.3ms) CREATE TABLE "budget_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1228
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120129014038')
1229
-  (0.7ms) commit transaction
1230
- Migrating to AddBudgetTypeIdToItem (20120129020544)
1231
-  (0.0ms) begin transaction
1232
-  (0.5ms) ALTER TABLE "items" ADD "budget_type_id" integer
1233
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120129020544')
1234
-  (0.6ms) commit transaction
1235
- Migrating to AddContentTypeIdToManifestation (20120319120638)
1236
-  (0.0ms) begin transaction
1237
-  (0.5ms) ALTER TABLE "manifestations" ADD "content_type_id" integer DEFAULT 1
1238
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120319120638')
1239
-  (0.7ms) commit transaction
1240
- Migrating to CreateAccepts (20120319173203)
1241
-  (0.1ms) begin transaction
1242
-  (0.4ms) CREATE TABLE "accepts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "basket_id" integer, "item_id" integer, "librarian_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1243
-  (0.2ms) CREATE INDEX "index_accepts_on_basket_id" ON "accepts" ("basket_id")
1244
-  (0.1ms) CREATE INDEX "index_accepts_on_item_id" ON "accepts" ("item_id")
1245
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120319173203')
1246
-  (0.8ms) commit transaction
1247
- Migrating to AddUrlToSubject (20120406020752)
1248
-  (0.0ms) begin transaction
1249
-  (0.4ms) ALTER TABLE "subjects" ADD "url" varchar(255)
1250
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120406020752')
1251
-  (0.7ms) commit transaction
1252
- Migrating to AddYearOfPublicationToManifestation (20120410104851)
1253
-  (0.0ms) begin transaction
1254
-  (0.6ms) ALTER TABLE "manifestations" ADD "year_of_publication" integer
1255
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120410104851')
1256
-  (0.8ms) commit transaction
1257
- Migrating to AddPictureMetaToPictureFile (20120413072700)
1258
-  (0.0ms) begin transaction
1259
-  (0.6ms) ALTER TABLE "picture_files" ADD "picture_meta" text
1260
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413072700')
1261
-  (0.5ms) commit transaction
1262
- Migrating to AddFingerprintToPictureFile (20120413100352)
1263
-  (0.0ms) begin transaction
1264
-  (0.3ms) ALTER TABLE "picture_files" ADD "picture_fingerprint" varchar(255)
1265
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413100352')
1266
-  (0.6ms) commit transaction
1267
- Migrating to AddFingerprintToResourceImportFile (20120413161340)
1268
-  (0.0ms) begin transaction
1269
-  (0.5ms) ALTER TABLE "resource_import_files" ADD "resource_import_fingerprint" varchar(255)
1270
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161340')
1271
-  (0.7ms) commit transaction
1272
- Migrating to AddFingerprintToAgentImportFile (20120413161403)
1273
-  (0.0ms) begin transaction
1274
-  (0.4ms) ALTER TABLE "agent_import_files" ADD "agent_import_fingerprint" varchar(255)
1275
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413161403')
1276
-  (0.7ms) commit transaction
1277
- Migrating to AddErrorMessageToResourceImportFile (20120413170705)
1278
-  (0.0ms) begin transaction
1279
-  (0.4ms) ALTER TABLE "resource_import_files" ADD "error_message" text
1280
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170705')
1281
-  (0.6ms) commit transaction
1282
- Migrating to AddErrorMessageToAgentImportFile (20120413170720)
1283
-  (0.0ms) begin transaction
1284
-  (0.3ms) ALTER TABLE "agent_import_files" ADD "error_message" text
1285
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120413170720')
1286
-  (0.6ms) commit transaction
1287
- Migrating to AddAttachmentMetaToManifestation (20120415164821)
1288
-  (0.0ms) begin transaction
1289
-  (0.6ms) ALTER TABLE "manifestations" ADD "attachment_meta" text
1290
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120415164821')
1291
-  (0.7ms) commit transaction
1292
- Migrating to AddMonthOfPublicationToManifestation (20120418081407)
1293
-  (0.0ms) begin transaction
1294
-  (0.5ms) ALTER TABLE "manifestations" ADD "month_of_publication" integer
1295
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120418081407')
1296
-  (0.7ms) commit transaction
1297
- Migrating to AddClosedToShelf (20120510140958)
1298
-  (0.0ms) begin transaction
1299
-  (0.4ms) ALTER TABLE "shelves" ADD "closed" boolean DEFAULT 'f' NOT NULL
1300
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120510140958')
1301
-  (0.7ms) commit transaction
1302
- Migrating to AddAgentIdentifierToAgent (20120511072422)
1303
-  (0.0ms) begin transaction
1304
-  (0.6ms) ALTER TABLE "agents" ADD "agent_identifier" varchar(255)
1305
-  (0.2ms) CREATE INDEX "index_agents_on_agent_identifier" ON "agents" ("agent_identifier")
1306
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120511072422')
1307
-  (0.7ms) commit transaction
1308
- Migrating to AddEditModeToAgentImportFile (20120602141129)
1309
-  (0.0ms) begin transaction
1310
-  (0.7ms) ALTER TABLE "agent_import_files" ADD "edit_mode" varchar(255)
1311
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120602141129')
1312
-  (0.5ms) commit transaction
1313
- Migrating to AddFulltextContentToManifestation (20121116031206)
1314
-  (0.0ms) begin transaction
1315
-  (0.5ms) ALTER TABLE "manifestations" ADD "fulltext_content" boolean
1316
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20121116031206')
1317
-  (0.8ms) commit transaction
1318
- Migrating to AddAdditionalAttributesToUser (20130221154434)
1319
-  (0.0ms) begin transaction
1320
-  (0.4ms) ALTER TABLE "users" ADD "username" varchar(255)
1321
-  (0.2ms) ALTER TABLE "users" ADD "deleted_at" datetime
1322
-  (0.2ms) ALTER TABLE "users" ADD "expired_at" datetime
1323
-  (0.2ms) ALTER TABLE "users" ADD "failed_attempts" integer DEFAULT 0
1324
-  (0.3ms) ALTER TABLE "users" ADD "unlock_token" varchar(255)
1325
-  (0.3ms) ALTER TABLE "users" ADD "locked_at" datetime
1326
-  (0.2ms) ALTER TABLE "users" ADD "confirmed_at" datetime
1327
-  (0.3ms) CREATE UNIQUE INDEX "index_users_on_username" ON "users" ("username")
1328
-  (0.1ms) CREATE UNIQUE INDEX "index_users_on_unlock_token" ON "users" ("unlock_token")
1329
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130221154434')
1330
-  (0.8ms) commit transaction
1331
- Migrating to AddLatitudeAndLongitudeToLibrary (20130412083556)
1332
-  (0.1ms) begin transaction
1333
-  (0.4ms) ALTER TABLE "libraries" ADD "latitude" float
1334
-  (0.2ms) ALTER TABLE "libraries" ADD "longitude" float
1335
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130412083556')
1336
-  (1.1ms) commit transaction
1337
- Migrating to AddPeriodicalToManifestation (20130421093852)
1338
-  (0.0ms) begin transaction
1339
-  (0.6ms) ALTER TABLE "manifestations" ADD "periodical" boolean
1340
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421093852')
1341
-  (0.6ms) commit transaction
1342
- Migrating to AddCreatorStringToSeriesStatement (20130421155019)
1343
-  (0.0ms) begin transaction
1344
-  (0.4ms) ALTER TABLE "series_statements" ADD "creator_string" text
1345
-  (0.2ms) ALTER TABLE "series_statements" ADD "volume_number_string" text
1346
-  (0.2ms) ALTER TABLE "series_statements" ADD "volume_number_transcription_string" text
1347
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421155019')
1348
-  (0.5ms) commit transaction
1349
- Migrating to AddSeriesMasterToSeriesStatement (20130421164124)
1350
-  (0.0ms) begin transaction
1351
-  (0.3ms) ALTER TABLE "series_statements" ADD "series_master" boolean
1352
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130421164124')
1353
-  (0.7ms) commit transaction
1354
- Migrating to AddRootManifestationIdToSeriesStatement (20130429020822)
1355
-  (0.0ms) begin transaction
1356
-  (0.4ms) ALTER TABLE "series_statements" ADD "root_manifestation_id" integer
1357
-  (0.1ms) CREATE INDEX "index_series_statements_on_root_manifestation_id" ON "series_statements" ("root_manifestation_id")
1358
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130429020822')
1359
-  (0.7ms) commit transaction
1360
- Migrating to AddManifestationIdToSubject (20130504133816)
1361
-  (0.0ms) begin transaction
1362
-  (0.3ms) ALTER TABLE "subjects" ADD "manifestation_id" integer
1363
-  (0.1ms) CREATE INDEX "index_subjects_on_manifestation_id" ON "subjects" ("manifestation_id")
1364
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504133816')
1365
-  (0.7ms) commit transaction
1366
- Migrating to AddManifestationIdToClassification (20130504143515)
1367
-  (0.0ms) begin transaction
1368
-  (0.4ms) ALTER TABLE "classifications" ADD "manifestation_id" integer
1369
-  (0.2ms) CREATE INDEX "index_classifications_on_manifestation_id" ON "classifications" ("manifestation_id")
1370
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504143515')
1371
-  (0.7ms) commit transaction
1372
- Migrating to AddSubjectHeadingTypeIdToSubject (20130504195916)
1373
-  (0.0ms) begin transaction
1374
-  (0.4ms) ALTER TABLE "subjects" ADD "subject_heading_type_id" integer
1375
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130504195916')
1376
-  (1.0ms) commit transaction
1377
- Migrating to CreateIdentifierTypes (20130506175303)
1378
-  (0.0ms) begin transaction
1379
-  (0.3ms) CREATE TABLE "identifier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1380
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130506175303')
1381
-  (0.8ms) commit transaction
1382
- Migrating to CreateIdentifiers (20130506175834)
1383
-  (0.0ms) begin transaction
1384
-  (0.5ms) CREATE TABLE "identifiers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar(255) NOT NULL, "identifier_type_id" integer NOT NULL, "manifestation_id" integer, "primary" boolean, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1385
-  (0.1ms) CREATE INDEX "index_identifiers_on_body_and_identifier_type_id" ON "identifiers" ("body", "identifier_type_id")
1386
-  (0.1ms) CREATE INDEX "index_identifiers_on_manifestation_id" ON "identifiers" ("manifestation_id")
1387
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130506175834')
1388
-  (0.8ms) commit transaction
1389
- Migrating to AddStatementOfResponsibilityToManifestation (20130509185724)
1390
-  (0.0ms) begin transaction
1391
-  (0.4ms) ALTER TABLE "manifestations" ADD "statement_of_responsibility" text
1392
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130509185724')
1393
-  (1.0ms) commit transaction
1394
- Migrating to CreateUserImportFiles (20140110122216)
1395
-  (0.1ms) begin transaction
1396
-  (0.4ms) CREATE TABLE "user_import_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "note" text, "executed_at" datetime, "user_import_file_name" varchar(255), "user_import_content_type" varchar(255), "user_import_file_size" varchar(255), "user_import_updated_at" datetime, "user_import_fingerprint" varchar(255), "edit_mode" varchar(255), "error_message" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1397
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140110122216')
1398
-  (0.7ms) commit transaction
1399
- Migrating to CreateUserImportResults (20140110131010)
1400
-  (0.0ms) begin transaction
1401
-  (0.3ms) CREATE TABLE "user_import_results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_import_file_id" integer, "user_id" integer, "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1402
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140110131010')
1403
-  (1.2ms) commit transaction
1404
- Migrating to CreateProfiles (20140122054321)
1405
-  (0.0ms) begin transaction
1406
-  (0.5ms) CREATE TABLE "profiles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_group_id" integer, "library_id" integer, "locale" varchar(255), "user_number" varchar(255), "full_name" text, "note" text, "keyword_list" text, "required_role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1407
-  (0.1ms) CREATE INDEX "index_profiles_on_user_id" ON "profiles" ("user_id")
1408
-  (0.5ms) CREATE UNIQUE INDEX "index_profiles_on_user_number" ON "profiles" ("user_number")
1409
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140122054321')
1410
-  (1.4ms) commit transaction
1411
- Migrating to CreateResourceImportFileTransitions (20140519170214)
1412
-  (0.0ms) begin transaction
1413
-  (0.5ms) CREATE TABLE "resource_import_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "resource_import_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1414
-  (0.1ms) CREATE INDEX "index_resource_import_file_transitions_on_file_id" ON "resource_import_file_transitions" ("resource_import_file_id")
1415
-  (0.3ms) CREATE UNIQUE INDEX "index_resource_import_file_transitions_on_sort_key_and_file_id" ON "resource_import_file_transitions" ("sort_key", "resource_import_file_id")
1416
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140519170214')
1417
-  (1.9ms) commit transaction
1418
- Migrating to CreateImportRequestTransitions (20140519171220)
1419
-  (0.0ms) begin transaction
1420
-  (0.6ms) CREATE TABLE "import_request_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "import_request_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1421
-  (0.2ms) CREATE INDEX "index_import_request_transitions_on_import_request_id" ON "import_request_transitions" ("import_request_id")
1422
-  (0.4ms) CREATE UNIQUE INDEX "index_import_request_transitions_on_sort_key_and_request_id" ON "import_request_transitions" ("sort_key", "import_request_id")
1423
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140519171220')
1424
-  (0.9ms) commit transaction
1425
- Migrating to CreateAgentImportFileTransitions (20140524020735)
1426
-  (0.0ms) begin transaction
1427
-  (0.5ms) CREATE TABLE "agent_import_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "agent_import_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1428
-  (0.1ms) CREATE INDEX "index_agent_import_file_transitions_on_agent_import_file_id" ON "agent_import_file_transitions" ("agent_import_file_id")
1429
-  (0.4ms) CREATE UNIQUE INDEX "index_agent_import_file_transitions_on_sort_key_and_file_id" ON "agent_import_file_transitions" ("sort_key", "agent_import_file_id")
1430
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140524020735')
1431
-  (0.8ms) commit transaction
1432
- Migrating to CreateUserImportFileTransitions (20140524074813)
1433
-  (0.1ms) begin transaction
1434
-  (0.5ms) CREATE TABLE "user_import_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "user_import_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1435
-  (0.2ms) CREATE INDEX "index_user_import_file_transitions_on_user_import_file_id" ON "user_import_file_transitions" ("user_import_file_id")
1436
-  (0.4ms) CREATE UNIQUE INDEX "index_user_import_file_transitions_on_sort_key_and_file_id" ON "user_import_file_transitions" ("sort_key", "user_import_file_id")
1437
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140524074813')
1438
-  (0.6ms) commit transaction
1439
- Migrating to DropEmailUniqueConstraintEnjuLeafRc10 (20140610123439)
1440
-  (0.0ms) begin transaction
1441
-  (0.4ms) DROP INDEX "index_users_on_email"
1442
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
1443
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140610123439')
1444
-  (0.7ms) commit transaction
1445
- Migrating to CreateResourceExportFiles (20140614065404)
1446
-  (0.0ms) begin transaction
1447
-  (0.6ms) 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)
1448
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140614065404')
1449
-  (0.8ms) commit transaction
1450
- Migrating to CreateResourceExportFileTransitions (20140614141500)
1451
-  (0.0ms) begin transaction
1452
-  (0.4ms) CREATE TABLE "resource_export_file_transitions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "to_state" varchar(255), "metadata" text DEFAULT '{}', "sort_key" integer, "resource_export_file_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1453
-  (0.2ms) CREATE INDEX "index_resource_export_file_transitions_on_file_id" ON "resource_export_file_transitions" ("resource_export_file_id")
1454
-  (0.5ms) 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")
1455
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140614141500')
1456
-  (0.6ms) commit transaction
1457
- Migrating to AddUserEncodingToUserImportFile (20140628072217)
1458
-  (0.0ms) begin transaction
1459
-  (0.6ms) ALTER TABLE "user_import_files" ADD "user_encoding" varchar(255)
1460
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140628072217')
1461
-  (0.5ms) commit transaction
1462
- Migrating to AddUserEncodingToAgentImportFile (20140628073524)
1463
-  (0.0ms) begin transaction
1464
-  (0.4ms) ALTER TABLE "agent_import_files" ADD "user_encoding" varchar(255)
1465
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140628073524')
1466
-  (0.6ms) commit transaction
1467
- Migrating to AddUserEncodingToResourceImportFile (20140628073535)
1468
-  (0.0ms) begin transaction
1469
-  (0.5ms) ALTER TABLE "resource_import_files" ADD "user_encoding" varchar(255)
1470
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140628073535')
1471
-  (0.6ms) commit transaction
1472
- Migrating to CreateUserExportFiles (20140709113413)
1473
-  (0.0ms) begin transaction
1474
-  (0.5ms) 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)
1475
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140709113413')
1476
-  (1.2ms) commit transaction
1477
- Migrating to CreateUserExportFileTransitions (20140709113905)
1478
-  (0.0ms) begin transaction
1479
-  (0.5ms) 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)
1480
-  (0.1ms) CREATE INDEX "index_user_export_file_transitions_on_file_id" ON "user_export_file_transitions" ("user_export_file_id")
1481
-  (0.3ms) 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")
1482
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140709113905')
1483
-  (0.8ms) commit transaction
1484
- Migrating to AddBindingItemIdentifierToItem (20140720140916)
1485
-  (0.0ms) begin transaction
1486
-  (0.4ms) ALTER TABLE "items" ADD "binding_item_identifier" varchar(255)
1487
-  (0.2ms) ALTER TABLE "items" ADD "binding_call_number" varchar(255)
1488
-  (0.2ms) ALTER TABLE "items" ADD "binded_at" datetime
1489
-  (0.1ms) CREATE INDEX "index_items_on_binding_item_identifier" ON "items" ("binding_item_identifier")
1490
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140720140916')
1491
-  (0.6ms) commit transaction
1492
- Migrating to AddDefaultLibraryIdToUserImportFile (20140720170714)
1493
-  (0.0ms) begin transaction
1494
-  (0.4ms) ALTER TABLE "user_import_files" ADD "default_library_id" integer
1495
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140720170714')
1496
-  (0.5ms) commit transaction
1497
- Migrating to AddDefaultUserGroupIdToUserImportFile (20140720170735)
1498
-  (0.0ms) begin transaction
1499
-  (0.5ms) ALTER TABLE "user_import_files" ADD "default_user_group_id" integer
1500
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140720170735')
1501
-  (0.5ms) commit transaction
1502
- Migrating to AddDefaultShelfIdToResourceImportFile (20140721151416)
1503
-  (0.0ms) begin transaction
1504
-  (0.3ms) ALTER TABLE "resource_import_files" ADD "default_shelf_id" integer
1505
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140721151416')
1506
-  (0.6ms) commit transaction
1507
- Migrating to AddManifestationIdToItem (20140802082007)
1508
-  (0.0ms) begin transaction
1509
-  (0.4ms) ALTER TABLE "items" ADD "manifestation_id" integer
1510
-  (0.1ms) CREATE INDEX "index_items_on_manifestation_id" ON "items" ("manifestation_id")
1511
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140802082007')
1512
-  (1.6ms) commit transaction
1513
- Migrating to AddExpiredAtToProfile (20140811031145)
1514
-  (0.0ms) begin transaction
1515
-  (0.5ms) ALTER TABLE "profiles" ADD "expired_at" datetime
1516
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140811031145')
1517
-  (0.7ms) commit transaction
1518
- Migrating to AddPublicationPlaceToManifestation (20140813182425)
1519
-  (0.0ms) begin transaction
1520
-  (0.5ms) ALTER TABLE "manifestations" ADD "publication_place" text
1521
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140813182425')
1522
-  (0.7ms) commit transaction
1523
- Migrating to AddExtentOfTextToManifestation (20140817155043)
1524
-  (0.0ms) begin transaction
1525
-  (0.8ms) ALTER TABLE "manifestations" ADD "extent_of_text" text
1526
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20140817155043')
1527
-  (0.7ms) commit transaction
1528
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"