Drop redundant primary key specification for languages table

This commit is contained in:
Tom Hughes 2023-10-07 15:08:30 +01:00
parent 8d7b98a618
commit 7dbc349510

View file

@ -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)