diff options
author | Nick Thomas <nick@gitlab.com> | 2019-03-28 16:17:42 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-03-28 19:18:23 +0300 |
commit | 013f7cd24c4359d5d704b719d85b6df7ca1fdd55 (patch) | |
tree | 4bd076e21ec1d094fd23a506fef80350f63fd9f1 /app/models/resource_label_event.rb | |
parent | a74c3e6c3b418ea585f02ba15af1c7292f895a1a (diff) |
Inherit from ApplicationRecord instead of ActiveRecord::Base
Diffstat (limited to 'app/models/resource_label_event.rb')
-rw-r--r-- | app/models/resource_label_event.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/resource_label_event.rb b/app/models/resource_label_event.rb index 3fd96b9dc18..f2c7cb6a65d 100644 --- a/app/models/resource_label_event.rb +++ b/app/models/resource_label_event.rb @@ -2,7 +2,7 @@ # This model is not used yet, it will be used for: # https://gitlab.com/gitlab-org/gitlab-ce/issues/48483 -class ResourceLabelEvent < ActiveRecord::Base +class ResourceLabelEvent < ApplicationRecord include Importable include Gitlab::Utils::StrongMemoize include CacheMarkdownField |