Skip to content

Commit

Permalink
Merge pull request #67 from pulibrary/read_only_fields
Browse files Browse the repository at this point in the history
Add readonly fields from IIIF imports.
  • Loading branch information
Jon Stroop committed Mar 31, 2016
2 parents 5f7e3ca + 49565cb commit b66cc3d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GIT

GIT
remote: git://github.com/sul-dlss/spotlight-resources-iiif.git
revision: 4d39b7d9524b55cd6ea6ac179fb5526373f30525
revision: 0cd961de4e4653ca3aef4ee6596ec27722ffe7fc
specs:
spotlight-resources-iiif (0.1.1)
blacklight-spotlight
Expand All @@ -21,7 +21,7 @@ GIT

GIT
remote: git://github.com/sul-dlss/spotlight.git
revision: e496307681e7df6ca9c0d5c07893c29c317b7f06
revision: 84632ff9ba3b7d16f6c727aca53f9912a3b15978
specs:
blacklight-spotlight (0.17.1)
acts-as-taggable-on (~> 3.5)
Expand Down Expand Up @@ -297,7 +297,7 @@ GEM
memoist (0.14.0)
method_source (0.8.2)
mime-types (2.99.1)
mini_magick (4.4.0)
mini_magick (4.5.1)
mini_portile2 (2.0.0)
minitest (5.8.4)
modernizr-rails (2.7.1)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# This migration comes from spotlight (originally 20160329215014)
class AddReadonlyToCustomFields < ActiveRecord::Migration
def change
add_column :spotlight_custom_fields, :readonly_field, :boolean, default: false
end
end
3 changes: 2 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20160114233535) do
ActiveRecord::Schema.define(version: 20160330215214) do

create_table "bookmarks", force: :cascade do |t|
t.integer "user_id", null: false
Expand Down Expand Up @@ -119,6 +119,7 @@
t.datetime "created_at"
t.datetime "updated_at"
t.string "field_type"
t.boolean "readonly_field", default: false
end

create_table "spotlight_exhibits", force: :cascade do |t|
Expand Down

0 comments on commit b66cc3d

Please sign in to comment.