forgeplus/app/models/user_np.rb

22 lines
449 B
Ruby

# == Schema Information
#
# Table name: user_nps
#
# id :integer not null, primary key
# user_id :integer
# action_type :string(255)
# action_id :integer
# score :float(24)
# memo :text(65535)
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#
# index_user_nps_on_user_id (user_id)
#
class UserNp < ApplicationRecord
belongs_to :user, optional: true
end