Skip to content

Commit

Permalink
Drop redundant primary key specification for languages table
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Oct 7, 2023
1 parent 8d7b98a commit 7dbc349
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/language.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
#

class Language < ApplicationRecord
self.primary_key = "code"

has_many :diary_entries, :foreign_key => "language", :inverse_of => :language

def self.load(file)
Expand Down

0 comments on commit 7dbc349

Please sign in to comment.