Initial invites support + tests.

This commit is contained in:
Henry Jameson 2018-06-12 14:52:54 +03:00
commit f42ffbe9a8
5 changed files with 143 additions and 14 deletions

View file

@ -0,0 +1,12 @@
defmodule Pleroma.Repo.Migrations.CreateUserInviteTokens do
use Ecto.Migration
def change do
create table(:user_invite_tokens) do
add :token, :string
add :used, :boolean, default: false
timestamps()
end
end
end