Sha256: 5285d1ad1ee1136cbed23ddbf446db3180b49c9807df9b8ad0aadb968f299379

Contents?: true

Size: 472 Bytes

Versions: 5

Compression:

Stored size: 472 Bytes

Contents

# frozen_string_literal: true

require "active_record"
require_relative "../helpers/json_value_converter_mixin"

module Kanal
  module Plugins
    module UserSystem
      module Models
        # Base user class for storing user properties
        class KanalUserProperty < ::ActiveRecord::Base
          include Helpers::JsonValueConverterMixin

          self.table_name = :kanal_user_properties

          belongs_to :kanal_users
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kanal-plugins-user_system-0.3.3 lib/kanal/plugins/user_system/models/kanal_user_property.rb
kanal-plugins-user_system-0.3.2 lib/kanal/plugins/user_system/models/kanal_user_property.rb
kanal-plugins-user_system-0.3.1 lib/kanal/plugins/user_system/models/kanal_user_property.rb
kanal-plugins-user_system-0.3.0 lib/kanal/plugins/user_system/models/kanal_user_property.rb
kanal-plugins-user_system-0.2.1 lib/kanal/plugins/user_system/models/kanal_user_property.rb