You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
470 B
19 lines
470 B
3 years ago
|
class AddAdminUsers < ActiveRecord::Migration[6.1]
|
||
|
def change
|
||
|
create_table :admin_users do |t|
|
||
|
## Database authenticatable
|
||
|
t.string :email, null: false, default: ""
|
||
|
t.string :encrypted_password, null: false, default: ""
|
||
|
|
||
|
## Recoverable
|
||
|
t.string :reset_password_token
|
||
|
t.datetime :reset_password_sent_at
|
||
|
|
||
|
## Rememberable
|
||
|
t.datetime :remember_created_at
|
||
|
|
||
|
t.timestamps null: false
|
||
|
end
|
||
|
end
|
||
|
end
|