18 lines
470 B
18 lines
470 B
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
|
|
|