Commit 6ca0662d5211904ff395d330f05e70571386ccb7

Authored by Dan Croak
1 parent f001e6d4

update clearance migration

db/migrate/20090701195337_clearance_create_users.rb
@@ -4,15 +4,15 @@ class ClearanceCreateUsers < ActiveRecord::Migration @@ -4,15 +4,15 @@ class ClearanceCreateUsers < ActiveRecord::Migration
4 t.string :email 4 t.string :email
5 t.string :encrypted_password, :limit => 128 5 t.string :encrypted_password, :limit => 128
6 t.string :salt, :limit => 128 6 t.string :salt, :limit => 128
7 - t.string :token, :limit => 128  
8 - t.datetime :token_expires_at 7 + t.string :confirmation_token, :limit => 128
  8 + t.string :remember_token, :limit => 128
9 t.boolean :email_confirmed, :default => false, :null => false 9 t.boolean :email_confirmed, :default => false, :null => false
10 t.timestamps 10 t.timestamps
11 end 11 end
12 12
13 - add_index :users, [:id, :token] 13 + add_index :users, [:id, :confirmation_token]
14 add_index :users, :email 14 add_index :users, :email
15 - add_index :users, :token 15 + add_index :users, :remember_token
16 end 16 end
17 17
18 def self.down 18 def self.down