added email verification methods to user

This commit is contained in:
albert
2010-03-09 16:14:29 -05:00
parent 65561a0779
commit 12afa9b491
4 changed files with 105 additions and 3 deletions

View File

@@ -6,7 +6,8 @@ class CreateUsers < ActiveRecord::Migration
t.column :name, :string, :null => false
t.column :password_hash, :string, :null => false
t.column :email, :string
t.column :invited_by, :integer
t.column :email_verification_key, :string
t.column :inviter_id, :integer
t.column :is_banned, :boolean, :null => false, :default => false
t.column :is_privileged, :boolean, :null => false, :default => false
t.column :is_contributor, :boolean, :null => false, :default => false