gitlabhq/db/migrate/20120706065612_add_lockable_to_users.rb
2012-07-06 00:05:31 -07:00

7 lines
184 B
Ruby

class AddLockableToUsers < ActiveRecord::Migration
def change
add_column :users, :failed_attempts, :integer, :default => 0
add_column :users, :locked_at, :datetime
end
end