added virtuals

This commit is contained in:
2023-05-10 15:14:06 +01:00
parent 793e944b5f
commit 8f1fe8c7c2
27 changed files with 297 additions and 15 deletions

View File

@@ -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