]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/language.rb
Drop redundant primary key specification for languages table
[rails.git] / app / models / language.rb
index f346c8a748aeb94dc44bf6d4d8769ffe8ba0bdaa..8d3e4583fad137db074ed85614a27becdaeaf759 100644 (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)