diff options
Diffstat (limited to 'app/models/user_callout.rb')
-rw-r--r-- | app/models/user_callout.rb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app/models/user_callout.rb b/app/models/user_callout.rb index 76e7bc06b4e..8b2203c24b8 100644 --- a/app/models/user_callout.rb +++ b/app/models/user_callout.rb @@ -3,9 +3,13 @@ class UserCallout < ActiveRecord::Base belongs_to :user - # We use `UserCalloutEnums.feature_names` here so that EE can more easily - # extend this `Hash` with new values. - enum feature_name: ::UserCalloutEnums.feature_names + # All EE-only enums has to be backported to CE + enum feature_name: { + gke_cluster_integration: 1, + gcp_signup_offer: 2, + cluster_security_warning: 3, + gold_trial: 4 # EE-only + } validates :user, presence: true validates :feature_name, |