projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
8e9eccbae8b5592ecad540e7c0ea904e9ee465f5
[akkoma]
/
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