curate 0.6.1 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +135 -51
  3. data/app/assets/images/curate/default.png +0 -0
  4. data/app/assets/stylesheets/layout/positioning.css.scss +4 -0
  5. data/app/assets/stylesheets/modules/search_results.css.scss +4 -0
  6. data/app/controllers/concerns/curate/fields_for_add_to_collection.rb +9 -0
  7. data/app/controllers/curation_concern/base_controller.rb +1 -0
  8. data/app/controllers/curation_concern/generic_files_controller.rb +1 -0
  9. data/app/models/concerns/curate/ability.rb +6 -2
  10. data/app/repository_models/curation_concern/model.rb +1 -1
  11. data/app/repository_models/generic_file.rb +4 -0
  12. data/app/views/application/_add_to_collection_gui.html.erb +19 -0
  13. data/app/views/catalog/_index_partials/_identifier_and_action.html.erb +19 -11
  14. data/app/views/collections/_collection.html.erb +2 -27
  15. data/app/views/curate/collections/_form_to_add_member.html.erb +12 -10
  16. data/app/views/curate/collections/add_member_form.html.erb +4 -2
  17. data/app/views/curation_concern/base/_collections.html.erb +0 -10
  18. data/app/views/curation_concern/base/_related_files.html.erb +1 -1
  19. data/app/views/curation_concern/base/_representative_media.html.erb +8 -0
  20. data/app/views/curation_concern/base/_thumbnail.html.erb +7 -5
  21. data/app/views/curation_concern/base/show.html.erb +14 -6
  22. data/app/views/curation_concern/documents/_document.html.erb +1 -1
  23. data/app/views/curation_concern/generic_files/_media_display.html.erb +11 -1
  24. data/app/views/curation_concern/generic_files/show.html.erb +1 -1
  25. data/app/views/curation_concern/people/_person.html.erb +2 -20
  26. data/app/views/profiles/_profile.html.erb +2 -27
  27. data/lib/curate/spec_support.rb +1 -2
  28. data/lib/curate/version.rb +1 -1
  29. data/spec/features/catalog_search_spec.rb +0 -30
  30. data/spec/features/generic_file_spec.rb +2 -1
  31. data/spec/features/generic_work_spec.rb +0 -10
  32. data/spec/features/thumbnail_display_spec.rb +5 -2
  33. data/spec/helpers/curate_helper_spec.rb +27 -0
  34. data/spec/internal/Gemfile.lock +6 -6
  35. data/spec/internal/config/initializers/devise.rb +2 -2
  36. data/spec/internal/config/initializers/secret_token.rb +1 -1
  37. data/spec/internal/db/development.sqlite3 +0 -0
  38. data/spec/internal/db/migrate/{20131203200422_devise_create_users.rb → 20131205204122_devise_create_users.rb} +0 -0
  39. data/spec/internal/db/migrate/{20131203200427_add_devise_guests_to_users.rb → 20131205204126_add_devise_guests_to_users.rb} +0 -0
  40. data/spec/internal/db/migrate/{20131203200428_create_searches.rb → 20131205204127_create_searches.rb} +0 -0
  41. data/spec/internal/db/migrate/{20131203200429_create_bookmarks.rb → 20131205204128_create_bookmarks.rb} +0 -0
  42. data/spec/internal/db/migrate/{20131203200430_remove_editable_fields_from_bookmarks.rb → 20131205204129_remove_editable_fields_from_bookmarks.rb} +0 -0
  43. data/spec/internal/db/migrate/{20131203200431_add_user_types_to_bookmarks_searches.rb → 20131205204130_add_user_types_to_bookmarks_searches.rb} +0 -0
  44. data/spec/internal/db/migrate/{20131203200432_acts_as_follower_migration.rb → 20131205204131_acts_as_follower_migration.rb} +0 -0
  45. data/spec/internal/db/migrate/{20131203200433_add_social_to_users.rb → 20131205204132_add_social_to_users.rb} +0 -0
  46. data/spec/internal/db/migrate/{20131203200434_create_single_use_links.rb → 20131205204133_create_single_use_links.rb} +0 -0
  47. data/spec/internal/db/migrate/{20131203200435_add_ldap_attrs_to_user.rb → 20131205204134_add_ldap_attrs_to_user.rb} +0 -0
  48. data/spec/internal/db/migrate/{20131203200436_add_avatars_to_users.rb → 20131205204135_add_avatars_to_users.rb} +0 -0
  49. data/spec/internal/db/migrate/{20131203200437_create_checksum_audit_logs.rb → 20131205204136_create_checksum_audit_logs.rb} +0 -0
  50. data/spec/internal/db/migrate/{20131203200438_create_version_committers.rb → 20131205204137_create_version_committers.rb} +0 -0
  51. data/spec/internal/db/migrate/{20131203200439_add_groups_to_users.rb → 20131205204138_add_groups_to_users.rb} +0 -0
  52. data/spec/internal/db/migrate/{20131203200440_create_local_authorities.rb → 20131205204139_create_local_authorities.rb} +0 -0
  53. data/spec/internal/db/migrate/{20131203200441_create_trophies.rb → 20131205204140_create_trophies.rb} +0 -0
  54. data/spec/internal/db/migrate/{20131203200450_create_mailboxer.mailboxer_engine.rb → 20131205204152_create_mailboxer.mailboxer_engine.rb} +0 -0
  55. data/spec/internal/db/migrate/{20131203200451_add_notified_object.mailboxer_engine.rb → 20131205204153_add_notified_object.mailboxer_engine.rb} +0 -0
  56. data/spec/internal/db/migrate/{20131203200452_add_notification_code.mailboxer_engine.rb → 20131205204154_add_notification_code.mailboxer_engine.rb} +0 -0
  57. data/spec/internal/db/migrate/{20131203200453_add_attachments.mailboxer_engine.rb → 20131205204155_add_attachments.mailboxer_engine.rb} +0 -0
  58. data/spec/internal/db/migrate/{20131203200454_rename_receipts_read.mailboxer_engine.rb → 20131205204156_rename_receipts_read.mailboxer_engine.rb} +0 -0
  59. data/spec/internal/db/migrate/{20131203200455_add_global_notification_support.mailboxer_engine.rb → 20131205204157_add_global_notification_support.mailboxer_engine.rb} +0 -0
  60. data/spec/internal/db/migrate/{20131203200459_add_terms_of_service_to_user.curate_engine.rb → 20131205204202_add_terms_of_service_to_user.curate_engine.rb} +0 -0
  61. data/spec/internal/db/migrate/{20131203200460_add_user_force_update_profile.curate_engine.rb → 20131205204203_add_user_force_update_profile.curate_engine.rb} +0 -0
  62. data/spec/internal/db/migrate/{20131203200461_create_help_requests.curate_engine.rb → 20131205204204_create_help_requests.curate_engine.rb} +0 -0
  63. data/spec/internal/db/migrate/{20131203200462_add_repository_id_to_user.curate_engine.rb → 20131205204205_add_repository_id_to_user.curate_engine.rb} +0 -0
  64. data/spec/internal/db/migrate/{20131203200463_create_curate_proxy_deposit_rights.curate_engine.rb → 20131205204206_create_curate_proxy_deposit_rights.curate_engine.rb} +0 -0
  65. data/spec/internal/db/migrate/{20131203200464_change_display_name_to_name.curate_engine.rb → 20131205204207_change_display_name_to_name.curate_engine.rb} +0 -0
  66. data/spec/internal/db/schema.rb +1 -1
  67. data/spec/internal/db/test.sqlite3 +0 -0
  68. data/spec/internal/log/development.log +203 -191
  69. data/spec/internal/log/test.log +84621 -104943
  70. data/spec/internal/spec/factories/spams_factory.rb +0 -1
  71. data/spec/internal/spec/fixtures/cassettes/remotely_identified_doi_mint_generic_work.yml +13 -14
  72. data/spec/internal/spec/fixtures/cassettes/remotely_identified_doi_mint_spam.yml +13 -14
  73. data/spec/internal/tmp/cache/assets/test/sass/2c6be7e0f6fa11a075d87959732f91fde3df1f13/search_results.css.scssc +0 -0
  74. data/spec/internal/tmp/cache/assets/test/sass/953d624c1831fcea22a3be549290f4c654726e96/positioning.css.scssc +0 -0
  75. data/spec/internal/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  76. data/spec/internal/tmp/cache/assets/test/sprockets/163665b72c8e98b0c88c19896f080bc4 +0 -0
  77. data/spec/internal/tmp/cache/assets/test/sprockets/1c1167e9384b80e15359a663448a3196 +0 -0
  78. data/spec/internal/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  79. data/spec/internal/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  80. data/spec/internal/tmp/cache/assets/test/sprockets/4132e961bdf0f2ffa2f96a4c7822e209 +0 -0
  81. data/spec/internal/tmp/cache/assets/test/sprockets/41dd5dbd03cfa3f49e2d7569ffd03f8d +0 -0
  82. data/spec/internal/tmp/cache/assets/test/sprockets/611235bfd282813bdfbc998bcbe798e8 +0 -0
  83. data/spec/internal/tmp/cache/assets/test/sprockets/7d4fe23150294500a7bcd2630667e5c8 +0 -0
  84. data/spec/internal/tmp/cache/assets/test/sprockets/{7078324d4486aa4ba7a6c21debbf3638 → 98ad78dc8c309689440b20bfa7372b3e} +0 -0
  85. data/spec/internal/tmp/cache/assets/test/sprockets/ada353bb8ffe3eb0f2dd479e6d869a70 +0 -0
  86. data/spec/internal/tmp/cache/assets/test/sprockets/b148a5e98ff09a12b6a2139af1e62e46 +0 -0
  87. data/spec/internal/tmp/cache/assets/test/sprockets/{f0817826ed378d461b95e0e1ac870fcf → c14352828e1be2bbf3199771a34f9c57} +0 -0
  88. data/spec/internal/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  89. data/spec/internal/tmp/cache/assets/test/sprockets/d510daa6eb0cd4805bff7fd0990dfdb5 +0 -0
  90. data/spec/internal/tmp/cache/assets/test/sprockets/d610f39602b6149ca02638c1728778b5 +0 -0
  91. data/spec/internal/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  92. data/spec/internal/tmp/cache/assets/test/sprockets/e9c2a0f2fa471ace3f7ed3a1f1b9ffc5 +0 -0
  93. data/spec/internal/tmp/cache/assets/test/sprockets/ea0ece5befbce765051e27cf991cc805 +0 -0
  94. data/spec/internal/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  95. data/spec/matchers.rb +24 -0
  96. data/spec/{support/matchers → matchers}/metadata_field_matchers.rb +0 -0
  97. data/spec/{support/matchers → matchers}/raise_rescue_response_type_matcher.rb +0 -0
  98. data/spec/repository_models/generic_file_spec.rb +11 -0
  99. data/spec/spec_helper.rb +3 -2
  100. data/spec/support/shared/shared_examples_with_related_works.rb +0 -1
  101. data/spec/views/application/_add_to_collection_gui.html.erb_spec.rb +60 -0
  102. data/spec/views/curate/collections/_form_to_add_member.html.erb_spec.rb +11 -11
  103. data/spec/views/curation_concern/base/_collection.html.erb_spec.rb +0 -2
  104. data/spec/views/curation_concern/base/_related_files.html.erb_spec.rb +16 -0
  105. data/spec/views/curation_concern/base/_representative_media.html.erb_spec.rb +15 -0
  106. data/spec/views/curation_concern/base/_thumbnail.html.erb_spec.rb +27 -0
  107. data/spec/views/curation_concern/generic_files/_media_display.html.erb_spec.rb +34 -0
  108. data/spec/views/curation_concern/generic_files/show.html.erb_spec.rb +12 -0
  109. metadata +87 -74
  110. data/app/views/catalog/_add_to_collection_gui.html.erb +0 -15
  111. data/app/views/curation_concern/base/_add_to_collection_gui.html.erb +0 -18
  112. data/app/views/curation_concern/base/_form_to_add_collection.html.erb +0 -9
  113. data/app/views/curation_concern/base/_representative_image.html.erb +0 -6
  114. data/spec/views/catalog/_add_to_collection_gui.html.erb_spec.rb +0 -48
  115. data/spec/views/curation_concern/base/_add_to_collection_gui.html.erb_spec.rb +0 -34
@@ -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 = 'f4cf895015e47b418bd02e63cc905168f55c7d8359a170b146c9094d52da031847acaf5235d252702ebc4f29149aa0e83931b18485c404b294415ad10de55ab0'
12
+ Internal::Application.config.secret_key_base = '8be50e726829e6bcb240a6b7ac89ac6215b328c241c9aa75ecab8fcfee3eec021ab9d8c2b8415dec86eeaff241a37f7423ce8282d3aba2621dff3b4be924fd86'
@@ -11,7 +11,7 @@
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: 20131203200464) do
14
+ ActiveRecord::Schema.define(version: 20131205204207) do
15
15
 
16
16
  create_table "bookmarks", force: true do |t|
17
17
  t.integer "user_id", null: false
@@ -14,240 +14,240 @@ Using the default predicate_mappings.yml that comes with active-fedora. If you
14
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
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
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
-  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
18
-  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
19
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
20
- Migrating to DeviseCreateUsers (20131203200422)
17
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
18
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
19
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
20
+ Migrating to DeviseCreateUsers (20131205204122)
21
21
   (0.1ms) begin transaction
22
-  (0.4ms) 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) 
22
+  (0.7ms) 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) 
23
23
   (0.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
24
24
   (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
25
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200422"]]
26
-  (0.7ms) commit transaction
27
- Migrating to AddDeviseGuestsToUsers (20131203200427)
25
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204122"]]
26
+  (0.8ms) commit transaction
27
+ Migrating to AddDeviseGuestsToUsers (20131205204126)
28
28
   (0.1ms) begin transaction
29
-  (0.8ms) ALTER TABLE "users" ADD "guest" boolean DEFAULT 'f'
30
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200427"]]
29
+  (0.6ms) ALTER TABLE "users" ADD "guest" boolean DEFAULT 'f'
30
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204126"]]
31
31
   (0.6ms) commit transaction
32
- Migrating to CreateSearches (20131203200428)
32
+ Migrating to CreateSearches (20131205204127)
33
33
   (0.1ms) begin transaction
34
34
   (0.3ms) CREATE TABLE "searches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "query_params" text, "user_id" integer, "created_at" datetime, "updated_at" datetime) 
35
-  (0.1ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
36
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200428"]]
37
-  (1.0ms) commit transaction
38
- Migrating to CreateBookmarks (20131203200429)
35
+  (0.2ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
36
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204127"]]
37
+  (0.8ms) commit transaction
38
+ Migrating to CreateBookmarks (20131205204128)
39
39
   (0.1ms) begin transaction
40
-  (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)
41
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200429"]]
42
-  (0.9ms) commit transaction
43
- Migrating to RemoveEditableFieldsFromBookmarks (20131203200430)
40
+  (0.4ms) 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)
41
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204128"]]
42
+  (0.5ms) commit transaction
43
+ Migrating to RemoveEditableFieldsFromBookmarks (20131205204129)
44
44
   (0.1ms) begin transaction
45
-  (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)
45
+  (0.6ms) 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)
46
46
   (0.1ms) SELECT * FROM "bookmarks"
47
-  (0.2ms) DROP TABLE "bookmarks"
48
-  (0.2ms) 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) 
47
+  (0.4ms) DROP TABLE "bookmarks"
48
+  (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), "created_at" datetime, "updated_at" datetime) 
49
49
   (0.1ms) SELECT * FROM "abookmarks"
50
-  (0.3ms) DROP TABLE "abookmarks"
51
-  (0.2ms) 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)
50
+  (0.4ms) DROP TABLE "abookmarks"
51
+  (0.3ms) 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)
52
52
   (0.1ms) SELECT * FROM "bookmarks"
53
-  (0.3ms) DROP TABLE "bookmarks"
53
+  (0.5ms) DROP TABLE "bookmarks"
54
54
   (0.2ms) 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) 
55
55
   (0.1ms) SELECT * FROM "abookmarks"
56
56
   (0.1ms) DROP TABLE "abookmarks"
57
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200430"]]
58
-  (0.9ms) commit transaction
59
- Migrating to AddUserTypesToBookmarksSearches (20131203200431)
57
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204129"]]
58
+  (0.8ms) commit transaction
59
+ Migrating to AddUserTypesToBookmarksSearches (20131205204130)
60
60
   (0.1ms) begin transaction
61
-  (0.4ms) ALTER TABLE "searches" ADD "user_type" varchar(255)
61
+  (0.3ms) ALTER TABLE "searches" ADD "user_type" varchar(255)
62
62
   (0.2ms) ALTER TABLE "bookmarks" ADD "user_type" varchar(255)
63
63
  SQL (0.1ms) UPDATE "searches" SET user_type = 'user'
64
64
  SQL (0.1ms) UPDATE "bookmarks" SET user_type = 'user'
65
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200431"]]
66
-  (1.0ms) commit transaction
67
- Migrating to ActsAsFollowerMigration (20131203200432)
65
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204130"]]
66
+  (0.9ms) commit transaction
67
+ Migrating to ActsAsFollowerMigration (20131205204131)
68
68
   (0.1ms) begin transaction
69
-  (0.4ms) 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)
70
-  (0.2ms) CREATE INDEX "fk_follows" ON "follows" ("follower_id", "follower_type")
69
+  (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)
70
+  (0.1ms) CREATE INDEX "fk_follows" ON "follows" ("follower_id", "follower_type")
71
71
   (0.1ms) CREATE INDEX "fk_followables" ON "follows" ("followable_id", "followable_type")
72
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200432"]]
72
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204131"]]
73
73
   (1.1ms) commit transaction
74
- Migrating to AddSocialToUsers (20131203200433)
74
+ Migrating to AddSocialToUsers (20131205204132)
75
75
   (0.1ms) begin transaction
76
-  (0.3ms) ALTER TABLE "users" ADD "facebook_handle" varchar(255)
76
+  (0.4ms) ALTER TABLE "users" ADD "facebook_handle" varchar(255)
77
77
   (0.2ms) ALTER TABLE "users" ADD "twitter_handle" varchar(255)
78
78
   (0.2ms) ALTER TABLE "users" ADD "googleplus_handle" varchar(255)
79
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200433"]]
79
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204132"]]
80
80
   (1.0ms) commit transaction
81
- Migrating to CreateSingleUseLinks (20131203200434)
81
+ Migrating to CreateSingleUseLinks (20131205204133)
82
82
   (0.1ms) begin transaction
83
-  (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)
84
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200434"]]
85
-  (0.9ms) commit transaction
86
- Migrating to AddLdapAttrsToUser (20131203200435)
83
+  (0.4ms) 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)
84
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204133"]]
85
+  (0.6ms) commit transaction
86
+ Migrating to AddLdapAttrsToUser (20131205204134)
87
87
   (0.1ms) begin transaction
88
-  (0.4ms) ALTER TABLE "users" ADD "display_name" varchar(255)
88
+  (0.5ms) ALTER TABLE "users" ADD "display_name" varchar(255)
89
89
   (0.2ms) ALTER TABLE "users" ADD "address" varchar(255)
90
90
   (0.2ms) ALTER TABLE "users" ADD "admin_area" varchar(255)
91
91
   (0.2ms) ALTER TABLE "users" ADD "department" varchar(255)
92
-  (0.2ms) ALTER TABLE "users" ADD "title" varchar(255)
92
+  (0.3ms) ALTER TABLE "users" ADD "title" varchar(255)
93
93
   (0.2ms) ALTER TABLE "users" ADD "office" varchar(255)
94
94
   (0.2ms) ALTER TABLE "users" ADD "chat_id" varchar(255)
95
-  (0.2ms) ALTER TABLE "users" ADD "website" varchar(255)
96
-  (0.2ms) ALTER TABLE "users" ADD "affiliation" varchar(255)
95
+  (0.3ms) ALTER TABLE "users" ADD "website" varchar(255)
96
+  (0.3ms) ALTER TABLE "users" ADD "affiliation" varchar(255)
97
97
   (0.2ms) ALTER TABLE "users" ADD "telephone" varchar(255)
98
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200435"]]
99
-  (1.1ms) commit transaction
100
- Migrating to AddAvatarsToUsers (20131203200436)
98
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204134"]]
99
+  (1.0ms) commit transaction
100
+ Migrating to AddAvatarsToUsers (20131205204135)
101
101
   (0.1ms) begin transaction
102
-  (0.6ms) ALTER TABLE "users" ADD "avatar_file_name" varchar(255)
103
-  (0.4ms) ALTER TABLE "users" ADD "avatar_content_type" varchar(255)
104
-  (0.3ms) ALTER TABLE "users" ADD "avatar_file_size" integer
105
-  (0.4ms) ALTER TABLE "users" ADD "avatar_updated_at" datetime
106
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200436"]]
107
-  (0.8ms) commit transaction
108
- Migrating to CreateChecksumAuditLogs (20131203200437)
102
+  (0.4ms) ALTER TABLE "users" ADD "avatar_file_name" varchar(255)
103
+  (0.3ms) ALTER TABLE "users" ADD "avatar_content_type" varchar(255)
104
+  (0.2ms) ALTER TABLE "users" ADD "avatar_file_size" integer
105
+  (0.2ms) ALTER TABLE "users" ADD "avatar_updated_at" datetime
106
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204135"]]
107
+  (0.7ms) commit transaction
108
+ Migrating to CreateChecksumAuditLogs (20131205204136)
109
109
   (0.1ms) begin transaction
110
110
   (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)
111
111
   (0.1ms) CREATE INDEX "by_pid_and_dsid" ON "checksum_audit_logs" ("pid", "dsid")
112
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200437"]]
113
-  (0.8ms) commit transaction
114
- Migrating to CreateVersionCommitters (20131203200438)
112
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204136"]]
113
+  (1.0ms) commit transaction
114
+ Migrating to CreateVersionCommitters (20131205204137)
115
115
   (0.1ms) begin transaction
116
116
   (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) 
117
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200438"]]
118
-  (0.9ms) commit transaction
119
- Migrating to AddGroupsToUsers (20131203200439)
117
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204137"]]
118
+  (1.0ms) commit transaction
119
+ Migrating to AddGroupsToUsers (20131205204138)
120
120
   (0.1ms) begin transaction
121
-  (0.5ms) ALTER TABLE "users" ADD "group_list" text
121
+  (0.4ms) ALTER TABLE "users" ADD "group_list" text
122
122
   (0.3ms) ALTER TABLE "users" ADD "groups_last_update" datetime
123
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200439"]]
124
-  (1.0ms) commit transaction
125
- Migrating to CreateLocalAuthorities (20131203200440)
123
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204138"]]
124
+  (0.9ms) commit transaction
125
+ Migrating to CreateLocalAuthorities (20131205204139)
126
126
   (0.1ms) begin transaction
127
127
   (0.3ms) CREATE TABLE "local_authority_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "local_authority_id" integer, "label" varchar(255), "uri" varchar(255))
128
128
   (0.1ms) CREATE TABLE "local_authorities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
129
129
   (0.1ms) CREATE TABLE "domain_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar(255), "term" varchar(255))
130
-  (0.2ms) CREATE TABLE "domain_terms_local_authorities" ("domain_term_id" integer, "local_authority_id" integer) 
131
-  (0.1ms) CREATE TABLE "subject_local_authority_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar(255), "lowerLabel" varchar(255), "url" varchar(255))
132
-  (0.2ms) CREATE INDEX "entries_by_term_and_label" ON "local_authority_entries" ("local_authority_id", "label")
130
+  (0.1ms) CREATE TABLE "domain_terms_local_authorities" ("domain_term_id" integer, "local_authority_id" integer) 
131
+  (0.2ms) CREATE TABLE "subject_local_authority_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar(255), "lowerLabel" varchar(255), "url" varchar(255))
132
+  (0.1ms) CREATE INDEX "entries_by_term_and_label" ON "local_authority_entries" ("local_authority_id", "label")
133
133
   (0.1ms) CREATE INDEX "entries_by_term_and_uri" ON "local_authority_entries" ("local_authority_id", "uri")
134
134
   (0.1ms) CREATE INDEX "terms_by_model_and_term" ON "domain_terms" ("model", "term")
135
135
   (0.1ms) CREATE INDEX "dtla_by_ids1" ON "domain_terms_local_authorities" ("local_authority_id", "domain_term_id")
136
136
   (0.1ms) CREATE INDEX "dtla_by_ids2" ON "domain_terms_local_authorities" ("domain_term_id", "local_authority_id")
137
137
   (0.1ms) CREATE INDEX "entries_by_lower_label" ON "subject_local_authority_entries" ("lowerLabel")
138
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200440"]]
139
-  (1.3ms) commit transaction
140
- Migrating to CreateTrophies (20131203200441)
138
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204139"]]
139
+  (1.1ms) commit transaction
140
+ Migrating to CreateTrophies (20131205204140)
141
141
   (0.1ms) begin transaction
142
-  (0.4ms) CREATE TABLE "trophies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "generic_file_id" varchar(255), "created_at" datetime, "updated_at" datetime)
143
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200441"]]
144
-  (1.7ms) commit transaction
145
- Migrating to CreateMailboxer (20131203200450)
142
+  (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)
143
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204140"]]
144
+  (0.8ms) commit transaction
145
+ Migrating to CreateMailboxer (20131205204152)
146
146
   (0.1ms) begin transaction
147
-  (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)
147
+  (0.4ms) CREATE TABLE "conversations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255) DEFAULT '', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
148
148
   (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) 
149
149
   (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)
150
150
   (0.1ms) CREATE INDEX "index_receipts_on_notification_id" ON "receipts" ("notification_id")
151
151
   (0.1ms) CREATE INDEX "index_notifications_on_conversation_id" ON "notifications" ("conversation_id")
152
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200450"]]
153
-  (1.6ms) commit transaction
154
- Migrating to AddNotifiedObject (20131203200451)
152
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204152"]]
153
+  (1.5ms) commit transaction
154
+ Migrating to AddNotifiedObject (20131205204153)
155
155
   (0.1ms) begin transaction
156
-  (0.5ms) ALTER TABLE "notifications" ADD "notified_object_id" integer
157
-  (0.3ms) ALTER TABLE "notifications" ADD "notified_object_type" varchar(255)
158
-  (0.3ms) 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))
159
-  (0.2ms) CREATE INDEX "tindex_anotifications_on_conversation_id" ON "anotifications" ("conversation_id")
156
+  (0.3ms) ALTER TABLE "notifications" ADD "notified_object_id" integer
157
+  (0.2ms) ALTER TABLE "notifications" ADD "notified_object_type" varchar(255)
158
+  (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))
159
+  (0.1ms) CREATE INDEX "tindex_anotifications_on_conversation_id" ON "anotifications" ("conversation_id")
160
160
   (0.1ms) SELECT * FROM "notifications"
161
-  (0.5ms) DROP TABLE "notifications"
161
+  (0.3ms) DROP TABLE "notifications"
162
162
   (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))
163
163
   (0.1ms) CREATE INDEX "index_notifications_on_conversation_id" ON "notifications" ("conversation_id")
164
164
   (0.1ms) SELECT * FROM "anotifications"
165
165
   (0.1ms) DROP TABLE "anotifications"
166
-  (0.3ms) 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))
166
+  (0.1ms) 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))
167
167
   (0.1ms) CREATE INDEX "tindex_anotifications_on_conversation_id" ON "anotifications" ("conversation_id")
168
168
   (0.1ms) SELECT * FROM "notifications"
169
169
   (0.2ms) DROP TABLE "notifications"
170
170
   (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))
171
171
   (0.1ms) CREATE INDEX "index_notifications_on_conversation_id" ON "notifications" ("conversation_id")
172
172
   (0.1ms) SELECT * FROM "anotifications"
173
-  (0.2ms) DROP TABLE "anotifications"
174
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200451"]]
175
-  (1.5ms) commit transaction
176
- Migrating to AddNotificationCode (20131203200452)
173
+  (0.1ms) DROP TABLE "anotifications"
174
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204153"]]
175
+  (0.9ms) commit transaction
176
+ Migrating to AddNotificationCode (20131205204154)
177
177
   (0.1ms) begin transaction
178
178
   (0.3ms) ALTER TABLE "notifications" ADD "notification_code" varchar(255)
179
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200452"]]
180
-  (1.0ms) commit transaction
181
- Migrating to AddAttachments (20131203200453)
179
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204154"]]
180
+  (0.9ms) commit transaction
181
+ Migrating to AddAttachments (20131205204155)
182
182
   (0.1ms) begin transaction
183
183
   (0.3ms) ALTER TABLE "notifications" ADD "attachment" varchar(255)
184
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200453"]]
185
-  (1.0ms) commit transaction
186
- Migrating to RenameReceiptsRead (20131203200454)
184
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204155"]]
185
+  (0.9ms) commit transaction
186
+ Migrating to RenameReceiptsRead (20131205204156)
187
187
   (0.1ms) begin transaction
188
188
   (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) 
189
189
   (0.1ms) CREATE INDEX "tindex_areceipts_on_notification_id" ON "areceipts" ("notification_id")
190
190
   (0.1ms) SELECT * FROM "receipts"
191
-  (0.4ms) DROP TABLE "receipts"
192
-  (0.3ms) 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) 
191
+  (0.3ms) DROP TABLE "receipts"
192
+  (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) 
193
193
   (0.1ms) CREATE INDEX "index_receipts_on_notification_id" ON "receipts" ("notification_id")
194
194
   (0.1ms) SELECT * FROM "areceipts"
195
195
   (0.1ms) DROP TABLE "areceipts"
196
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200454"]]
197
-  (1.4ms) commit transaction
198
- Migrating to AddGlobalNotificationSupport (20131203200455)
196
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204156"]]
197
+  (0.9ms) commit transaction
198
+ Migrating to AddGlobalNotificationSupport (20131205204157)
199
199
   (0.1ms) begin transaction
200
200
   (0.3ms) ALTER TABLE "notifications" ADD "global" boolean DEFAULT 'f'
201
201
   (0.2ms) ALTER TABLE "notifications" ADD "expires" datetime
202
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200455"]]
203
-  (1.0ms) commit transaction
204
- Migrating to AddTermsOfServiceToUser (20131203200459)
202
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204157"]]
203
+  (0.9ms) commit transaction
204
+ Migrating to AddTermsOfServiceToUser (20131205204202)
205
205
   (0.1ms) begin transaction
206
206
   (0.4ms) ALTER TABLE "users" ADD "agreed_to_terms_of_service" boolean
207
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200459"]]
208
-  (0.8ms) commit transaction
209
- Migrating to AddUserForceUpdateProfile (20131203200460)
207
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204202"]]
208
+  (1.0ms) commit transaction
209
+ Migrating to AddUserForceUpdateProfile (20131205204203)
210
210
   (0.1ms) begin transaction
211
-  (0.5ms) ALTER TABLE "users" ADD "user_does_not_require_profile_update" boolean DEFAULT 'f'
212
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200460"]]
211
+  (0.4ms) ALTER TABLE "users" ADD "user_does_not_require_profile_update" boolean DEFAULT 'f'
212
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204203"]]
213
213
   (0.8ms) commit transaction
214
- Migrating to CreateHelpRequests (20131203200461)
214
+ Migrating to CreateHelpRequests (20131205204204)
215
215
   (0.1ms) begin transaction
216
-  (0.5ms) 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) 
217
-  (0.2ms) CREATE INDEX "index_help_requests_on_user_id" ON "help_requests" ("user_id")
216
+  (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) 
217
+  (0.1ms) CREATE INDEX "index_help_requests_on_user_id" ON "help_requests" ("user_id")
218
218
   (0.1ms) CREATE INDEX "index_help_requests_on_created_at" ON "help_requests" ("created_at")
219
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200461"]]
220
-  (1.1ms) commit transaction
221
- Migrating to AddRepositoryIdToUser (20131203200462)
219
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204204"]]
220
+  (1.0ms) commit transaction
221
+ Migrating to AddRepositoryIdToUser (20131205204205)
222
222
   (0.1ms) begin transaction
223
-  (0.8ms) ALTER TABLE "users" ADD "repository_id" varchar(255)
224
-  (0.6ms) CREATE UNIQUE INDEX "index_users_on_repository_id" ON "users" ("repository_id")
225
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200462"]]
226
-  (0.7ms) commit transaction
227
- Migrating to CreateCurateProxyDepositRights (20131203200463)
223
+  (0.4ms) ALTER TABLE "users" ADD "repository_id" varchar(255)
224
+  (0.3ms) CREATE UNIQUE INDEX "index_users_on_repository_id" ON "users" ("repository_id")
225
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204205"]]
226
+  (0.9ms) commit transaction
227
+ Migrating to CreateCurateProxyDepositRights (20131205204206)
228
228
   (0.1ms) begin transaction
229
-  (0.4ms) CREATE TABLE "proxy_deposit_rights" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "grantor_id" integer, "grantee_id" integer, "created_at" datetime, "updated_at" datetime)
229
+  (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)
230
230
   (0.1ms) CREATE INDEX "index_proxy_deposit_rights_on_grantor_id" ON "proxy_deposit_rights" ("grantor_id")
231
231
   (0.1ms) CREATE INDEX "index_proxy_deposit_rights_on_grantee_id" ON "proxy_deposit_rights" ("grantee_id")
232
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200463"]]
233
-  (1.3ms) commit transaction
234
- Migrating to ChangeDisplayNameToName (20131203200464)
232
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204206"]]
233
+  (1.0ms) commit transaction
234
+ Migrating to ChangeDisplayNameToName (20131205204207)
235
235
   (0.1ms) begin transaction
236
-  (0.3ms) 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))
237
-  (0.2ms) CREATE UNIQUE INDEX "tindex_ausers_on_repository_id" ON "ausers" ("repository_id")
236
+  (0.2ms) 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))
237
+  (0.1ms) CREATE UNIQUE INDEX "tindex_ausers_on_repository_id" ON "ausers" ("repository_id")
238
238
   (0.1ms) CREATE UNIQUE INDEX "tindex_ausers_on_reset_password_token" ON "ausers" ("reset_password_token")
239
-  (0.2ms) CREATE UNIQUE INDEX "tindex_ausers_on_email" ON "ausers" ("email")
239
+  (0.1ms) CREATE UNIQUE INDEX "tindex_ausers_on_email" ON "ausers" ("email")
240
240
   (0.1ms) SELECT * FROM "users"
241
-  (0.4ms) DROP TABLE "users"
242
-  (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))
241
+  (0.3ms) DROP TABLE "users"
242
+  (0.3ms) 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))
243
243
   (0.3ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
244
244
   (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
245
245
   (0.1ms) CREATE UNIQUE INDEX "index_users_on_repository_id" ON "users" ("repository_id")
246
246
   (0.1ms) SELECT * FROM "ausers"
247
247
   (0.2ms) DROP TABLE "ausers"
248
248
   (0.1ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
249
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131203200464"]]
250
-  (1.1ms) commit transaction
249
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131205204207"]]
250
+  (1.0ms) commit transaction
251
251
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
252
252
  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.
253
253
  LocalAuthority Load (0.2ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_subjects' LIMIT 1
@@ -255,84 +255,96 @@ Using the default predicate_mappings.yml that comes with active-fedora. If you
255
255
  LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_genres' LIMIT 1
256
256
  ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
257
257
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
258
-  (0.9ms) 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))
258
+  (1.0ms) 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))
259
259
   (1.1ms) 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) 
260
260
   (0.9ms) CREATE INDEX "by_pid_and_dsid" ON "checksum_audit_logs" ("pid", "dsid")
261
261
   (1.0ms) CREATE TABLE "conversations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "subject" varchar(255) DEFAULT '', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
262
262
   (1.0ms) CREATE TABLE "domain_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "model" varchar(255), "term" varchar(255))
263
263
   (0.7ms) CREATE INDEX "terms_by_model_and_term" ON "domain_terms" ("model", "term")
264
264
   (0.8ms) CREATE TABLE "domain_terms_local_authorities" ("domain_term_id" integer, "local_authority_id" integer)
265
-  (1.1ms) CREATE INDEX "dtla_by_ids2" ON "domain_terms_local_authorities" ("domain_term_id", "local_authority_id")
266
-  (0.8ms) CREATE INDEX "dtla_by_ids1" ON "domain_terms_local_authorities" ("local_authority_id", "domain_term_id")
267
-  (1.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) 
265
+  (0.9ms) CREATE INDEX "dtla_by_ids2" ON "domain_terms_local_authorities" ("domain_term_id", "local_authority_id")
266
+  (1.0ms) CREATE INDEX "dtla_by_ids1" ON "domain_terms_local_authorities" ("local_authority_id", "domain_term_id")
267
+  (1.2ms) 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) 
268
268
   (1.0ms) CREATE INDEX "fk_followables" ON "follows" ("followable_id", "followable_type")
269
-  (0.7ms) CREATE INDEX "fk_follows" ON "follows" ("follower_id", "follower_type")
270
-  (1.4ms) 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)
271
-  (0.9ms) CREATE INDEX "index_help_requests_on_created_at" ON "help_requests" ("created_at")
272
-  (1.0ms) CREATE INDEX "index_help_requests_on_user_id" ON "help_requests" ("user_id")
273
-  (1.0ms) CREATE TABLE "local_authorities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
274
-  (1.1ms) CREATE TABLE "local_authority_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "local_authority_id" integer, "label" varchar(255), "uri" varchar(255))
275
-  (0.8ms) CREATE INDEX "entries_by_term_and_label" ON "local_authority_entries" ("local_authority_id", "label")
276
-  (0.9ms) CREATE INDEX "entries_by_term_and_uri" ON "local_authority_entries" ("local_authority_id", "uri")
277
-  (1.0ms) 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) 
278
-  (0.7ms) CREATE INDEX "index_notifications_on_conversation_id" ON "notifications" ("conversation_id")
279
-  (0.8ms) CREATE TABLE "proxy_deposit_rights" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "grantor_id" integer, "grantee_id" integer, "created_at" datetime, "updated_at" datetime) 
280
-  (1.0ms) CREATE INDEX "index_proxy_deposit_rights_on_grantee_id" ON "proxy_deposit_rights" ("grantee_id")
281
-  (0.7ms) CREATE INDEX "index_proxy_deposit_rights_on_grantor_id" ON "proxy_deposit_rights" ("grantor_id")
282
-  (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)
269
+  (1.0ms) CREATE INDEX "fk_follows" ON "follows" ("follower_id", "follower_type")
270
+  (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)
271
+  (0.8ms) CREATE INDEX "index_help_requests_on_created_at" ON "help_requests" ("created_at")
272
+  (0.8ms) CREATE INDEX "index_help_requests_on_user_id" ON "help_requests" ("user_id")
273
+  (1.1ms) CREATE TABLE "local_authorities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
274
+  (0.8ms) CREATE TABLE "local_authority_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "local_authority_id" integer, "label" varchar(255), "uri" varchar(255))
275
+  (0.9ms) CREATE INDEX "entries_by_term_and_label" ON "local_authority_entries" ("local_authority_id", "label")
276
+  (0.8ms) CREATE INDEX "entries_by_term_and_uri" ON "local_authority_entries" ("local_authority_id", "uri")
277
+  (1.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), "notification_code" varchar(255), "attachment" varchar(255), "global" boolean DEFAULT 'f', "expires" datetime) 
278
+  (0.8ms) CREATE INDEX "index_notifications_on_conversation_id" ON "notifications" ("conversation_id")
279
+  (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) 
280
+  (0.9ms) CREATE INDEX "index_proxy_deposit_rights_on_grantee_id" ON "proxy_deposit_rights" ("grantee_id")
281
+  (0.8ms) CREATE INDEX "index_proxy_deposit_rights_on_grantor_id" ON "proxy_deposit_rights" ("grantor_id")
282
+  (1.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)
283
283
   (1.0ms) CREATE INDEX "index_receipts_on_notification_id" ON "receipts" ("notification_id")
284
-  (0.9ms) 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))
285
-  (0.9ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
286
-  (0.9ms) 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)
287
-  (1.0ms) CREATE TABLE "subject_local_authority_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar(255), "lowerLabel" varchar(255), "url" varchar(255)) 
284
+  (1.0ms) 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))
285
+  (1.0ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
286
+  (1.0ms) 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)
287
+  (0.9ms) CREATE TABLE "subject_local_authority_entries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar(255), "lowerLabel" varchar(255), "url" varchar(255)) 
288
288
   (1.1ms) CREATE INDEX "entries_by_lower_label" ON "subject_local_authority_entries" ("lowerLabel")
289
-  (1.0ms) CREATE TABLE "trophies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "generic_file_id" varchar(255), "created_at" datetime, "updated_at" datetime) 
290
-  (1.0ms) 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))
289
+  (0.8ms) CREATE TABLE "trophies" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "generic_file_id" varchar(255), "created_at" datetime, "updated_at" datetime) 
290
+  (1.3ms) 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))
291
291
   (0.8ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
292
-  (0.8ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
293
-  (0.6ms) CREATE UNIQUE INDEX "index_users_on_repository_id" ON "users" ("repository_id")
294
-  (1.1ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
295
-  (1.1ms) 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) 
296
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
297
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
292
+  (0.6ms) CREATE INDEX "index_users_on_name" ON "users" ("name")
293
+  (1.1ms) CREATE UNIQUE INDEX "index_users_on_repository_id" ON "users" ("repository_id")
294
+  (0.9ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
295
+  (1.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) 
296
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
297
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
298
298
   (0.1ms) SELECT version FROM "schema_migrations"
299
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200464')
300
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200422')
301
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200427')
302
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200428')
303
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200429')
304
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200430')
305
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200431')
306
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200432')
307
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200433')
308
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200434')
309
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200435')
310
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200436')
311
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200437')
312
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200438')
313
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200439')
314
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200440')
315
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200441')
316
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200450')
317
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200451')
318
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200452')
319
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200453')
320
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200454')
321
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200455')
322
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200459')
323
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200460')
324
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200461')
325
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200462')
326
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131203200463')
299
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204207')
300
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204122')
301
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204126')
302
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204127')
303
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204128')
304
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204129')
305
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204130')
306
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204131')
307
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204132')
308
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204133')
309
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204134')
310
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204135')
311
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204136')
312
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204137')
313
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204138')
314
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204139')
315
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204140')
316
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204152')
317
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204153')
318
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204154')
319
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204155')
320
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204156')
321
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204157')
322
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204202')
323
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204203')
324
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204204')
325
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204205')
326
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20131205204206')
327
+ 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.
328
+ LocalAuthority Load (0.7ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_subjects' LIMIT 1
329
+ LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lexvo_languages' LIMIT 1
330
+ LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_genres' LIMIT 1
327
331
  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.
328
332
  LocalAuthority Load (0.2ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_subjects' LIMIT 1
329
333
  LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lexvo_languages' LIMIT 1
330
334
  LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_genres' LIMIT 1
331
335
  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.
332
- LocalAuthority Load (0.3ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_subjects' LIMIT 1
336
+ LocalAuthority Load (0.2ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_subjects' LIMIT 1
337
+ LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lexvo_languages' LIMIT 1
338
+ LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_genres' LIMIT 1
339
+ 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.
340
+ LocalAuthority Load (0.2ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_subjects' LIMIT 1
333
341
  LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lexvo_languages' LIMIT 1
334
342
  LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_genres' LIMIT 1
335
343
  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.
336
344
  LocalAuthority Load (0.2ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_subjects' LIMIT 1
337
345
  LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lexvo_languages' LIMIT 1
338
346
  LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_genres' LIMIT 1
347
+ 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.
348
+ LocalAuthority Load (0.3ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_subjects' LIMIT 1
349
+ LocalAuthority Load (0.2ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lexvo_languages' LIMIT 1
350
+ LocalAuthority Load (0.1ms) SELECT "local_authorities".* FROM "local_authorities" WHERE "local_authorities"."name" = 'lc_genres' LIMIT 1