Drop redundant primary key specification for languages table
This commit is contained in:
parent
8d7b98a618
commit
7dbc349510
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue