98bb435f42
Migrations shouldn't fail RuboCop checks - especially lint checks, such as the nested method check. To avoid changing code in existing migrations, add the magic comment to the top of each of them to skip that file.
8 lines
197 B
Ruby
8 lines
197 B
Ruby
# rubocop:disable all
|
|
class AddTfaAdditionalFields < ActiveRecord::Migration
|
|
def change
|
|
change_table :users do |t|
|
|
t.datetime :otp_grace_period_started_at, null: true
|
|
end
|
|
end
|
|
end
|