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