New annotation, because of db switch to mysql.

Background: sqlite has some problems with decimal option.
This commit is contained in:
benni 2011-05-07 21:55:24 +02:00
parent c2496aa4fd
commit 46450cebef
60 changed files with 623 additions and 568 deletions

View file

@ -1,21 +1,3 @@
# == Schema Information
#
# Table name: users
#
# id :integer 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)
# created_on :datetime not null
# reset_password_token :string(255)
# reset_password_expires :datetime
# last_login :datetime
#
require 'digest/sha1'
# specific user rights through memberships (see Group)
class User < ActiveRecord::Base
@ -195,3 +177,22 @@ class User < ActiveRecord::Base
end
end
# == Schema Information
#
# 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)
# created_on :datetime not null
# reset_password_token :string(255)
# reset_password_expires :datetime
# last_login :datetime
#