projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'fix/users_ap_id_not_null' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20180612110515_create_user_invite_tokens.exs
diff --git
a/priv/repo/migrations/20180612110515_create_user_invite_tokens.exs
b/priv/repo/migrations/20180612110515_create_user_invite_tokens.exs
index d0a1cf784791050210cfedede38f87b608bdd97c..a75ff2a51143dd0c56d5043c7269347a1a95fd90 100644
(file)
--- a/
priv/repo/migrations/20180612110515_create_user_invite_tokens.exs
+++ b/
priv/repo/migrations/20180612110515_create_user_invite_tokens.exs
@@
-2,9
+2,9
@@
defmodule Pleroma.Repo.Migrations.CreateUserInviteTokens do
use Ecto.Migration
def change do
use Ecto.Migration
def change do
- create table(:user_invite_tokens) do
- add
:token, :string
- add
:used, :boolean, default: false
+ create
_if_not_exists
table(:user_invite_tokens) do
+ add
(:token, :string)
+ add
(:used, :boolean, default: false)
timestamps()
end
timestamps()
end