cartodb-4.42/app/models/carto/feature_flags_user.rb

11 lines
227 B
Ruby
Raw Normal View History

2024-04-06 13:25:13 +08:00
module Carto
class FeatureFlagsUser < ActiveRecord::Base
belongs_to :feature_flag, foreign_key: :feature_flag_id
belongs_to :user, foreign_key: :user_id
validates :user, :feature_flag, presence: true
end
end