mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
Revert "DEV: Remove stale ignored_columns from models."
This reverts commit 9f5c8644d060b462395135bf7ea2a48f831e129d. Have to revert because the ignored columns have not been dropped.
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class UserApiKey < ActiveRecord::Base
|
||||
self.ignored_columns = [
|
||||
"scopes" # TODO(2020-12-18): remove
|
||||
]
|
||||
|
||||
REVOKE_MATCHER = RouteMatcher.new(actions: "user_api_keys#revoke", methods: :post, params: [:id])
|
||||
|
||||
belongs_to :user
|
||||
|
Reference in New Issue
Block a user