]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/oauth_token.rb
Create an ApplicationRecord for models to inherit from
[rails.git] / app / models / oauth_token.rb
index 5eeda48ba87ae7e13bb5ef923435f925c03bca6d..affdcdeb815b45b3c6d6ad32bf9c6526064ee45b 100644 (file)
@@ -35,7 +35,7 @@
 #  oauth_tokens_user_id_fkey                (user_id => users.id)
 #
 
 #  oauth_tokens_user_id_fkey                (user_id => users.id)
 #
 
-class OauthToken < ActiveRecord::Base
+class OauthToken < ApplicationRecord
   belongs_to :client_application
   belongs_to :user
 
   belongs_to :client_application
   belongs_to :user