curate 0.6.4 → 0.6.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/curate/organizations_controller.rb +96 -0
  3. data/app/helpers/curate/organizations_helper.rb +13 -0
  4. data/app/helpers/curate_helper.rb +4 -0
  5. data/app/models/concerns/curate/ability.rb +8 -0
  6. data/app/models/curate/user_behavior/base.rb +13 -0
  7. data/app/repository_models/collection.rb +1 -0
  8. data/app/repository_models/curation_concern/model.rb +1 -0
  9. data/app/repository_models/organization.rb +17 -0
  10. data/app/repository_models/person.rb +1 -0
  11. data/app/repository_models/profile_section.rb +1 -0
  12. data/app/views/curate/organizations/_button_create_organization.html.erb +1 -0
  13. data/app/views/curate/organizations/_document_list.html.erb +11 -0
  14. data/app/views/curate/organizations/_form.html.erb +49 -0
  15. data/app/views/curate/organizations/_organization.html.erb +24 -0
  16. data/app/views/curate/organizations/edit.html.erb +4 -0
  17. data/app/views/curate/organizations/index.html.erb +11 -0
  18. data/app/views/curate/organizations/new.html.erb +4 -0
  19. data/app/views/curate/organizations/show.html.erb +27 -0
  20. data/app/views/organizations/_organization.html.erb +30 -0
  21. data/app/views/shared/_add_content.html.erb +1 -0
  22. data/lib/curate/rails/routes.rb +1 -0
  23. data/lib/curate/version.rb +1 -1
  24. data/lib/generators/curate/application_template.rb +1 -1
  25. data/lib/generators/curate/curate_generator.rb +3 -0
  26. data/spec/abilities/generic_file_abilities_spec.rb +12 -0
  27. data/spec/abilities/generic_work_abilities_spec.rb +12 -0
  28. data/spec/controllers/curate/organizations_controller_spec.rb +50 -0
  29. data/spec/factories/organizations_factory.rb +21 -0
  30. data/spec/internal/Gemfile +4 -22
  31. data/spec/internal/Gemfile.lock +1 -376
  32. data/spec/internal/app/assets/javascripts/application.js +0 -4
  33. data/spec/internal/app/assets/stylesheets/application.css +0 -1
  34. data/spec/internal/app/controllers/application_controller.rb +0 -9
  35. data/spec/internal/config/application.rb +0 -6
  36. data/spec/internal/config/environments/test.rb +1 -2
  37. data/spec/internal/config/initializers/mime_types.rb +1 -8
  38. data/spec/internal/config/initializers/secret_token.rb +1 -1
  39. data/spec/internal/config/locales/en.yml +20 -11
  40. data/spec/internal/config/routes.rb +0 -8
  41. data/spec/internal/db/development.sqlite3 +0 -0
  42. data/spec/internal/db/schema.rb +1 -216
  43. data/spec/internal/db/test.sqlite3 +0 -0
  44. data/spec/internal/lib/generators/test_app_generator.rb +2 -23
  45. data/spec/internal/log/development.log +4 -323
  46. data/spec/repository_models/organization_spec.rb +66 -0
  47. metadata +20 -160
  48. data/spec/internal/app/assets/images/blacklight/bg.png +0 -0
  49. data/spec/internal/app/assets/images/blacklight/border.png +0 -0
  50. data/spec/internal/app/assets/images/blacklight/bul_sq_gry.gif +0 -0
  51. data/spec/internal/app/assets/images/blacklight/checkmark.gif +0 -0
  52. data/spec/internal/app/assets/images/blacklight/logo.png +0 -0
  53. data/spec/internal/app/assets/images/blacklight/magnifying_glass.gif +0 -0
  54. data/spec/internal/app/assets/images/blacklight/remove.gif +0 -0
  55. data/spec/internal/app/assets/images/blacklight/separator.gif +0 -0
  56. data/spec/internal/app/assets/images/blacklight/start_over.gif +0 -0
  57. data/spec/internal/app/models/ability.rb +0 -20
  58. data/spec/internal/app/models/solr_document.rb +0 -38
  59. data/spec/internal/app/models/user.rb +0 -23
  60. data/spec/internal/config/SolrMarc/config-test.properties +0 -37
  61. data/spec/internal/config/SolrMarc/config.properties +0 -37
  62. data/spec/internal/config/SolrMarc/index.properties +0 -97
  63. data/spec/internal/config/SolrMarc/index_scripts/dewey.bsh +0 -47
  64. data/spec/internal/config/SolrMarc/index_scripts/format.bsh +0 -126
  65. data/spec/internal/config/SolrMarc/translation_maps/README_MAPS +0 -1
  66. data/spec/internal/config/SolrMarc/translation_maps/callnumber_map.properties +0 -407
  67. data/spec/internal/config/SolrMarc/translation_maps/composition_era_map.properties +0 -56
  68. data/spec/internal/config/SolrMarc/translation_maps/country_map.properties +0 -379
  69. data/spec/internal/config/SolrMarc/translation_maps/format_map.properties +0 -50
  70. data/spec/internal/config/SolrMarc/translation_maps/instrument_map.properties +0 -101
  71. data/spec/internal/config/SolrMarc/translation_maps/language_map.properties +0 -490
  72. data/spec/internal/config/doi.yml +0 -5
  73. data/spec/internal/config/fedora.yml +0 -14
  74. data/spec/internal/config/initializers/action_dispatch_http_upload_monkey_patch.rb +0 -12
  75. data/spec/internal/config/initializers/curate_config.rb +0 -24
  76. data/spec/internal/config/initializers/devise.rb +0 -254
  77. data/spec/internal/config/initializers/hydra-remote_identifier_config.rb +0 -29
  78. data/spec/internal/config/initializers/hydra_config.rb +0 -28
  79. data/spec/internal/config/initializers/mailboxer.rb +0 -17
  80. data/spec/internal/config/initializers/redis_config.rb +0 -32
  81. data/spec/internal/config/initializers/resque_admin.rb +0 -10
  82. data/spec/internal/config/initializers/resque_config.rb +0 -5
  83. data/spec/internal/config/initializers/sufia.rb +0 -81
  84. data/spec/internal/config/jetty.yml +0 -5
  85. data/spec/internal/config/locales/devise.en.yml +0 -59
  86. data/spec/internal/config/recipients_list.yml +0 -2
  87. data/spec/internal/config/redis.yml +0 -6
  88. data/spec/internal/config/role_map_cucumber.yml +0 -10
  89. data/spec/internal/config/role_map_development.yml +0 -12
  90. data/spec/internal/config/role_map_production.yml +0 -2
  91. data/spec/internal/config/role_map_test.yml +0 -15
  92. data/spec/internal/config/solr.yml +0 -10
  93. data/spec/internal/db/migrate/20140131175455_devise_create_users.rb +0 -42
  94. data/spec/internal/db/migrate/20140131175500_add_devise_guests_to_users.rb +0 -15
  95. data/spec/internal/db/migrate/20140131175501_create_searches.rb +0 -16
  96. data/spec/internal/db/migrate/20140131175502_create_bookmarks.rb +0 -18
  97. data/spec/internal/db/migrate/20140131175503_remove_editable_fields_from_bookmarks.rb +0 -12
  98. data/spec/internal/db/migrate/20140131175504_add_user_types_to_bookmarks_searches.rb +0 -16
  99. data/spec/internal/db/migrate/20140131175505_acts_as_follower_migration.rb +0 -17
  100. data/spec/internal/db/migrate/20140131175506_add_social_to_users.rb +0 -13
  101. data/spec/internal/db/migrate/20140131175507_create_single_use_links.rb +0 -12
  102. data/spec/internal/db/migrate/20140131175508_add_ldap_attrs_to_user.rb +0 -27
  103. data/spec/internal/db/migrate/20140131175509_add_avatars_to_users.rb +0 -9
  104. data/spec/internal/db/migrate/20140131175510_create_checksum_audit_logs.rb +0 -20
  105. data/spec/internal/db/migrate/20140131175511_create_version_committers.rb +0 -15
  106. data/spec/internal/db/migrate/20140131175512_add_groups_to_users.rb +0 -11
  107. data/spec/internal/db/migrate/20140131175513_create_local_authorities.rb +0 -50
  108. data/spec/internal/db/migrate/20140131175514_create_trophies.rb +0 -10
  109. data/spec/internal/db/migrate/20140131175536_create_mailboxer.mailboxer_engine.rb +0 -62
  110. data/spec/internal/db/migrate/20140131175537_add_notified_object.mailboxer_engine.rb +0 -18
  111. data/spec/internal/db/migrate/20140131175538_add_notification_code.mailboxer_engine.rb +0 -14
  112. data/spec/internal/db/migrate/20140131175539_add_attachments.mailboxer_engine.rb +0 -10
  113. data/spec/internal/db/migrate/20140131175540_rename_receipts_read.mailboxer_engine.rb +0 -10
  114. data/spec/internal/db/migrate/20140131175541_add_global_notification_support.mailboxer_engine.rb +0 -10
  115. data/spec/internal/db/migrate/20140131175545_add_terms_of_service_to_user.curate_engine.rb +0 -6
  116. data/spec/internal/db/migrate/20140131175546_add_user_force_update_profile.curate_engine.rb +0 -9
  117. data/spec/internal/db/migrate/20140131175547_create_help_requests.curate_engine.rb +0 -23
  118. data/spec/internal/db/migrate/20140131175548_add_repository_id_to_user.curate_engine.rb +0 -7
  119. data/spec/internal/db/migrate/20140131175549_create_curate_proxy_deposit_rights.curate_engine.rb +0 -12
  120. data/spec/internal/db/migrate/20140131175550_change_display_name_to_name.curate_engine.rb +0 -7
  121. data/spec/internal/fedora_conf/conf/development/fedora.fcfg +0 -953
  122. data/spec/internal/fedora_conf/conf/test/fedora.fcfg +0 -953
  123. data/spec/internal/solr_conf/conf/schema.xml +0 -273
  124. data/spec/internal/solr_conf/conf/solrconfig.xml +0 -167
  125. data/spec/internal/solr_conf/solr.xml +0 -35
  126. data/spec/internal/test/models/user_test.rb +0 -7
@@ -13,8 +13,4 @@
13
13
  //= require jquery
14
14
  //= require jquery_ujs
15
15
  //= require turbolinks
16
- //
17
- // Required by Blacklight
18
- //= require blacklight/blacklight
19
- //= require curate
20
16
  //= require_tree .
@@ -9,6 +9,5 @@
9
9
  * compiled file, but it's generally better to create a new file per style scope.
10
10
  *
11
11
  *= require_self
12
- *= require curate
13
12
  *= require_tree .
14
13
  */
@@ -1,13 +1,4 @@
1
1
  class ApplicationController < ActionController::Base
2
- # Adds a few additional behaviors into the application controller
3
- include Blacklight::Controller
4
- include CurateController
5
-
6
- # Please be sure to impelement current_user and user_session. Blacklight depends on
7
- # these methods in order to perform user specific actions.
8
-
9
-
10
-
11
2
  # Prevent CSRF attacks by raising an exception.
12
3
  # For APIs, you may want to use :null_session instead.
13
4
  protect_from_forgery with: :exception
@@ -8,12 +8,6 @@ Bundler.require(:default, Rails.env)
8
8
 
9
9
  module Internal
10
10
  class Application < Rails::Application
11
-
12
- config.generators do |g|
13
- g.test_framework :rspec, :spec => true
14
- end
15
-
16
-
17
11
  # Settings in config/environments/* take precedence over those specified here.
18
12
  # Application configuration should go into files in config/initializers
19
13
  # -- all .rb files in that directory are automatically loaded.
@@ -17,8 +17,7 @@ Internal::Application.configure do
17
17
  config.static_cache_control = "public, max-age=3600"
18
18
 
19
19
  # Show full error reports and disable caching.
20
- # For end to end specs, I want the exception handler capturing things; Not raising exceptions.
21
- config.consider_all_requests_local = ENV['LOCAL'] || false
20
+ config.consider_all_requests_local = true
22
21
  config.action_controller.perform_caching = false
23
22
 
24
23
  # Raise exceptions instead of rendering exception templates.
@@ -1,11 +1,4 @@
1
- # Be sure to restart your server when you modify this file.Mime::Type.register_alias "text/plain", :refworks_marc_txt
2
- Mime::Type.register_alias "text/plain", :openurl_kev
3
- Mime::Type.register "application/x-endnote-refer", :endnote
4
- Mime::Type.register "application/marc", :marc
5
- Mime::Type.register "application/marcxml+xml", :marcxml,
6
- ["application/x-marc+xml", "application/x-marcxml+xml",
7
- "application/marc+xml"]
8
-
1
+ # Be sure to restart your server when you modify this file.
9
2
 
10
3
  # Add new mime types for use in respond_to blocks:
11
4
  # Mime::Type.register "text/richtext", :rtf
@@ -9,4 +9,4 @@
9
9
 
10
10
  # Make sure your secret_key_base is kept private
11
11
  # if you're sharing your code publicly.
12
- Internal::Application.config.secret_key_base = 'c18d82d408f90af879cb986946d2235d4b53546ebff3ad54ad592904ea1b677c944e219a6992c7ea67082fb27c42cec16dccf2bc0ca9bd77713da0dcc44171b0'
12
+ Internal::Application.config.secret_key_base = '3a875df6dfcbff88d23fe5786bfc713a8c3035dfbe022af9dfbc6489340c05171c16cc90ec90dda72e8b5c0aabd2d611ee60fc2c4c1aced975affb4c0843a81c'
@@ -1,14 +1,23 @@
1
- # Sample localization file for English. Add more files in this directory for other locales.
2
- # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
3
21
 
4
22
  en:
5
23
  hello: "Hello world"
6
- sufia:
7
- field_label:
8
- based_near: "Location"
9
- description: "Abstract or Summary"
10
- tag: "Keyword"
11
- date_created: "Date Created"
12
- related_url: "Related URL"
13
- rights: "Content License"
14
- files: "Upload Files"
@@ -1,12 +1,4 @@
1
1
  Internal::Application.routes.draw do
2
- root 'catalog#index'
3
- Blacklight.add_routes(self)
4
- HydraHead.add_routes(self)
5
- devise_for :users, controllers: { sessions: :sessions, registrations: :registrations}
6
-
7
-
8
- curate_for
9
-
10
2
  # The priority is based upon order of creation: first created -> highest priority.
11
3
  # See how all your routes lay out with "rake routes".
12
4
 
@@ -11,221 +11,6 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20140131175550) do
15
-
16
- create_table "bookmarks", force: true do |t|
17
- t.integer "user_id", null: false
18
- t.string "document_id"
19
- t.string "title"
20
- t.datetime "created_at"
21
- t.datetime "updated_at"
22
- t.string "user_type"
23
- end
24
-
25
- create_table "checksum_audit_logs", force: true do |t|
26
- t.string "pid"
27
- t.string "dsid"
28
- t.string "version"
29
- t.integer "pass"
30
- t.string "expected_result"
31
- t.string "actual_result"
32
- t.datetime "created_at"
33
- t.datetime "updated_at"
34
- end
35
-
36
- add_index "checksum_audit_logs", ["pid", "dsid"], name: "by_pid_and_dsid"
37
-
38
- create_table "conversations", force: true do |t|
39
- t.string "subject", default: ""
40
- t.datetime "created_at", null: false
41
- t.datetime "updated_at", null: false
42
- end
43
-
44
- create_table "domain_terms", force: true do |t|
45
- t.string "model"
46
- t.string "term"
47
- end
48
-
49
- add_index "domain_terms", ["model", "term"], name: "terms_by_model_and_term"
50
-
51
- create_table "domain_terms_local_authorities", id: false, force: true do |t|
52
- t.integer "domain_term_id"
53
- t.integer "local_authority_id"
54
- end
55
-
56
- add_index "domain_terms_local_authorities", ["domain_term_id", "local_authority_id"], name: "dtla_by_ids2"
57
- add_index "domain_terms_local_authorities", ["local_authority_id", "domain_term_id"], name: "dtla_by_ids1"
58
-
59
- create_table "follows", force: true do |t|
60
- t.integer "followable_id", null: false
61
- t.string "followable_type", null: false
62
- t.integer "follower_id", null: false
63
- t.string "follower_type", null: false
64
- t.boolean "blocked", default: false, null: false
65
- t.datetime "created_at"
66
- t.datetime "updated_at"
67
- end
68
-
69
- add_index "follows", ["followable_id", "followable_type"], name: "fk_followables"
70
- add_index "follows", ["follower_id", "follower_type"], name: "fk_follows"
71
-
72
- create_table "help_requests", force: true do |t|
73
- t.string "view_port"
74
- t.text "current_url"
75
- t.string "user_agent"
76
- t.string "resolution"
77
- t.text "how_can_we_help_you"
78
- t.integer "user_id"
79
- t.boolean "javascript_enabled"
80
- t.string "release_version"
81
- t.datetime "created_at"
82
- t.datetime "updated_at"
83
- end
84
-
85
- add_index "help_requests", ["created_at"], name: "index_help_requests_on_created_at"
86
- add_index "help_requests", ["user_id"], name: "index_help_requests_on_user_id"
87
-
88
- create_table "local_authorities", force: true do |t|
89
- t.string "name"
90
- end
91
-
92
- create_table "local_authority_entries", force: true do |t|
93
- t.integer "local_authority_id"
94
- t.string "label"
95
- t.string "uri"
96
- end
97
-
98
- add_index "local_authority_entries", ["local_authority_id", "label"], name: "entries_by_term_and_label"
99
- add_index "local_authority_entries", ["local_authority_id", "uri"], name: "entries_by_term_and_uri"
100
-
101
- create_table "notifications", force: true do |t|
102
- t.string "type"
103
- t.text "body"
104
- t.string "subject", default: ""
105
- t.integer "sender_id"
106
- t.string "sender_type"
107
- t.integer "conversation_id"
108
- t.boolean "draft", default: false
109
- t.datetime "updated_at", null: false
110
- t.datetime "created_at", null: false
111
- t.integer "notified_object_id"
112
- t.string "notified_object_type"
113
- t.string "notification_code"
114
- t.string "attachment"
115
- t.boolean "global", default: false
116
- t.datetime "expires"
117
- end
118
-
119
- add_index "notifications", ["conversation_id"], name: "index_notifications_on_conversation_id"
120
-
121
- create_table "proxy_deposit_rights", force: true do |t|
122
- t.integer "grantor_id"
123
- t.integer "grantee_id"
124
- t.datetime "created_at"
125
- t.datetime "updated_at"
126
- end
127
-
128
- add_index "proxy_deposit_rights", ["grantee_id"], name: "index_proxy_deposit_rights_on_grantee_id"
129
- add_index "proxy_deposit_rights", ["grantor_id"], name: "index_proxy_deposit_rights_on_grantor_id"
130
-
131
- create_table "receipts", force: true do |t|
132
- t.integer "receiver_id"
133
- t.string "receiver_type"
134
- t.integer "notification_id", null: false
135
- t.boolean "is_read", default: false
136
- t.boolean "trashed", default: false
137
- t.boolean "deleted", default: false
138
- t.string "mailbox_type", limit: 25
139
- t.datetime "created_at", null: false
140
- t.datetime "updated_at", null: false
141
- end
142
-
143
- add_index "receipts", ["notification_id"], name: "index_receipts_on_notification_id"
144
-
145
- create_table "searches", force: true do |t|
146
- t.text "query_params"
147
- t.integer "user_id"
148
- t.datetime "created_at"
149
- t.datetime "updated_at"
150
- t.string "user_type"
151
- end
152
-
153
- add_index "searches", ["user_id"], name: "index_searches_on_user_id"
154
-
155
- create_table "single_use_links", force: true do |t|
156
- t.string "downloadKey"
157
- t.string "path"
158
- t.string "itemId"
159
- t.datetime "expires"
160
- t.datetime "created_at"
161
- t.datetime "updated_at"
162
- end
163
-
164
- create_table "subject_local_authority_entries", force: true do |t|
165
- t.string "label"
166
- t.string "lowerLabel"
167
- t.string "url"
168
- end
169
-
170
- add_index "subject_local_authority_entries", ["lowerLabel"], name: "entries_by_lower_label"
171
-
172
- create_table "trophies", force: true do |t|
173
- t.integer "user_id"
174
- t.string "generic_file_id"
175
- t.datetime "created_at"
176
- t.datetime "updated_at"
177
- end
178
-
179
- create_table "users", force: true do |t|
180
- t.string "email", default: "", null: false
181
- t.string "encrypted_password", default: "", null: false
182
- t.string "reset_password_token"
183
- t.datetime "reset_password_sent_at"
184
- t.datetime "remember_created_at"
185
- t.integer "sign_in_count", default: 0, null: false
186
- t.datetime "current_sign_in_at"
187
- t.datetime "last_sign_in_at"
188
- t.string "current_sign_in_ip"
189
- t.string "last_sign_in_ip"
190
- t.datetime "created_at"
191
- t.datetime "updated_at"
192
- t.boolean "guest", default: false
193
- t.string "facebook_handle"
194
- t.string "twitter_handle"
195
- t.string "googleplus_handle"
196
- t.string "name"
197
- t.string "address"
198
- t.string "admin_area"
199
- t.string "department"
200
- t.string "title"
201
- t.string "office"
202
- t.string "chat_id"
203
- t.string "website"
204
- t.string "affiliation"
205
- t.string "telephone"
206
- t.string "avatar_file_name"
207
- t.string "avatar_content_type"
208
- t.integer "avatar_file_size"
209
- t.datetime "avatar_updated_at"
210
- t.text "group_list"
211
- t.datetime "groups_last_update"
212
- t.boolean "agreed_to_terms_of_service"
213
- t.boolean "user_does_not_require_profile_update", default: false
214
- t.string "repository_id"
215
- end
216
-
217
- add_index "users", ["email"], name: "index_users_on_email", unique: true
218
- add_index "users", ["name"], name: "index_users_on_name"
219
- add_index "users", ["repository_id"], name: "index_users_on_repository_id", unique: true
220
- add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
221
-
222
- create_table "version_committers", force: true do |t|
223
- t.string "obj_id"
224
- t.string "datastream_id"
225
- t.string "version_id"
226
- t.string "committer_login"
227
- t.datetime "created_at"
228
- t.datetime "updated_at"
229
- end
14
+ ActiveRecord::Schema.define(version: 0) do
230
15
 
231
16
  end
@@ -1,27 +1,6 @@
1
1
  require 'rails/generators'
2
2
 
3
3
  class TestAppGenerator < Rails::Generators::Base
4
- source_root File.expand_path("../../../../skeleton", __FILE__)
5
-
6
- def run_curate_generator
7
- say_status("warning", "GENERATING CURATE", :yellow)
8
-
9
- generate 'curate', '-f --with-doi'
10
-
11
- gsub_file('config/environments/test.rb', /^.*config\.consider_all_requests_local.*$/) do |match|
12
- match = " # For end to end specs, I want the exception handler capturing things; Not raising exceptions.\n config.consider_all_requests_local = ENV['LOCAL'] || false"
13
- end
14
-
15
- inject_into_file 'config/initializers/curate_config.rb', after: "Curate.configure do |config|\n" do
16
- <<-EOV
17
- config.application_root_url = 'http://localhost'
18
- config.default_antivirus_instance = lambda {|file_path|
19
- AntiVirusScanner::NO_VIRUS_FOUND_RETURN_VALUE
20
- }
21
- config.characterization_runner = lambda {|file_path|
22
- Curate::Engine.root.join('spec/support/files/default_fits_output.xml').read
23
- }
24
- EOV
25
- end
26
- end
4
+ source_root "spec/test_app_templates"
27
5
  end
6
+
@@ -1,328 +1,9 @@
1
1
  Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
2
2
  Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
3
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
4
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
5
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
6
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
7
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
8
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
9
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
10
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
11
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
12
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
13
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
14
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
15
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
16
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
17
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
18
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
19
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
20
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
21
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
22
- Migrating to DeviseCreateUsers (20140131175455)
23
-  (0.1ms) begin transaction
24
-  (0.5ms) 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 NOT NULL, "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, "updated_at" datetime) 
25
-  (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
26
-  (0.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
27
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175455"]]
28
-  (1.0ms) commit transaction
29
- Migrating to AddDeviseGuestsToUsers (20140131175500)
30
-  (0.1ms) begin transaction
31
-  (0.3ms) ALTER TABLE "users" ADD "guest" boolean DEFAULT 'f'
32
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175500"]]
33
-  (1.0ms) commit transaction
34
- Migrating to CreateSearches (20140131175501)
35
-  (0.1ms) begin transaction
36
-  (0.3ms) CREATE TABLE "searches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "query_params" text, "user_id" integer, "created_at" datetime, "updated_at" datetime) 
37
-  (0.1ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
38
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175501"]]
39
-  (1.0ms) commit transaction
40
- Migrating to CreateBookmarks (20140131175502)
41
-  (0.1ms) begin transaction
42
-  (0.3ms) CREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "url" text, "document_id" varchar(255), "title" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime)
43
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175502"]]
44
-  (0.8ms) commit transaction
45
- Migrating to RemoveEditableFieldsFromBookmarks (20140131175503)
46
-  (0.1ms) begin transaction
47
-  (0.4ms) CREATE TEMPORARY TABLE "abookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "url" text, "document_id" varchar(255), "title" varchar(255), "notes" text, "created_at" datetime, "updated_at" datetime)
48
-  (0.1ms) SELECT * FROM "bookmarks"
49
-  (0.3ms) DROP TABLE "bookmarks"
50
-  (0.1ms) CREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "url" text, "document_id" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
51
-  (0.1ms) SELECT * FROM "abookmarks"
52
-  (0.3ms) DROP TABLE "abookmarks"
53
-  (0.1ms) CREATE TEMPORARY TABLE "abookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "url" text, "document_id" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime)
54
-  (0.1ms) SELECT * FROM "bookmarks"
55
-  (0.2ms) DROP TABLE "bookmarks"
56
-  (0.1ms) CREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "document_id" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
57
-  (0.1ms) SELECT * FROM "abookmarks"
58
-  (0.1ms) DROP TABLE "abookmarks"
59
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175503"]]
60
-  (0.8ms) commit transaction
61
- Migrating to AddUserTypesToBookmarksSearches (20140131175504)
62
-  (0.1ms) begin transaction
63
-  (0.3ms) ALTER TABLE "searches" ADD "user_type" varchar(255)
64
-  (0.2ms) ALTER TABLE "bookmarks" ADD "user_type" varchar(255)
65
- SQL (0.1ms) UPDATE "searches" SET user_type = 'user'
66
- SQL (0.0ms) UPDATE "bookmarks" SET user_type = 'user'
67
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175504"]]
68
-  (1.0ms) commit transaction
69
- Migrating to ActsAsFollowerMigration (20140131175505)
70
-  (0.1ms) begin transaction
71
-  (0.3ms) CREATE TABLE "follows" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followable_id" integer NOT NULL, "followable_type" varchar(255) NOT NULL, "follower_id" integer NOT NULL, "follower_type" varchar(255) NOT NULL, "blocked" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime)
72
-  (0.1ms) CREATE INDEX "fk_follows" ON "follows" ("follower_id", "follower_type")
73
-  (0.1ms) CREATE INDEX "fk_followables" ON "follows" ("followable_id", "followable_type")
74
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175505"]]
75
-  (0.6ms) commit transaction
76
- Migrating to AddSocialToUsers (20140131175506)
77
-  (0.1ms) begin transaction
78
-  (0.3ms) ALTER TABLE "users" ADD "facebook_handle" varchar(255)
79
-  (0.2ms) ALTER TABLE "users" ADD "twitter_handle" varchar(255)
80
-  (0.2ms) ALTER TABLE "users" ADD "googleplus_handle" varchar(255)
81
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175506"]]
82
-  (0.9ms) commit transaction
83
- Migrating to CreateSingleUseLinks (20140131175507)
84
-  (0.1ms) begin transaction
85
-  (0.3ms) CREATE TABLE "single_use_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "downloadKey" varchar(255), "path" varchar(255), "itemId" varchar(255), "expires" datetime, "created_at" datetime, "updated_at" datetime)
86
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175507"]]
87
-  (0.7ms) commit transaction
88
- Migrating to AddLdapAttrsToUser (20140131175508)
89
-  (0.1ms) begin transaction
90
-  (0.3ms) ALTER TABLE "users" ADD "display_name" varchar(255)
91
-  (0.2ms) ALTER TABLE "users" ADD "address" varchar(255)
92
-  (0.2ms) ALTER TABLE "users" ADD "admin_area" varchar(255)
93
-  (0.2ms) ALTER TABLE "users" ADD "department" varchar(255)
94
-  (0.2ms) ALTER TABLE "users" ADD "title" varchar(255)
95
-  (0.2ms) ALTER TABLE "users" ADD "office" varchar(255)
96
-  (0.2ms) ALTER TABLE "users" ADD "chat_id" varchar(255)
97
-  (0.2ms) ALTER TABLE "users" ADD "website" varchar(255)
98
-  (0.2ms) ALTER TABLE "users" ADD "affiliation" varchar(255)
99
-  (0.2ms) ALTER TABLE "users" ADD "telephone" varchar(255)
100
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175508"]]
101
-  (0.8ms) commit transaction
102
- Migrating to AddAvatarsToUsers (20140131175509)
103
-  (0.1ms) begin transaction
104
-  (0.4ms) ALTER TABLE "users" ADD "avatar_file_name" varchar(255)
105
-  (0.2ms) ALTER TABLE "users" ADD "avatar_content_type" varchar(255)
106
-  (0.2ms) ALTER TABLE "users" ADD "avatar_file_size" integer
107
-  (0.2ms) ALTER TABLE "users" ADD "avatar_updated_at" datetime
108
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175509"]]
109
-  (0.9ms) commit transaction
110
- Migrating to CreateChecksumAuditLogs (20140131175510)
111
-  (0.1ms) begin transaction
112
-  (0.3ms) CREATE TABLE "checksum_audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "dsid" varchar(255), "version" varchar(255), "pass" integer, "expected_result" varchar(255), "actual_result" varchar(255), "created_at" datetime, "updated_at" datetime)
113
-  (0.1ms) CREATE INDEX "by_pid_and_dsid" ON "checksum_audit_logs" ("pid", "dsid")
114
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175510"]]
115
-  (0.9ms) commit transaction
116
- Migrating to CreateVersionCommitters (20140131175511)
117
-  (0.1ms) begin transaction
118
-  (0.3ms) CREATE TABLE "version_committers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obj_id" varchar(255), "datastream_id" varchar(255), "version_id" varchar(255), "committer_login" varchar(255), "created_at" datetime, "updated_at" datetime) 
119
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175511"]]
120
-  (0.6ms) commit transaction
121
- Migrating to AddGroupsToUsers (20140131175512)
122
-  (0.1ms) begin transaction
123
-  (0.4ms) ALTER TABLE "users" ADD "group_list" text
124
-  (0.2ms) ALTER TABLE "users" ADD "groups_last_update" datetime
125
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175512"]]
126
-  (1.0ms) commit transaction
127
- Migrating to CreateLocalAuthorities (20140131175513)
128
-  (0.1ms) begin transaction
129
-  (0.3ms) CREATE TABLE "local_authority_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "local_authority_id" integer, "label" varchar(255), "uri" varchar(255))
130
-  (0.1ms) CREATE TABLE "local_authorities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
131
-  (0.1ms) CREATE TABLE "domain_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar(255), "term" varchar(255))
132
-  (0.1ms) CREATE TABLE "domain_terms_local_authorities" ("domain_term_id" integer, "local_authority_id" integer) 
133
-  (0.1ms) CREATE TABLE "subject_local_authority_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar(255), "lowerLabel" varchar(255), "url" varchar(255))
134
-  (0.1ms) CREATE INDEX "entries_by_term_and_label" ON "local_authority_entries" ("local_authority_id", "label")
135
-  (0.1ms) CREATE INDEX "entries_by_term_and_uri" ON "local_authority_entries" ("local_authority_id", "uri")
136
-  (0.1ms) CREATE INDEX "terms_by_model_and_term" ON "domain_terms" ("model", "term")
137
-  (0.1ms) CREATE INDEX "dtla_by_ids1" ON "domain_terms_local_authorities" ("local_authority_id", "domain_term_id")
138
-  (0.1ms) CREATE INDEX "dtla_by_ids2" ON "domain_terms_local_authorities" ("domain_term_id", "local_authority_id")
139
-  (0.1ms) CREATE INDEX "entries_by_lower_label" ON "subject_local_authority_entries" ("lowerLabel")
140
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175513"]]
141
-  (0.8ms) commit transaction
142
- Migrating to CreateTrophies (20140131175514)
143
-  (0.1ms) begin transaction
144
-  (0.3ms) CREATE TABLE "trophies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "generic_file_id" varchar(255), "created_at" datetime, "updated_at" datetime)
145
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175514"]]
146
-  (0.7ms) commit transaction
147
- Migrating to CreateMailboxer (20140131175536)
148
-  (0.1ms) begin transaction
149
-  (0.3ms) CREATE TABLE "conversations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255) DEFAULT '', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
150
-  (0.2ms) CREATE TABLE "receipts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar(255), "notification_id" integer NOT NULL, "read" boolean DEFAULT 'f', "trashed" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "mailbox_type" varchar(25), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
151
-  (0.2ms) CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "body" text, "subject" varchar(255) DEFAULT '', "sender_id" integer, "sender_type" varchar(255), "object_id" integer, "object_type" varchar(255), "conversation_id" integer, "draft" boolean DEFAULT 'f', "updated_at" datetime NOT NULL, "created_at" datetime NOT NULL)
152
-  (0.1ms) CREATE INDEX "index_receipts_on_notification_id" ON "receipts" ("notification_id")
153
-  (0.1ms) CREATE INDEX "index_notifications_on_conversation_id" ON "notifications" ("conversation_id")
154
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175536"]]
155
-  (1.0ms) commit transaction
156
- Migrating to AddNotifiedObject (20140131175537)
157
-  (0.1ms) begin transaction
158
-  (0.3ms) ALTER TABLE "notifications" ADD "notified_object_id" integer
159
-  (0.2ms) ALTER TABLE "notifications" ADD "notified_object_type" varchar(255)
160
-  (0.2ms) CREATE TEMPORARY TABLE "anotifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "body" text, "subject" varchar(255) DEFAULT '', "sender_id" integer, "sender_type" varchar(255), "object_id" integer, "object_type" varchar(255), "conversation_id" integer, "draft" boolean DEFAULT 'f', "updated_at" datetime NOT NULL, "created_at" datetime NOT NULL, "notified_object_id" integer, "notified_object_type" varchar(255))
161
-  (0.1ms) CREATE INDEX "tindex_anotifications_on_conversation_id" ON "anotifications" ("conversation_id")
162
-  (0.1ms) SELECT * FROM "notifications"
163
-  (0.3ms) DROP TABLE "notifications"
164
-  (0.2ms) CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "body" text, "subject" varchar(255) DEFAULT '', "sender_id" integer, "sender_type" varchar(255), "object_type" varchar(255), "conversation_id" integer, "draft" boolean DEFAULT 'f', "updated_at" datetime NOT NULL, "created_at" datetime NOT NULL, "notified_object_id" integer, "notified_object_type" varchar(255))
165
-  (0.1ms) CREATE INDEX "index_notifications_on_conversation_id" ON "notifications" ("conversation_id")
166
-  (0.1ms) SELECT * FROM "anotifications"
167
-  (0.1ms) DROP TABLE "anotifications"
168
-  (0.2ms) CREATE TEMPORARY TABLE "anotifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "body" text, "subject" varchar(255) DEFAULT '', "sender_id" integer, "sender_type" varchar(255), "object_type" varchar(255), "conversation_id" integer, "draft" boolean DEFAULT 'f', "updated_at" datetime NOT NULL, "created_at" datetime NOT NULL, "notified_object_id" integer, "notified_object_type" varchar(255))
169
-  (0.1ms) CREATE INDEX "tindex_anotifications_on_conversation_id" ON "anotifications" ("conversation_id")
170
-  (0.1ms) SELECT * FROM "notifications"
171
-  (0.2ms) DROP TABLE "notifications"
172
-  (0.2ms) CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "body" text, "subject" varchar(255) DEFAULT '', "sender_id" integer, "sender_type" varchar(255), "conversation_id" integer, "draft" boolean DEFAULT 'f', "updated_at" datetime NOT NULL, "created_at" datetime NOT NULL, "notified_object_id" integer, "notified_object_type" varchar(255))
173
-  (0.1ms) CREATE INDEX "index_notifications_on_conversation_id" ON "notifications" ("conversation_id")
174
-  (0.1ms) SELECT * FROM "anotifications"
175
-  (0.1ms) DROP TABLE "anotifications"
176
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175537"]]
177
-  (1.0ms) commit transaction
178
- Migrating to AddNotificationCode (20140131175538)
179
-  (0.1ms) begin transaction
180
-  (0.3ms) ALTER TABLE "notifications" ADD "notification_code" varchar(255)
181
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175538"]]
182
-  (1.0ms) commit transaction
183
- Migrating to AddAttachments (20140131175539)
184
-  (0.1ms) begin transaction
185
-  (0.3ms) ALTER TABLE "notifications" ADD "attachment" varchar(255)
186
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175539"]]
187
-  (0.8ms) commit transaction
188
- Migrating to RenameReceiptsRead (20140131175540)
189
-  (0.1ms) begin transaction
190
-  (0.2ms) CREATE TEMPORARY TABLE "areceipts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar(255), "notification_id" integer NOT NULL, "is_read" boolean DEFAULT 'f', "trashed" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "mailbox_type" varchar(25), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
191
-  (0.1ms) CREATE INDEX "tindex_areceipts_on_notification_id" ON "areceipts" ("notification_id")
192
-  (0.1ms) SELECT * FROM "receipts"
193
-  (0.3ms) DROP TABLE "receipts"
194
-  (0.2ms) CREATE TABLE "receipts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar(255), "notification_id" integer NOT NULL, "is_read" boolean DEFAULT 'f', "trashed" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "mailbox_type" varchar(25), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
195
-  (0.1ms) CREATE INDEX "index_receipts_on_notification_id" ON "receipts" ("notification_id")
196
-  (0.1ms) SELECT * FROM "areceipts"
197
-  (0.1ms) DROP TABLE "areceipts"
198
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175540"]]
199
-  (0.7ms) commit transaction
200
- Migrating to AddGlobalNotificationSupport (20140131175541)
201
-  (0.1ms) begin transaction
202
-  (0.4ms) ALTER TABLE "notifications" ADD "global" boolean DEFAULT 'f'
203
-  (0.2ms) ALTER TABLE "notifications" ADD "expires" datetime
204
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175541"]]
205
-  (0.9ms) commit transaction
206
- Migrating to AddTermsOfServiceToUser (20140131175545)
207
-  (0.1ms) begin transaction
208
-  (0.4ms) ALTER TABLE "users" ADD "agreed_to_terms_of_service" boolean
209
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175545"]]
210
-  (0.6ms) commit transaction
211
- Migrating to AddUserForceUpdateProfile (20140131175546)
212
-  (0.1ms) begin transaction
213
-  (0.4ms) ALTER TABLE "users" ADD "user_does_not_require_profile_update" boolean DEFAULT 'f'
214
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175546"]]
215
-  (0.9ms) commit transaction
216
- Migrating to CreateHelpRequests (20140131175547)
217
-  (0.1ms) begin transaction
218
-  (0.3ms) CREATE TABLE "help_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_port" varchar(255), "current_url" text, "user_agent" varchar(255), "resolution" varchar(255), "how_can_we_help_you" text, "user_id" integer, "javascript_enabled" boolean, "release_version" varchar(255), "created_at" datetime, "updated_at" datetime) 
219
-  (0.1ms) CREATE INDEX "index_help_requests_on_user_id" ON "help_requests" ("user_id")
220
-  (0.1ms) CREATE INDEX "index_help_requests_on_created_at" ON "help_requests" ("created_at")
221
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175547"]]
222
-  (0.9ms) commit transaction
223
- Migrating to AddRepositoryIdToUser (20140131175548)
224
-  (0.1ms) begin transaction
225
-  (0.4ms) ALTER TABLE "users" ADD "repository_id" varchar(255)
226
-  (0.4ms) CREATE UNIQUE INDEX "index_users_on_repository_id" ON "users" ("repository_id")
227
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175548"]]
228
-  (0.8ms) commit transaction
229
- Migrating to CreateCurateProxyDepositRights (20140131175549)
230
-  (0.1ms) begin transaction
231
-  (0.3ms) CREATE TABLE "proxy_deposit_rights" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "grantor_id" integer, "grantee_id" integer, "created_at" datetime, "updated_at" datetime)
232
-  (0.1ms) CREATE INDEX "index_proxy_deposit_rights_on_grantor_id" ON "proxy_deposit_rights" ("grantor_id")
233
-  (0.1ms) CREATE INDEX "index_proxy_deposit_rights_on_grantee_id" ON "proxy_deposit_rights" ("grantee_id")
234
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175549"]]
235
-  (1.0ms) commit transaction
236
- Migrating to ChangeDisplayNameToName (20140131175550)
237
-  (0.1ms) begin transaction
238
-  (0.4ms) CREATE TEMPORARY TABLE "ausers" ("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 NOT NULL, "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, "updated_at" datetime, "guest" boolean DEFAULT 'f', "facebook_handle" varchar(255), "twitter_handle" varchar(255), "googleplus_handle" varchar(255), "name" varchar(255), "address" varchar(255), "admin_area" varchar(255), "department" varchar(255), "title" varchar(255), "office" varchar(255), "chat_id" varchar(255), "website" varchar(255), "affiliation" varchar(255), "telephone" varchar(255), "avatar_file_name" varchar(255), "avatar_content_type" varchar(255), "avatar_file_size" integer, "avatar_updated_at" datetime, "group_list" text, "groups_last_update" datetime, "agreed_to_terms_of_service" boolean, "user_does_not_require_profile_update" boolean DEFAULT 'f', "repository_id" varchar(255))
239
-  (0.1ms) CREATE UNIQUE INDEX "tindex_ausers_on_repository_id" ON "ausers" ("repository_id")
240
-  (0.1ms) CREATE UNIQUE INDEX "tindex_ausers_on_reset_password_token" ON "ausers" ("reset_password_token")
241
-  (0.1ms) CREATE UNIQUE INDEX "tindex_ausers_on_email" ON "ausers" ("email")
242
-  (0.1ms) SELECT * FROM "users"
243
-  (0.3ms) DROP TABLE "users"
244
-  (0.2ms) 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 NOT NULL, "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, "updated_at" datetime, "guest" boolean DEFAULT 'f', "facebook_handle" varchar(255), "twitter_handle" varchar(255), "googleplus_handle" varchar(255), "name" varchar(255), "address" varchar(255), "admin_area" varchar(255), "department" varchar(255), "title" varchar(255), "office" varchar(255), "chat_id" varchar(255), "website" varchar(255), "affiliation" varchar(255), "telephone" varchar(255), "avatar_file_name" varchar(255), "avatar_content_type" varchar(255), "avatar_file_size" integer, "avatar_updated_at" datetime, "group_list" text, "groups_last_update" datetime, "agreed_to_terms_of_service" boolean, "user_does_not_require_profile_update" boolean DEFAULT 'f', "repository_id" varchar(255))
245
-  (0.4ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
246
-  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
247
-  (0.1ms) CREATE UNIQUE INDEX "index_users_on_repository_id" ON "users" ("repository_id")
248
-  (0.1ms) SELECT * FROM "ausers"
249
-  (0.2ms) DROP TABLE "ausers"
250
-  (0.1ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
251
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140131175550"]]
252
-  (1.6ms) commit transaction
253
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
254
- Using the default predicate_mappings.yml that comes with active-fedora. If you want to override this, pass the path to predicate_mappings.yml to ActiveFedora - ie. ActiveFedora.init(:predicate_mappings_config_path => '/path/to/predicate_mappings.yml') - or set Rails.root and put predicate_mappings.yml into #{Rails.root}/config.
255
- LocalAuthority Load (0.2ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_subjects' LIMIT 1
256
- LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lexvo_languages' LIMIT 1
257
- LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_genres' LIMIT 1
258
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
3
+  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
4
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
259
5
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
260
-  (1.1ms) CREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "document_id" varchar(255), "title" varchar(255), "created_at" datetime, "updated_at" datetime, "user_type" varchar(255))
261
-  (0.8ms) CREATE TABLE "checksum_audit_logs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pid" varchar(255), "dsid" varchar(255), "version" varchar(255), "pass" integer, "expected_result" varchar(255), "actual_result" varchar(255), "created_at" datetime, "updated_at" datetime) 
262
-  (0.7ms) CREATE INDEX "by_pid_and_dsid" ON "checksum_audit_logs" ("pid", "dsid")
263
-  (0.8ms) CREATE TABLE "conversations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255) DEFAULT '', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
264
-  (0.6ms) CREATE TABLE "domain_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar(255), "term" varchar(255))
265
-  (0.9ms) CREATE INDEX "terms_by_model_and_term" ON "domain_terms" ("model", "term")
266
-  (0.8ms) CREATE TABLE "domain_terms_local_authorities" ("domain_term_id" integer, "local_authority_id" integer)
267
-  (0.7ms) CREATE INDEX "dtla_by_ids2" ON "domain_terms_local_authorities" ("domain_term_id", "local_authority_id")
268
-  (0.7ms) CREATE INDEX "dtla_by_ids1" ON "domain_terms_local_authorities" ("local_authority_id", "domain_term_id")
269
-  (1.0ms) CREATE TABLE "follows" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "followable_id" integer NOT NULL, "followable_type" varchar(255) NOT NULL, "follower_id" integer NOT NULL, "follower_type" varchar(255) NOT NULL, "blocked" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime) 
270
-  (0.8ms) CREATE INDEX "fk_followables" ON "follows" ("followable_id", "followable_type")
271
-  (0.7ms) CREATE INDEX "fk_follows" ON "follows" ("follower_id", "follower_type")
272
-  (0.9ms) CREATE TABLE "help_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "view_port" varchar(255), "current_url" text, "user_agent" varchar(255), "resolution" varchar(255), "how_can_we_help_you" text, "user_id" integer, "javascript_enabled" boolean, "release_version" varchar(255), "created_at" datetime, "updated_at" datetime)
273
-  (0.8ms) CREATE INDEX "index_help_requests_on_created_at" ON "help_requests" ("created_at")
274
-  (0.9ms) CREATE INDEX "index_help_requests_on_user_id" ON "help_requests" ("user_id")
275
-  (0.9ms) CREATE TABLE "local_authorities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
276
-  (0.9ms) CREATE TABLE "local_authority_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "local_authority_id" integer, "label" varchar(255), "uri" varchar(255))
277
-  (0.8ms) CREATE INDEX "entries_by_term_and_label" ON "local_authority_entries" ("local_authority_id", "label")
278
-  (0.9ms) CREATE INDEX "entries_by_term_and_uri" ON "local_authority_entries" ("local_authority_id", "uri")
279
-  (1.1ms) CREATE TABLE "notifications" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "body" text, "subject" varchar(255) DEFAULT '', "sender_id" integer, "sender_type" varchar(255), "conversation_id" integer, "draft" boolean DEFAULT 'f', "updated_at" datetime NOT NULL, "created_at" datetime NOT NULL, "notified_object_id" integer, "notified_object_type" varchar(255), "notification_code" varchar(255), "attachment" varchar(255), "global" boolean DEFAULT 'f', "expires" datetime) 
280
-  (0.7ms) CREATE INDEX "index_notifications_on_conversation_id" ON "notifications" ("conversation_id")
281
-  (1.0ms) CREATE TABLE "proxy_deposit_rights" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "grantor_id" integer, "grantee_id" integer, "created_at" datetime, "updated_at" datetime) 
282
-  (0.9ms) CREATE INDEX "index_proxy_deposit_rights_on_grantee_id" ON "proxy_deposit_rights" ("grantee_id")
283
-  (0.9ms) CREATE INDEX "index_proxy_deposit_rights_on_grantor_id" ON "proxy_deposit_rights" ("grantor_id")
284
-  (0.8ms) CREATE TABLE "receipts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "receiver_id" integer, "receiver_type" varchar(255), "notification_id" integer NOT NULL, "is_read" boolean DEFAULT 'f', "trashed" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "mailbox_type" varchar(25), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
285
-  (1.0ms) CREATE INDEX "index_receipts_on_notification_id" ON "receipts" ("notification_id")
286
-  (1.1ms) CREATE TABLE "searches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "query_params" text, "user_id" integer, "created_at" datetime, "updated_at" datetime, "user_type" varchar(255))
287
-  (0.7ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
288
-  (0.8ms) CREATE TABLE "single_use_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "downloadKey" varchar(255), "path" varchar(255), "itemId" varchar(255), "expires" datetime, "created_at" datetime, "updated_at" datetime)
289
-  (0.9ms) CREATE TABLE "subject_local_authority_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar(255), "lowerLabel" varchar(255), "url" varchar(255)) 
290
-  (1.1ms) CREATE INDEX "entries_by_lower_label" ON "subject_local_authority_entries" ("lowerLabel")
291
-  (0.9ms) CREATE TABLE "trophies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "generic_file_id" varchar(255), "created_at" datetime, "updated_at" datetime) 
292
-  (0.9ms) 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 NOT NULL, "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, "updated_at" datetime, "guest" boolean DEFAULT 'f', "facebook_handle" varchar(255), "twitter_handle" varchar(255), "googleplus_handle" varchar(255), "name" varchar(255), "address" varchar(255), "admin_area" varchar(255), "department" varchar(255), "title" varchar(255), "office" varchar(255), "chat_id" varchar(255), "website" varchar(255), "affiliation" varchar(255), "telephone" varchar(255), "avatar_file_name" varchar(255), "avatar_content_type" varchar(255), "avatar_file_size" integer, "avatar_updated_at" datetime, "group_list" text, "groups_last_update" datetime, "agreed_to_terms_of_service" boolean, "user_does_not_require_profile_update" boolean DEFAULT 'f', "repository_id" varchar(255))
293
-  (0.9ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
294
-  (0.7ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
295
-  (0.8ms) CREATE UNIQUE INDEX "index_users_on_repository_id" ON "users" ("repository_id")
296
-  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
297
-  (1.0ms) CREATE TABLE "version_committers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "obj_id" varchar(255), "datastream_id" varchar(255), "version_id" varchar(255), "committer_login" varchar(255), "created_at" datetime, "updated_at" datetime) 
298
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
6
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
299
7
   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
300
8
   (0.1ms) SELECT version FROM "schema_migrations"
301
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175550')
302
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175455')
303
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175500')
304
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175501')
305
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175502')
306
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175503')
307
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175504')
308
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175505')
309
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175506')
310
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175507')
311
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175508')
312
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175509')
313
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175510')
314
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175511')
315
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175512')
316
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175513')
317
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175514')
318
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175536')
319
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175537')
320
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175538')
321
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175539')
322
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175540')
323
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175541')
324
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175545')
325
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175546')
326
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175547')
327
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175548')
328
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140131175549')
9
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')