foodsoft/test/fixtures/users.yml

36 lines
1.1 KiB
YAML

# == Schema Information
# Schema version: 20090102171850
#
# Table name: users
#
# id :integer(4) not null, primary key
# nick :string(255) default(""), not null
# password_hash :string(255) default(""), not null
# password_salt :string(255) default(""), not null
# first_name :string(255) default(""), not null
# last_name :string(255) default(""), not null
# email :string(255) default(""), not null
# phone :string(255)
# address :string(255)
# created_on :datetime not null
# reset_password_token :string(255)
# reset_password_expires :datetime
# last_login :datetime
#
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
admin:
id: 1
nick: admin
first_name: Anton
last_name: Admininistrator
email: admin@foo.test
#TODO: password can't loaded directyl to the database
#password_hash:
#password_salt:
test:
id: 2
nick: test
first_name: Tim
last_name: Tester
email: test@foo.test