Commit a26fc9f5fec4e61c18b252a574876f82f2b9c915

Authored by Dan Croak
1 parent b356e34d

clearance create users migration should use new version that includes timestamps

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