2018-05-23 17:59:28 +02:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: users
|
|
|
|
#
|
|
|
|
# id :bigint(8) not null, primary key
|
|
|
|
# confirmation_sent_at :datetime
|
|
|
|
# confirmation_token :string(255)
|
|
|
|
# confirmed_at :datetime
|
|
|
|
# current_sign_in_at :datetime
|
|
|
|
# current_sign_in_ip :string(255)
|
|
|
|
# email :string(255) default(""), not null
|
|
|
|
# encrypted_password :string(255) default(""), not null
|
|
|
|
# last_sign_in_at :datetime
|
|
|
|
# last_sign_in_ip :string(255)
|
2018-05-24 23:40:23 +02:00
|
|
|
# notifications_enabled :boolean default(TRUE), not null
|
2018-05-23 17:59:28 +02:00
|
|
|
# remember_created_at :datetime
|
|
|
|
# reset_password_sent_at :datetime
|
|
|
|
# reset_password_token :string(255)
|
|
|
|
# sign_in_count :integer default(0), not null
|
2018-05-24 23:40:23 +02:00
|
|
|
# tos_accepted :boolean default(FALSE), not null
|
2018-05-23 17:59:28 +02:00
|
|
|
# unconfirmed_email :string(255)
|
|
|
|
# created_at :datetime not null
|
|
|
|
# updated_at :datetime not null
|
|
|
|
#
|
|
|
|
# Indexes
|
|
|
|
#
|
|
|
|
# index_users_on_confirmation_token (confirmation_token) UNIQUE
|
|
|
|
# index_users_on_email (email) UNIQUE
|
|
|
|
# index_users_on_reset_password_token (reset_password_token) UNIQUE
|
|
|
|
#
|
|
|
|
|
|
|
|
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
|
|
|
|
|
|
|
# This model initially had no columns defined. If you add columns to the
|
|
|
|
# model remove the '{}' from the fixture names and add the columns immediately
|
|
|
|
# below each fixture, per the syntax in the comments below
|
|
|
|
#
|
|
|
|
user1:
|
|
|
|
email: user@chexpire.org
|
|
|
|
encrypted_password: <%= User.new.send(:password_digest, 'password') %>
|
|
|
|
confirmed_at: <%= 1.minute.ago %>
|
2018-05-24 23:40:23 +02:00
|
|
|
tos_accepted: true
|