greenlight-2.14.4/db/migrate/20211215001240_add_login_attempt_to_users.rb
2023-02-13 23:17:00 +08:00

9 lines
219 B
Ruby

# frozen_string_literal: true
class AddLoginAttemptToUsers < ActiveRecord::Migration[5.2]
def change
add_column :users, :failed_attempts, :integer
add_column :users, :last_failed_attempt, :datetime
end
end