projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' into fix/disable-rate-limiter-for-socket-localhost
[akkoma]
/
priv
/
repo
/
migrations
/
20171019141706_create_password_reset_tokens.exs
diff --git
a/priv/repo/migrations/20171019141706_create_password_reset_tokens.exs
b/priv/repo/migrations/20171019141706_create_password_reset_tokens.exs
index dde0f945fa3f3ec46345ff90968efcc22fc6d22e..2be50d15eea2d0c116f0dd6fb5c61eb4b76750a4 100644
(file)
--- a/
priv/repo/migrations/20171019141706_create_password_reset_tokens.exs
+++ b/
priv/repo/migrations/20171019141706_create_password_reset_tokens.exs
@@
-3,9
+3,9
@@
defmodule Pleroma.Repo.Migrations.CreatePasswordResetTokens do
def change do
create_if_not_exists table(:password_reset_tokens) do
def change do
create_if_not_exists table(:password_reset_tokens) do
- add
:token, :string
- add
:user_id, references(:users
)
- add
:used, :boolean, default: false
+ add
(:token, :string)
+ add
(:user_id, references(:users)
)
+ add
(:used, :boolean, default: false)
timestamps()
end
timestamps()
end