enju_biblio 0.1.0.pre36 → 0.1.0.pre37

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/stylesheets/scaffold.css +56 -0
  3. data/app/controllers/manifestations_controller.rb +18 -22
  4. data/app/controllers/series_statements_controller.rb +6 -35
  5. data/app/models/enju_biblio/ability.rb +2 -4
  6. data/app/models/manifestation.rb +75 -92
  7. data/app/models/series_statement.rb +13 -18
  8. data/app/views/manifestations/_edit_detail.html.erb +10 -0
  9. data/app/views/manifestations/_form.html.erb +49 -34
  10. data/app/views/manifestations/_manifestation.html.erb +2 -12
  11. data/app/views/manifestations/_show_detail_librarian.html.erb +3 -33
  12. data/app/views/manifestations/_show_detail_user.html.erb +3 -18
  13. data/app/views/manifestations/_show_parent.html.erb +0 -12
  14. data/app/views/manifestations/_show_series_detail.html.erb +26 -0
  15. data/app/views/manifestations/show.html.erb +1 -27
  16. data/app/views/series_statements/_form.html.erb +1 -1
  17. data/app/views/series_statements/_index.html.erb +3 -11
  18. data/app/views/series_statements/show.html.erb +22 -30
  19. data/config/locales/translation_en.yml +2 -0
  20. data/config/locales/translation_ja.yml +2 -0
  21. data/config/routes.rb +3 -7
  22. data/db/migrate/005_create_manifestations.rb +4 -3
  23. data/db/migrate/20081028083142_create_patron_import_files.rb +1 -1
  24. data/db/migrate/20081028083208_create_resource_import_files.rb +1 -1
  25. data/lib/enju_biblio/biblio_helper.rb +1 -1
  26. data/lib/enju_biblio/version.rb +1 -1
  27. data/spec/controllers/import_requests_controller_spec.rb +1 -1
  28. data/spec/controllers/manifestations_controller_spec.rb +0 -6
  29. data/spec/controllers/series_statements_controller_spec.rb +4 -4
  30. data/spec/dummy/app/controllers/application_controller.rb +1 -0
  31. data/spec/dummy/app/models/ability.rb +2 -4
  32. data/spec/dummy/config/application.rb +1 -0
  33. data/spec/dummy/db/development.sqlite3 +0 -0
  34. data/spec/dummy/db/migrate/029_create_subjects.rb +27 -0
  35. data/spec/dummy/db/migrate/142_create_classifications.rb +19 -0
  36. data/spec/dummy/db/migrate/144_create_classification_types.rb +16 -0
  37. data/spec/dummy/db/migrate/145_create_subject_heading_types.rb +16 -0
  38. data/spec/dummy/db/migrate/146_create_subject_types.rb +16 -0
  39. data/spec/dummy/db/migrate/20080606052544_create_work_has_subjects.rb +18 -0
  40. data/spec/dummy/db/migrate/20090208044541_create_subject_heading_type_has_subjects.rb +16 -0
  41. data/spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb +11 -0
  42. data/spec/dummy/db/migrate/20120406020752_add_url_to_subject.rb +5 -0
  43. data/spec/dummy/db/migrate/20130504133816_add_manifestation_id_to_subject.rb +6 -0
  44. data/spec/dummy/db/migrate/20130504143515_add_manifestation_id_to_classification.rb +6 -0
  45. data/spec/dummy/db/schema.rb +92 -9
  46. data/spec/dummy/db/test.sqlite3 +0 -0
  47. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  48. data/spec/dummy/solr/data/test/index/segments_l8s +0 -0
  49. data/spec/dummy/tmp/cache/4AD/470/country_all +0 -0
  50. data/spec/fixtures/manifestations.yml +66 -70
  51. data/spec/fixtures/series_statements.yml +1 -1
  52. data/spec/fixtures/subject_types.yml +28 -0
  53. data/spec/models/import_request_spec.rb +2 -0
  54. data/spec/models/manifestation_spec.rb +66 -70
  55. data/spec/models/series_statement_spec.rb +1 -0
  56. metadata +35 -37
  57. data/app/controllers/series_statement_relationships_controller.rb +0 -20
  58. data/app/models/series_statement_relationship.rb +0 -30
  59. data/app/views/series_statement_relationships/_form.html.erb +0 -27
  60. data/app/views/series_statement_relationships/edit.html.erb +0 -15
  61. data/app/views/series_statement_relationships/index.html.erb +0 -34
  62. data/app/views/series_statement_relationships/new.html.erb +0 -14
  63. data/app/views/series_statement_relationships/show.html.erb +0 -24
  64. data/app/views/series_statements/_index_parent.html.erb +0 -53
  65. data/app/views/series_statements/_manifestation_list.html.erb +0 -17
  66. data/db/migrate/20110916053430_rename_manifestation_number_list_to_number_string.rb +0 -13
  67. data/db/migrate/20120415060308_rename_resource_import_file_imported_at_to_executed_at.rb +0 -9
  68. data/db/migrate/20120415060323_rename_patron_import_file_imported_at_to_executed_at.rb +0 -9
  69. data/db/migrate/20120728204337_create_series_statement_relationships.rb +0 -11
  70. data/spec/controllers/series_statement_relationships_controller_spec.rb +0 -179
  71. data/spec/dummy/solr/data/test/index/segments_iwe +0 -0
  72. data/spec/models/series_statement_relationship_spec.rb +0 -17
  73. data/spec/requests/series_statement_relationships_spec.rb +0 -11
  74. data/spec/routing/series_statement_relationships_routing_spec.rb +0 -35
  75. data/spec/views/series_statement_relationships/edit.html.erb_spec.rb +0 -20
  76. data/spec/views/series_statement_relationships/index.html.erb_spec.rb +0 -23
  77. data/spec/views/series_statement_relationships/new.html.erb_spec.rb +0 -20
  78. data/spec/views/series_statement_relationships/show.html.erb_spec.rb +0 -17
@@ -0,0 +1,18 @@
1
+ class CreateWorkHasSubjects < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :work_has_subjects do |t|
4
+ t.references :subject, :polymorphic => true
5
+ #t.references :subjectable, :polymorphic => true
6
+ t.integer :work_id #, :null => false
7
+ t.integer :position
8
+
9
+ t.timestamps
10
+ end
11
+ add_index :work_has_subjects, :subject_id
12
+ add_index :work_has_subjects, :work_id
13
+ end
14
+
15
+ def self.down
16
+ drop_table :work_has_subjects
17
+ end
18
+ end
@@ -0,0 +1,16 @@
1
+ class CreateSubjectHeadingTypeHasSubjects < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :subject_heading_type_has_subjects do |t|
4
+ t.integer :subject_id, :null => false
5
+ t.string :subject_type
6
+ t.integer :subject_heading_type_id, :null => false
7
+
8
+ t.timestamps
9
+ end
10
+ add_index :subject_heading_type_has_subjects, :subject_id
11
+ end
12
+
13
+ def self.down
14
+ drop_table :subject_heading_type_has_subjects
15
+ end
16
+ end
@@ -0,0 +1,11 @@
1
+ class AddLftAndRgtToClassification < ActiveRecord::Migration
2
+ def self.up
3
+ add_column :classifications, :lft, :integer
4
+ add_column :classifications, :rgt, :integer
5
+ end
6
+
7
+ def self.down
8
+ remove_column :classifications, :rgt
9
+ remove_column :classifications, :lft
10
+ end
11
+ end
@@ -0,0 +1,5 @@
1
+ class AddUrlToSubject < ActiveRecord::Migration
2
+ def change
3
+ add_column :subjects, :url, :string
4
+ end
5
+ end
@@ -0,0 +1,6 @@
1
+ class AddManifestationIdToSubject < ActiveRecord::Migration
2
+ def change
3
+ add_column :subjects, :manifestation_id, :integer
4
+ add_index :subjects, :manifestation_id
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ class AddManifestationIdToClassification < ActiveRecord::Migration
2
+ def change
3
+ add_column :classifications, :manifestation_id, :integer
4
+ add_index :classifications, :manifestation_id
5
+ end
6
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20130429020822) do
14
+ ActiveRecord::Schema.define(:version => 20130504143515) do
15
15
 
16
16
  create_table "baskets", :force => true do |t|
17
17
  t.integer "user_id"
@@ -192,6 +192,32 @@ ActiveRecord::Schema.define(:version => 20130429020822) do
192
192
  t.datetime "updated_at", :null => false
193
193
  end
194
194
 
195
+ create_table "classification_types", :force => true do |t|
196
+ t.string "name", :null => false
197
+ t.text "display_name"
198
+ t.text "note"
199
+ t.integer "position"
200
+ t.datetime "created_at", :null => false
201
+ t.datetime "updated_at", :null => false
202
+ end
203
+
204
+ create_table "classifications", :force => true do |t|
205
+ t.integer "parent_id"
206
+ t.string "category", :null => false
207
+ t.text "note"
208
+ t.integer "classification_type_id", :null => false
209
+ t.datetime "created_at", :null => false
210
+ t.datetime "updated_at", :null => false
211
+ t.integer "lft"
212
+ t.integer "rgt"
213
+ t.integer "manifestation_id"
214
+ end
215
+
216
+ add_index "classifications", ["category"], :name => "index_classifications_on_category"
217
+ add_index "classifications", ["classification_type_id"], :name => "index_classifications_on_classification_type_id"
218
+ add_index "classifications", ["manifestation_id"], :name => "index_classifications_on_manifestation_id"
219
+ add_index "classifications", ["parent_id"], :name => "index_classifications_on_parent_id"
220
+
195
221
  create_table "content_types", :force => true do |t|
196
222
  t.string "name", :null => false
197
223
  t.text "display_name"
@@ -640,6 +666,7 @@ ActiveRecord::Schema.define(:version => 20130429020822) do
640
666
  end
641
667
 
642
668
  add_index "manifestations", ["access_address"], :name => "index_manifestations_on_access_address"
669
+ add_index "manifestations", ["date_of_publication"], :name => "index_manifestations_on_date_of_publication"
643
670
  add_index "manifestations", ["doi"], :name => "index_manifestations_on_doi"
644
671
  add_index "manifestations", ["isbn"], :name => "index_manifestations_on_isbn"
645
672
  add_index "manifestations", ["issn"], :name => "index_manifestations_on_issn"
@@ -1046,14 +1073,6 @@ ActiveRecord::Schema.define(:version => 20130429020822) do
1046
1073
  add_index "series_statement_merges", ["series_statement_id"], :name => "index_series_statement_merges_on_series_statement_id"
1047
1074
  add_index "series_statement_merges", ["series_statement_merge_list_id"], :name => "index_series_statement_merges_on_series_statement_merge_list_id"
1048
1075
 
1049
- create_table "series_statement_relationships", :force => true do |t|
1050
- t.integer "parent_id"
1051
- t.integer "child_id"
1052
- t.integer "position"
1053
- t.datetime "created_at", :null => false
1054
- t.datetime "updated_at", :null => false
1055
- end
1056
-
1057
1076
  create_table "series_statements", :force => true do |t|
1058
1077
  t.text "original_title"
1059
1078
  t.text "numbering"
@@ -1094,6 +1113,58 @@ ActiveRecord::Schema.define(:version => 20130429020822) do
1094
1113
 
1095
1114
  add_index "shelves", ["library_id"], :name => "index_shelves_on_library_id"
1096
1115
 
1116
+ create_table "subject_heading_type_has_subjects", :force => true do |t|
1117
+ t.integer "subject_id", :null => false
1118
+ t.string "subject_type"
1119
+ t.integer "subject_heading_type_id", :null => false
1120
+ t.datetime "created_at", :null => false
1121
+ t.datetime "updated_at", :null => false
1122
+ end
1123
+
1124
+ add_index "subject_heading_type_has_subjects", ["subject_id"], :name => "index_subject_heading_type_has_subjects_on_subject_id"
1125
+
1126
+ create_table "subject_heading_types", :force => true do |t|
1127
+ t.string "name", :null => false
1128
+ t.text "display_name"
1129
+ t.text "note"
1130
+ t.integer "position"
1131
+ t.datetime "created_at", :null => false
1132
+ t.datetime "updated_at", :null => false
1133
+ end
1134
+
1135
+ create_table "subject_types", :force => true do |t|
1136
+ t.string "name", :null => false
1137
+ t.text "display_name"
1138
+ t.text "note"
1139
+ t.integer "position"
1140
+ t.datetime "created_at", :null => false
1141
+ t.datetime "updated_at", :null => false
1142
+ end
1143
+
1144
+ create_table "subjects", :force => true do |t|
1145
+ t.integer "parent_id"
1146
+ t.integer "use_term_id"
1147
+ t.string "term"
1148
+ t.text "term_transcription"
1149
+ t.integer "subject_type_id", :null => false
1150
+ t.text "scope_note"
1151
+ t.text "note"
1152
+ t.integer "required_role_id", :default => 1, :null => false
1153
+ t.integer "lock_version", :default => 0, :null => false
1154
+ t.datetime "created_at"
1155
+ t.datetime "updated_at"
1156
+ t.datetime "deleted_at"
1157
+ t.string "url"
1158
+ t.integer "manifestation_id"
1159
+ end
1160
+
1161
+ add_index "subjects", ["manifestation_id"], :name => "index_subjects_on_manifestation_id"
1162
+ add_index "subjects", ["parent_id"], :name => "index_subjects_on_parent_id"
1163
+ add_index "subjects", ["required_role_id"], :name => "index_subjects_on_required_role_id"
1164
+ add_index "subjects", ["subject_type_id"], :name => "index_subjects_on_subject_type_id"
1165
+ add_index "subjects", ["term"], :name => "index_subjects_on_term"
1166
+ add_index "subjects", ["use_term_id"], :name => "index_subjects_on_use_term_id"
1167
+
1097
1168
  create_table "taggings", :force => true do |t|
1098
1169
  t.integer "tag_id"
1099
1170
  t.integer "taggable_id"
@@ -1233,4 +1304,16 @@ ActiveRecord::Schema.define(:version => 20130429020822) do
1233
1304
 
1234
1305
  add_index "versions", ["item_type", "item_id"], :name => "index_versions_on_item_type_and_item_id"
1235
1306
 
1307
+ create_table "work_has_subjects", :force => true do |t|
1308
+ t.integer "subject_id"
1309
+ t.string "subject_type"
1310
+ t.integer "work_id"
1311
+ t.integer "position"
1312
+ t.datetime "created_at", :null => false
1313
+ t.datetime "updated_at", :null => false
1314
+ end
1315
+
1316
+ add_index "work_has_subjects", ["subject_id"], :name => "index_work_has_subjects_on_subject_id"
1317
+ add_index "work_has_subjects", ["work_id"], :name => "index_work_has_subjects_on_work_id"
1318
+
1236
1319
  end
Binary file
@@ -1950,75 +1950,71 @@ manifestation_00216:
1950
1950
  #
1951
1951
  # Table name: manifestations
1952
1952
  #
1953
- # id :integer not null, primary key
1954
- # original_title :text not null
1955
- # title_alternative :text
1956
- # title_transcription :text
1957
- # classification_number :string(255)
1958
- # manifestation_identifier :string(255)
1959
- # date_of_publication :datetime
1960
- # date_copyrighted :datetime
1961
- # created_at :datetime not null
1962
- # updated_at :datetime not null
1963
- # deleted_at :datetime
1964
- # access_address :string(255)
1965
- # language_id :integer default(1), not null
1966
- # carrier_type_id :integer default(1), not null
1967
- # extent_id :integer default(1), not null
1968
- # start_page :integer
1969
- # end_page :integer
1970
- # height :integer
1971
- # width :integer
1972
- # depth :integer
1973
- # isbn :string(255)
1974
- # isbn10 :string(255)
1975
- # wrong_isbn :string(255)
1976
- # nbn :string(255)
1977
- # lccn :string(255)
1978
- # oclc_number :string(255)
1979
- # issn :string(255)
1980
- # price :integer
1981
- # fulltext :text
1982
- # volume_number_string :string(255)
1983
- # issue_number_string :string(255)
1984
- # serial_number_string :string(255)
1985
- # edition :integer
1986
- # note :text
1987
- # repository_content :boolean default(FALSE), not null
1988
- # lock_version :integer default(0), not null
1989
- # required_role_id :integer default(1), not null
1990
- # state :string(255)
1991
- # required_score :integer default(0), not null
1992
- # frequency_id :integer default(1), not null
1993
- # subscription_master :boolean default(FALSE), not null
1994
- # attachment_file_name :string(255)
1995
- # attachment_content_type :string(255)
1996
- # attachment_file_size :integer
1997
- # attachment_updated_at :datetime
1998
- # title_alternative_transcription :text
1999
- # description :text
2000
- # abstract :text
2001
- # available_at :datetime
2002
- # valid_until :datetime
2003
- # date_submitted :datetime
2004
- # date_accepted :datetime
2005
- # date_caputured :datetime
2006
- # pub_date :string(255)
2007
- # edition_string :string(255)
2008
- # volume_number :integer
2009
- # issue_number :integer
2010
- # serial_number :integer
2011
- # ndc :string(255)
2012
- # content_type_id :integer default(1)
2013
- # year_of_publication :integer
2014
- # attachment_meta :text
2015
- # month_of_publication :integer
2016
- # fulltext_content :boolean
2017
- # doi :string(255)
2018
- # periodical :boolean
2019
- # series_original_title :text
2020
- # series_title_transcription :text
2021
- # series_title_creator_string :text
2022
- # series_title_volume_number_string :text
1953
+ # id :integer not null, primary key
1954
+ # original_title :text not null
1955
+ # title_alternative :text
1956
+ # title_transcription :text
1957
+ # classification_number :string(255)
1958
+ # manifestation_identifier :string(255)
1959
+ # date_of_publication :datetime
1960
+ # date_copyrighted :datetime
1961
+ # created_at :datetime not null
1962
+ # updated_at :datetime not null
1963
+ # deleted_at :datetime
1964
+ # access_address :string(255)
1965
+ # language_id :integer default(1), not null
1966
+ # carrier_type_id :integer default(1), not null
1967
+ # extent_id :integer default(1), not null
1968
+ # start_page :integer
1969
+ # end_page :integer
1970
+ # height :integer
1971
+ # width :integer
1972
+ # depth :integer
1973
+ # isbn :string(255)
1974
+ # isbn10 :string(255)
1975
+ # wrong_isbn :string(255)
1976
+ # nbn :string(255)
1977
+ # lccn :string(255)
1978
+ # oclc_number :string(255)
1979
+ # issn :string(255)
1980
+ # price :integer
1981
+ # fulltext :text
1982
+ # volume_number_string :string(255)
1983
+ # issue_number_string :string(255)
1984
+ # serial_number_string :string(255)
1985
+ # edition :integer
1986
+ # note :text
1987
+ # repository_content :boolean default(FALSE), not null
1988
+ # lock_version :integer default(0), not null
1989
+ # required_role_id :integer default(1), not null
1990
+ # state :string(255)
1991
+ # required_score :integer default(0), not null
1992
+ # frequency_id :integer default(1), not null
1993
+ # subscription_master :boolean default(FALSE), not null
1994
+ # attachment_file_name :string(255)
1995
+ # attachment_content_type :string(255)
1996
+ # attachment_file_size :integer
1997
+ # attachment_updated_at :datetime
1998
+ # title_alternative_transcription :text
1999
+ # description :text
2000
+ # abstract :text
2001
+ # available_at :datetime
2002
+ # valid_until :datetime
2003
+ # date_submitted :datetime
2004
+ # date_accepted :datetime
2005
+ # date_caputured :datetime
2006
+ # pub_date :string(255)
2007
+ # edition_string :string(255)
2008
+ # volume_number :integer
2009
+ # issue_number :integer
2010
+ # serial_number :integer
2011
+ # ndc :string(255)
2012
+ # content_type_id :integer default(1)
2013
+ # year_of_publication :integer
2014
+ # attachment_meta :text
2015
+ # month_of_publication :integer
2016
+ # fulltext_content :boolean
2017
+ # doi :string(255)
2018
+ # periodical :boolean
2023
2019
  #
2024
2020
 
@@ -29,7 +29,6 @@ five:
29
29
  manifestation_id: 204
30
30
  root_manifestation_id: 202
31
31
 
32
-
33
32
  # == Schema Information
34
33
  #
35
34
  # Table name: series_statements
@@ -52,5 +51,6 @@ five:
52
51
  # volume_number_string :text
53
52
  # volume_number_transcription_string :text
54
53
  # series_master :boolean
54
+ # root_manifestation_id :integer
55
55
  #
56
56
 
@@ -0,0 +1,28 @@
1
+ ---
2
+ subject_type_00001:
3
+ id: 1
4
+ name: Concept
5
+ display_name: Concept
6
+ note:
7
+ position: 1
8
+
9
+ subject_type_00002:
10
+ id: 2
11
+ name: Event
12
+ display_name: Event
13
+ note:
14
+ position: 2
15
+
16
+ subject_type_00003:
17
+ id: 3
18
+ name: Object
19
+ display_name: Object
20
+ note:
21
+ position: 3
22
+
23
+ subject_type_00004:
24
+ id: 4
25
+ name: Place
26
+ display_name: Place
27
+ note:
28
+ position: 4
@@ -2,6 +2,8 @@
2
2
  require 'spec_helper'
3
3
 
4
4
  describe ImportRequest do
5
+ fixtures :all
6
+
5
7
  context "import" do
6
8
  it "should import bibliographic record", :vcr => true do
7
9
  old_count = Manifestation.count
@@ -233,75 +233,71 @@ end
233
233
  #
234
234
  # Table name: manifestations
235
235
  #
236
- # id :integer not null, primary key
237
- # original_title :text not null
238
- # title_alternative :text
239
- # title_transcription :text
240
- # classification_number :string(255)
241
- # manifestation_identifier :string(255)
242
- # date_of_publication :datetime
243
- # date_copyrighted :datetime
244
- # created_at :datetime not null
245
- # updated_at :datetime not null
246
- # deleted_at :datetime
247
- # access_address :string(255)
248
- # language_id :integer default(1), not null
249
- # carrier_type_id :integer default(1), not null
250
- # extent_id :integer default(1), not null
251
- # start_page :integer
252
- # end_page :integer
253
- # height :integer
254
- # width :integer
255
- # depth :integer
256
- # isbn :string(255)
257
- # isbn10 :string(255)
258
- # wrong_isbn :string(255)
259
- # nbn :string(255)
260
- # lccn :string(255)
261
- # oclc_number :string(255)
262
- # issn :string(255)
263
- # price :integer
264
- # fulltext :text
265
- # volume_number_string :string(255)
266
- # issue_number_string :string(255)
267
- # serial_number_string :string(255)
268
- # edition :integer
269
- # note :text
270
- # repository_content :boolean default(FALSE), not null
271
- # lock_version :integer default(0), not null
272
- # required_role_id :integer default(1), not null
273
- # state :string(255)
274
- # required_score :integer default(0), not null
275
- # frequency_id :integer default(1), not null
276
- # subscription_master :boolean default(FALSE), not null
277
- # attachment_file_name :string(255)
278
- # attachment_content_type :string(255)
279
- # attachment_file_size :integer
280
- # attachment_updated_at :datetime
281
- # title_alternative_transcription :text
282
- # description :text
283
- # abstract :text
284
- # available_at :datetime
285
- # valid_until :datetime
286
- # date_submitted :datetime
287
- # date_accepted :datetime
288
- # date_caputured :datetime
289
- # pub_date :string(255)
290
- # edition_string :string(255)
291
- # volume_number :integer
292
- # issue_number :integer
293
- # serial_number :integer
294
- # ndc :string(255)
295
- # content_type_id :integer default(1)
296
- # year_of_publication :integer
297
- # attachment_meta :text
298
- # month_of_publication :integer
299
- # fulltext_content :boolean
300
- # doi :string(255)
301
- # periodical :boolean
302
- # series_original_title :text
303
- # series_title_transcription :text
304
- # series_title_creator_string :text
305
- # series_title_volume_number_string :text
236
+ # id :integer not null, primary key
237
+ # original_title :text not null
238
+ # title_alternative :text
239
+ # title_transcription :text
240
+ # classification_number :string(255)
241
+ # manifestation_identifier :string(255)
242
+ # date_of_publication :datetime
243
+ # date_copyrighted :datetime
244
+ # created_at :datetime not null
245
+ # updated_at :datetime not null
246
+ # deleted_at :datetime
247
+ # access_address :string(255)
248
+ # language_id :integer default(1), not null
249
+ # carrier_type_id :integer default(1), not null
250
+ # extent_id :integer default(1), not null
251
+ # start_page :integer
252
+ # end_page :integer
253
+ # height :integer
254
+ # width :integer
255
+ # depth :integer
256
+ # isbn :string(255)
257
+ # isbn10 :string(255)
258
+ # wrong_isbn :string(255)
259
+ # nbn :string(255)
260
+ # lccn :string(255)
261
+ # oclc_number :string(255)
262
+ # issn :string(255)
263
+ # price :integer
264
+ # fulltext :text
265
+ # volume_number_string :string(255)
266
+ # issue_number_string :string(255)
267
+ # serial_number_string :string(255)
268
+ # edition :integer
269
+ # note :text
270
+ # repository_content :boolean default(FALSE), not null
271
+ # lock_version :integer default(0), not null
272
+ # required_role_id :integer default(1), not null
273
+ # state :string(255)
274
+ # required_score :integer default(0), not null
275
+ # frequency_id :integer default(1), not null
276
+ # subscription_master :boolean default(FALSE), not null
277
+ # attachment_file_name :string(255)
278
+ # attachment_content_type :string(255)
279
+ # attachment_file_size :integer
280
+ # attachment_updated_at :datetime
281
+ # title_alternative_transcription :text
282
+ # description :text
283
+ # abstract :text
284
+ # available_at :datetime
285
+ # valid_until :datetime
286
+ # date_submitted :datetime
287
+ # date_accepted :datetime
288
+ # date_caputured :datetime
289
+ # pub_date :string(255)
290
+ # edition_string :string(255)
291
+ # volume_number :integer
292
+ # issue_number :integer
293
+ # serial_number :integer
294
+ # ndc :string(255)
295
+ # content_type_id :integer default(1)
296
+ # year_of_publication :integer
297
+ # attachment_meta :text
298
+ # month_of_publication :integer
299
+ # fulltext_content :boolean
300
+ # doi :string(255)
301
+ # periodical :boolean
306
302
  #
307
303
 
@@ -31,5 +31,6 @@ end
31
31
  # volume_number_string :text
32
32
  # volume_number_transcription_string :text
33
33
  # series_master :boolean
34
+ # root_manifestation_id :integer
34
35
  #
35
36