Skip to content

Commit

Permalink
enable sti
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Aug 22, 2020
1 parent 30e5a65 commit 405d27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/doi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class Doi < ActiveRecord::Base
audited only: [:doi, :url, :creators, :contributors, :titles, :publisher, :publication_year, :types, :descriptions, :container, :sizes, :formats, :version_info, :language, :dates, :identifiers, :related_identifiers, :funding_references, :geo_locations, :rights_list, :subjects, :schema_version, :content_url, :landing_page, :aasm_state, :source, :reason]

# disable STI
self.inheritance_column = :_type_disabled
# self.inheritance_column = :_type_disabled

include Metadatable
include Cacheable
Expand Down

0 comments on commit 405d27f

Please sign in to comment.