Events: initial implementation
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
# index_users_on_email_address (email_address) UNIQUE
|
||||
#
|
||||
class User < ApplicationRecord
|
||||
has_many :events, dependent: :destroy
|
||||
has_many :contests, dependent: :destroy
|
||||
has_many :sessions, dependent: :destroy
|
||||
has_secure_password
|
||||
|
||||
Reference in New Issue
Block a user