projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'remotes/origin/develop' into 1560-non-federating-instan...
[akkoma]
/
priv
/
repo
/
migrations
/
20190404050946_add_fields_to_user_invite_tokens.exs
diff --git
a/priv/repo/migrations/20190404050946_add_fields_to_user_invite_tokens.exs
b/priv/repo/migrations/20190404050946_add_fields_to_user_invite_tokens.exs
index abdd5e277a46a28de7120c54615ae0c4c0d2d634..211a141355a238b71bc7c5fdbc719045d7a8f72a 100644
(file)
--- a/
priv/repo/migrations/20190404050946_add_fields_to_user_invite_tokens.exs
+++ b/
priv/repo/migrations/20190404050946_add_fields_to_user_invite_tokens.exs
@@
-3,10
+3,10
@@
defmodule Pleroma.Repo.Migrations.AddFieldsToUserInviteTokens do
def change do
alter table(:user_invite_tokens) do
def change do
alter table(:user_invite_tokens) do
- add(:expire_at, :date)
+ add(:expire
s
_at, :date)
add(:uses, :integer, default: 0)
add(:max_use, :integer)
add(:uses, :integer, default: 0)
add(:max_use, :integer)
- add(:
token
_type, :string, default: "one_time")
+ add(:
invite
_type, :string, default: "one_time")
end
end
end
end
end
end