enju_biblio 0.1.0.pre10 → 0.1.0.pre11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. data/app/models/accept.rb +4 -3
  2. data/app/models/carrier_type.rb +4 -4
  3. data/app/models/content_type.rb +4 -4
  4. data/app/models/country.rb +2 -2
  5. data/app/models/create.rb +5 -6
  6. data/app/models/create_type.rb +3 -3
  7. data/app/models/donate.rb +5 -5
  8. data/app/models/exemplify.rb +5 -15
  9. data/app/models/extent.rb +4 -4
  10. data/app/models/form_of_work.rb +4 -4
  11. data/app/models/frequency.rb +4 -4
  12. data/app/models/import_request.rb +3 -3
  13. data/app/models/item.rb +13 -11
  14. data/app/models/language.rb +2 -2
  15. data/app/models/license.rb +4 -4
  16. data/app/models/manifestation.rb +55 -30
  17. data/app/models/manifestation_relationship.rb +3 -3
  18. data/app/models/manifestation_relationship_type.rb +4 -4
  19. data/app/models/medium_of_performance.rb +4 -4
  20. data/app/models/own.rb +5 -5
  21. data/app/models/patron.rb +10 -10
  22. data/app/models/patron_import_file.rb +11 -5
  23. data/app/models/patron_import_result.rb +3 -3
  24. data/app/models/patron_relationship.rb +3 -3
  25. data/app/models/patron_relationship_type.rb +4 -4
  26. data/app/models/patron_type.rb +4 -4
  27. data/app/models/picture_file.rb +3 -3
  28. data/app/models/produce.rb +5 -6
  29. data/app/models/produce_type.rb +3 -3
  30. data/app/models/realize.rb +5 -6
  31. data/app/models/realize_type.rb +3 -3
  32. data/app/models/resource_import_file.rb +64 -14
  33. data/app/models/resource_import_result.rb +3 -3
  34. data/app/models/series_has_manifestation.rb +3 -3
  35. data/app/models/series_statement.rb +16 -8
  36. data/app/models/series_statement_relationship.rb +13 -0
  37. data/db/migrate/20120516020924_add_online_isbn_to_manifestation.rb +5 -0
  38. data/db/migrate/20121116031206_add_fulltext_content_to_manifestation.rb +5 -0
  39. data/db/migrate/20121116033446_add_doi_to_manifestation.rb +6 -0
  40. data/db/migrate/20121119153944_add_manifestation_id_to_item.rb +5 -0
  41. data/lib/enju_biblio/version.rb +1 -1
  42. data/spec/dummy/db/development.sqlite3 +0 -0
  43. data/spec/dummy/db/migrate/20090831220301_create_lending_policies.rb +1 -1
  44. data/spec/dummy/db/schema.rb +13 -11
  45. data/spec/dummy/db/test.sqlite3 +0 -0
  46. data/spec/dummy/solr/data/test/index/segments.gen +0 -0
  47. data/spec/dummy/solr/data/test/index/segments_b72 +0 -0
  48. data/spec/fixtures/carrier_types.yml +4 -4
  49. data/spec/fixtures/content_types.yml +4 -4
  50. data/spec/fixtures/countries.yml +2 -2
  51. data/spec/fixtures/create_types.yml +3 -3
  52. data/spec/fixtures/creates.yml +5 -6
  53. data/spec/fixtures/donates.yml +5 -5
  54. data/spec/fixtures/exemplifies.yml +5 -6
  55. data/spec/fixtures/extents.yml +4 -4
  56. data/spec/fixtures/form_of_works.yml +4 -4
  57. data/spec/fixtures/frequencies.yml +4 -4
  58. data/spec/fixtures/import_requests.yml +3 -3
  59. data/spec/fixtures/items.yml +12 -10
  60. data/spec/fixtures/languages.yml +3 -3
  61. data/spec/fixtures/licenses.yml +4 -4
  62. data/spec/fixtures/manifestation_relationship_types.yml +4 -4
  63. data/spec/fixtures/manifestation_relationships.yml +3 -3
  64. data/spec/fixtures/manifestations.yml +17 -21
  65. data/spec/fixtures/medium_of_performances.yml +4 -4
  66. data/spec/fixtures/owns.yml +5 -5
  67. data/spec/fixtures/patron_import_files.yml +3 -3
  68. data/spec/fixtures/patron_import_results.yml +3 -3
  69. data/spec/fixtures/patron_relationship_types.yml +4 -4
  70. data/spec/fixtures/patron_relationships.yml +3 -3
  71. data/spec/fixtures/patron_types.yml +4 -4
  72. data/spec/fixtures/patrons.yml +10 -14
  73. data/spec/fixtures/picture_files.yml +3 -3
  74. data/spec/fixtures/produce_types.yml +3 -3
  75. data/spec/fixtures/produces.yml +5 -6
  76. data/spec/fixtures/realize_types.yml +3 -3
  77. data/spec/fixtures/realizes.yml +5 -6
  78. data/spec/fixtures/resource_import_files.yml +3 -3
  79. data/spec/fixtures/resource_import_results.yml +3 -3
  80. data/spec/fixtures/series_has_manifestations.yml +3 -3
  81. data/spec/fixtures/series_statements.yml +4 -5
  82. data/spec/fixtures/user_group_has_checkout_types.yml +1 -1
  83. data/spec/models/accept_spec.rb +4 -3
  84. data/spec/models/carrier_type_spec.rb +4 -4
  85. data/spec/models/content_type_spec.rb +4 -4
  86. data/spec/models/country_spec.rb +2 -2
  87. data/spec/models/create_spec.rb +5 -6
  88. data/spec/models/create_type_spec.rb +3 -3
  89. data/spec/models/donate_spec.rb +5 -5
  90. data/spec/models/exemplify_spec.rb +5 -5
  91. data/spec/models/extent_spec.rb +4 -4
  92. data/spec/models/form_of_work_spec.rb +4 -4
  93. data/spec/models/frequency_spec.rb +4 -4
  94. data/spec/models/import_request_spec.rb +3 -3
  95. data/spec/models/item_spec.rb +20 -10
  96. data/spec/models/language_spec.rb +2 -2
  97. data/spec/models/license_spec.rb +4 -4
  98. data/spec/models/manifestation_relationship_spec.rb +3 -3
  99. data/spec/models/manifestation_relationship_type_spec.rb +4 -4
  100. data/spec/models/manifestation_spec.rb +17 -14
  101. data/spec/models/medium_of_performance_spec.rb +4 -4
  102. data/spec/models/own_spec.rb +5 -5
  103. data/spec/models/patron_import_file_spec.rb +3 -3
  104. data/spec/models/patron_import_result_spec.rb +3 -3
  105. data/spec/models/patron_relationship_spec.rb +3 -3
  106. data/spec/models/patron_relationship_type_spec.rb +4 -4
  107. data/spec/models/patron_spec.rb +10 -15
  108. data/spec/models/patron_type_spec.rb +4 -4
  109. data/spec/models/picture_file_spec.rb +3 -3
  110. data/spec/models/produce_spec.rb +5 -6
  111. data/spec/models/produce_type_spec.rb +3 -3
  112. data/spec/models/realize_spec.rb +5 -6
  113. data/spec/models/realize_type_spec.rb +3 -3
  114. data/spec/models/resource_import_file_spec.rb +3 -3
  115. data/spec/models/resource_import_result_spec.rb +3 -3
  116. data/spec/models/series_has_manifestation_spec.rb +3 -3
  117. data/spec/models/series_statement_relationship_spec.rb +13 -0
  118. data/spec/models/series_statement_spec.rb +4 -5
  119. metadata +10 -6
  120. data/spec/dummy/solr/data/test/index/segments_8fm +0 -0
@@ -2047,8 +2047,8 @@ country_00170:
2047
2047
  #
2048
2048
  # Table name: countries
2049
2049
  #
2050
- # id :integer not null, primary key
2051
- # name :string(255) not null
2050
+ # id :integer not null, primary key
2051
+ # name :string(255) not null
2052
2052
  # display_name :text
2053
2053
  # alpha_2 :string(255)
2054
2054
  # alpha_3 :string(255)
@@ -36,12 +36,12 @@ illustrator:
36
36
  #
37
37
  # Table name: create_types
38
38
  #
39
- # id :integer not null, primary key
39
+ # id :integer not null, primary key
40
40
  # name :string(255)
41
41
  # display_name :text
42
42
  # note :text
43
43
  # position :integer
44
- # created_at :datetime
45
- # updated_at :datetime
44
+ # created_at :datetime not null
45
+ # updated_at :datetime not null
46
46
  #
47
47
 
@@ -49,17 +49,16 @@ create_00104:
49
49
  position: 2
50
50
  created_at: 2010-03-16 19:00:00.538796 +09:00
51
51
 
52
-
53
52
  # == Schema Information
54
53
  #
55
54
  # Table name: creates
56
55
  #
57
- # id :integer not null, primary key
58
- # patron_id :integer not null
59
- # work_id :integer not null
56
+ # id :integer not null, primary key
57
+ # patron_id :integer not null
58
+ # work_id :integer not null
60
59
  # position :integer
61
- # created_at :datetime not null
62
- # updated_at :datetime not null
60
+ # created_at :datetime not null
61
+ # updated_at :datetime not null
63
62
  # create_type_id :integer
64
63
  #
65
64
 
@@ -22,10 +22,10 @@ donate_00003:
22
22
  #
23
23
  # Table name: donates
24
24
  #
25
- # id :integer not null, primary key
26
- # patron_id :integer not null
27
- # item_id :integer not null
28
- # created_at :datetime
29
- # updated_at :datetime
25
+ # id :integer not null, primary key
26
+ # patron_id :integer not null
27
+ # item_id :integer not null
28
+ # created_at :datetime not null
29
+ # updated_at :datetime not null
30
30
  #
31
31
 
@@ -146,16 +146,15 @@ exemplify_00023:
146
146
  id: 23
147
147
  created_at: 2008-01-11 02:44:37.135721 +09:00
148
148
 
149
-
150
149
  # == Schema Information
151
150
  #
152
151
  # Table name: exemplifies
153
152
  #
154
- # id :integer not null, primary key
155
- # manifestation_id :integer not null
156
- # item_id :integer not null
153
+ # id :integer not null, primary key
154
+ # manifestation_id :integer not null
155
+ # item_id :integer not null
157
156
  # position :integer
158
- # created_at :datetime not null
159
- # updated_at :datetime not null
157
+ # created_at :datetime not null
158
+ # updated_at :datetime not null
160
159
  #
161
160
 
@@ -18,12 +18,12 @@ two:
18
18
  #
19
19
  # Table name: extents
20
20
  #
21
- # id :integer not null, primary key
22
- # name :string(255) not null
21
+ # id :integer not null, primary key
22
+ # name :string(255) not null
23
23
  # display_name :text
24
24
  # note :text
25
25
  # position :integer
26
- # created_at :datetime
27
- # updated_at :datetime
26
+ # created_at :datetime not null
27
+ # updated_at :datetime not null
28
28
  #
29
29
 
@@ -28,12 +28,12 @@ form_of_work_00003:
28
28
  #
29
29
  # Table name: form_of_works
30
30
  #
31
- # id :integer not null, primary key
32
- # name :string(255) not null
31
+ # id :integer not null, primary key
32
+ # name :string(255) not null
33
33
  # display_name :text
34
34
  # note :text
35
35
  # position :integer
36
- # created_at :datetime
37
- # updated_at :datetime
36
+ # created_at :datetime not null
37
+ # updated_at :datetime not null
38
38
  #
39
39
 
@@ -74,12 +74,12 @@ frequency_00006:
74
74
  #
75
75
  # Table name: frequencies
76
76
  #
77
- # id :integer not null, primary key
78
- # name :string(255) not null
77
+ # id :integer not null, primary key
78
+ # name :string(255) not null
79
79
  # display_name :text
80
80
  # note :text
81
81
  # position :integer
82
- # created_at :datetime
83
- # updated_at :datetime
82
+ # created_at :datetime not null
83
+ # updated_at :datetime not null
84
84
  #
85
85
 
@@ -16,12 +16,12 @@ two:
16
16
  #
17
17
  # Table name: import_requests
18
18
  #
19
- # id :integer not null, primary key
19
+ # id :integer not null, primary key
20
20
  # isbn :string(255)
21
21
  # state :string(255)
22
22
  # manifestation_id :integer
23
23
  # user_id :integer
24
- # created_at :datetime
25
- # updated_at :datetime
24
+ # created_at :datetime not null
25
+ # updated_at :datetime not null
26
26
  #
27
27
 
@@ -229,29 +229,31 @@ item_00023:
229
229
  id: 23
230
230
  include_supplements: false
231
231
  created_at: 2007-08-24 23:46:20.484813 +09:00
232
+
232
233
  # == Schema Information
233
234
  #
234
235
  # Table name: items
235
236
  #
236
- # id :integer not null, primary key
237
+ # id :integer not null, primary key
237
238
  # call_number :string(255)
238
239
  # item_identifier :string(255)
239
- # circulation_status_id :integer default(5), not null
240
- # checkout_type_id :integer default(1), not null
241
- # created_at :datetime not null
242
- # updated_at :datetime not null
240
+ # circulation_status_id :integer default(5), not null
241
+ # checkout_type_id :integer default(1), not null
242
+ # created_at :datetime not null
243
+ # updated_at :datetime not null
243
244
  # deleted_at :datetime
244
- # shelf_id :integer default(1), not null
245
- # include_supplements :boolean default(FALSE), not null
245
+ # shelf_id :integer default(1), not null
246
+ # include_supplements :boolean default(FALSE), not null
246
247
  # note :text
247
248
  # url :string(255)
248
249
  # price :integer
249
- # lock_version :integer default(0), not null
250
- # required_role_id :integer default(1), not null
250
+ # lock_version :integer default(0), not null
251
+ # required_role_id :integer default(1), not null
251
252
  # state :string(255)
252
- # required_score :integer default(0), not null
253
+ # required_score :integer default(0), not null
253
254
  # acquired_at :datetime
254
255
  # bookstore_id :integer
255
256
  # budget_type_id :integer
257
+ # manifestation_id :integer
256
258
  #
257
259
 
@@ -1882,14 +1882,14 @@ language_00140:
1882
1882
  iso_639_3: srd
1883
1883
  id: 140
1884
1884
  note:
1885
- native_name:
1885
+ native_name:
1886
1886
 
1887
1887
  # == Schema Information
1888
1888
  #
1889
1889
  # Table name: languages
1890
1890
  #
1891
- # id :integer not null, primary key
1892
- # name :string(255) not null
1891
+ # id :integer not null, primary key
1892
+ # name :string(255) not null
1893
1893
  # native_name :string(255)
1894
1894
  # display_name :text
1895
1895
  # iso_639_1 :string(255)
@@ -18,12 +18,12 @@ two:
18
18
  #
19
19
  # Table name: licenses
20
20
  #
21
- # id :integer not null, primary key
22
- # name :string(255) not null
21
+ # id :integer not null, primary key
22
+ # name :string(255) not null
23
23
  # display_name :string(255)
24
24
  # note :text
25
25
  # position :integer
26
- # created_at :datetime
27
- # updated_at :datetime
26
+ # created_at :datetime not null
27
+ # updated_at :datetime not null
28
28
  #
29
29
 
@@ -18,12 +18,12 @@ two:
18
18
  #
19
19
  # Table name: manifestation_relationship_types
20
20
  #
21
- # id :integer not null, primary key
22
- # name :string(255) not null
21
+ # id :integer not null, primary key
22
+ # name :string(255) not null
23
23
  # display_name :text
24
24
  # note :text
25
25
  # position :integer
26
- # created_at :datetime
27
- # updated_at :datetime
26
+ # created_at :datetime not null
27
+ # updated_at :datetime not null
28
28
  #
29
29
 
@@ -19,12 +19,12 @@ serial:
19
19
  #
20
20
  # Table name: manifestation_relationships
21
21
  #
22
- # id :integer not null, primary key
22
+ # id :integer not null, primary key
23
23
  # parent_id :integer
24
24
  # child_id :integer
25
25
  # manifestation_relationship_type_id :integer
26
- # created_at :datetime
27
- # updated_at :datetime
26
+ # created_at :datetime not null
27
+ # updated_at :datetime not null
28
28
  # position :integer
29
29
  #
30
30
 
@@ -1942,32 +1942,25 @@ manifestation_00216:
1942
1942
  required_role_id: 1
1943
1943
  repository_content: false
1944
1944
 
1945
-
1946
-
1947
-
1948
-
1949
-
1950
-
1951
-
1952
1945
  # == Schema Information
1953
1946
  #
1954
1947
  # Table name: manifestations
1955
1948
  #
1956
- # id :integer not null, primary key
1957
- # original_title :text not null
1949
+ # id :integer not null, primary key
1950
+ # original_title :text not null
1958
1951
  # title_alternative :text
1959
1952
  # title_transcription :text
1960
1953
  # classification_number :string(255)
1961
1954
  # manifestation_identifier :string(255)
1962
1955
  # date_of_publication :datetime
1963
1956
  # date_copyrighted :datetime
1964
- # created_at :datetime not null
1965
- # updated_at :datetime not null
1957
+ # created_at :datetime not null
1958
+ # updated_at :datetime not null
1966
1959
  # deleted_at :datetime
1967
1960
  # access_address :string(255)
1968
- # language_id :integer default(1), not null
1969
- # carrier_type_id :integer default(1), not null
1970
- # extent_id :integer default(1), not null
1961
+ # language_id :integer default(1), not null
1962
+ # carrier_type_id :integer default(1), not null
1963
+ # extent_id :integer default(1), not null
1971
1964
  # start_page :integer
1972
1965
  # end_page :integer
1973
1966
  # height :integer
@@ -1987,13 +1980,13 @@ manifestation_00216:
1987
1980
  # serial_number_string :string(255)
1988
1981
  # edition :integer
1989
1982
  # note :text
1990
- # repository_content :boolean default(FALSE), not null
1991
- # lock_version :integer default(0), not null
1992
- # required_role_id :integer default(1), not null
1983
+ # repository_content :boolean default(FALSE), not null
1984
+ # lock_version :integer default(0), not null
1985
+ # required_role_id :integer default(1), not null
1993
1986
  # state :string(255)
1994
- # required_score :integer default(0), not null
1995
- # frequency_id :integer default(1), not null
1996
- # subscription_master :boolean default(FALSE), not null
1987
+ # required_score :integer default(0), not null
1988
+ # frequency_id :integer default(1), not null
1989
+ # subscription_master :boolean default(FALSE), not null
1997
1990
  # attachment_file_name :string(255)
1998
1991
  # attachment_content_type :string(255)
1999
1992
  # attachment_file_size :integer
@@ -2012,9 +2005,12 @@ manifestation_00216:
2012
2005
  # issue_number :integer
2013
2006
  # serial_number :integer
2014
2007
  # ndc :string(255)
2015
- # content_type_id :integer default(1)
2008
+ # content_type_id :integer default(1)
2016
2009
  # year_of_publication :integer
2017
2010
  # attachment_meta :text
2018
2011
  # month_of_publication :integer
2012
+ # online_isbn :string(255)
2013
+ # fulltext_content :boolean
2014
+ # doi :string(255)
2019
2015
  #
2020
2016
 
@@ -18,12 +18,12 @@ two:
18
18
  #
19
19
  # Table name: medium_of_performances
20
20
  #
21
- # id :integer not null, primary key
22
- # name :string(255) not null
21
+ # id :integer not null, primary key
22
+ # name :string(255) not null
23
23
  # display_name :text
24
24
  # note :text
25
25
  # position :integer
26
- # created_at :datetime
27
- # updated_at :datetime
26
+ # created_at :datetime not null
27
+ # updated_at :datetime not null
28
28
  #
29
29
 
@@ -16,11 +16,11 @@ own_00002:
16
16
  #
17
17
  # Table name: owns
18
18
  #
19
- # id :integer not null, primary key
20
- # patron_id :integer not null
21
- # item_id :integer not null
19
+ # id :integer not null, primary key
20
+ # patron_id :integer not null
21
+ # item_id :integer not null
22
22
  # position :integer
23
- # created_at :datetime not null
24
- # updated_at :datetime not null
23
+ # created_at :datetime not null
24
+ # updated_at :datetime not null
25
25
  #
26
26
 
@@ -26,7 +26,7 @@ patron_import_file_00003:
26
26
  #
27
27
  # Table name: patron_import_files
28
28
  #
29
- # id :integer not null, primary key
29
+ # id :integer not null, primary key
30
30
  # parent_id :integer
31
31
  # content_type :string(255)
32
32
  # size :integer
@@ -38,8 +38,8 @@ patron_import_file_00003:
38
38
  # patron_import_content_type :string(255)
39
39
  # patron_import_file_size :integer
40
40
  # patron_import_updated_at :datetime
41
- # created_at :datetime not null
42
- # updated_at :datetime not null
41
+ # created_at :datetime not null
42
+ # updated_at :datetime not null
43
43
  # patron_import_fingerprint :string(255)
44
44
  # error_message :text
45
45
  # edit_mode :string(255)
@@ -18,12 +18,12 @@ two:
18
18
  #
19
19
  # Table name: patron_import_results
20
20
  #
21
- # id :integer not null, primary key
21
+ # id :integer not null, primary key
22
22
  # patron_import_file_id :integer
23
23
  # patron_id :integer
24
24
  # user_id :integer
25
25
  # body :text
26
- # created_at :datetime
27
- # updated_at :datetime
26
+ # created_at :datetime not null
27
+ # updated_at :datetime not null
28
28
  #
29
29
 
@@ -23,12 +23,12 @@ patron_relationship_type_00003:
23
23
  #
24
24
  # Table name: patron_relationship_types
25
25
  #
26
- # id :integer not null, primary key
27
- # name :string(255) not null
26
+ # id :integer not null, primary key
27
+ # name :string(255) not null
28
28
  # display_name :text
29
29
  # note :text
30
30
  # position :integer
31
- # created_at :datetime
32
- # updated_at :datetime
31
+ # created_at :datetime not null
32
+ # updated_at :datetime not null
33
33
  #
34
34
 
@@ -14,12 +14,12 @@ two:
14
14
  #
15
15
  # Table name: patron_relationships
16
16
  #
17
- # id :integer not null, primary key
17
+ # id :integer not null, primary key
18
18
  # parent_id :integer
19
19
  # child_id :integer
20
20
  # patron_relationship_type_id :integer
21
- # created_at :datetime
22
- # updated_at :datetime
21
+ # created_at :datetime not null
22
+ # updated_at :datetime not null
23
23
  # position :integer
24
24
  #
25
25
 
@@ -24,12 +24,12 @@ patron_type_00003:
24
24
  #
25
25
  # Table name: patron_types
26
26
  #
27
- # id :integer not null, primary key
28
- # name :string(255) not null
27
+ # id :integer not null, primary key
28
+ # name :string(255) not null
29
29
  # display_name :text
30
30
  # note :text
31
31
  # position :integer
32
- # created_at :datetime
33
- # updated_at :datetime
32
+ # created_at :datetime not null
33
+ # updated_at :datetime not null
34
34
  #
35
35
 
@@ -278,16 +278,11 @@ patron_00202:
278
278
  required_role_id: 1
279
279
  created_at: 2010-03-15 17:00:00.579396 +09:00
280
280
 
281
-
282
-
283
-
284
-
285
-
286
281
  # == Schema Information
287
282
  #
288
283
  # Table name: patrons
289
284
  #
290
- # id :integer not null, primary key
285
+ # id :integer not null, primary key
291
286
  # user_id :integer
292
287
  # last_name :string(255)
293
288
  # middle_name :string(255)
@@ -300,8 +295,8 @@ patron_00202:
300
295
  # full_name :string(255)
301
296
  # full_name_transcription :text
302
297
  # full_name_alternative :text
303
- # created_at :datetime not null
304
- # updated_at :datetime not null
298
+ # created_at :datetime not null
299
+ # updated_at :datetime not null
305
300
  # deleted_at :datetime
306
301
  # zip_code_1 :string(255)
307
302
  # zip_code_2 :string(255)
@@ -321,18 +316,19 @@ patron_00202:
321
316
  # region :text
322
317
  # date_of_birth :datetime
323
318
  # date_of_death :datetime
324
- # language_id :integer default(1), not null
325
- # country_id :integer default(1), not null
326
- # patron_type_id :integer default(1), not null
327
- # lock_version :integer default(0), not null
319
+ # language_id :integer default(1), not null
320
+ # country_id :integer default(1), not null
321
+ # patron_type_id :integer default(1), not null
322
+ # lock_version :integer default(0), not null
328
323
  # note :text
329
- # required_role_id :integer default(1), not null
330
- # required_score :integer default(0), not null
324
+ # required_role_id :integer default(1), not null
325
+ # required_score :integer default(0), not null
331
326
  # state :string(255)
332
327
  # email :text
333
328
  # url :text
334
329
  # full_name_alternative_transcription :text
335
330
  # birth_date :string(255)
336
331
  # death_date :string(255)
332
+ # patron_identifier :string(255)
337
333
  #
338
334
 
@@ -44,15 +44,15 @@ picture_file_00004:
44
44
  #
45
45
  # Table name: picture_files
46
46
  #
47
- # id :integer not null, primary key
47
+ # id :integer not null, primary key
48
48
  # picture_attachable_id :integer
49
49
  # picture_attachable_type :string(255)
50
50
  # content_type :string(255)
51
51
  # title :text
52
52
  # thumbnail :string(255)
53
53
  # position :integer
54
- # created_at :datetime not null
55
- # updated_at :datetime not null
54
+ # created_at :datetime not null
55
+ # updated_at :datetime not null
56
56
  # picture_file_name :string(255)
57
57
  # picture_content_type :string(255)
58
58
  # picture_file_size :integer
@@ -20,12 +20,12 @@ seller:
20
20
  #
21
21
  # Table name: produce_types
22
22
  #
23
- # id :integer not null, primary key
23
+ # id :integer not null, primary key
24
24
  # name :string(255)
25
25
  # display_name :text
26
26
  # note :text
27
27
  # position :integer
28
- # created_at :datetime
29
- # updated_at :datetime
28
+ # created_at :datetime not null
29
+ # updated_at :datetime not null
30
30
  #
31
31
 
@@ -133,17 +133,16 @@ produce_00202:
133
133
  position: 1
134
134
  created_at: 2010-03-15 20:00:00.135721 +09:00
135
135
 
136
-
137
136
  # == Schema Information
138
137
  #
139
138
  # Table name: produces
140
139
  #
141
- # id :integer not null, primary key
142
- # patron_id :integer not null
143
- # manifestation_id :integer not null
140
+ # id :integer not null, primary key
141
+ # patron_id :integer not null
142
+ # manifestation_id :integer not null
144
143
  # position :integer
145
- # created_at :datetime not null
146
- # updated_at :datetime not null
144
+ # created_at :datetime not null
145
+ # updated_at :datetime not null
147
146
  # produce_type_id :integer
148
147
  #
149
148
 
@@ -28,12 +28,12 @@ illustrator:
28
28
  #
29
29
  # Table name: realize_types
30
30
  #
31
- # id :integer not null, primary key
31
+ # id :integer not null, primary key
32
32
  # name :string(255)
33
33
  # display_name :text
34
34
  # note :text
35
35
  # position :integer
36
- # created_at :datetime
37
- # updated_at :datetime
36
+ # created_at :datetime not null
37
+ # updated_at :datetime not null
38
38
  #
39
39
 
@@ -70,17 +70,16 @@ realize_00010:
70
70
  position: 2
71
71
  created_at: 2008-01-11 02:44:37.135721 +09:00
72
72
 
73
-
74
73
  # == Schema Information
75
74
  #
76
75
  # Table name: realizes
77
76
  #
78
- # id :integer not null, primary key
79
- # patron_id :integer not null
80
- # expression_id :integer not null
77
+ # id :integer not null, primary key
78
+ # patron_id :integer not null
79
+ # expression_id :integer not null
81
80
  # position :integer
82
- # created_at :datetime not null
83
- # updated_at :datetime not null
81
+ # created_at :datetime not null
82
+ # updated_at :datetime not null
84
83
  # realize_type_id :integer
85
84
  #
86
85
 
@@ -26,7 +26,7 @@ resource_import_file_00003:
26
26
  #
27
27
  # Table name: resource_import_files
28
28
  #
29
- # id :integer not null, primary key
29
+ # id :integer not null, primary key
30
30
  # parent_id :integer
31
31
  # content_type :string(255)
32
32
  # size :integer
@@ -38,8 +38,8 @@ resource_import_file_00003:
38
38
  # resource_import_content_type :string(255)
39
39
  # resource_import_file_size :integer
40
40
  # resource_import_updated_at :datetime
41
- # created_at :datetime not null
42
- # updated_at :datetime not null
41
+ # created_at :datetime not null
42
+ # updated_at :datetime not null
43
43
  # edit_mode :string(255)
44
44
  # resource_import_fingerprint :string(255)
45
45
  # error_message :text