added virtuals
This commit is contained in:
@@ -31,7 +31,7 @@ class DeviseCreateUsers < ActiveRecord::Migration[7.0]
|
||||
t.integer :failed_attempts, default: 0, null: false # Only if lock strategy is :failed_attempts
|
||||
t.string :unlock_token # Only if unlock strategy is :email or :both
|
||||
t.datetime :locked_at
|
||||
|
||||
t.integer :role, default: 1000, null: false
|
||||
|
||||
t.timestamps null: false
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user