2014-12-04 19:50:02 +01:00
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: users
|
|
|
|
#
|
2014-12-09 18:56:56 +01:00
|
|
|
# id :integer not null, primary key
|
|
|
|
# name :string(255)
|
|
|
|
# last_name :string(255)
|
2015-02-09 17:06:24 +01:00
|
|
|
# balance_cents :integer default(0), not null
|
2014-12-09 18:56:56 +01:00
|
|
|
# nickname :string(255)
|
2015-02-09 17:06:24 +01:00
|
|
|
# admin :boolean
|
|
|
|
# koelkast :boolean default(FALSE)
|
|
|
|
# dagschotel_id :integer
|
|
|
|
# orders_count :integer default(0)
|
|
|
|
# avatar_file_name :string(255)
|
|
|
|
# avatar_content_type :string(255)
|
|
|
|
# avatar_file_size :integer
|
|
|
|
# avatar_updated_at :datetime
|
2014-12-09 18:56:56 +01:00
|
|
|
# created_at :datetime
|
|
|
|
# updated_at :datetime
|
|
|
|
# encrypted_password :string(255) default(""), not null
|
|
|
|
# remember_created_at :datetime
|
|
|
|
# sign_in_count :integer default(0), not null
|
|
|
|
# current_sign_in_at :datetime
|
|
|
|
# last_sign_in_at :datetime
|
|
|
|
# current_sign_in_ip :string(255)
|
|
|
|
# last_sign_in_ip :string(255)
|
2014-12-04 19:50:02 +01:00
|
|
|
#
|
|
|
|
|
2014-11-06 14:46:59 +01:00
|
|
|
require 'test_helper'
|
|
|
|
|
|
|
|
class UserTest < ActiveSupport::TestCase
|
|
|
|
# test "the truth" do
|
|
|
|
# assert true
|
|
|
|
# end
|
|
|
|
end
|