mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
10 lines
365 B
Ruby
10 lines
365 B
Ruby
class User < ApplicationRecord
|
|
# Include default devise modules. Others available are:
|
|
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
|
|
devise :database_authenticatable, :registerable,
|
|
:recoverable, :rememberable, :validatable
|
|
|
|
has_many :imports, dependent: :destroy
|
|
has_many :points, through: :imports
|
|
has_many :stats
|
|
end
|