Add report notes

This commit is contained in:
Maxim Filippov 2019-12-03 23:54:07 +09:00
commit 4b60d41db9
12 changed files with 168 additions and 143 deletions

View file

@ -0,0 +1,13 @@
defmodule Pleroma.Repo.Migrations.CreateReportNotes do
use Ecto.Migration
def change do
create_if_not_exists table(:report_notes) do
add(:user_id, references(:users, type: :uuid))
add(:activity_id, references(:activities, type: :uuid))
add(:content, :string)
timestamps()
end
end
end