gitlabhq/db/migrate/20120706065612_add_lockable_to_users.rb

7 lines
184 B
Ruby
Raw Normal View History

2012-07-06 09:05:31 +02:00
class AddLockableToUsers < ActiveRecord::Migration
def change
add_column :users, :failed_attempts, :integer, :default => 0
add_column :users, :locked_at, :datetime
end
end