Skip to content

Commit

Permalink
Schema 4.5 - Fix for "Mysql2::Error: Unknown column publisher in fiel…
Browse files Browse the repository at this point in the history
…d list"
  • Loading branch information
svogt0511 committed Mar 5, 2024
1 parent c12e0d8 commit 8beeb3c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/doi.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
require "benchmark"

class Doi < ApplicationRecord
self.ignored_columns += [:publisher]
PUBLISHER_JSON_SCHEMA = "#{Rails.root}/app/models/schemas/doi/publisher.json"
audited only: %i[doi url creators contributors titles publisher_obj publication_year types descriptions container sizes formats version_info language dates identifiers related_identifiers related_items funding_references geo_locations rights_list subjects schema_version content_url landing_page aasm_state source reason]

Expand Down

0 comments on commit 8beeb3c

Please sign in to comment.