added virtuals
This commit is contained in:
Binary file not shown.
@@ -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
|
||||
|
||||
10
db/migrate/20230510141218_create_virtuals.rb
Normal file
10
db/migrate/20230510141218_create_virtuals.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateVirtuals < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
create_table :virtuals do |t|
|
||||
t.string :email
|
||||
t.string :destination
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user