26 lines
674 B
YAML
26 lines
674 B
YAML
<% password_digest = BCrypt::Password.create("password") %>
|
|
|
|
# == Schema Information
|
|
#
|
|
# Table name: users
|
|
#
|
|
# id :integer not null, primary key
|
|
# admin :boolean default(FALSE), not null
|
|
# email_address :string not null
|
|
# password_digest :string not null
|
|
# username :string
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_users_on_email_address (email_address) UNIQUE
|
|
#
|
|
one:
|
|
email_address: one@example.com
|
|
password_digest: <%= password_digest %>
|
|
|
|
two:
|
|
email_address: two@example.com
|
|
password_digest: <%= password_digest %>
|