projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove deprecated dedupe_media from the config template
[akkoma]
/
priv
/
repo
/
migrations
/
20190205114625_create_thread_mutes.exs
1
defmodule Pleroma.Repo.Migrations.CreateThreadMutes do
2
use Ecto.Migration
3
4
def change do
5
create table(:thread_mutes) do
6
add :user_id, references(:users, type: :uuid, on_delete: :delete_all)
7
add :context, :string
8
end
9
10
create unique_index(:thread_mutes, [:user_id, :context], name: :unique_index)
11
end
12
end