This commit is contained in:
Karen Konou 2019-02-07 22:25:07 +01:00
commit 77448de492
2 changed files with 5 additions and 5 deletions

View file

@ -3,10 +3,10 @@ defmodule Pleroma.Repo.Migrations.CreateThreadMutes do
def change do
create table(:thread_mutes) do
add :user_id, references(:users, type: :uuid, on_delete: :delete_all)
add :user, references(:users, type: :uuid, on_delete: :delete_all)
add :context, :string
end
create index(:thread_mutes, [:user_id])
create index(:thread_mutes, [:user])
end
end