enju_circulation 0.1.0.pre38 → 0.1.0.pre39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/manifestation_checkout_stats_controller.rb +3 -0
  3. data/app/models/carrier_type_has_checkout_type.rb +2 -2
  4. data/app/models/checkin.rb +7 -5
  5. data/app/models/checkout.rb +11 -7
  6. data/app/models/checkout_type.rb +3 -3
  7. data/app/models/circulation_status.rb +6 -5
  8. data/app/models/item_has_use_restriction.rb +1 -1
  9. data/app/models/lending_policy.rb +1 -1
  10. data/app/models/manifestation_checkout_stat.rb +1 -1
  11. data/app/models/manifestation_reserve_stat.rb +1 -1
  12. data/app/models/reserve.rb +19 -19
  13. data/app/models/use_restriction.rb +5 -4
  14. data/app/models/user_group_has_checkout_type.rb +1 -1
  15. data/app/views/checked_items/new.html.erb +1 -1
  16. data/app/views/checkouts/_index_user.html.erb +1 -1
  17. data/app/views/manifestation_checkout_stats/show.html.erb +9 -0
  18. data/app/views/manifestation_checkout_stats/show.txt.erb +3 -2
  19. data/app/views/manifestation_reserve_stats/show.txt.erb +3 -2
  20. data/config/locales/translation_en.yml +1 -0
  21. data/config/locales/translation_ja.yml +1 -0
  22. data/lib/enju_circulation/item.rb +3 -3
  23. data/lib/enju_circulation/user_group.rb +2 -2
  24. data/lib/enju_circulation/version.rb +1 -1
  25. data/spec/controllers/checkout_types_controller_spec.rb +2 -2
  26. data/spec/controllers/circulation_statuses_controller_spec.rb +4 -4
  27. data/spec/controllers/item_has_use_restrictions_controller_spec.rb +2 -2
  28. data/spec/controllers/manifestation_checkout_stats_controller_spec.rb +4 -4
  29. data/spec/controllers/manifestation_reserve_stats_controller_spec.rb +4 -4
  30. data/spec/controllers/use_restrictions_controller_spec.rb +2 -2
  31. data/spec/controllers/user_checkout_stats_controller_spec.rb +4 -4
  32. data/spec/controllers/user_reserve_stats_controller_spec.rb +4 -4
  33. data/spec/dummy/config/boot.rb +2 -2
  34. data/spec/dummy/config/initializers/friendly_id.rb +90 -0
  35. data/spec/dummy/db/migrate/005_create_manifestations.rb +0 -1
  36. data/spec/dummy/db/migrate/133_create_agent_merges.rb +15 -0
  37. data/spec/dummy/db/migrate/134_create_agent_merge_lists.rb +13 -0
  38. data/spec/dummy/db/migrate/20100925074559_create_agent_import_results.rb +0 -1
  39. data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +1 -1
  40. data/spec/dummy/db/migrate/20140813182425_add_publication_place_to_manifestation.rb +5 -0
  41. data/spec/dummy/db/migrate/20140822114527_add_error_message_to_resource_import_result.rb +5 -0
  42. data/spec/dummy/db/migrate/20140823083524_add_extent_to_manifestation.rb +5 -0
  43. data/spec/dummy/db/migrate/20140823094847_add_dimensions_to_manifestation.rb +5 -0
  44. data/spec/dummy/db/migrate/20140823095740_rename_manifestation_periodical_to_serial.rb +9 -0
  45. data/spec/dummy/db/schema.rb +23 -5
  46. data/spec/dummy/db/test.sqlite3 +0 -0
  47. data/spec/dummy/solr/default/data/index/_8df.fdt +0 -0
  48. data/spec/dummy/solr/default/data/index/{_7tr.si → _8df.si} +0 -0
  49. data/spec/dummy/solr/default/data/index/{_7tr_Lucene41_0.tim → _8df_Lucene41_0.tim} +0 -0
  50. data/spec/dummy/solr/default/data/index/{_7tr_Lucene41_0.tip → _8df_Lucene41_0.tip} +0 -0
  51. data/spec/dummy/solr/default/data/index/segments.gen +0 -0
  52. data/spec/dummy/solr/default/data/index/segments_dfb +0 -0
  53. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017389 +0 -0
  54. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017390 +0 -0
  55. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017391 +0 -0
  56. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017392 +0 -0
  57. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017393 +0 -0
  58. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017394 +0 -0
  59. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017395 +0 -0
  60. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017396 +0 -0
  61. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000017397 +0 -0
  62. data/spec/dummy/tmp/cache/stdout +27 -1875
  63. data/spec/dummy/tmp/pids/redis-test.pid +1 -1
  64. data/spec/fixtures/users.yml +1 -1
  65. data/spec/models/reserve_spec.rb +2 -2
  66. data/spec/views/reserves/index.html.erb_spec.rb +1 -1
  67. metadata +68 -153
  68. data/lib/generators/enju_circulation/setup/templates/db/fixtures/carrier_types.yml +0 -29
  69. data/spec/dummy/solr/default/data/index/_7tr.fdt +0 -0
  70. data/spec/dummy/solr/default/data/index/segments_cjn +0 -0
  71. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016249 +0 -0
  72. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016250 +0 -0
  73. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016251 +0 -0
  74. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016252 +0 -0
  75. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016253 +0 -0
  76. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016254 +0 -0
  77. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016255 +0 -0
  78. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016256 +0 -0
  79. data/spec/dummy/solr/default/data/tlog/tlog.0000000000000016257 +0 -0
  80. data/spec/dummy/tmp/cache/assets/test/sprockets/0007f9aec08cc2727b3d00cd62cf1d0f +0 -0
  81. data/spec/dummy/tmp/cache/assets/test/sprockets/0440b81b0aae840cf287a686585a8cec +0 -0
  82. data/spec/dummy/tmp/cache/assets/test/sprockets/0e3e358e4fe4601ba5e435f6d0c86f12 +0 -0
  83. data/spec/dummy/tmp/cache/assets/test/sprockets/129cec5384c0f26fcfb0ce65048298c5 +0 -0
  84. data/spec/dummy/tmp/cache/assets/test/sprockets/1572dfd6f1e555f4be1aa60ddc3cb0c0 +0 -0
  85. data/spec/dummy/tmp/cache/assets/test/sprockets/181c975b1296d7ebe81714d5e64bc098 +0 -0
  86. data/spec/dummy/tmp/cache/assets/test/sprockets/1c1fbab93e4552626da626e0dbe70c74 +0 -0
  87. data/spec/dummy/tmp/cache/assets/test/sprockets/1e58a07a3701da9fb9c176d67162af2b +0 -0
  88. data/spec/dummy/tmp/cache/assets/test/sprockets/2b35ad8fee7e1228e205669278e2adda +0 -0
  89. data/spec/dummy/tmp/cache/assets/test/sprockets/2f09f58943a88f21e3a0318621391785 +0 -0
  90. data/spec/dummy/tmp/cache/assets/test/sprockets/2ffe508d0533d0afd2a37bb574eda40d +0 -0
  91. data/spec/dummy/tmp/cache/assets/test/sprockets/3753d928863ee65118b9f2da1c6e504d +0 -0
  92. data/spec/dummy/tmp/cache/assets/test/sprockets/40e90f0c329b14292a9ff1a2fe907b39 +0 -0
  93. data/spec/dummy/tmp/cache/assets/test/sprockets/45f3c74e1e31b58d9bda6908d5623290 +0 -0
  94. data/spec/dummy/tmp/cache/assets/test/sprockets/49a3464eb6bcffb3d9f5b47b133edabb +0 -0
  95. data/spec/dummy/tmp/cache/assets/test/sprockets/49d32c13d390c1b80d8b2705aac86579 +0 -0
  96. data/spec/dummy/tmp/cache/assets/test/sprockets/4aa18096a209e515f5f1df487622cdf4 +0 -0
  97. data/spec/dummy/tmp/cache/assets/test/sprockets/50e64f45f0cb4cee52fd3f3908f89a82 +0 -0
  98. data/spec/dummy/tmp/cache/assets/test/sprockets/51f7d34a9e9bebb47b7201cfebfec34d +0 -0
  99. data/spec/dummy/tmp/cache/assets/test/sprockets/5995180d1cfd7cad71ec6d9e1a538f0e +0 -0
  100. data/spec/dummy/tmp/cache/assets/test/sprockets/604e0e4b3c01d488d6fb087e9fdaeb94 +0 -0
  101. data/spec/dummy/tmp/cache/assets/test/sprockets/6401fc09d2b894df2ad251b007df145a +0 -0
  102. data/spec/dummy/tmp/cache/assets/test/sprockets/65a8d4d288e5f082f0166aa7be7a2464 +0 -0
  103. data/spec/dummy/tmp/cache/assets/test/sprockets/6f5d66df18892df6af39c9cfd784f0f5 +0 -0
  104. data/spec/dummy/tmp/cache/assets/test/sprockets/6fcdd2234a7c25f9d4179ca12fd9f7b4 +0 -0
  105. data/spec/dummy/tmp/cache/assets/test/sprockets/6fdb4513af157010ef79b56df44d665e +0 -0
  106. data/spec/dummy/tmp/cache/assets/test/sprockets/750439d8043ed022910956fbb55faa65 +0 -0
  107. data/spec/dummy/tmp/cache/assets/test/sprockets/811e5198d0dc4efe02d28c0c2215e207 +0 -0
  108. data/spec/dummy/tmp/cache/assets/test/sprockets/83ea20e0b25e77f5dce5bf733b088292 +0 -0
  109. data/spec/dummy/tmp/cache/assets/test/sprockets/9604073a83f822f13caaabd7e157bbbb +0 -0
  110. data/spec/dummy/tmp/cache/assets/test/sprockets/98d02556564ee10aef4c3397bb94d5b9 +0 -0
  111. data/spec/dummy/tmp/cache/assets/test/sprockets/9cfe4d48f5258863dbfb3623c797fb15 +0 -0
  112. data/spec/dummy/tmp/cache/assets/test/sprockets/a296264dcc89e1f8ab6382e678ffbe38 +0 -0
  113. data/spec/dummy/tmp/cache/assets/test/sprockets/aa2e1ada35daa496bb08e85fcb817536 +0 -0
  114. data/spec/dummy/tmp/cache/assets/test/sprockets/abee2d4cb18d15789dcdc9c680f3e6de +0 -0
  115. data/spec/dummy/tmp/cache/assets/test/sprockets/c1ab0ecf3cf57db41d9e4cd9306d8829 +0 -0
  116. data/spec/dummy/tmp/cache/assets/test/sprockets/c4a984c6feb506f3e1f9120a8d029bda +0 -0
  117. data/spec/dummy/tmp/cache/assets/test/sprockets/ccdcb26ebc6ef3b684368b368edf4f99 +0 -0
  118. data/spec/dummy/tmp/cache/assets/test/sprockets/d34b5413caa9407126db68d5d590804a +0 -0
  119. data/spec/dummy/tmp/cache/assets/test/sprockets/d4ac74c17332ad931b72f42d7997fcc0 +0 -0
  120. data/spec/dummy/tmp/cache/assets/test/sprockets/dd672deb061233e0db1d2f413d27213f +0 -0
  121. data/spec/dummy/tmp/cache/assets/test/sprockets/e1fcfb0faa3c12467a1c35251e04c8b1 +0 -0
  122. data/spec/dummy/tmp/cache/assets/test/sprockets/e2d21478696ac96ad895f7c3b8d31594 +0 -0
  123. data/spec/dummy/tmp/cache/assets/test/sprockets/e577e9ce00153ad2e59111f761d0fb15 +0 -0
  124. data/spec/dummy/tmp/cache/assets/test/sprockets/e9738177de2083b68d42e053a1529244 +0 -0
  125. data/spec/dummy/tmp/cache/assets/test/sprockets/e9ce2df3f0160329df69b22a911dbd04 +0 -0
  126. data/spec/dummy/tmp/cache/assets/test/sprockets/f2e83d3b5fe984832bfeff09b0e3b8d2 +0 -0
  127. data/spec/dummy/tmp/cache/assets/test/sprockets/f90eee17e0e5eaea50e6064ded54617c +0 -0
  128. data/spec/dummy/tmp/cache/assets/test/sprockets/fa8e81ce1d45228121b9df5618542190 +0 -0
  129. data/spec/dummy/tmp/cache/assets/test/sprockets/fbdc1d9347cb228f06807b76c6c2974e +0 -0
  130. /data/spec/dummy/solr/default/data/index/{_7tr.fdx → _8df.fdx} +0 -0
  131. /data/spec/dummy/solr/default/data/index/{_7tr.fnm → _8df.fnm} +0 -0
  132. /data/spec/dummy/solr/default/data/index/{_7tr.nvd → _8df.nvd} +0 -0
  133. /data/spec/dummy/solr/default/data/index/{_7tr.nvm → _8df.nvm} +0 -0
  134. /data/spec/dummy/solr/default/data/index/{_7tr_Lucene41_0.doc → _8df_Lucene41_0.doc} +0 -0
  135. /data/spec/dummy/solr/default/data/index/{_7tr_Lucene41_0.pos → _8df_Lucene41_0.pos} +0 -0
@@ -13,7 +13,7 @@ describe UserReserveStatsController do
13
13
 
14
14
  it "assigns all user_reserve_stats as @user_reserve_stats" do
15
15
  get :index
16
- assigns(:user_reserve_stats).should eq(UserReserveStat.all)
16
+ assigns(:user_reserve_stats).should eq(UserReserveStat.order('id DESC').page(1))
17
17
  end
18
18
  end
19
19
 
@@ -22,7 +22,7 @@ describe UserReserveStatsController do
22
22
 
23
23
  it "assigns all user_reserve_stats as @user_reserve_stats" do
24
24
  get :index
25
- assigns(:user_reserve_stats).should eq(UserReserveStat.all)
25
+ assigns(:user_reserve_stats).should eq(UserReserveStat.order('id DESC').page(1))
26
26
  end
27
27
  end
28
28
 
@@ -31,14 +31,14 @@ describe UserReserveStatsController do
31
31
 
32
32
  it "assigns all user_reserve_stats as @user_reserve_stats" do
33
33
  get :index
34
- assigns(:user_reserve_stats).should eq(UserReserveStat.all)
34
+ assigns(:user_reserve_stats).should eq(UserReserveStat.order('id DESC').page(1))
35
35
  end
36
36
  end
37
37
 
38
38
  describe "When not logged in" do
39
39
  it "should not assign user_reserve_stats as @user_reserve_stats" do
40
40
  get :index
41
- assigns(:user_reserve_stats).should eq(UserReserveStat.all)
41
+ assigns(:user_reserve_stats).should eq(UserReserveStat.order('id DESC').page(1))
42
42
  end
43
43
  end
44
44
  end
@@ -1,5 +1,5 @@
1
1
  require 'rubygems'
2
- gemfile = File.expand_path('../../../../Gemfile', __FILE__)
2
+ gemfile = ENV['BUNDLE_GEMFILE'] || File.expand_path('../../../../Gemfile', __FILE__)
3
3
 
4
4
  if File.exist?(gemfile)
5
5
  ENV['BUNDLE_GEMFILE'] = gemfile
@@ -7,4 +7,4 @@ if File.exist?(gemfile)
7
7
  Bundler.setup
8
8
  end
9
9
 
10
- $:.unshift File.expand_path('../../../../lib', __FILE__)
10
+ $:.unshift File.expand_path('../../../../lib', __FILE__)
@@ -0,0 +1,90 @@
1
+ # FriendlyId Global Configuration
2
+ #
3
+ # Use this to set up shared configuration options for your entire application.
4
+ # Any of the configuration options shown here can also be applied to single
5
+ # models by passing arguments to the `friendly_id` class method or defining
6
+ # methods in your model.
7
+ #
8
+ # To learn more, check out the guide:
9
+ #
10
+ # http://norman.github.io/friendly_id/file.Guide.html
11
+
12
+ if Rails::VERSION::MAJOR == 4
13
+ FriendlyId.defaults do |config|
14
+ # ## Reserved Words
15
+ #
16
+ # Some words could conflict with Rails's routes when used as slugs, or are
17
+ # undesirable to allow as slugs. Edit this list as needed for your app.
18
+ config.use :reserved
19
+
20
+ config.reserved_words = %w(new edit index session login logout users admin
21
+ stylesheets assets javascripts images)
22
+
23
+ # ## Friendly Finders
24
+ #
25
+ # Uncomment this to use friendly finders in all models. By default, if
26
+ # you wish to find a record by its friendly id, you must do:
27
+ #
28
+ # MyModel.friendly.find('foo')
29
+ #
30
+ # If you uncomment this, you can do:
31
+ #
32
+ # MyModel.find('foo')
33
+ #
34
+ # This is significantly more convenient but may not be appropriate for
35
+ # all applications, so you must explicity opt-in to this behavior. You can
36
+ # always also configure it on a per-model basis if you prefer.
37
+ #
38
+ # Something else to consider is that using the :finders addon boosts
39
+ # performance because it will avoid Rails-internal code that makes runtime
40
+ # calls to `Module.extend`.
41
+ #
42
+ config.use :finders
43
+ #
44
+ # ## Slugs
45
+ #
46
+ # Most applications will use the :slugged module everywhere. If you wish
47
+ # to do so, uncomment the following line.
48
+ #
49
+ # config.use :slugged
50
+ #
51
+ # By default, FriendlyId's :slugged addon expects the slug column to be named
52
+ # 'slug', but you can change it if you wish.
53
+ #
54
+ # config.slug_column = 'slug'
55
+ #
56
+ # When FriendlyId can not generate a unique ID from your base method, it appends
57
+ # a UUID, separated by a single dash. You can configure the character used as the
58
+ # separator. If you're upgrading from FriendlyId 4, you may wish to replace this
59
+ # with two dashes.
60
+ #
61
+ # config.sequence_separator = '-'
62
+ #
63
+ # ## Tips and Tricks
64
+ #
65
+ # ### Controlling when slugs are generated
66
+ #
67
+ # As of FriendlyId 5.0, new slugs are generated only when the slug field is
68
+ # nil, but if you're using a column as your base method can change this
69
+ # behavior by overriding the `should_generate_new_friendly_id` method that
70
+ # FriendlyId adds to your model. The change below makes FriendlyId 5.0 behave
71
+ # more like 4.0.
72
+ #
73
+ # config.use Module.new {
74
+ # def should_generate_new_friendly_id?
75
+ # slug.blank? || <your_column_name_here>_changed?
76
+ # end
77
+ # }
78
+ #
79
+ # FriendlyId uses Rails's `parameterize` method to generate slugs, but for
80
+ # languages that don't use the Roman alphabet, that's not usually suffient. Here
81
+ # we use the Babosa library to transliterate Russian Cyrillic slugs to ASCII. If
82
+ # you use this, don't forget to add "babosa" to your Gemfile.
83
+ #
84
+ # config.use Module.new {
85
+ # def normalize_friendly_id(text)
86
+ # text.to_slug.normalize! :transliterations => [:russian, :latin]
87
+ # end
88
+ # }
89
+ end
90
+ end
@@ -13,7 +13,6 @@ class CreateManifestations < ActiveRecord::Migration
13
13
  t.string :access_address
14
14
  t.integer :language_id, :default => 1, :null => false
15
15
  t.integer :carrier_type_id, :default => 1, :null => false
16
- t.integer :extent_id, :default => 1, :null => false
17
16
  t.integer :start_page
18
17
  t.integer :end_page
19
18
  t.integer :height
@@ -0,0 +1,15 @@
1
+ class CreateAgentMerges < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :agent_merges do |t|
4
+ t.integer :agent_id, :agent_merge_list_id, :null => false
5
+
6
+ t.timestamps
7
+ end
8
+ add_index :agent_merges, :agent_id
9
+ add_index :agent_merges, :agent_merge_list_id
10
+ end
11
+
12
+ def self.down
13
+ drop_table :agent_merges
14
+ end
15
+ end
@@ -0,0 +1,13 @@
1
+ class CreateAgentMergeLists < ActiveRecord::Migration
2
+ def self.up
3
+ create_table :agent_merge_lists do |t|
4
+ t.string :title
5
+
6
+ t.timestamps
7
+ end
8
+ end
9
+
10
+ def self.down
11
+ drop_table :agent_merge_lists
12
+ end
13
+ end
@@ -3,7 +3,6 @@ class CreateAgentImportResults < ActiveRecord::Migration
3
3
  create_table :agent_import_results do |t|
4
4
  t.integer :agent_import_file_id
5
5
  t.integer :agent_id
6
- t.integer :user_id
7
6
  t.text :body
8
7
 
9
8
  t.timestamps
@@ -7,6 +7,6 @@ class CreateSeriesStatementMerges < ActiveRecord::Migration
7
7
  t.timestamps
8
8
  end
9
9
  add_index :series_statement_merges, :series_statement_id
10
- add_index :series_statement_merges, :series_statement_merge_list_id
10
+ add_index :series_statement_merges, :series_statement_merge_list_id, name: "index_series_statement_merges_on_list_id"
11
11
  end
12
12
  end
@@ -0,0 +1,5 @@
1
+ class AddPublicationPlaceToManifestation < ActiveRecord::Migration
2
+ def change
3
+ add_column :manifestations, :publication_place, :text
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddErrorMessageToResourceImportResult < ActiveRecord::Migration
2
+ def change
3
+ add_column :resource_import_results, :error_message, :text
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddExtentToManifestation < ActiveRecord::Migration
2
+ def change
3
+ add_column :manifestations, :extent, :text
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddDimensionsToManifestation < ActiveRecord::Migration
2
+ def change
3
+ add_column :manifestations, :dimensions, :text
4
+ end
5
+ end
@@ -0,0 +1,9 @@
1
+ class RenameManifestationPeriodicalToSerial < ActiveRecord::Migration
2
+ def up
3
+ rename_column :manifestations, :periodical, :serial
4
+ end
5
+
6
+ def down
7
+ rename_column :manifestations, :serial, :periodical
8
+ end
9
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20140811031145) do
14
+ ActiveRecord::Schema.define(:version => 20140823095740) do
15
15
 
16
16
  create_table "agent_import_file_transitions", :force => true do |t|
17
17
  t.string "to_state"
@@ -50,12 +50,27 @@ ActiveRecord::Schema.define(:version => 20140811031145) do
50
50
  create_table "agent_import_results", :force => true do |t|
51
51
  t.integer "agent_import_file_id"
52
52
  t.integer "agent_id"
53
- t.integer "user_id"
54
53
  t.text "body"
55
54
  t.datetime "created_at", :null => false
56
55
  t.datetime "updated_at", :null => false
57
56
  end
58
57
 
58
+ create_table "agent_merge_lists", :force => true do |t|
59
+ t.string "title"
60
+ t.datetime "created_at", :null => false
61
+ t.datetime "updated_at", :null => false
62
+ end
63
+
64
+ create_table "agent_merges", :force => true do |t|
65
+ t.integer "agent_id", :null => false
66
+ t.integer "agent_merge_list_id", :null => false
67
+ t.datetime "created_at", :null => false
68
+ t.datetime "updated_at", :null => false
69
+ end
70
+
71
+ add_index "agent_merges", ["agent_id"], :name => "index_agent_merges_on_agent_id"
72
+ add_index "agent_merges", ["agent_merge_list_id"], :name => "index_agent_merges_on_agent_merge_list_id"
73
+
59
74
  create_table "agent_relationship_types", :force => true do |t|
60
75
  t.string "name", :null => false
61
76
  t.text "display_name"
@@ -656,7 +671,6 @@ ActiveRecord::Schema.define(:version => 20140811031145) do
656
671
  t.string "access_address"
657
672
  t.integer "language_id", :default => 1, :null => false
658
673
  t.integer "carrier_type_id", :default => 1, :null => false
659
- t.integer "extent_id", :default => 1, :null => false
660
674
  t.integer "start_page"
661
675
  t.integer "end_page"
662
676
  t.integer "height"
@@ -697,8 +711,11 @@ ActiveRecord::Schema.define(:version => 20140811031145) do
697
711
  t.text "attachment_meta"
698
712
  t.integer "month_of_publication"
699
713
  t.boolean "fulltext_content"
700
- t.boolean "periodical"
714
+ t.boolean "serial"
701
715
  t.text "statement_of_responsibility"
716
+ t.text "publication_place"
717
+ t.text "extent"
718
+ t.text "dimensions"
702
719
  end
703
720
 
704
721
  add_index "manifestations", ["access_address"], :name => "index_manifestations_on_access_address"
@@ -1015,6 +1032,7 @@ ActiveRecord::Schema.define(:version => 20140811031145) do
1015
1032
  t.text "body"
1016
1033
  t.datetime "created_at", :null => false
1017
1034
  t.datetime "updated_at", :null => false
1035
+ t.text "error_message"
1018
1036
  end
1019
1037
 
1020
1038
  add_index "resource_import_results", ["item_id"], :name => "index_resource_import_results_on_item_id"
@@ -1055,7 +1073,7 @@ ActiveRecord::Schema.define(:version => 20140811031145) do
1055
1073
  end
1056
1074
 
1057
1075
  add_index "series_statement_merges", ["series_statement_id"], :name => "index_series_statement_merges_on_series_statement_id"
1058
- add_index "series_statement_merges", ["series_statement_merge_list_id"], :name => "index_series_statement_merges_on_series_statement_merge_list_id"
1076
+ add_index "series_statement_merges", ["series_statement_merge_list_id"], :name => "index_series_statement_merges_on_list_id"
1059
1077
 
1060
1078
  create_table "series_statements", :force => true do |t|
1061
1079
  t.text "original_title"
Binary file