blob: 1ac3c5fbd9ce10d182d5570bf1ee0c54a2d6e544 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# frozen_string_literal: true
class AuthenticationEvent < ApplicationRecord
belongs_to :user, optional: true
validates :provider, :user_name, :result, presence: true
enum result: {
failed: 0,
success: 1
}
end
|