password recovery wip
This commit is contained in:
parent
cd40ef66c6
commit
49998ee5b7
12 changed files with 70 additions and 1 deletions
|
@ -0,0 +1,5 @@
|
|||
class AddPasswordRecoveryCodeToUsers < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :users, :password_recovery_code, :string
|
||||
end
|
||||
end
|
3
db/schema.rb
generated
3
db/schema.rb
generated
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 2021_03_20_212922) do
|
||||
ActiveRecord::Schema.define(version: 2021_03_20_233401) do
|
||||
|
||||
create_table "authors", force: :cascade do |t|
|
||||
t.string "first_name"
|
||||
|
@ -43,6 +43,7 @@ ActiveRecord::Schema.define(version: 2021_03_20_212922) do
|
|||
t.string "password_digest"
|
||||
t.datetime "created_at", precision: 6, null: false
|
||||
t.datetime "updated_at", precision: 6, null: false
|
||||
t.string "password_recovery_code"
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue