Add password reset.

This commit is contained in:
Roger Braun 2017-10-19 17:37:24 +02:00
commit 6af164f27b
10 changed files with 127 additions and 0 deletions

View file

@ -0,0 +1,13 @@
defmodule Pleroma.Repo.Migrations.CreatePasswordResetTokens do
use Ecto.Migration
def change do
create table(:password_reset_tokens) do
add :token, :string
add :user_id, references(:users)
add :used, :boolean, default: false
timestamps()
end
end
end